functiontofpst5
inverse iteration in region 5: (p,T) = f(p,s)
Extends from Modelica.Icons.Function (Icon for functions).
Information
## Copyright © EDF 2002 - 2025 ## ThermoSysPro Version 4.2
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Units.SI.Pressure | p | pressure | |
| Units.SI.SpecificEntropy | s | specific entropy | |
| Units.SI.Temperature | Tguess | guess temperature, e.g. from adjacent volume | |
| Units.SI.SpecificEntropy | relds | iteration accuracy |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Units.SI.Temperature | T | temperature (K) | |
| Integer | error | error flag: iteration failed if different from 0 |