WASH R&D Centre · Study series

Wastewater treatment in WESS plants: compartments, chemistry, and diagnosis

A study guide to the science behind the WESS Unified Site-Evaluation Protocol: what each compartment of a packaged water-efficient sanitation system does, the chemistry that drives it, the measurements taken on site and in the laboratory, and how readings are interpreted into diagnoses and prioritised mitigations.

1

The system, and why it needs de-risking

A WESS (Water-Efficient Sanitation System) is a packaged, decentralised treatment plant: it takes the full sewage stream of a building or small settlement, treats it on site through a train of compartments, and returns the water for non-potable reuse — typically toilet flushing. Because the water recirculates rather than discharging to a sewer, a WESS behaves differently from a conventional works in three ways that matter for everything in this guide:

First, it is a closed loop. Anything the biology and physical polishing steps cannot remove — dissolved salts above all — accumulates cycle after cycle. A municipal works never sees this; a WESS lives with it, and "reboot" (partial or full replacement of the loop volume with fresh water) is a legitimate, scheduled operation rather than a failure.

Second, it is small. Hydraulic and organic shock loads that a large works would absorb — a weekend of heavy use, a drum of harsh cleaning chemicals, a power outage — can wipe out the microbial community of a plant with a few cubic metres of biological volume. Recovery then needs reseeding, not patience.

Third, it is operated lightly. There is no resident process engineer. The plant must therefore be diagnosable: a structured set of measurements, taken on a site visit with field instruments plus a small laboratory suite, must be enough to say what is going wrong, where in the train, and what to do about it. That structure — compartment taxonomy, measurement bands, diagnosis catalogue, mitigation library — is the WESS protocol, and it is what the rest of this guide teaches.

2

The compartment train (C1–C10)

Every WESS variant is described against the same ten-compartment archetype. A given plant will not have all ten — a small septic-plus-wetland system may only have C1, C3 and C9 — but every real compartment maps onto one archetype, and every measurement band, flag and diagnosis in the protocol is anchored to that mapping. The train runs from raw influent to reuse product:

C1Conservancy / septicReceives raw influent; coarse settling; ammonification beginsORP −300…−100 mV
C2Primary screen / settlerRemoves gross solids before the biologyORP −200…−100 mV
C3Anaerobic / ABRHydrolysis + fermentation; bulk COD reductionORP −400…−200 mV
C4Aerobic / nitrifyingBOD removal; ammonia → nitrateORP +50…+200 mV
C5Anoxic / denitrifyingNitrate → N₂ gas; needs soluble carbonORP −100…0 mV
C6Secondary settlerSeparates biomass; sludge returnORP −200…−50 mV
C7Membrane (UF/MBR)Physical removal of solids + microorganismsunbanded
C8Adsorption (GAC/zeolite)Polishes soluble COD, NH₄, PO₄, colourunbanded
C9DisinfectionPathogen kill; where effluent quality is judgedORP +200…+400 mV
C10Final effluent / productReuse storage and distributionunbanded
anaerobic biology aerobic biology anoxic biology physical / separation disinfection
treated water — non-potable reuse raw influent building — toilets flush with reused water the loop is closed: salts pass every stage untouched, so TDS ratchets cycle on cycle C1 Septic C2 Screen C3 ABR C4 Aerobic C5 Anoxic C6 Settler C7 Membrane C8 GAC/zeolite C9 Disinfect Cl₂ C10 Product NO₃⁻ → recirculation 3–4×Q sludge return (settled biomass)
The archetype train as a working plant. Main flow runs left to right — anaerobic stages (C1, C3) do the bulk COD removal, C4 nitrifies, C5 denitrifies, then separation (C6–C8), disinfection (C9) and the product tank (C10). Two internal streams are the plumbing most failures trace to: the C5→C4 recirculation that keeps nitrate and soluble carbon meeting (its failure is DENIT_FAIL), and the C6→C4 sludge return that keeps biomass in the biology. The accent path over the top is what makes a WESS a WESS: treated water flushes the building's toilets and returns as influent, so salts loop and accumulate (§3, TDS_LOOP). Top-bar colours follow the legend above.

First principles: oxidation, reduction, and where the energy comes from

