gasConstant

Return ideal gas constant as a function from thermodynamic state, only valid for phi<1

Information

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

The ideal gas constant for moist air is computed from thermodynamic state assuming that all water is in the gas phase.

Syntax

R = gasConstant(state)

Inputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state

Outputs (1)

R

Type: SpecificHeatCapacity (J/(kg·K))

Description: Mixture gas constant