.ThermofluidStream.Media.XRGMedia.R245fa_ph.dofpT

Information

This function calculates the density of R245fa from absolute pressure and temperature. The function can only be executed in one-phase region. The safety margin to the phase boundary is 1[K] and 1000[Pa].

Restrictions

The function cannot be inverted in a numerical way. Please use functions rho_props_ph and T_props_ph for this purpose.

Interface

function dofpT
  extends Modelica.Icons.Function;
  input AbsolutePressure p "Pressure";
  input Temperature T "Temperature";
  input AbsolutePressure delp "Iteration converged if (p-pre(p) < delp)";
  output Density d "Density";
end dofpT;

Revisions

2020-01-08 Stefan Wischhusen: Iteration converges better with guesses of rho_liq(T) and rho_vap(T).


Generated at 2024-12-17T19:26:02Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos