Chemical Engineering · Material and Energy Balances
Purge stream calculator icon showing a recycle loop with a small purge stream leaving it

Purge stream calculator

This purge stream calculator sizes the purge that keeps inerts from building up in a recycle loop. From the inert content of the fresh feed and the inert level the loop can tolerate, it gives the purge flow through the steady-state inert balance; the full loop panel adds the single-pass conversion and returns the purge fraction, the recycle flow, the reactant lost in the purge and the overall conversion, with a chart of the trade-off.

Model: the separator removes all product and none of the reactants or inerts, so the gas leaving it splits into purge and recycle with the same composition. Reactants are lumped (for example N₂ + H₂ in a 1 : 3 ratio) and the single-pass conversion refers to that lumped reactant.

Purge stream calculator: inert balance

At steady state every mole of inert that enters with the fresh feed must leave in the purge: F·x_I,feed = P·y_I,purge.
%
Mole %. Ammonia make-up gas: about 0.5–1.5 % CH₄ + Ar.
%
Mole %. Same as the purge composition.

Recycle loop purge stream calculator with conversion

Fresh feed, inert content and single-pass conversion; then choose the purge specification.
%
%
Moles of (lumped) reactant converted per mole of reactant entering the reactor.
%
%
%
Share of the gas leaving the separator that is purged.

How to use the purge stream calculator

Start with the first panel if you only need the purge flow: it uses the overall inert balance, which needs nothing but the fresh feed rate, its inert content and the inert level you will accept in the loop. The second panel models the whole loop (reactor, product separator, purge and recycle). Enter the fresh feed, its inert content and the single-pass conversion, then choose how the purge is specified: a target inert level in the recycle, a target inert level in the reactor feed, or a purge fraction. The purge stream calculator returns the purge and recycle flows, the reactant lost, the overall conversion and a chart of inert level and conversion against purge fraction.

Why recycle loops need a purge: what the purge stream calculator solves

In a loop that recycles unreacted feed, any species that neither reacts nor leaves with the product has no exit. Argon and methane in ammonia synthesis gas, nitrogen and methane in methanol synthesis gas, or ethane in an ethylene oxide loop enter with the fresh feed every hour. Without an outlet they accumulate until the reaction stops. A purge is a small, continuous bleed of the recycle; its composition equals the recycle composition, because it is split from the same stream. LearnChemE (University of Colorado Boulder) has a self-study module on purge streams in systems with recycle that walks through the same balances.

The steady-state inert balance behind the purge stream calculator

Around the whole process, inerts enter only with the fresh feed and leave only with the purge. At steady state:

F · x_I,feed = P · y_I,purge so P = F · x_I,feed / y_I,purge

This is the single most useful equation in purge design, and the first panel of the purge stream calculator. It does not depend on the reactor at all; the conversion only decides how much reactant leaves with the purge. Since the purge has the recycle composition, the reactant lost is P·(1 − y_I) when the product has been removed upstream.

The full loop model in the purge stream calculator

Let F_A and F_I be the reactant and inert flows in the fresh feed, X_sp the single-pass conversion and p the purge fraction of the gas leaving the separator. Balances on the reactant around the mixer and on the inerts around the splitter give:

A_in = F_A / [1 − (1 − p)(1 − X_sp)] I_loop = F_I / p y_I = I_loop / [(1 − X_sp)·A_in + I_loop]

Overall conversion is X_overall = 1 − p·(1 − X_sp)·A_in / F_A. Solving the expression for y_I backwards gives the purge fraction for a target inert level, which is what the second panel of the purge stream calculator does. There is a lower limit: with p = 100 % (no recycle at all), the inert level is F_I / [(1 − X_sp)·F_A + F_I], and no purge can do better than that.

Purge stream calculator worked example: illustrative ammonia loop

Take an illustrative ammonia synthesis loop: 100 kmol/h of make-up gas (H₂ and N₂ in a 3 : 1 ratio) with 1 % inerts, 25 % single-pass conversion of the lumped H₂ + N₂ and full condensation of the ammonia. The loop should hold 12 % inerts.

Inert balance (first panel). P = 100 × 0.01 / 0.12 = 8.33 kmol/h of purge, of which 0.88 × 8.33 = 7.33 kmol/h is H₂ + N₂: 7.4 % of the reactant fed is lost, so the overall conversion cannot exceed 92.6 %.

