WOLFRAM SYSTEM MODELER

getPhase_ps

Number of phases by pressure and entropy

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.R134a.R134a_ph.getPhase_ps"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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.

Syntax

phase = getPhase_ps(p, s)

Inputs (2)

p

Type: AbsolutePressure (Pa)

Description: Pressure

s

Type: SpecificEntropy (J/(kg⋅K))

Description: Specific entropy

Outputs (1)

phase

Type: Integer

Description: Number of phases