.ThermofluidStream.Media.myMedia.R134a.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-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos