Compute temperature from specific enthalpy and mass fraction
function T_hX input Modelica.SIunits.SpecificEnthalpy h "specific enthalpy"; input Modelica.SIunits.MassFraction[nS] X "mass fractions of composition"; output Modelica.SIunits.Temperature T "temperature"; end T_hX;