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 |