Density and temperature w.r.t. pressure and specific enthalpy in one-phase region
function dtofphOnePhase extends Modelica.Icons.Function; input Modelica.Units.SI.Pressure p "pressure"; input Modelica.Units.SI.SpecificEnthalpy h "enthalpy"; input Modelica.Units.SI.Pressure delp "relative error in p in iteration"; input Modelica.Units.SI.SpecificEnthalpy delh "relative error in h in iteration"; output Modelica.Units.SI.Density d "density"; output Modelica.Units.SI.Temperature T "temperature"; output Integer error "1 if had not converged"; end dtofphOnePhase;