A redox reaction is an electron transfer. The species that loses electrons is oxidised; the species that gains them is reduced (the schoolroom mnemonic OIL RIG — Oxidation Is Loss, Reduction Is Gain — is all you need). There is nothing biological in the definition: iron rusting is iron oxidised by oxygen. What biology adds is harnessing. A microbe is an engine that couples one oxidation to one reduction — it strips electrons from a fuel (the electron donor) and delivers them to an electron acceptor, capturing the energy released in between as ATP. Everything the biological compartments do is a version of this one transaction.

In a WESS the dominant fuel is the sewage itself:

The donor half-reaction — organic matter gives up electrons CHX2O+HX2O→COX2+4 HX++4 eX−\ce{CH2O + H2O -> CO2 + 4H+ + 4e-} CH2O is shorthand for generic organic matter. Read COD (§3–§4) in this light: it is literally a count of the electrons the water still carries — "chemical oxygen demand" is the oxygen that would be needed to accept them all. The train's second donor is ammonium: nitrification (§3) is nitrogen itself being oxidised, with oxygen taking the electrons.

The electrons must land somewhere, and the acceptors are not equivalent: each pays a different energy price. Ranked from richest to poorest, they form the acceptor ladder that organises the whole train:

RegimeAcceptor half-reactionORP window (mV)Where you see it
Aerobic respirationOX2+4 HX++4 eX−→2 HX2O\ce{O2 + 4H+ + 4e- -> 2H2O}> +50C4 (and the oxidising regime of C9); pays best, so it always wins while oxygen lasts
Denitrification2 NOX3X−+12 HX++10 eX−→NX2+6 HX2O\ce{2NO3- + 12H+ + 10e- -> N2 + 6H2O}−100 … 0C5; starts only once DO < ≈ 0.5 mg/L — the chemistry behind the C5 DO band of §5
Sulphate reductionSOX4X2−+9 HX++8 eX−→HSX−+4 HX2O\ce{SO4^2- + 9H+ + 8e- -> HS- + 4H2O}< −100C1/C3; the H2S rotten-egg odour of a septic compartment is this reaction announcing itself
MethanogenesisCOX2+8 HX++8 eX−→CHX4+2 HX2O\ce{CO2 + 8H+ + 8e- -> CH4 + 2H2O}< −200C1/C3; the fine bubbling of site-walk step 9 — carbon dioxide itself pressed into service as the acceptor of last resort

The ordering is thermodynamic, not managerial: no valve enforces it. While oxygen is present every other acceptor waits, because the organisms using oxygen out-compete the rest for the same electrons; when oxygen runs out the community shifts to nitrate, then sulphate, then CO₂. (In the gap below −100 mV, fermenters also work without any external acceptor at all, splitting organics into the volatile fatty acids that feed methanogenesis — the ABR chain of §3.) This self-sorting is why compartment zoning works: the designer engineers the acceptor supply — blow air into C4, exclude it from C5, keep C3 sealed — and the right community assembles itself in each tank.

The redox ladder: one number that places you in the train

The oxidation–reduction potential (ORP) is the field measurement of all of the above. A platinum electrode dipped in the compartment adopts a voltage set by the dominant redox couples in the liquid, read against an Ag/AgCl reference: strongly positive means the water is electron-poor and oxidising (acceptors abundant), strongly negative means electron-rich and reducing (donors queuing for scarce acceptors). It is a summary voltage, not a concentration — but because each regime on the acceptor ladder holds a characteristic window, the one number places the compartment on that ladder. The protocol's compartment windows are simply the ladder mapped onto the train — which is why a single probe dip can tell you a compartment is in the wrong regime before any laboratory result comes back. An anoxic zone reading +150 mV is not "slightly high"; it has become an aerobic zone, and its denitrifiers have stopped working.

