← CEE 466 / 566 modules
CEE 466 / 566 · Environmental Processes · Module 11

Activated Sludge: a Process Model

Self-paced · about 4 hours · prerequisites: Module 1 (mass balance), Module 4 (CSTR, recycle), Module 7 (KLa), Module 8 (settling), Module 10 (Monod growth, yield, decay)

Overview

In Module 10 you described how bacteria grow on a substrate: Monod kinetics, a yield, a decay rate. Activated sludge is what happens when you put that growth inside a continuous-flow reactor (Module 4) and add one trick: you settle the bacteria out of the effluent and send them back. That single recycle line separates the time the water spends in the tank from the time the bacteria spend in the system, and it is why a six-hour tank can treat sewage that would otherwise need days. This module builds the steady-state model of that system. It is a process model: how the plant behaves for given volumes and flows. Choosing the volumes and flows (design) is the subject of CEE 497/597.

By the end of this module you should be able to:
  1. Describe the activated sludge flow sheet (aeration tank, clarifier, return and waste sludge) and the quantities used to describe it: MLVSS, HRT, SRT, recycle ratio.
  2. Write substrate and biomass mass balances for a chemostat and find its steady state and washout residence time.
  3. Define the solids retention time and explain why recycle lets SRT ≫ HRT.
  4. Derive and use the steady-state (Lawrence–McCarty) solution for effluent substrate S and biomass X as functions of SRT.
  5. Compute sludge production, the observed yield, the waste-sludge flow, the oxygen requirement and the F/M ratio, and relate F/M to SRT.
  6. Build, run and check an activated sludge model (aeration tank, clarifier, recycle and wasting, oxygen) in OpenHydroQual.

Notation. \(S\) soluble biodegradable substrate (mg bCOD/L = g/m³), \(S_0\) its influent value; \(X\) active biomass in the aeration tank (mg VSS/L); \(\hat\mu\) maximum specific growth rate (d⁻¹), \(\hat q = \hat\mu/Y\) maximum specific substrate-utilization rate (g bCOD/(g VSS·d)), \(K_s\) half-saturation constant (mg bCOD/L), \(Y\) true yield (g VSS/g bCOD), \(b\) decay (endogenous) rate (d⁻¹). \(Q\) influent flow, \(V\) aeration-tank volume, \(\theta = V/Q\) hydraulic residence time (HRT), \(\theta_x\) solids retention time (SRT), \(Q_r\) return-sludge flow and \(R = Q_r/Q\), \(Q_w\) waste-sludge flow, \(X_r\) underflow and \(X_e\) effluent biomass, \(P_X\) sludge (biomass) production (kg VSS/d), \(R_{O_2}\) oxygen requirement (kg O₂/d).

Reading (optional): Rittmann & McCarty, Environmental Biotechnology, ch. 3 (Microbial Kinetics) and ch. 6 (Activated Sludge) ☐; Mihelcic & Zimmerman 3rd ed., ch. 11 (Wastewater Treatment), secondary-treatment sections ☐; Metcalf & Eddy / MWH for typical kinetic coefficients ☐ (sections not checked).

1The activated sludge process

requiredBelinda Sturm: Wastewater Treatment Plant Overview (11 min): where activated sludge sits in a plant.
requiredPennsylvania DEP: Introduction to Activated Sludge (18 min): what the tanks, the floc and the return line look like.

Settled sewage enters an aeration tank, where air bubbles keep the water mixed and oxygenated. The tank holds a dense suspension of bacteria and other microorganisms that stick together in flocs 0.1 to 1 mm across: this suspension is the "activated sludge", or mixed liquor. The bacteria oxidize the dissolved organic matter (the electron donor, Module 3) with oxygen (the electron acceptor), and use part of it to make new cells (Module 10). The mixed liquor flows to a secondary clarifier, a settling tank (Module 8) where the flocs settle. Clear water leaves over the weir as effluent; the thickened sludge at the bottom is pumped back to the aeration tank (return activated sludge, RAS), and a small part of it is removed (waste activated sludge, WAS).

aeration tank V, S, X (completely mixed) clarifier Q, S₀ Q+Qr, S, X Q−Qw, S, Xe return sludge Qr, Xr waste Qw, Xr system boundary for the SRT

What we measure

The kinetics we bring from Module 10

Bacteria consume substrate at the Monod rate and grow with yield \(Y\), and they lose mass by decay at rate \(b\):

