functiongasConstant

Return ideal gas constant as a function from thermodynamic state, remains valid with liquid water in the mixture

Extends from Modelica.Icons.Function (Icon for functions).

Information

The ideal gas constant for moist air is computed from thermodynamic state where the mass fractions of dry air and steam are corrected of the mass fraction of liquid that does not count for the gas contant calculation.

Inputs

TypeNameDefaultDescription
ThermodynamicStatestateThermodynamic state

Outputs

TypeNameDefaultDescription
SI.SpecificHeatCapacityRMixture gas constant