Partial pressure of water vapor, computed from total air pressure and the absolute moisture.
function partialPressure extends Modelica.Icons.Function; input Modelica.Units.SI.MassFraction x "Absolute moisture"; input Modelica.Units.SI.Pressure pAir "Saturation temperature"; output Modelica.Units.SI.AbsolutePressure pVap "Saturation pressure"; end partialPressure;