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

TypeNameDefaultDescription
Modelica.Media.IdealGases.Common.DataRecorddataIdeal gas data
SI.TemperatureTTemperature
BooleanexclEnthFormexcludeEnthalpyOfFormationIf true, enthalpy of formation Hf is not included in specific enthalpy h
Modelica.Media.Interfaces.Choices.ReferenceEnthalpyrefChoicereferenceChoiceChoice of reference enthalpy
SI.SpecificEnthalpyh_offh_offsetUser defined offset for reference enthalpy, if referenceChoice = UserDefined

Outputs

TypeNameDefaultDescription
SI.SpecificEnthalpyhSpecific enthalpy at temperature T