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
| Type | Name | Default | Description |
|---|---|---|---|
| SI.MassFraction[:] | X | Gas phase composition |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.SpecificHeatCapacity | R_s | Ideal gas constant |