Model of a discretized coil with water vapor condensation.
The coil consists of two flow paths which are, at the design flow direction,
in opposite direction to model a counterflow heat exchanger.
The flow paths are discretized into
Each element is modeled by an instance of
Each element has a state variable for the metal.
The convective heat transfer coefficients can, for each fluid individually, be computed as a function of the flow rate and/or the temperature, or assigned to a constant. This computation is done using an instance of Buildings.Fluid.HeatExchangers.BaseClasses.HADryCoil.
In this model, the water (or liquid) flow path
needs to be connected to
the air flow path needs to be connected to the other two ports.
The mass transfer from the fluid 2 to the metal is computed using a similarity law between heat and mass transfer, as implemented by the model Buildings.Fluid.HeatExchangers.BaseClasses.MassExchange.
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
To model this coil for conditions without humidity condensation, use the model Buildings.Fluid.HeatExchangers.DryCoilCounterFlow instead of this model.
mas.Tin Buildings.Fluid.HeatExchangers.BaseClasses.HexElementLatent to correct latent heat exchange calculation.
finaldeclaration in redeclaration.
QLat_flowto be consistent with how it is computed in Buildings.Fluid.HeatExchangers.BaseClasses.HexElementLatent.
Modelica.Media.Interfaces.PartialCondensingGasesbecause it is used in
vol2and because the model calls
Medium2.enthalpyOfCondensingGas, which requires the medium to extend from this subclass.
dp2_nominalin the base class. The previous assignment caused a pressure drop in all except one element, instead of the opposite. This caused too high a flow resistance of the heat exchanger.