\[ r_{ut} = -\frac{\hat q\,S}{K_s + S}\,X, \qquad r_{X} = Y\,|r_{ut}| - bX = \left(\frac{\hat\mu\,S}{K_s + S} - b\right)X, \qquad \hat\mu = Y\hat q \]

The term in parentheses is the net specific growth rate, \(\mu_{net}\) (d⁻¹). Typical values for aerobic heterotrophs at 20 °C (Metcalf & Eddy ☐): \(\hat\mu \approx 6\) d⁻¹, \(K_s \approx 20\) mg bCOD/L, \(Y \approx 0.4\) g VSS/g bCOD, \(b \approx 0.12\) d⁻¹. We use these numbers throughout the page.

2The chemostat: a CSTR without recycle

optional Theo Ong: Chemostat I (18 min): the same balances written by a chemical engineer.

Start with the simplest flow-through bioreactor: a completely mixed tank (Module 4) with no recycle, fed with substrate and no biomass. This is a chemostat. Every cell leaves with the water, so the time a cell spends in the tank is the HRT: here SRT = HRT = \(\theta\).

Mass balances

Biomass (none in the influent) and substrate, for a tank of volume \(V\):

\[ V\frac{dX}{dt} = -QX + \left(\frac{\hat\mu S}{K_s + S} - b\right)XV, \qquad V\frac{dS}{dt} = Q(S_0 - S) - \frac{\hat\mu}{Y}\,\frac{S}{K_s + S}\,XV \]
Steady state, step by step

1. Biomass balance at steady state, with \(X \neq 0\): divide by \(XV\): \(\dfrac{1}{\theta} = \dfrac{\hat\mu S}{K_s + S} - b\). The bacteria must grow, net, exactly as fast as they are washed out.

2. Solve for \(S\): \(\hat\mu S = (1/\theta + b)(K_s + S)\), so \(S(\hat\mu - b - 1/\theta) = K_s(b + 1/\theta)\), and multiplying by \(\theta\):

\[ S = \frac{K_s\,(1 + b\theta)}{\theta(\hat\mu - b) - 1} \]

3. Substrate balance at steady state: \(Q(S_0 - S) = \dfrac{\hat\mu}{Y}\dfrac{S}{K_s + S}XV\). From step 1, \(\dfrac{\hat\mu S}{K_s + S} = \dfrac{1}{\theta} + b\), so \(Q(S_0 - S) = \dfrac{XV}{Y}\left(\dfrac{1}{\theta} + b\right)\) and

\[ X = \frac{Y(S_0 - S)}{1 + b\theta} \]

The effluent substrate depends only on the kinetics and on \(\theta\), not on \(S_0\). The influent concentration sets how much biomass grows.

Washout

If \(\theta\) is too short, the bacteria cannot grow fast enough to replace the cells that leave; \(X\) falls to zero and \(S = S_0\). The shortest \(\theta\) that keeps a population is found by setting \(S = S_0\) in step 1:

\[ \frac{1}{\theta_{min}} = \frac{\hat\mu\,S_0}{K_s + S_0} - b, \qquad \text{and for } S_0 \gg K_s:\ \ \theta_{min} \to \frac{1}{\hat\mu - b} \]
Example 11a, a chemostat

A 1000 m³ tank receives \(Q = 4000\) m³/d of wastewater with \(S_0 = 300\) mg bCOD/L, so \(\theta = 0.25\) d (6 h). With the typical kinetics above, \(S = 20(1 + 0.12 \times 0.25)/[0.25(6 - 0.12) - 1] = 20.6/0.47 = 43.8\) mg/L (85 % removal) and \(X = 0.4(300 - 43.8)/(1 + 0.03) = 99.5\) mg VSS/L. The washout time is \(1/\theta_{min} = 6(300)/320 - 0.12 = 5.505\) d⁻¹, \(\theta_{min} = 0.182\) d (4.4 h): a smaller tank than 727 m³ would wash out. At a 4-hour HRT the bacteria would be lost.

Two things are wrong with the chemostat as a treatment process: the effluent is still at 44 mg/L, and the biomass, 100 mg/L, is far too dilute to make the tank small. Both are fixed by recycle (next section).

Chemostat explorer

Washout time θmin
Effluent S
Biomass X

Steady-state S and X against the residence time; the shaded band washes out

