returns temperature for given p and h
function temperature_phX_state extends Modelica.Icons.Function; input AbsolutePressure p "Pressure"; input SpecificEnthalpy h "Enthalpy"; input MassFraction X[nX] "Mass fractions"; input ThermodynamicState state; output Temperature T "Temperature"; end temperature_phX_state;