.ThermofluidStream.Media.XRGMedia.R245fa_ph.temperature_ph

Information

This function calculates the Kelvin temperature of R245fa from the state variables p (absolute pressure) and h (specific enthalpy). The temperature is modelled by the fundamental equation of state of Lemmon (2006).

Interface

function temperature_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 Temperature T "temperature";
end temperature_ph;

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