functionsetState_pd
Return thermodynamic state as function of (p, d)
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| AbsolutePressure | p | Pressure | |
| Density | d | Density | |
| FixedPhase | phase | 0 | 2 for two-phase, 1 for one-phase, 0 if not known |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| ThermodynamicState | state | thermodynamic state record |