inverse iteration in region 3: (d) = f(p,T)
function dofpt3 extends Modelica.Icons.Function; input SI.Pressure p "pressure"; input SI.Temperature T "temperature (K)"; input SI.Pressure delp "iteration converged if (p-pre(p) < delp)"; output SI.Density d "density"; output Integer error = 0 "error flag: iteration failed if different from 0"; end dofpt3;