function T_hX
extends Modelica.Icons.Function;
input SpecificEnthalpy h "Specific enthalpy";
input MassFraction[nX] X "Mass fractions of composition";
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 SI.SpecificEnthalpy h_off = h_offset "User defined offset for reference enthalpy, if referenceChoice = UserDefined";
output Temperature T "Temperature";
end T_hX;