functionpofdt125
inverse iteration in region 1,2 and 5: p = g(d,T)
Extends from Modelica.Icons.Function (Icon for functions).
Information
## Copyright © EDF 2002 - 2025 ## ThermoSysPro Version 4.2
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Units.SI.Density | d | density | |
| Units.SI.Temperature | T | temperature (K) | |
| Units.SI.Pressure | reldd | relative iteration accuracy of density | |
| Integer | region | region in IAPWS/IF97 in which inverse should be calculated |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Units.SI.Pressure | p | pressure | |
| Integer | error | error flag: iteration failed if different from 0 |