Compartment ORP windows (mV, vs Ag/AgCl)
C3 anaerobic / ABR
C1 septic
C5 anoxic
C4 aerobic
C9 disinfection
−450−300−1500+150+300+450
The redox tower
The redox tower. One column of wastewater stratifies into four regimes by electron acceptor, and an ORP probe reads position on this tower rather than any concentration. The windows are the compartment bands of the ladder above, drawn as the fluid that produces them.
Three reaction zones, one wastewater
Three reaction zones, one wastewater. What changes between the compartments is the electron acceptor, the guild that exploits it, the gas that leaves, and the hardware that defines the zone: nothing, a mixer, a diffuser grid.
Why the order matters Nitrification (C4) must come before denitrification (C5) in the nitrogen sense, yet the denitrifiers need soluble carbon that the aerobic stage has already burned. Real plants resolve this with a recirculation stream — nitrified liquor pumped back to the anoxic zone, where it meets carbon-rich influent. Many WESS failure modes are, at root, failures of this internal plumbing: too little recirculation starves denitrification of nitrate; oxygen carried over in the recycle poisons it.

Compartments in full: hardware, chemistry, readings and mitigations

Each WESS compartment is treated here as a complete unit: the hardware as built, the chemistry it runs, the values the field kit and the laboratory should return when it is healthy, and the failure modes with their mitigations. The bands repeat the protocol’s operational triggers, so a reading taken at any of these units can be placed immediately. Thresholds are decision aids under calibration rather than validated regulatory limits.

C1 · Conservancy / septic tank

C1 · Conservancy tank, exploded view. Cover and base slabs, inlet, overflow and valved outlet, waterproofing strip between tank and base. The settling volume between inlet and outlet is the working part; the sludge blanket grows into it from below.
C1 · Conservancy tank, exploded view. Cover and base slabs, inlet, overflow and valved outlet, waterproofing strip between tank and base. The settling volume between inlet and outlet is the working part; the sludge blanket grows into it from below.

A sealed reinforced-concrete box receives the raw stream and holds it in near-total oxygen absence (ORP −300 to −100 mV). Two processes begin at once. Coarse and settleable solids drop into a sludge blanket, taking roughly half the suspended load out of the flow within a day of quiet residence. In the liquid above, hydrolysis breaks particulate organics into soluble molecules and ammonification converts organic nitrogen to ammonium, which is why NH₄-N rises through this compartment while COD begins to fall.

Urine carries most of the nitrogen, and urea hydrolyses within hours:

Ammonification — urea to ammonium CO(NHX2)X2+3 HX2O→2 NHX4X++HCOX3X−+OHX−\ce{CO(NH2)2 + 3H2O -> 2NH4+ + HCO3- + OH-} The reaction is alkaline, which is why septic liquor holds a stable pH near neutral even as fermentation makes acids. The ammonium formed here is the load the aerobic stage must later nitrify.
Odour signature — sulphate reduction SOX4X2−+9 HX++8 eX−→HSX−+4 HX2O\ce{SO4^2- + 9H+ + 8e- -> HS- + 4H2O} Below −100 mV sulphate becomes an electron acceptor and hydrogen sulphide follows. A faint septic odour at the manhole is normal chemistry; a strong one at the surface usually means the blanket is high or the tank is short-circuiting.
MeasurementHealthyAction beyondReads as
COD (in-tank)hundreds–2 000 mg/L> 3 000 mg/Ldesludge overdue — settling volume consumed
TSS (in-tank)≤ 1 000 mg/L> 1 500 mg/Ldesludge overdue
NH₄-Nrising through the tank—ammonification proceeding as designed
ORP−300 … −100 mVabove −100 mVshort-circuiting or a near-empty tank
Sludge blanket< 30% of depth≥ 40% (> 50% immediate)desludge; 30–40% goes on the trend watch

Failure here is almost always arithmetic rather than biological: the blanket grows until the tank stops settling, and raw load passes through to compartments never sized for it. The worked case of §8 shows the signature (septic COD of 5 691 mg/L against the 3 000 action level) and the catalogue names it SEPTIC_OVERDUE. The mitigation is M01, a desludge with a standing sludge-judge cadence so the next one is scheduled rather than discovered. Composite sampling (M11) belongs here whenever a reading will carry weight, since a grab sample near the inlet of a stratified tank can say almost anything. Persistent grit and rag loads point back to what the community puts down the drain, which is M13 territory.

A core through C1
A core through C1. Scum crust, clear liquor, young gassing blanket, old compacted sludge, and the sludge-judge core beside the tank with the 30/40/50% marks that put M01 on a calendar.

C3 · Anaerobic reactor (ABR / UASB)

