inverse iteration in region 5: (p,T) = f(p,h)
function tofph5 import ThermoSysPro; extends Modelica.Icons.Function; input Units.SI.Pressure p "pressure"; input Units.SI.SpecificEnthalpy h "specific enthalpy"; input Units.SI.SpecificEnthalpy reldh "iteration accuracy"; output Units.SI.Temperature T "temperature (K)"; output Integer error "error flag: iteration failed if different from 0"; end tofph5;