.Modelica.Media.Air.MoistAir.relativeHumidity_pTX

Information

Relative humidity is computed from pressure, temperature and composition with 1.0 as the upper limit at saturation. Water mass fraction is the first entry in the composition vector.

Interface

function relativeHumidity_pTX
  extends Modelica.Icons.Function;
  input SI.Pressure p "Pressure";
  input SI.Temperature T "Temperature";
  input SI.MassFraction[:] X "Composition";
  output Real phi "Relative humidity";
end relativeHumidity_pTX;

Generated at 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39