functiongetPhase_ps

Number of phases by pressure and entropy

Extends from Modelica.Icons.Function.

Information

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

Inputs

TypeNameDefaultDescription
Modelica.Units.SI.Pressureppressure
Modelica.Units.SI.SpecificEntropysspecific entropy

Outputs

TypeNameDefaultDescription
Integerphasenumber of phases