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

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputTDry bulb temperature
Modelica.Blocks.Interfaces.RealInputX_wWater vapor mass fraction per unit mass total air
Modelica.Blocks.Interfaces.RealInputpPressure
Modelica.Blocks.Interfaces.RealOutputphiRelative humidity

Revisions

  • November 13, 2014, by Michael Wetter:
    First implementation.