Try this: raise S₀ from 300 to 1500 mg/L. What happens to S, to X, and to θmin?
S does not change (it never contains \(S_0\)); X grows in proportion to \(S_0 - S\); \(\theta_{min}\) shrinks a little toward \(1/(\hat\mu - b) = 0.170\) d because the bacteria grow closer to \(\hat\mu\) at high substrate.

3Recycle and the solids retention time

optional The Wastewater Enthusiast: Sludge Age vs MCRT (5 min): the same quantity under its operators' names.

Two residence times

Now add the clarifier and the return line. The clarifier lets the water leave but keeps most of the bacteria, so water and bacteria no longer spend the same time in the system:

\[ \theta_x = \frac{\text{biomass in the system}}{\text{biomass leaving per day}} = \frac{VX}{Q_wX_r + (Q - Q_w)X_e} \]

Biomass leaves on purpose in the waste sludge, \(Q_wX_r\), and by accident in the effluent, \((Q - Q_w)X_e\). With a good clarifier \(X_e\) is small (5–15 mg/L), the waste term dominates, and the operator sets the SRT by choosing the waste flow. The clarifier's volume and solids are usually left out of the numerator, as we do here. Recycle by itself does not change the SRT: it only moves solids around inside the boundary. Typical activated sludge runs at \(\theta\) = 4–8 h but \(\theta_x\) = 5–15 d.

Balances on the system

Draw the boundary around the aeration tank and the clarifier (dashed line in the flow sheet). Assume no reactions in the clarifier, no biomass in the influent, and steady state.

Biomass and substrate balances, step by step

1. Biomass: growth in the tank equals biomass leaving the system,

\[ 0 = \left(\frac{\hat\mu S}{K_s + S} - b\right)XV - \left[Q_wX_r + (Q - Q_w)X_e\right] \quad\Longrightarrow\quad \frac{\hat\mu S}{K_s + S} - b = \frac{1}{\theta_x} \]

This is the chemostat result with \(\theta\) replaced by \(\theta_x\): the net growth rate equals the rate at which cells are removed, \(1/\theta_x\).

2. Solving for \(S\) exactly as in Section 2:

\[ S = \frac{K_s\,(1 + b\theta_x)}{\theta_x(\hat\mu - b) - 1} \]

3. Substrate (soluble, so the clarifier passes it unchanged and \(S\) leaves in the effluent and the waste): \(0 = QS_0 - QS - \dfrac{\hat\mu}{Y}\dfrac{S}{K_s + S}XV\). Using step 1, \(\dfrac{\hat\mu S}{K_s + S} = \dfrac{1}{\theta_x} + b\), so \(Q(S_0 - S) = \dfrac{XV}{Y}\cdot\dfrac{1 + b\theta_x}{\theta_x}\), and

\[ X = \frac{\theta_x}{\theta}\,\frac{Y(S_0 - S)}{1 + b\theta_x} \]

\[ S = \frac{K_s(1 + b\theta_x)}{\theta_x(\hat\mu - b) - 1}, \qquad X = \frac{\theta_x}{\theta}\,\frac{Y(S_0 - S)}{1 + b\theta_x}, \qquad \frac{1}{\theta_x^{min}} = \frac{\hat\mu S_0}{K_s + S_0} - b \]

These are the steady-state equations of Lawrence and McCarty (1970). Read them carefully:

Example 11b, the same tank with recycle

Keep the tank of Example 11a (\(V = 1000\) m³, \(\theta = 0.25\) d, \(S_0 = 300\) mg/L), add a clarifier, and waste sludge so that \(\theta_x = 8\) d. Then \(S = 20(1 + 0.96)/[8(5.88) - 1] = 39.2/46.04 = 0.851\) mg/L (99.7 % removal), and \(X = (8/0.25)(0.4)(300 - 0.851)/(1 + 0.96) = 1954\) mg VSS/L, about 20 times the chemostat's biomass. With \(S_0 = 600\) mg/L instead, S would still be 0.851 mg/L and X would double to 3913 mg/L.

The clarifier and the return ratio

A balance on an ideal clarifier (no solids in the effluent, no reaction) links the underflow concentration to the recycle ratio:

\[ (Q + Q_r)X = (Q_r + Q_w)X_r \quad\Longrightarrow\quad X_r = X\,\frac{Q + Q_r}{Q_r + Q_w} \approx X\,\frac{1 + R}{R} \]

Sludge can be wasted from the underflow (more concentrated, so a smaller \(Q_w\)) or straight from the aeration tank. Wasting mixed liquor makes the SRT especially easy to control: with \(X_e \approx 0\), \(Q_wX = VX/\theta_x\) gives \(Q_w = V/\theta_x\), whatever \(X\) is.

Example 11c, waste and return flows

For Example 11b, wasting from the aeration tank needs \(Q_w = V/\theta_x = 1000/8 = 125\) m³/d. With return ratio \(R = 0.5\) (\(Q_r = 2000\) m³/d) and wasting from the underflow, the two conditions \(Q_wX_r = VX/\theta_x\) and \((Q + Q_r)X = (Q_r + Q_w)X_r\) give \(Q_w = VQ_r/[\theta_x(Q + Q_r) - V] = 1000(2000)/[8(6000) - 1000] = 42.6\) m³/d, and \(X_r = 1954(6000)/2042.6 = 5739\) mg/L, 2.94 times \(X\). Either way, the biomass wasted is \(VX/\theta_x = 244\) kg VSS/d.

What if the clarifier lets some solids escape?
Effluent solids are wasting too. In the OpenHydroQual model of Section 5, \(X_e\) is about 0.2 % of \(X\) (3.9 mg/L), which carries out 15 kg VSS/d. With the waste flow set for an 8.5-day SRT on an ideal clarifier, the actual SRT is 8.0 days. If the clarifier deteriorates (Module 8: sludge that settles poorly), the SRT falls even though the operator changed nothing.

SRT explorer: effluent, biomass, sludge and oxygen

Kinetics fixed at \(\hat\mu = 6\) d⁻¹, \(K_s = 20\) mg/L, \(Y = 0.4\), \(b = 0.12\) d⁻¹.

Tank volume V = Qθ
Effluent S
Biomass X
Sludge production PX
Oxygen requirement
F/M

S (log scale) and X against the SRT

Sludge production and oxygen requirement against the SRT

Try this: change the HRT from 6 h to 12 h at a fixed SRT. What changes?
S, sludge production and oxygen do not change at all; only X halves (the same biomass spread through twice the volume). This is why the SRT, not the HRT, is the design and operating variable for the biology.

4Sludge production, oxygen requirement and F/M

optional Professor Shiba's Water Tech Channel: Food to Microorganism Ratio (9 min) · Karl-Uwe Schmitz: Oxygen transfer rate in wastewater treatment (5 min).

Sludge production and the observed yield

At steady state the biomass leaving the system equals the net growth, so the sludge production is

\[ P_X = \frac{VX}{\theta_x} = Y_{obs}\,Q(S_0 - S), \qquad Y_{obs} = \frac{Y}{1 + b\theta_x} \]