C3 · Anaerobic reactor, UASB form. Influent rises through a granular sludge bed; the deflector baffles and three-phase separator part gas, solids and water, with biogas collected under the dome and clarified water leaving over the effluent launder.
C3 · Anaerobic reactor, UASB form. Influent rises through a granular sludge bed; the deflector baffles and three-phase separator part gas, solids and water, with biogas collected under the dome and clarified water leaving over the effluent launder.

This compartment does the heavy COD removal at zero aeration cost. Influent passes up (UASB) or over-and-under (ABR baffles) through a retained anaerobic biomass, and the three-stage chain of §3 runs to completion: hydrolysis, fermentation to volatile fatty acids, then methanogenesis at ORP −400 to −200 mV. Most of the methane leaves by the acetate route, the rest from hydrogen:

Methanogenesis — the two routes CHX3COOH→CHX4+COX2\ce{CH3COOH -> CH4 + CO2} 4 HX2+COX2→CHX4+2 HX2O\ce{4H2 + CO2 -> CH4 + 2H2O} Steady fine bubbling under the dome is the visible form of these reactions (site-walk step 9). A loaded reactor producing no gas has lost its methanogens to inhibition or washout; patience will not bring them back, reseeding will.
MeasurementHealthyAction beyondReads as
COD removal across C1+C3> 80–90%residual in the hundredschain inhibited or short-circuiting (7de Laan EP: 5 691 → 467; WP: → 73.5)
TSS leaving C3≤ 200 mg/L> 500 mg/Lsludge washout — the reactor exporting its own biomass
ORP−400 … −200 mVabove −200 mVair ingress or hydraulic short-circuit
pH6.8–7.6< 6.5souring: VFAs accumulating faster than methanogens consume them
Gas observationsteady fine bubblingnone under loadmethanogens inhibited or washed out

Two failure modes dominate. ABR_WASHOUT (TSS above 500 leaving the reactor) follows hydraulic surging or a collapsed blanket; the response is M06, an integrity check with chemically-enhanced backwash where membranes follow, together with M01 to restore the solids inventory. Souring is the chemical failure: an organic shock makes acid faster than the methanogens clear it, pH slides below 6.5, and the methanogens quit, which makes more acid. That loop does not self-correct. Breaking it needs load relief, alkalinity, and in the worst case a reboot with live-culture reseed (site-walk step 10). The causes worth ruling out on the same visit are toxic loads and chlorinated water routed back through the biology, both M13 and plumbing questions rather than dosing ones.

Inside a granule: the anaerobic assembly line
Inside a granule: the anaerobic assembly line. Hydrolysers and fermenters at the surface, acetogens in the middle layer, methanogenic archaea at the core, VFAs and hydrogen shuttling inward, biogas detaching from the surface. The reactor is millions of these.

C4 · Aerobic reactor

C4 · Aerobic reactor. Fine-bubble diffuser grid on the floor, air-supply header and distribution pipes, baffle wall against short-circuiting, effluent weir and waste-sludge pipe. Aeration is the plant’s main power draw and its most load-bearing control.
C4 · Aerobic reactor. Fine-bubble diffuser grid on the floor, air-supply header and distribution pipes, baffle wall against short-circuiting, effluent weir and waste-sludge pipe. Aeration is the plant’s main power draw and its most load-bearing control.

Air changes everything. At DO of 2–4 mg/L and ORP of +50 to +200 mV, heterotrophs burn the residual soluble COD and the nitrifiers run the first leg of the nitrogen relay. Both reactions consume something besides oxygen, and both costs appear in the readings:

Carbonaceous oxidation CHX2O+OX2→COX2+HX2O\ce{CH2O + O2 -> CO2 + H2O} Fast, robust, and first in the queue for oxygen. When air is short, this reaction takes what there is and nitrification stops first.
Nitrification — two organisms, two steps 2 NHX4X++3 OX2→2 NOX2X−+4 HX++2 HX2O\ce{2NH4+ + 3O2 -> 2NO2- + 4H+ + 2H2O} 2 NOX2X−+OX2→2 NOX3X−\ce{2NO2- + O2 -> 2NO3-} Ammonia oxidisers make nitrite and acid; nitrite oxidisers finish to nitrate. The stoichiometry costs ≈ 4.6 mg O₂ and destroys ≈ 7.1 mg of alkalinity (as CaCO₃) per mg N. Measurable nitrite means the handoff between the two organisms is stalling — an early warning more sensitive than either end product.
MeasurementGreenRed beyondReads as
DO2.0–4.0 mg/L< 1.0 · > 6.0low: aeration failure · high: over-aeration, floc breakup, DO carryover to C5
ORP+50 … +200 mV< 0 · > 300zoning collapsed · over-oxidised
pH6.8–8.0< 6.5 · > 8.5unbuffered nitrification · ammonia-toxicity risk
NH₄-N≤ 3 mg/L> 10 mg/Lnitrification incomplete
SVI80–150 mL/g< 50 · > 250pin-point floc · filamentous bulking

