.ThermofluidStream.Media.myMedia.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 2024-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos