.ThermofluidStream.Media.XRGMedia.R1234yf_ph.dt_ph

Information

This function calculates the density and temperature of R1234yf from absolute pressure and specific enthalpy. In one-phase region the function calls the fundamental helmholtz equation of Richter et al (2011). In two-phase the density and temperature is computed from cubic splines for saturated pressure, liquid and vapor density.

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 dt_ph
  extends Modelica.Icons.Function;
  input AbsolutePressure p "pressure";
  input SpecificEnthalpy h "specific enthalpy";
  output Density d "density";
  output Temperature T "temperature";
end dt_ph;

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