enthalpyOfGas

Return specific enthalpy of gas (air and steam) as a function of temperature T and composition X

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Specific enthalpy of moist air is computed from temperature, provided all water is in the gaseous state. The first entry in the composition vector X must be the mass fraction of steam. For a function that also covers the fog region please refer to h_pTX.

Syntax

h = enthalpyOfGas(T, X)

Inputs (2)

T

Type: Temperature (K)

Description: Temperature

X

Type: MassFraction[:] (kg/kg)

Description: Vector of mass fractions

Outputs (1)

h

Type: SpecificEnthalpy (J/kg)

Description: Specific enthalpy