Annex60.Fluid.MassExchangers.Humidifier_u

# .Annex60.Fluid.MassExchangers.Humidifier_u

Ideal humidifier or dehumidifier with prescribed water mass flow rate addition or subtraction

## Information

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

ṁwat = u ṁwat,nom,

where u is the control input signal and ṁwat,nom is equal to the parameter `mWat_flow_nominal`. The parameter `mWat_flow_nominal` can be positive or negative. If ṁ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.

## Revisions

- May 6, 2015, by Michael Wetter:
  Set `prescribedHeatFlowRate=true`. This is for issue #412.
- May 29, 2014, by Michael Wetter:
  Removed undesirable annotation `Evaluate=true`.
- February 11, 2014 by Michael Wetter:
  Corrected issue #197 which led to twice the amount of latent heat being added to the fluid stream.
- October 14, 2013 by Michael Wetter:
  Constrained medium to be a subclass of `Modelica.Media.Interfaces.PartialCondensingGases`, as this base class declares the function `enthalpyOfCondensingGas`.
- July 30, 2013 by Michael Wetter:
  Updated model to use new variable `mWat_flow` in the base class.
- May 24, 2011, by Michael Wetter:
  Changed base class to allow using the model as a dynamic or a steady-state model.
- April 14, 2010, by Michael Wetter:
  Converted temperature input to a conditional connector.
- April 17, 2008, by Michael Wetter:
  First implementation.

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos