Model for an air humidifier or dehumidifier.
This model adds (or removes) moisture from the air stream. The amount of exchanged moisture is equal to
ṁwat = u ṁwat,nom,
where u is the control input signal and
ṁwat,nom is equal to the parameter mWat_flow_nominal
.
The parameter mWat_flow_nominal
can be positive or negative.
If ṁwat is positive, then moisture is added
to the air stream, otherwise it is removed.
If the connector T_in
is left unconnected, the value
set by the parameter T
is used for the temperature of the water that is
added to the air stream.
This model can only be used with medium models that define the integer constant
Water
which needs to be equal to the index of the water mass fraction
in the species vector.
prescribedHeatFlowRate=true
.
This is for issue
#412.
Evaluate=true
.
Modelica.Media.Interfaces.PartialCondensingGases
,
as this base class declares the function
enthalpyOfCondensingGas
.
mWat_flow
in the base class.