functionphase_ph

Phase as a function of pressure and specific enthalpy

Extends from Modelica.Icons.Function.

Inputs

TypeNameDefaultDescription
SI.PressurepPressure
SI.SpecificEnthalpyhSpecific enthalpy

Outputs

TypeNameDefaultDescription
IntegerphaseTrue if in liquid or gas or supercritical region