Full loop (second panel). The purge fraction comes out at p = 2.667 %. The reactor takes 99 / (1 − 0.97333 × 0.75) = 366.7 kmol/h of reactant plus 1 / 0.02667 = 37.5 kmol/h of circulating inerts, 404.2 kmol/h in all (9.28 % inert). After the reactor 275 kmol/h of reactant and 37.5 kmol/h of inerts reach the splitter: 312.5 kmol/h, of which 8.33 kmol/h is purged and 304.2 kmol/h recycled. Overall conversion: 1 − 7.33 / 99 = 92.6 %. The numbers are illustrative; real loops also lose some gas dissolved in the liquid ammonia, which adds a small second purge.

Textbook check of the purge stream calculator: methanol synthesis loop

Felder and Rousseau (Elementary Principles of Chemical Processes, chapter 4) make methanol from CO₂ and H₂ with a fresh feed containing 0.400 mol % inerts, a reactor feed of 28.0 % CO₂, 70.0 % H₂ and 2.00 % inerts, and 60.0 % single-pass conversion of H₂. Per 100 mol of reactor feed, 42 mol H₂ and 14 mol CO₂ react, so the lumped single-pass conversion is 56 / 98 = 57.14 %. With x_I = 0.4 %, X_sp = 57.14 % and a reactor feed target of 2.00 %, the second panel gives p = 12.28 % and, for a fresh feed of 61.40 mol, a recycle of 38.6 mol and a purge of 5.40 mol containing 4.55 % inerts, the textbook result.

Choosing the inert level

Run the first panel of the purge stream calculator for a few inert levels and the loss trend becomes obvious.

Allowed inert in loopPurge per 100 mol fresh feed (1 % inert)Reactant lost (% of fresh reactant)
5 %20.019.2
10 %10.09.09
15 %6.675.72
20 %5.004.04
30 %3.332.36

The table follows from P = F·x_I/y_I and reactant lost = P·(1 − y_I). A higher inert level cuts the loss but dilutes the reactants, lowering the reaction rate and raising the recycle compressor duty for the same production. The optimum is an economic one: value of lost reactant (often recovered as fuel or, in ammonia plants, through hydrogen recovery units) against reactor size and compression energy. Ammonia loops are commonly operated with an inert level of the order of 10 % in the loop gas.

Common mistakes in purge problems

Purging from the wrong place. In the purge stream calculator, as in a real loop, the purge has the recycle composition, not the fresh-feed or reactor-outlet composition. Forgetting the overall balance. The inert balance around the whole process is the fastest route to the purge flow. Confusing purge fraction and purge flow. The fraction refers to the gas leaving the separator, the flow is absolute. Ignoring the minimum inert level. A target below the no-recycle level is impossible; the purge stream calculator reports it as an error. Treating reactants separately when they are fed in a fixed ratio. Lumping them, as in the examples, keeps the problem small; for non-stoichiometric feeds use the Component Balance Calculator for the detailed compositions.

Related calculators

Loops without inerts are covered by the Recycle Stream Calculator. For general flowsheet balances use the Mass Balance Calculator, and the Ideal Gas Law Calculator converts loop gas flows to actual volumes.

Frequently asked questions

What is a purge stream?

A small stream withdrawn continuously from a recycle loop to remove inerts or by-products that would otherwise accumulate. It has the same composition as the recycle.

How do you calculate the purge rate?

Use the inert balance around the whole process: P = F·x_I,feed / y_I,purge. For 100 kmol/h of feed with 1 % inerts and 12 % allowed in the loop, P = 8.33 kmol/h.

Can the purge stream calculator handle a non-stoichiometric feed?

Yes, if you lump the reactants and use the conversion of the lumped reactant, as in the methanol example (56 mol reacted out of 98 mol of CO₂ + H₂). The inert balance and the purge flow do not depend on how the reactants are split.

What happens if there is no purge?

Inerts enter but cannot leave, so their concentration in the loop rises until the reactant partial pressure, and with it the reaction rate, falls to nearly zero. There is no steady state without a purge (or another inert outlet).

Why does a larger purge lower the overall conversion?

The purge has the loop composition, so it removes unreacted reactant together with the inerts. More purge means more reactant thrown away before it can react.

Is this purge stream calculator free?

Yes. It runs in your browser, needs no sign-up and does not store or send the values you enter.