functiongasConstant_X

Return ideal gas constant as a function from composition X

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

Information

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.

Inputs

TypeNameDefaultDescription
SI.MassFraction[:]XGas phase composition

Outputs

TypeNameDefaultDescription
SI.SpecificHeatCapacityR_sIdeal gas constant