functionregion_ph
Returns the current region (valid values: 1,2,4) for given pressure and specific enthalpy
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 | |
| Integer | mode | 0 | mode: 0 means check, otherwise assume region=mode |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | region | region (valid values: 1,2,4) |