functiongasConstant_X

Return ideal gas constant as a function from composition X (only valid for phi<1)

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. This function assumed a fully gas mixture thus remains valid for a relative humidity bellow or equal to 1.

Inputs

TypeNameDefaultDescription
SI.MassFraction[:]XGas phase composition

Outputs

TypeNameDefaultDescription
SI.SpecificHeatCapacityRIdeal gas constant