AERATION_FAIL is the acute failure: a blower or diffuser outage stops nitrification and aerobic COD removal within hours and the whole plant slides down the redox ladder. The mitigation is M02, an aeration audit and rebalance of setpoint and blower duty. The chronic failures are quieter. Complete ammonia removal with acidic effluent is unbuffered nitrification; the acid of the first reaction has exhausted the water’s alkalinity, and below pH 6.5 the nitrifiers throttle themselves, trading an acid problem for an ammonia one. Over-aeration wastes power, shears floc, and poisons C5 through the recycle. Filamentous bulking grows out of low DO, low F:M or surfactant loading and is read at the settler but caused here; the settling root-cause tree of site-walk step 4 assigns it, and M10, M13 and M14 carry the responses that are not aeration.

Nitrification at floc scale
Nitrification at floc scale. Oxygen diffuses from the bubble through the boundary layer into an oxic skin where AOB and NOB run the two-step relay; the core stays anoxic. The 2–4 mg/L DO band is what keeps that penetration depth useful without shearing the floc.

C5 · Anoxic reactor

C5 · Anoxic reactor. Mixed and never aerated: mixer drive and platform, baffle wall, and the internal mixed-liquor recycle pipe that returns nitrified liquor from the aerobic zone. The MLR diffuser on the tank floor is a liquid-distribution manifold, not an air diffuser — it spreads the returning nitrate evenly through the zone and must never entrain bubbles; the C5 DO band (≤ 0.5 mg/L) is exactly the constraint it protects. Denitrification lives and dies by that pipe.
C5 · Anoxic reactor. Mixed and never aerated: mixer drive and platform, baffle wall, and the internal mixed-liquor recycle pipe that returns nitrified liquor from the aerobic zone. The MLR diffuser on the tank floor is a liquid-distribution manifold, not an air diffuser — it spreads the returning nitrate evenly through the zone and must never entrain bubbles; the C5 DO band (≤ 0.5 mg/L) is exactly the constraint it protects. Denitrification lives and dies by that pipe.

Between −100 and 0 mV, with oxygen excluded, facultative heterotrophs switch to nitrate respiration and run the relay’s second leg. The unit needs three things in the same water at the same time: nitrate (delivered by the recirculation), soluble carbon (delivered by the influent), and the absence of dissolved oxygen (protected by the mixer doing what a diffuser must not).

Denitrification 5 CHX2O+4 NOX3X−+4 HX+→2 NX2+5 COX2+7 HX2O\ce{5CH2O + 4NO3- + 4H+ -> 2N2 + 5CO2 + 7H2O} Roughly 4–5 g of soluble COD per g of NO₃-N removed, with about half of nitrification’s alkalinity returned. Oxygen above ≈ 0.5 mg/L switches the population back to aerobic respiration and the nitrate sails past untouched.
MeasurementGreenRed beyondReads as
DO≤ 0.5 mg/L> 1.5 mg/Loxygen carryover — denitrification stalls
ORP−100 … 0 mV> 0 (e.g. +150)zone has become aerobic; denitrifiers stopped
NO₃-N (in-zone)≤ 5 mg/L> 15 mg/Ldenitrification lagging
NO₃-N (final effluent)≤ 15 mg/L> 30 mg/LDENIT_FAIL at the judgment point
NO₂-N≈ 0measurablerelay stalling mid-handoff

