PT Flash Calculation
Spreadsheet
32 rows x 6 columns
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | PT Flash Calculation | |||||
| 2 | Peng-Robinson EoS | |||||
| 3 | ||||||
| 4 | Conditions | |||||
| 5 | Temperature | 320 | K | |||
| 6 | Pressure | 800000 | Pa | |||
| 7 | ||||||
| 8 | Property Table | |||||
| 9 | Component | Tc (K) | Pc (Pa) | omega | Mw (kg/mol) | zi |
| 10 | ethane | 305.32 | 4872000 | 0.099 | 0.03007 | 0.3 |
| 11 | propane | 369.83 | 4248000 | 0.152 | 0.0441 | 0.4 |
| 12 | n-pentane | 469.7 | 3370000 | 0.252 | 0.07215 | 0.3 |
| 13 | ||||||
| 14 | Flash Results | |||||
| 15 | Vapor Fraction (V) | 0.7095334241 | ||||
| 16 | Liquid Fraction (L) | 0.2904665759 | ||||
| 17 | ||||||
| 18 | Equilibrium Compositions | |||||
| 19 | Component | Liquid (x) | Vapor (y) | |||
| 20 | ethane | 0.07653563104 | 0.3914811451 | |||
| 21 | propane | 0.2581416575 | 0.458073525 | |||
| 22 | n-pentane | 0.6653227115 | 0.15044533 | |||
| 23 | ||||||
| 24 | K-Values (Ki=yi/xi) | |||||
| 25 | Component | K-Value | ||||
| 26 | ethane | 5.115018191 | ||||
| 27 | propane | 1.774504469 | ||||
| 28 | n-pentane | 0.2261238454 | ||||
| 29 | ||||||
| 30 | Verification | |||||
| 31 | Sum of x | 1 | ||||
| 32 | Sum of y | 1 |
Description
Performs rigorous PT flash calculation for a ternary mixture (ethane, propane, n-pentane) using the property-array workflow:
- Build property table using
Component.Props(spills Tc, Pc, omega, Mw) - Run Flash with
(T, P, zi, props, output)signature - Retrieve vapor fraction, liquid/vapor compositions, and K-values
The Flash output arrays (x, y) can feed directly into subsequent calculations as composition inputs.
Conditions: 320 K, 0.8 MPa - two-phase region for this mixture.
How to use this blueprint
- In Excel, go to the Petroleum Office ribbon tab and click Blueprint Manager
- Search for PT Flash Calculation
- Click on the blueprint to preview the spreadsheet template
- Click Insert to place it into your worksheet. Modify the input values to match your data.