functionphase_ph
Returns the current phase
Information
## Copyright © EDF 2002 - 2025 ## ThermoSysPro Version 4.2
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Units.SI.Pressure | p | pressure | |
| Units.SI.SpecificEnthalpy | h | specific enthalpy |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | phase | 0 | phase: 2 for two-phase, 1 for one phase |