functionsetState_pT_library
Return thermodynamic state record from p and T
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| AbsolutePressure | p | pressure | |
| Temperature | T | temperature | |
| Integer | phase | 1 | 2 for two-phase, 1 for one-phase, 0 if not known |
| String | name | name and mass fractions |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| ThermodynamicState | state |