calculation of specific enthalpy of gas mixture
function specificEnthalpy_pTX import Modelica.Media.IdealGases.SingleGases; extends Modelica.Icons.Function; input AbsolutePressure p "Pressure"; input Temperature T "Temperature"; input MassFraction X[:] = reference_X "Mass fractions"; output SpecificEnthalpy h "Specific enthalpy"; end specificEnthalpy_pTX;