.ThermofluidStream.Media.XRGMedia.R134a_ph.getPhase_ps

Number of phases by pressure and entropy

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 2025-03-08T19:24:39Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos