Annex60.Utilities.Psychrometrics.Functions.pW_X

# .Annex60.Utilities.Psychrometrics.Functions.pW_X

Water vapor pressure for given humidity ratio

## Information

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

#### Interface

>     function pW_X
>       extends Modelica.Icons.Function;
>       input Modelica.SIunits.MassFraction X_w(min = 0, max = 0.99999, nominal = 0.01) "Species concentration at dry bulb temperature";
>       input Modelica.SIunits.Pressure p = 101325 "Total pressure";
>       output Modelica.SIunits.Pressure p_w(displayUnit = "Pa") "Water vapor pressure";
>     end pW_X;

## 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.

Generated at 2026-05-09T18:18:56Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos