functionregion_pT
Returns the current region (valid values: 1,2) for given pressure and temperature
Information
## Copyright © EDF 2002 - 2025 ## ThermoSysPro Version 4.2
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Units.SI.Pressure | p | Pressure | |
| Units.SI.Temperature | T | Temperature | |
| Integer | mode | 0 | mode: 0 means check, otherwise assume region=mode |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | region | Region (valid values: 1,2) |