Flash Calculations
Overview
A flash calculation determines the equilibrium phase split of a mixture at specified pressure and temperature. Given a feed composition , it finds:
- Vapor fraction (moles of vapor per mole of feed)
- Liquid composition (mole fractions in liquid phase)
- Vapor composition (mole fractions in vapor phase)
Flash calculations are the computational core of all compositional reservoir simulation and process engineering.
Theory
Equilibrium Conditions
At thermodynamic equilibrium, the fugacity of each component must be equal in all phases:
This is expressed using the K-value (equilibrium ratio):
Where is the fugacity coefficient calculated from the equation of state.
Material Balance
For a feed with components at mole fractions :
Substituting :
The Rachford-Rice Equation
Since , subtracting gives:
This is the Rachford-Rice equation. It has a single unknown and is solved by Newton-Raphson iteration.
Physical Bounds
The vapor fraction must satisfy for two-phase equilibrium:
- : all liquid (bubble point)
- : all vapor (dew point)
- or : single phase (no flash needed)
K-Value Estimation
Wilson Correlation (Initial Estimate)
The Wilson equation provides a reasonable starting point for the iterative flash procedure. Convergence to the EoS solution typically requires 5-15 iterations.
Converged K-Values
After solving the flash problem, the converged K-values from the EoS are:
These are far more accurate than the Wilson estimates and account for composition-dependent interactions.
Flash Algorithm
Successive Substitution
1. Initialize K-values (Wilson correlation)
2. Solve Rachford-Rice for V
3. Calculate x_i, y_i from K-values and V
4. Calculate fugacity coefficients φ_i^L(x) and φ_i^V(y) from EoS
5. Update K-values: K_i = φ_i^L / φ_i^V
6. Check convergence: |ln(K_i^new/K_i^old)| < tolerance
7. If not converged, go to Step 2
Convergence Criteria
| Criterion | Typical Tolerance |
|---|---|
| K-value change | |
| Fugacity equality | |
| Rachford-Rice residual |
Stability Analysis
Why Stability Testing?
Before performing a flash calculation, it is important to determine whether the mixture actually splits into two phases. A stability test answers: "Is the single-phase state stable, or will the system spontaneously separate?"
Tangent Plane Distance (TPD)
The mixture is unstable (two phases will form) if there exists any trial composition such that:
The stability test is performed with two trial phases:
- Vapor-like trial (using Wilson K-values: )
- Liquid-like trial (using inverse Wilson: )
If either trial gives , the mixture is unstable and a flash calculation is warranted.
Saturation Point Calculations
Bubble Point Pressure
At the bubble point, (incipient vapor formation):
The bubble point pressure is found iteratively by adjusting until this condition is satisfied.
Dew Point Pressure
At the dew point, (incipient liquid formation):
The dew point pressure is found iteratively by adjusting .
Applicability and Limitations
Valid Conditions
- The Rachford-Rice formulation assumes two phases (vapor + liquid)
- Three-phase flash (VLLE) requires extended formulations
- Components must have known , , for K-value initialization
Common Issues
| Problem | Cause | Solution |
|---|---|---|
| No convergence | Near critical point | Switch to Newton's method with Hessian |
| Trivial solution () | Poor initialization | Use different initial K-values |
| Negative flash ( or ) | Single phase at this P, T | Perform stability test first |
| Slow convergence | Successive substitution limit | Apply GDEM acceleration |
Related Topics
- Peng-Robinson EoS — Fugacity coefficient calculation
- Phase Envelope — Series of saturation point calculations
- C7+ Characterization — Component properties for flash
- EoS Overview — When to use EoS modeling
References
Rachford, H.H. and Rice, J.D. (1952). "Procedure for Use of Electronic Digital Computers in Calculating Flash Vaporization Hydrocarbon Equilibrium." Journal of Petroleum Technology, 4(10), 19-3.
Wilson, G.M. (1969). "A Modified Redlich-Kwong Equation of State, Application to General Physical Data Calculations." 65th National AIChE Meeting, Paper No. 15C, Cleveland, Ohio.
Michelsen, M.L. (1982). "The Isothermal Flash Problem. Part I. Stability." Fluid Phase Equilibria, 9(1), 1-19.
Michelsen, M.L. (1982). "The Isothermal Flash Problem. Part II. Phase-Split Calculation." Fluid Phase Equilibria, 9(1), 21-40.
Whitson, C.H. and Brule, M.R. (2000). Phase Behavior. SPE Monograph Vol. 20.