functionsetState_pT_noErr
Return thermodynamic state record from p and T - does not use workaround to handle ModelicaError
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| AbsolutePressure | p | pressure | |
| Temperature | T | temperature | |
| FixedPhase | phase | 0 | 2 for two-phase, 1 for one-phase, 0 if not known |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| ThermodynamicState | state |