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