functionpW_X

Water vapor pressure for given humidity ratio

Extends from Modelica.Icons.Function (Icon for functions).

Information

Function to compute the water vapor partial pressure for a given humidity ratio.

Inputs

TypeNameDefaultDescription
Modelica.Units.SI.MassFractionX_wSpecies concentration at dry bulb temperature
Modelica.Units.SI.Pressurep101325Total pressure

Outputs

TypeNameDefaultDescription
Modelica.Units.SI.Pressurep_wWater vapor pressure

Revisions

  • March 9, 2012 by Michael Wetter:
    Added smoothOrder=99 and displayUnit for pressure.
  • February 17, 2010 by Michael Wetter:
    Renamed block from VaporPressure_X to pW_X.
  • April 14, 2009 by Michael Wetter:
    Converted model to block because RealInput are obsolete in Modelica 3.0.
  • August 7, 2008 by Michael Wetter:
    First implementation.