.ThermofluidStream.Media.myMedia.R134a.R134a_ph.getPhase_ps

Information

This function computes the number of phases for R134a depending on the inputs for absolute pressure and specific entropy. It makes use of cubic spline functions for liquid and vapor specific entropy.

Interface

function getPhase_ps
  extends Modelica.Icons.Function;
  input AbsolutePressure p "Pressure";
  input SpecificEntropy s "Specific entropy";
  output Integer phase "Number of phases";
end getPhase_ps;

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