functiongetPhase_ps

Number of phases by pressure and entropy

Extends from Modelica.Icons.Function (Icon for functions).

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.

Inputs

TypeNameDefaultDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy

Outputs

TypeNameDefaultDescription
IntegerphaseNumber of phases