function h_TX
import Modelica.Media.Interfaces.Choices;
extends Modelica.Icons.Function;
input Modelica.Units.SI.Temperature T "Temperature";
input MassFraction X[nX] = reference_X "Independent Mass fractions of gas mixture";
input Boolean exclEnthForm = excludeEnthalpyOfFormation "If true, enthalpy of formation Hf is not included in specific enthalpy h";
input Modelica.Media.Interfaces.Choices.ReferenceEnthalpy refChoice = referenceChoice "Choice of reference enthalpy";
input Modelica.Units.SI.SpecificEnthalpy h_off = h_offset "User defined offset for reference enthalpy, if referenceChoice = UserDefined";
output Modelica.Units.SI.SpecificEnthalpy h "Specific enthalpy at temperature T";
end h_TX;