Article
Refineries Are Rebuilding Their Biology to Hit Tough Nitrogen Limits
Industry: Oil_and_Gas | Process: Downstream_
Petroleum refineries increasingly face discharge targets that treat nitrogen as seriously as oil. China’s GB 31570-2015 sets total nitrogen (TN) below 30 mg/L. Some local limits push TN below 15 mg/L (pubs.rsc.org). Typical raw refinery wastewater still carries about 20–30 mg/L TN, largely as ammonium and nitrate. This is after preliminary oil/fats‑oils‑grease removal via primary steps like waste-water physical separation and purpose‑built oil removal.
One real‑world snapshot: a Liaohe refinery “CAST” intermediate measured ~0.82 mg/L NH4–N and 22.3 mg/L NO3–N (TN≈24.2 mg/L) (pubs.rsc.org). A refinery activated‑sludge plant logged >93% chemical oxygen demand (COD) removal. However, it struggled with nitrogen. Therefore the plant moved to simultaneous nitrification/denitrification (SND) (researchgate.net). The countermeasure is firmly biological: nitrification (NH4+→NO3−) followed by denitrification (NO3−→N2 gas).
Two‑zone reactor architecture (MLE)
The workhorse is a Modified Ludzack–Ettinger (MLE) layout inside standard activated‑sludge basins: influent first enters an anoxic tank to mix with recycled nitrified liquor (nitrate‑rich) and its own readily biodegradable COD, then flows to an aerobic tank for nitrification (suezwaterhandbook.com). Plants return the nitrified mixed liquor back to anoxic at roughly 100–350% of influent flow to ensure nitrate is available where carbon is (suezwaterhandbook.com).
Carbon-to-nitrogen balance is important. An influent BOD/N near ~4:1 usually allows complete denitrification. At 4:1, post-denitrification NO3–N around ~5–7 mg/L can hit a 10 mg/L TN target from 40 mg/L TN influent (suezwaterhandbook.com). If organics are low or TN is high, that same nitrate cut needs added carbon or more reactor volume.
Variants: step‑feed, three‑zone, and cyclic
For tighter targets, a three-zone process adds a third anoxic stage after aeration. This stage is usually endogenous and removes the remaining NOx (suezwaterhandbook.com). Step-feed spreads the influent over several anoxic cells. This matches the nitrate with the carbon better. Oxidation ditches and sequencing-batch-reactor (SBR) cycles do the same aerobic and anoxic steps in one tank. They switch the aeration on and off using real-time ammonia and nitrate signals. The air comes on only after anoxic denitrification has used up the NOx. It goes off when enough NH4+ has built up (suezwaterhandbook.com).
Nitrifiers grow slowly, with doubling times of roughly 1 to 2 days. Therefore sludge age matters. Conventional designs keep the solids retention time (SRT) at around 10 to 15 days so the nitrifiers are not washed out. Many plants raise retention with biofilm carriers, such as moving bed bioreactors (MBBR), IFAS or granular sludge. This separates the nitrifiers from daily wasting.
DO, pH, and alkalinity control
Dissolved oxygen (DO) is the main control. Nitrification works best near ~2 mg/L DO. Denitrification happens only when DO is below ~0.5 mg/L. Anoxic tanks must be mixed without aeration, so the microbes use nitrate and not oxygen as the electron acceptor. Too much oxygen in anoxic zones reduces denitrification. Over-aeration in aerobic zones uses more energy and can strip organics that would have fed nitrate reduction.
Nitrification consumes alkalinity and generates acidity. About 7.14 mg/L as CaCO3 alkalinity disappears per 1 mg/L NH4–N oxidized (cwea.org). Without enough buffer, pH can sag. This usually stalls nitrification below ~pH 6.8 (cwea.org). Operators usually target pH 7–8 and make sure at least ~70 mg/L CaCO3 remains after nitrification (cwea.org). They dose lime or bicarbonate as needed through a precise dosing pump. Denitrification restores some alkalinity, but this only partly offsets the overall demand. Plants track pH and alkalinity (or nitrate profiles) to tune lime feed and keep pH ~7.0–8.0.
Temperature sensitivity and seasonal effects
Temperature swings hit nitrifiers hard. Growth rates roughly halve for every 10°C drop below about 30°C. Nitrification becomes very slow below about 10°C. In tropical places like Indonesia, ambient 25–30°C is favorable. However, cooling in the rainy season can slow the rates. Denitrifiers are less sensitive to temperature and still work down to about 10°C if there is enough carbon. However, total N removal still eases off.
Carbon supply and DAF sidestreams
Denitrification needs carbon that breaks down easily. If COD/TKN is below ~3–5 after primary and secondary treatment, you need external carbon (for example methanol or acetic acid) or an internal sidestream. A heavy‑oil refinery study found acetate COD/NO3–N ≈3.75 gave the best result (pubs.rsc.org).
There is also a low-chemical option: use secondary dissolved air flotation (DAF) effluent with COD/NO3 ≈5.4 as the carbon source. In that study, adding 25% of this effluent by volume kept denitrification stable without pure chemicals (pubs.rsc.org). Many refineries already run DAF for solids and oil separation upstream, so this fits well. The SUEZ design rule says that keeping BOD/N around ~4:1 usually gives effluent TN ~5–7 mg/L and meets a 10 mg/L TN standard from 40 mg/L influent TN (suezwaterhandbook.com). If that ratio drops, operators either add carbon or adjust the internal recycle.
Sludge age, MLSS, and mixing
Ammonia-oxidizing (AOB) and nitrite-oxidizing bacteria (NOB) grow slowly and make little new biomass. Therefore many designs keep mixed liquor suspended solids (MLSS) around ~3–6 g/L and SRT ≈10–15 days. In one refinery wastewater study, raising MLSS to ~10 g/L under SND improved TN removal a lot (researchgate.net).
Mixing quality matters. Anoxic tanks need good mixing without aeration. This prevents dead zones and keeps the sludge suspended. In a Tehran refinery experiment, vigorous mixing (300 rpm in a 5 L reactor) helped complete SND (researchgate.net). For attached growth, immobilized media and biofilm stages match the fixed‑bed bio‑reactors that keep nitrifiers and denitrifiers stable.
Instrumentation and automated control
Reliable removal is a control problem as much as a biology problem. Plants increasingly automate DO, pH and oxidation-reduction potential (ORP) with online probes and ancillary gear sourced as wastewater ancillaries. In oxidation ditches, the “Green Bass” sequencing toggles aeration based on ammonia and nitrate. After anoxic denitrification depletes NOx, air is pulsed to nitrify until ammonia drops, then aeration halts again (suezwaterhandbook.com). Chemical additions, lime for alkalinity and acetate for carbon, are fine-tuned with metered feeds through a dosing pump.
Performance benchmarks and case data

