Inverse iteration in region 3: (d,T) = f(p,h)
function dtofph3 extends Modelica.Icons.Function; input SI.Pressure p "Pressure"; input SI.SpecificEnthalpy h "Specific enthalpy"; input SI.Pressure delp "Iteration accuracy"; input SI.SpecificEnthalpy delh "Iteration accuracy"; output SI.Density d "Density"; output SI.Temperature T "Temperature (K)"; output Integer error "Error flag: iteration failed if different from 0"; end dtofph3;