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