DENIT_FAIL announces itself as high effluent nitrate under low effluent ammonia: the first leg worked and the second never ran. Three causes cover the field cases. Under-recirculation starves the zone of nitrate, and M03 raises the recycle to 3–4 times forward flow. Carbon starvation follows over-aerated or over-settled influent, and M04 doses an external carbon source. Oxygen poisoning rides the recycle from an over-aerated C4, which makes the cure M02 upstream rather than anything in this tank. The worked case is the standing reminder that plumbing outranks chemistry here: EP had carbon in abundance (septic COD 5 691) and still put 70.9 mg/L of nitrate in its effluent, because the reactants never met.

The oxygen switch
The oxygen switch. The same floc denitrifies in oxygen-free liquor and ignores nitrate the moment DO passes 0.5 mg/L. The C5 dissolved-oxygen band, drawn as the biology that enforces it.

C6 · Secondary settling tank

C6 · Secondary settling tank. Central drive and scraper arms over a conical hopper, scum baffle at the surface, outlet weir at the rim, sludge discharge to the return line. Separation is geometry plus biology behaving.
C6 · Secondary settling tank. Central drive and scraper arms over a conical hopper, scum baffle at the surface, outlet weir at the rim, sludge discharge to the return line. Separation is geometry plus biology behaving.

No reaction is intended here; the unit is physics applied to a biological product. Bacteria that grew at the right sludge age flocculate into dense aggregates bridged by extracellular polymer, and an hour of quiet lets them fall while clarified water leaves over the weir. The settled biomass returns to C4 to work again, which makes this tank half of the activated-sludge loop rather than a mere polisher.

One unintended reaction matters. Sludge that sits too long in the hopper goes anoxic, denitrifies whatever nitrate it carried in, and the nitrogen bubbles float whole rafts of solids to the surface. Rising sludge in an otherwise healthy plant is that mechanism, and the fix is faster sludge return rather than anything chemical.

MeasurementGreenRed beyondReads as
SVI80–150 mL/g> 150 (> 250 red)filamentous bulking
SVI< 80 (< 50 red)pin-point floc; turbid supernatant
DSVI (step 3)converges with SVISVI high, DSVI < 120inventory problem, not a community problem — waste sludge
Effluent TSS (judged at C9)≤ 10 mg/L> 25 mg/Lsolids carryover; shielding risk at disinfection
Surfacethin light-tan frothdense, dark, persistentfilaments or heavy surfactant load

The diagnostic pair SVI/DSVI separates the two failure families. SVI of 210 with DSVI of 95 settles fine once diluted, so the tank simply holds too much sludge: an inventory finding, M01 territory, fixed by wasting cadence. SVI and DSVI both high is bulking proper, and the step-4 root-cause tree assigns it to low DO, low F:M or surfactants, which routes the mitigation to M02, M13 or a reboot-and-reseed after community failure. Solids that escape this tank do double damage, first as effluent TSS, then as the particulate shielding that lets E. coli survive a correct chlorine residual at C9.

C7 · Membrane filtration (UF / MBR)

C7 · Immersed ultrafiltration unit, MBR form
C7 · Immersed ultrafiltration unit, MBR form. Hollow-fibre modules hang in the mixed liquor; a suction pump draws permeate through the fibre walls to the manifold while the air-scour grid keeps the fibres swept and the backwash line reverses flow on schedule. The TMP gauge is the unit’s one essential instrument.

The membrane is the train’s one absolute barrier. An ultrafiltration wall carries pores of roughly 0.01–0.1 µm, and rejection at that scale is geometric: water and dissolved species pass, solids and bacteria cannot, the smallest viruses are marginal. Nothing biological or chemical is asked of the unit. In a WESS it either polishes the settler’s effluent or, in the MBR form drawn above, replaces the settler entirely, in which case the SVI questions of C6 stop mattering and membrane care takes their place.

The physics that runs the unit fits in one law, a resistance in series:

Flux — resistance in series J=ΔPTMμ (Rm+Rc)J = \dfrac{\Delta P_{TM}}{\mu\,(R_m + R_c)} Flux J is permeate flow per membrane area, driven by the transmembrane pressure ΔPTM against viscosity μ and two resistances: Rm, the membrane’s own, fixed by manufacture; and Rc, the cake of rejected material, which grows every minute of filtration. Everything operational about a membrane is the management of Rc: at constant flux a rising TMP is the cake announcing itself.