The observed yield \(Y_{obs}\) is smaller than the true yield \(Y\) because cells kept longer in the system decay more. A longer SRT therefore means less sludge to dispose of (sludge handling is a large part of a plant's cost), at the price of a larger biomass inventory and more oxygen.

Oxygen requirement

Do the balance in COD, which counts electrons (Module 3). The bCOD removed from the water either ends up in new biomass that is wasted (1.42 g COD per g VSS) or is passed to oxygen. So

\[ R_{O_2} = Q(S_0 - S) - 1.42\,P_X \]

The same result follows from the stoichiometry of the two reactions: each gram of biomass grown uses \(1/Y\) g bCOD and \(1/Y - 1.42\) g O₂, and each gram of biomass that decays uses 1.42 g O₂. The OpenHydroQual model (Section 5) uses exactly these coefficients. The oxygen is supplied by aeration (Module 7): at steady state the transfer rate must match the requirement,

\[ K_La\,V\,(DO_{sat} - DO) = R_{O_2} \]

Bacteria slow down when DO is low. A common way to write this is a second Monod-type factor on both growth and decay, \(DO/(K_O + DO)\), with \(K_O \approx 0.2\) mg/L for heterotrophs. At DO = 2 mg/L it equals 0.91: the steady-state formulas still hold with \(\hat\mu\) and \(b\) multiplied by 0.91. Plants keep DO near 2 mg/L so that oxygen does not limit the process.

Example 11d, sludge and oxygen

For Example 11b (\(\theta_x = 8\) d): \(Y_{obs} = 0.4/1.96 = 0.204\), \(P_X = 0.204 \times 4000 \times (300 - 0.851)/1000 = 244\) kg VSS/d, the same as \(VX/\theta_x\). The bCOD removed is 1197 kg/d, so \(R_{O_2} = 1197 - 1.42(244.2) = 850\) kg O₂/d: 71 % of the bCOD removed is oxidized, 29 % leaves as sludge. To hold DO = 2.0 mg/L with \(DO_{sat} = 9.09\) mg/L (20 °C, Module 7), the aerators must provide \(K_La = 849{,}800/[1000(7.09)] = 120\) d⁻¹ = 5.0 h⁻¹.

The food-to-microorganism ratio

Operators often describe loading with the F/M ratio, the substrate fed per day per unit of biomass, and its close relative, the specific utilization rate \(U\):

\[ \frac{F}{M} = \frac{QS_0}{VX}, \qquad U = \frac{Q(S_0 - S)}{VX}, \qquad \frac{1}{\theta_x} = Y\,U - b \]

The last relation is the substrate balance rewritten (Section 3, step 3): it shows that F/M and SRT are two views of the same thing. A high F/M (short SRT) means hungry, fast-growing bacteria, more sludge and a poorer effluent; a low F/M (long SRT) means starved bacteria, less sludge and more oxygen. Because \(S \ll S_0\) in a well-run plant, \(U \approx F/M\). Typical conventional plants run at F/M ≈ 0.2–0.6 g BOD/(g VSS·d) ☐.

Example 11e, F/M

For Example 11b: \(F/M = 4000(300)/[1000(1954)] = 0.614\) d⁻¹ and \(U = 0.613\) d⁻¹. Check: \(YU - b = 0.4(0.613) - 0.12 = 0.125\) d⁻¹ \(= 1/8\) d⁻¹, the SRT we chose.

Recycle and wasting calculator

Qw, wasting from the tank
Qw, wasting from the underflow
Biomass wasted

Underflow concentration the clarifier must deliver, against the return ratio (ideal clarifier)

5Modeling with OpenHydroQual

The OpenHydroQual model follows the page: first a chemostat (Section 2), then the same tank with a clarifier, return sludge and waste sludge (Section 3), then oxygen and aeration (Section 4). The clarifier comes from the Wastewater plugin: two settling compartments, with Effluent flow and Sludge flow links. The biomass is a Particle constituent, so it settles in the clarifier; the substrate is an ordinary constituent and passes through.

6Practice (ungraded)

New numbers every time. Aim for two correct attempts in a row on each type before taking the quiz. The most common mistakes: using the HRT where the SRT belongs (or the reverse), hours against days, and forgetting the 1.42 in the oxygen balance.

A · Chemostat and washout

B · Steady state at a given SRT

C · Sludge production and waste flow

D · Oxygen requirement and aeration

E · F/M, U and the SRT

Concept checks

1. An operator doubles the influent flow to an activated sludge plant but keeps the SRT the same by adjusting the waste flow. At the new steady state, the effluent soluble substrate S is:

2. What does the return-sludge line do in an activated sludge plant?

3. A plant moves from an SRT of 5 days to 15 days. Which statement is true?

4. A chemostat (no recycle) is close to washout. Which change moves it away from washout?

5. Why is the oxygen requirement less than the bCOD removed?

7Graded quiz, modeling assignment and Problem Set 11

Key equations

Times: \(\theta = V/Q\); \(\theta_x = \dfrac{VX}{Q_wX_r + (Q - Q_w)X_e}\) (wasting from the tank: \(\theta_x \approx V/Q_w\)).

Steady state: \(S = \dfrac{K_s(1 + b\theta_x)}{\theta_x(\hat\mu - b) - 1}\), \(X = \dfrac{\theta_x}{\theta}\dfrac{Y(S_0 - S)}{1 + b\theta_x}\) (chemostat: \(\theta_x = \theta\)); washout \(\dfrac{1}{\theta_x^{min}} = \dfrac{\hat\mu S_0}{K_s + S_0} - b\).

Clarifier: \((Q + Q_r)X = (Q_r + Q_w)X_r\).

Sludge: \(P_X = VX/\theta_x = Y_{obs}Q(S_0 - S)\), \(Y_{obs} = Y/(1 + b\theta_x)\).

Oxygen: \(R_{O_2} = Q(S_0 - S) - 1.42P_X\); aeration \(K_LaV(DO_{sat} - DO) = R_{O_2}\).

Loading: \(F/M = QS_0/(VX)\), \(U = Q(S_0 - S)/(VX)\), \(1/\theta_x = YU - b\).