.ThermofluidStream.Media.XRGMedia.R134a_ph.dt_ph

Information

This function calculates the density and temperature of R134a from absolute pressure and specific enthalpy. In one-phase region the function calls the fundamental helmholtz equation of Tillner-Roth (1994). 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