functionh_T
Compute specific enthalpy from temperature and gas data; reference is decided by the
refChoice input, or by the referenceChoice package constant by default
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Media.IdealGases.Common.DataRecord | data | Ideal gas data | |
| SI.Temperature | T | Temperature | |
| Boolean | exclEnthForm | excludeEnthalpyOfFormation | If true, enthalpy of formation Hf is not included in specific enthalpy h |
| Modelica.Media.Interfaces.Choices.ReferenceEnthalpy | refChoice | referenceChoice | Choice of reference enthalpy |
| SI.SpecificEnthalpy | h_off | h_offset | User defined offset for reference enthalpy, if referenceChoice = UserDefined |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.SpecificEnthalpy | h | Specific enthalpy at temperature T |