.ThermofluidStream.Media.myMedia.R134a.R134a_ph.density_ph

Information

This function calculates the density of R134a from the state variables p (absolute pressure) and h (specific enthalpy). The density is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Interface

function density_ph
  extends Modelica.Icons.Function;
  input AbsolutePressure p "Pressure";
  input SpecificEnthalpy h "Specific enthalpy";
  input Integer phase = 0 "2 for two-phase, 1 for one-phase, 0 if not known";
  output Density d "Density";
end density_ph;

Generated at 2024-11-24T19:25:44Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos