AixLib.Utilities.Psychrometrics.Functions.X_pSatpphi

# .AixLib.Utilities.Psychrometrics.Functions.X_pSatpphi

Humidity ratio for given water vapor pressure

## Information

Function to compute the water vapor concentration based on saturation pressure, absolute pressure and relative humidity.

#### Interface

>     function X_pSatpphi
>       extends Modelica.Icons.Function;
>       input Modelica.Units.SI.AbsolutePressure pSat "Saturation pressure";
>       input Modelica.Units.SI.Pressure p "Pressure of the fluid";
>       input Real phi(min = 0, max = 1) "Relative humidity";
>       output Modelica.Units.SI.MassFraction X_w(min = 0, max = 1, nominal = 0.01) "Water vapor concentration per total mass of air";
>     end X_pSatpphi;

## Revisions

- August 21, 2012 by Michael Wetter:
  First implementation.

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