pure functiontwoPhasesFlash_pThetaX
Return liquid and gas composition at equilibrium, plus temperature and gas fraction
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | opt | indicates if theta is in molar or mas basis | |
| AbsolutePressure | p | ||
| SpecificEnthalpy | theta | ||
| Real[subsNum] | z |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Temperature | T | ||
| Real[subsNum] | x | ||
| Real[subsNum] | y |