functionphase_ps
phase as a 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 |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | phase | true if in liquid or gas or supercritical region |