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