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;