functionphase_ph
phase as a function of pressure and specific enthalpy
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Pressure | p | pressure | |
| SI.SpecificEnthalpy | h | specific enthalpy |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | phase | true if in liquid or gas or supercritical region |