blockPhi_pTX
Block to compute the relative humidity for given pressure, dry bulb temperature and moisture mass fraction
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
Block to compute the relative humidity of air for given pressure, temperature and water vapor mass fraction.
Note that the water vapor mass fraction must be in kg/kg total air, and not dry air.
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | T | Dry bulb temperature | |
| Modelica.Blocks.Interfaces.RealInput | X_w | Water vapor mass fraction per unit mass total air | |
| Modelica.Blocks.Interfaces.RealInput | p | Pressure | |
| Modelica.Blocks.Interfaces.RealOutput | phi | Relative humidity |
Revisions
-
November 13, 2014, by Michael Wetter:
First implementation.