With correct design and control, studies report >80–90% total nitrogen removal and single-digit mg/L effluents. A lab-scale system treating simulated refinery wastewater achieved ~95% TN removal on a synthetic feed and ~87% on real effluent. Nitrification took about 4 hours and denitrification about 3 hours (researchgate.net).
In a heavy‑oil refinery pilot using an immobilized denitrification reactor followed by an aerobic biofilm reactor, researchers reported a volumetric N removal rate of 0.82 kg N/m³·day and cut TN from 24 mg/L to ~1.5 mg/L—well below a 15 mg/L limit (pubs.rsc.org, pubs.rsc.org). Even at hydraulic retention times of 6–8 hours, effluent NH4–N was ~0 mg/L and NO3–N ~<2 mg/L (pubs.rsc.org). A separate SBR‑based approach in Iran likewise delivered efficient nitrification and denitrification under tight DO control; at MLSS 10 g/L the team reported “very efficient” N removal by SND (researchgate.net, researchgate.net).
Full‑scale results track the pilots. Activated‑sludge nitrification usually trims ammonia to below ~0.5 mg/L. With adequate carbon, downstream denitrification frequently secures >90% ammonia removal and >80% total N removal. If influent TN is ~30 mg/L, sound biological nutrient removal (BNR) design can deliver ~<5–10 mg/L TN, depending on carbon supply. Design rules of thumb back this up. To meet TN<10 mg/L from 40 mg/L, hold BOD/N ≥4 and internal recycle ≈150% (suezwaterhandbook.com).
The process picture in one line
The flow is simple. An anoxic denitrification zone and an internal nitrate recycle feed an aerobic nitrification zone, and then the flow goes back again. Configurations vary. However, every scheme splits oxic and anoxic work, keeps nitrifier biomass, and controls carbon, DO, pH and temperature so the biology stays on-song.
Sources and technical notes
This report draws on peer‑reviewed refinery wastewater studies (pubs.rsc.org, researchgate.net, pubs.rsc.org), engineering manuals (suezwaterhandbook.com, suezwaterhandbook.com), nitrogen‑removal process reviews (sciencedirect.com, sciencedirect.com), and alkalinity/pH guidance (cwea.org). Regulatory context is detailed here (pubs.rsc.org). Quantitative outputs cited include >0.8 kg N/m³·day removal, ~90–95% N removal, and effluent NH4–N and NO3–N in the low mg/L range.