Flash calculation calculator (Rachford–Rice)
This flash calculation tool solves the isothermal flash of a multicomponent feed with the Rachford–Rice equation. Enter the feed composition with K-values, or the temperature, pressure and components (K = P*/P from Antoine constants), and it returns the vapor fraction V/F, the liquid and vapor compositions, and whether the feed is subcooled, two-phase or superheated.
Isothermal flash calculation (Rachford–Rice)
How to use the flash calculation tool
Choose where the K-values come from. With Feed and K-values you type one line per component: an optional name, the feed amount z and the equilibrium ratio K = y/x, for example read from a DePriester chart, a simulator or a homework problem. With T, P and built-in components you pick up to five components and the flash calculation finds each K from Raoult’s law, Ki = Pi*(T)/P, with Antoine vapor pressures. The third mode does the same with Antoine constants you supply. Add a feed rate to get the vapor and liquid flows. “Show the working” lists the bubble and dew tests and every Newton iteration of the Rachford–Rice equation.
The Rachford–Rice equation behind every flash calculation
In an isothermal flash a feed F of composition zi enters a drum at fixed T and P and splits into a vapor V (composition yi) and a liquid L (composition xi) in equilibrium, yi = Kixi. Component balances F·zi = V·yi + L·xi, combined with Σ yi − Σ xi = 0, give one equation in the vapor fraction ψ = V/F:
Rachford and Rice wrote it in this form in 1952 because f(ψ) decreases monotonically, so Newton’s method converges safely: f′(ψ) = −Σ zi(Ki − 1)²/(1 + ψ(Ki − 1))² is always negative. The derivation is set out step by step in the Notre Dame CBE 20255 notes on the isothermal flash. Before solving, check the two ends: f(0) = Σ ziKi − 1 and f(1) = 1 − Σ zi/Ki.
| Test result | Feed condition | Flash calculation result |
|---|---|---|
| Σ zK ≤ 1 | Subcooled liquid or at the bubble point | V/F = 0, x = z |
| Σ zK > 1 and Σ z/K > 1 | Two-phase region | Solve Rachford–Rice for 0 < V/F < 1 |
| Σ z/K ≤ 1 | Superheated vapor or at the dew point | V/F = 1, y = z |
Worked flash calculation: four hydrocarbons with given K-values
The default feed is a textbook problem used in chemical engineering computing courses (Finlayson, Introduction to Chemical Engineering Computing), shown for example in the BIT Mesra process engineering module: propane z = 0.1 (K = 6.8), n-butane 0.3 (2.2), n-pentane 0.4 (0.8) and n-octane 0.2 (0.052). The bubble test gives Σ zK = 1.670 and the dew test Σ z/K = 4.497; both exceed 1, so the feed is two-phase. Newton’s method from ψ = 0.5 gives f(0.5) = −0.0756 and f′(0.5) = −1.059, so the next value is ψ = 0.5 − 0.0756/1.059 = 0.4286, followed by 0.42584 and 0.425838. So V/F = 0.4258: 42.6 % of the feed leaves as vapor. The vapor holds y = 0.196 propane, 0.437 n-butane, 0.350 n-pentane and 0.017 n-octane; the liquid holds x = 0.029, 0.199, 0.437 and 0.335. With the default feed of 100 kmol/h, that is V = 42.58 kmol/h and L = 57.42 kmol/h.
Checked against a published flash calculation
The Notre Dame notes flash a feed of 60 % acetone, 1 % benzene, 1 % toluene and 38 % ethanol at 65 °C and 760 mmHg with Raoult’s law, and publish K = 1.338, 0.613, 0.222 and 0.576 with V/F = 0.2033, xacetone = 0.5615 and yacetone = 0.7511. Their constants are the defaults of the third mode, and this flash calculation reproduces all of those values (V/F = 0.20327). Entering their four K-values in the first mode gives V/F = 0.20330. The same notes flash only acetone and ethanol (z = 0.6/0.4) and find V/F = 0.2317.
The second mode starts from the classic Felder and Rousseau problem: 500 mol/h of 40 mol % benzene and 60 mol % toluene heated to 98 °C at 1 atm. Read from a T-x-y diagram, the Michigan Tech course notes give x = 0.31, y = 0.53 and V = 204.5 mol/h. The flash calculation with Antoine constants gives K = 1.683 and 0.689, x = 0.313, y = 0.527, V/F = 0.4058 and, with F = 500 mol/h, V = 202.9 mol/h: the difference is only the precision of reading a chart. The feed’s bubble and dew points at 1 atm are 95.1 °C and 101.5 °C, so 98 °C is safely inside the two-phase band.
Flash calculation in US units
A feed of 100 lbmol/h with 30 % n-hexane, 40 % n-heptane and 30 % n-octane enters a drum at 255 °F and 30 psia. Pick those components in the second mode and set °F, psi and lbmol/h. The K-values are 2.102, 0.977 and 0.466, and the bubble and dew points of the feed at 30 psia are 243.9 °F and 267.5 °F. Rachford–Rice gives V/F = 0.4536, so V = 45.4 lbmol/h of vapor with 42.0 % hexane and L = 54.6 lbmol/h of liquid with 39.6 % octane. At 230 °F the same feed fails the bubble test (Σ zK = 0.82) and stays all liquid. Because 255 °F (124 °C) is above the range in which the hexane and heptane Antoine sets were checked, the result carries an extrapolation warning.
Where the K-values for a flash calculation come from
Raoult’s law (K = P*/P) is fine for similar compounds at low pressure, such as aromatic or paraffin mixtures up to a few bar. Modified Raoult’s law, K = γP*/P, adds activity coefficients for non-ideal liquids such as alcohol–water. DePriester charts give hydrocarbon K-values from −70 to 200 °C and 1 to 60 bar. Equations of state (Peng–Robinson, SRK) are needed near the critical region, for natural gas and for anything with hydrogen or methane at pressure. The Rachford–Rice step of the flash calculation is the same in all four cases; only the K-values change. For a binary, the Relative Volatility Calculator turns two K-values into α.
Common mistakes in a flash calculation
Skipping the phase tests. Solving Rachford–Rice for a feed that is all liquid gives a negative V/F; the root has no physical meaning. K-values at the wrong conditions. K depends strongly on T and P, so values read at another pressure give a wrong split. Gauge instead of absolute pressure in K = P*/P. Feed fractions that do not add up. This flash calculation normalizes them and says so; a hand calculation should too. Mixing up V/F with the vaporized mass fraction. V/F is a molar ratio; convert with the molar masses for a mass basis. Forgetting the energy balance. An isothermal flash fixes T and P; an adiabatic flash after a valve needs the enthalpy balance as a second equation.
Assumptions and limits of this flash calculation
The tool assumes a single equilibrium stage, constant K-values at the given T and P, and two phases (no second liquid, so it does not handle hydrocarbon–water mixtures that split into two liquids). In the Antoine modes it also assumes an ideal liquid and an ideal-gas vapor. The heat needed to hold the drum at T comes from an energy balance, which the Heat Duty Calculator can set up from the flows found here.
Related calculators
To check the bubble and dew points of a feed in more detail, use the Vapor Pressure Calculator for pure components; for multistage separations, the McCabe-Thiele Calculator and the Distillation Column Calculator.
- Relative Volatility Calculator
- Vapor Pressure Calculator
- McCabe-Thiele Calculator
- Distillation Column Calculator
- Mass Balance Calculator
- Heat Duty Calculator
- Bubble Point and Dew Point Calculator
- Raoult’s Law Calculator
- Evaporator Calculator
- All chemical engineering calculators
Frequently asked questions
How do you do a flash calculation?
Find the K-value of every component at the drum temperature and pressure, check that Σ zK > 1 and Σ z/K > 1, then solve the Rachford–Rice equation Σ z(K − 1)/(1 + ψ(K − 1)) = 0 for ψ = V/F, usually by Newton’s method from ψ = 0.5. Finally x = z/(1 + ψ(K − 1)) and y = Kx.
What is the Rachford–Rice equation?
It is the flash equation written as Σ zi(Ki − 1)/(1 + ψ(Ki − 1)) = 0, the difference Σ y − Σ x expressed in the vapor fraction ψ. It is monotonic in ψ, which makes it the standard form for numerical flash calculation.
What does a negative V/F mean?
That the feed is below its bubble point (subcooled liquid): there is no vapor at those conditions. A V/F above 1 means the feed is above its dew point (superheated vapor). This flash calculation tool reports V/F = 0 or 1 in those cases instead of an unphysical root.
What is the difference between an isothermal and an adiabatic flash?
In an isothermal flash the drum temperature is set and the heat duty follows. In an adiabatic flash, typically after a pressure-reducing valve, no heat is added, so the temperature is unknown and an enthalpy balance must be solved together with Rachford–Rice.
Is this flash calculation calculator free?
Yes. It runs in your browser, needs no sign-up and does not store or send the values you enter.