function h_T
import ThermalSeparation.Media.IdealGasMixtures.BaseClasses.PartialMedium.Choices;
extends Modelica.Icons.Function;
input ThermalSeparation.Media.IdealGasMixtures.BaseClasses.Common.DataRecord data "Ideal gas data";
input SI.Temperature T "Temperature";
input Boolean exclEnthForm = excludeEnthalpyOfFormation "If true, enthalpy of formation Hf is not included in specific enthalpy h";
input Choices.ReferenceEnthalpy.Temp refChoice = referenceChoice "Choice of reference enthalpy";
input SI.SpecificEnthalpy h_off = h_offset "User defined offset for reference enthalpy, if referenceChoice = UserDefined";
output SI.SpecificEnthalpy h "Specific enthalpy at temperature T";
end h_T;