functionrho_ps
Density as function of pressure and specific entropy
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Pressure | p | Pressure | |
| SI.SpecificEntropy | s | Specific entropy | |
| Integer | phase | 0 | 2 for two-phase, 1 for one-phase, 0 if not known |
| Integer | region | 0 | If 0, region is unknown, otherwise known and this input |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Density | rho | Density |