Provides the calculation of the specific enthalpy as function of T. You can use correlations using ideal gas constant pressure heat capacity, or liquid heat capacity
function SpecificEnthalpyCorr input Integer cor; input Real coef[:]; input Real MW; input Real x; output Real H "Enthalpy J/kg"; end SpecificEnthalpyCorr;