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
| Type | Name | Default | Description |
|---|---|---|---|
| ThermodynamicState | state | Thermodynamic state |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.SpecificHeatCapacity | R | Mixture gas constant |