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