Model of a discretized coil with humidity condensation. This model is identical to Buildings.Fluid.HeatExchangers.DryCoilDiscretized but in addition, the mass transfer from fluid 2 to the metal is computed. The mass transfer is computed using a similarity law between heat and mass transfer, as implemented by the model Buildings.Fluid.HeatExchangers.BaseClasses.MassExchange. See this model for details.
This model can only be used with medium models that implement
the function enthalpyOfLiquid and that contain an
integer variable Water whose value is the element
number where the water vapor is stored in the species concentration
vector. Examples for such media are Buildings.Media.Air and
Modelica.Media.Air.MoistAir.
mas.T in
Buildings.Fluid.HeatExchangers.BaseClasses.HexElementLatent.mas.T in
Buildings.Fluid.HeatExchangers.BaseClasses.HexElementLatent to
correct latent heat exchange calculation.each.QSen2_flow,
QLat2_flow and SHR.Medium2 to be
Modelica.Media.Interfaces.PartialCondensingGases
because it is used in vol2, which requires the medium
to extend from this subclass.dl which is no longer needed.connect(hexReg[nReg].port_b1,
pipMan_b.port_b) to connect(hexReg[nReg].port_a1,
pipMan_b.port_b) in the base class Buildings.Fluid.HeatExchangers.DryCoilDiscretized.
This closes issue https://github.com/lbl-srg/modelica-buildings/issues/194,
which caused the last register to have no liquid flow.stateSelect attributes.