BuildSysPro.IBPSA.Utilities.Psychrometrics.pW_X

# .BuildSysPro.IBPSA.Utilities.Psychrometrics.pW_X

Water vapor pressure for given humidity ratio

## Information

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

If `use_p_in` is false (default option), the `p` parameter is used as atmospheric pressure, and the `p_in` input connector is disabled; if `use_p_in` is true, then the `p` parameter is ignored, and the value provided by the input connector is used instead.

## Revisions

- October 3, 2014, by Michael Wetter:
  Changed assignment of nominal value to avoid in OpenModelica the warning alias set with different nominal values.
- 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