BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.X_pTphi

# .BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.X_pTphi

Absolute humidity for given pressure, dry bulb temperature and relative humidity

## Information

Absolute humidity of air for given pressure, temperature and relative humidity.

Note that the absolute humidity is in kg/kg total air, and not dry air.

#### Interface

>     function X_pTphi
>       extends Modelica.Icons.Function;
>       input Modelica.Units.SI.Pressure p "Absolute pressure of the medium";
>       input Modelica.Units.SI.Temperature T "Dry bulb temperature";
>       input Real phi(unit = "1") "Relative humidity";
>       output Modelica.Units.SI.MassFraction X_w "Water vapor mass fraction per unit mass total air";
>     end X_pTphi;

## Revisions

- April 4, 2019 by Filip Jorissen:
  First implementation.

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos