function temperature_phX input Modelica.SIunits.Pressure p; input Modelica.SIunits.SpecificEnthalpy h; input MassFraction X[:] = fill(0, 0) "mass fraction m_XCl/m_Sol"; input FixedPhase phase = 0 "2 for two-phase, 1 for one-phase, 0 if not known"; output Modelica.SIunits.Temp_K T = Modelica.Media.Water.WaterIF97_pT.temperature_ph(p, h); end temperature_phX;