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