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