functionpofdt125
Inverse iteration in region 1,2 and 5: p = g(d,T)
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Density | d | Density | |
| SI.Temperature | T | Temperature (K) | |
| 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 |
|---|---|---|---|
| SI.Pressure | p | Pressure | |
| Integer | error | Error flag: iteration failed if different from 0 |