modelBaseProperties2Phase_Test
Extends from TRANSFORM.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n | 10 | Number of different states |
| SI.Pressure | p | 1e5 | Pressure to set states |
| SI.SpecificEnthalpy | h | linspace(1e5, 3e6, n) | Specific enthalpy to set state |
| Medium.ThermodynamicState | states | {Medium.setState_ph(p, h[i]) for i in 1:n} |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Media.BaseProperties2Phase | medium2 |
Contents
| Name | Description |
|---|---|