WOLFRAM SYSTEM MODELER

getPhase_ph

Number of phases by pressure and specific enthalpy

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.R134a.R134a_ph.getPhase_ph"]
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 enthalpy. It makes use of cubic spline functions for liquid and vapor specific enthalpy.

Syntax

phase = getPhase_ph(p, h)

Inputs (2)

p

Type: AbsolutePressure (Pa)

Description: Pressure

h

Type: SpecificEnthalpy (J/kg)

Description: Specific enthalpy

Outputs (1)

phase

Type: Integer

Description: Number of phases