.ThermofluidStream.Media.XRGMedia.CO2_ph.dtofphOnePhase

Information

Density and temperature w.r.t. pressure and specific enthalpy in one-phase region

Interface

function dtofphOnePhase
  extends Modelica.Icons.Function;
  input Modelica.Units.SI.Pressure p "pressure";
  input Modelica.Units.SI.SpecificEnthalpy h "enthalpy";
  input Modelica.Units.SI.Pressure delp "relative error in p in iteration";
  input Modelica.Units.SI.SpecificEnthalpy delh "relative error in h in iteration";
  output Modelica.Units.SI.Density d "density";
  output Modelica.Units.SI.Temperature T "temperature";
  output Integer error "1 if had not converged";
end dtofphOnePhase;

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