The ideal gas constant for moist air is computed from the gas phase
composition. The first entry in composition vector X is the steam
mass fraction of the gas phase.
function gasConstant_X
extends Modelica.Icons.Function;
input SI.MassFraction X[:] "Gas phase composition";
output SI.SpecificHeatCapacity R "Ideal gas constant";
end gasConstant_X;