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

Continuous-Flow Reactors

Self-paced · about 5 hours · prerequisites: Module 1 (the well-mixed tank, residence time) and Module 2 (rate laws, batch reactor)

Overview

Module 1 gave you the well-mixed tank with flow but no reaction; Module 2 gave you reactions in a closed batch with no flow. Real treatment units and natural systems have both: water flows through while substances react. How much is removed depends not only on the rate law and the residence time but also on how the water moves through the reactor: completely mixed, in plug flow, or somewhere in between. This module develops the two ideal flow reactors, the CSTR and the PFR, combines them in series, in parallel and with recycle, and shows how a tracer test tells you how a real reactor behaves.

By the end of this module you should be able to:
  1. Describe the batch reactor, the CSTR and the PFR, and write the mass balance for each with a reaction.
  2. Find the steady-state effluent of a CSTR and a PFR for zero-, first- and second-order reactions, and the volume needed for a given removal.
  3. Describe the transient (start-up) response of a CSTR with a first-order reaction.
  4. Analyze reactors in series and in parallel, including N equal CSTRs in series and their approach to plug flow.
  5. Analyze a PFR with recycle.
  6. Interpret pulse and step tracer tests: compute the mean residence time, the variance and the equivalent number of tanks, and detect dead space.
  7. Build CSTR, tanks-in-series and plug-flow models in OpenHydroQual and check them against the formulas.

Notation. \(V\) volume (m³), \(Q\) flow (m³/day), \(\tau = V/Q\) the hydraulic residence time, \(C_{\text{in}}\) and \(C\) (or \(C_e\)) the influent and effluent concentrations, \(k\) a rate constant (Module 2), \(N\) the number of tanks in series, \(R\) the recycle ratio, \(E(t)\) and \(F(t)\) the pulse and step responses of a tracer, \(\bar t\) the mean residence time and \(\sigma^2\) the variance of a tracer curve.

Reading (optional): Benjamin & Lawler, Water Quality Engineering, ch. 1 (Reactors and reactions) and ch. 4 (Residence time distributions) ☐; Mihelcic & Zimmerman, Environmental Engineering 3rd ed., §4.5 (Reactor analysis) ☐; MWH Water Treatment ch. 6 ☐. Section numbers not checked.

1Ideal reactors and the residence time

requiredBelinda Sturm: Mass Balances Reactor Models (15 min).
requiredLearnChemE: Comparing CSTR and PFR Balances (4 min).

Three idealized reactors bracket the behavior of real tanks, basins, channels, lakes and rivers:

batch no flow, C(t) dC/dt = r CSTR uniform C = Cout PFR slugs move without mixing; C falls along x each slug is a batch for t = x/u

In both continuous-flow reactors the hydraulic residence time \(\tau = V/Q\) (Module 1) is the key time scale. In a PFR every parcel stays exactly \(\tau\); in a CSTR parcels stay anywhere from zero to a very long time, with an average of \(\tau\). That difference in the distribution of residence times, not the average, is what makes them perform differently (Section 6).

Example 1

A 2,000 m³ basin receives 500 m³/day: \(\tau = 2000/500 = 4\) days, whether it is mixed or plug flow.

2The CSTR

Steady state

The mass balance of Module 1 with the reaction term of Module 2, on a CSTR of volume \(V\) with \(C_{\text{out}} = C\):

\[ V\frac{dC}{dt} = QC_{\text{in}} - QC + rV \]

At steady state \(dC/dt = 0\), so \(Q(C_{\text{in}} - C) = -rV\): what the flow carries in and does not carry out is destroyed by reaction, at the rate evaluated at the effluent concentration, because that is the concentration everywhere in the tank. Dividing by \(Q\):

\[ C_{\text{in}} - C = -r(C)\,\tau \]
Rate lawCSTR effluentResidence time for a target C
zero order, \(r = -k\)\(C = C_{\text{in}} - k\tau\) (≥ 0)\(\tau = (C_{\text{in}} - C)/k\)
first order, \(r = -kC\)\(C = \dfrac{C_{\text{in}}}{1 + k\tau}\)\(\tau = \dfrac{C_{\text{in}}/C - 1}{k}\)
second order, \(r = -kC^2\)\(C = \dfrac{-1 + \sqrt{1 + 4k\tau C_{\text{in}}}}{2k\tau}\)\(\tau = \dfrac{C_{\text{in}} - C}{kC^2}\)

The dimensionless group \(k\tau\) (the Damköhler number for a first-order reaction) compares how fast the reaction is with how long the water stays. For first order, removal is \(k\tau/(1 + k\tau)\): 50 % at \(k\tau = 1\), 90 % at \(k\tau = 9\), 99 % at \(k\tau = 99\). High removal in a single CSTR is expensive.

Example 2a

A CSTR with \(V = 5{,}000\) m³ receives \(Q = 1{,}000\) m³/day at 100 mg/L of a substance with first-order \(k = 0.3\) d⁻¹. \(\tau = 5\) days, \(k\tau = 1.5\), and \(C = 100/2.5 = 40.0\) mg/L (60 % removal). For 95 % removal it would need \(\tau = (20 - 1)/0.3 = 63.3\) days, a 63,300 m³ tank.

Example 2b, other orders

Same tank (\(\tau = 5\) d, \(C_{\text{in}} = 100\) mg/L). Second order with \(k = 0.01\) L/(mg·d): \(C = [-1 + \sqrt{1 + 4(0.01)(5)(100)}]/(2 \times 0.01 \times 5) = 35.8\) mg/L. Zero order with \(k = 10\) mg/(L·d): \(C = 100 - 50 = 50.0\) mg/L.

Start-up: the transient CSTR

For a first-order reaction, \(dC/dt = (C_{\text{in}} - C)/\tau - kC\). It has exactly the form of Module 1's tank, with the rate constant \(1/\tau + k\) instead of \(1/\tau\):

\[ C(t) = C_{\text{ss}} + (C_0 - C_{\text{ss}})\,e^{-(1/\tau + k)t}, \qquad C_{\text{ss}} = \frac{C_{\text{in}}}{1 + k\tau} \]

Because both the outflow and the reaction remove mass, a reactive substance reaches steady state faster than a tracer would.

Example 2c, start-up

The tank of Example 2a starts clean. It approaches 40 mg/L with the rate \(1/5 + 0.3 = 0.5\) d⁻¹: after 2 days it is at \(40(1 - e^{-1}) = 25.3\) mg/L, and it reaches 95 % of steady state after \(\ln 20/0.5 = 6.0\) days, against 15.0 days (3τ) for a conservative tracer.

3The plug-flow reactor

Derivation

Take a thin slice of a PFR of cross-section \(A\) between \(x\) and \(x + \Delta x\). At steady state, the balance on the slice is in − out + reaction = 0:

\[ QC(x) - QC(x + \Delta x) + r\,A\,\Delta x = 0 \quad\Longrightarrow\quad Q\frac{dC}{dx} = rA \quad\Longrightarrow\quad \frac{dC}{d\tau'} = r \]

where \(\tau' = Ax/Q = x/u\) is the time a parcel has spent in the reactor (\(u = Q/A\) the velocity). This is the batch equation of Module 2, with the travel time in place of the batch time. So the effluent of a PFR with residence time \(\tau\) is simply the batch result after time \(\tau\):

Rate lawPFR effluentResidence time for a target C
zero order\(C = C_{\text{in}} - k\tau\)\(\tau = (C_{\text{in}} - C)/k\)
first order\(C = C_{\text{in}}\,e^{-k\tau}\)\(\tau = \ln(C_{\text{in}}/C)/k\)
second order\(C = \dfrac{C_{\text{in}}}{1 + kC_{\text{in}}\tau}\)\(\tau = (1/C - 1/C_{\text{in}})/k\)
Example 3

The reactor of Example 2a built as a PFR (\(\tau = 5\) d, \(k = 0.3\) d⁻¹): \(C = 100e^{-1.5} = 22.3\) mg/L (77.7 % removal, against 60 % in the CSTR). For 95 % removal, \(\tau = \ln 20/0.3 = 9.99\) days, a 9,990 m³ reactor instead of 63,300 m³.

Why plug flow wins (for orders above zero)

In a CSTR the whole volume sits at the low effluent concentration, so a rate that grows with concentration runs at its slowest everywhere. In a PFR each parcel starts at the inlet concentration and only reaches the effluent concentration at the end. For a first-order reaction, the volume ratio for a removal fraction \(f\) is

\[ \frac{V_{\text{CSTR}}}{V_{\text{PFR}}} = \frac{1/(1-f) - 1}{\ln[1/(1-f)]} \]

1.44 for 50 % removal, 3.91 for 90 %, 6.34 for 95 % and 21.5 for 99 %. For a second-order reaction the penalty is larger still; for a zero-order reaction there is none (the rate does not depend on concentration).

Reactor comparison

C/Cin: CSTR, N tanks, PFR
kτ needed: CSTR
kτ needed: N tanks
kτ needed: PFR
VCSTR/VPFR

Fraction remaining against kτ

4Reactors in series and in parallel

requiredLearnChemE: CSTRs in Series (10 min).

CSTRs in series

The effluent of one tank is the influent of the next. With a first-order reaction each tank multiplies the concentration by \(1/(1 + k\tau_i)\). For \(N\) equal tanks sharing a total residence time \(\tau\) (each \(\tau/N\)):

\[ \frac{C_N}{C_{\text{in}}} = \frac{1}{(1 + k\tau/N)^N} \;\xrightarrow{\;N\to\infty\;}\; e^{-k\tau} \]

A chain of CSTRs approaches a PFR as \(N\) grows. This is how baffles improve a basin, and how OpenHydroQual (and most numerical models) represent plug flow: as many small mixed cells in series.

Example 4a

Total \(\tau = 5\) days, \(k = 0.3\) d⁻¹, \(C_{\text{in}} = 100\) mg/L. One tank: 40.0 mg/L; two: 32.7; three: 29.6; five: 26.9; ten: 24.7; twenty: 23.5; the PFR: 22.3 mg/L. Most of the benefit comes from the first few compartments.

Reactors in parallel

When the flow is split between parallel reactors, each sees its own share. Two equal CSTRs with the flow split equally each have \(\tau = 2V/Q\): they behave like one tank of twice the volume. An unequal split is always worse, because the overloaded unit loses more than the underloaded unit gains.

Example 4b, adding a second tank

Two 5,000 m³ CSTRs, \(Q = 1{,}000\) m³/day, \(k = 0.3\) d⁻¹, 100 mg/L. In series: \(100/(1 + 1.5)^2 = 16.0\) mg/L. In parallel (500 m³/day each, \(\tau = 10\) d): \(100/(1 + 3) = 25.0\) mg/L, the same as one 10,000 m³ tank. With a 700/300 split, the two effluents are 31.8 and 16.7 mg/L and the mix is 27.3 mg/L, worse than an even split.

Does the order of a CSTR and a PFR in series matter?
For a first-order reaction, no: each unit multiplies the concentration by a fixed factor, and multiplication commutes. For a second-order reaction, yes: putting the PFR first does better, because the high-concentration part of the reaction (where a second-order rate is fastest) then happens in plug flow rather than diluted in the mixed tank. PS4 asks you to show it with numbers.

Profile through tanks in series

Effluent C/Cin
PFR (N → ∞)
Single CSTR

Concentration in each tank (steps) against the PFR profile

5Recycle

Part of the effluent, \(RQ\), is returned to the inlet of a PFR. The reactor then carries \((1 + R)Q\), and its inlet is a mix of fresh feed and effluent. Mass balance at the mixing point, then the PFR equation with residence time \(V/[(1+R)Q] = \tau/(1+R)\):

\[ C_0 = \frac{C_{\text{in}} + RC_e}{1 + R}, \quad C_e = C_0\,e^{-k\tau/(1+R)} \quad\Longrightarrow\quad \frac{C_e}{C_{\text{in}}} = \frac{e^{-k\tau/(1+R)}}{1 + R - R\,e^{-k\tau/(1+R)}} \]

As \(R\) grows, the reactor is mixed by its own recycle and its performance moves from the PFR toward the CSTR. For a first-order reaction recycle therefore reduces removal; it is used for other reasons, such as diluting a concentrated or toxic feed, evening out loads, or keeping velocities up. (Recycling biomass is a different matter and is the heart of activated sludge, Module 11.)

Example 5

A PFR with \(k\tau = 1.5\): without recycle \(C_e/C_{\text{in}} = 0.223\); with \(R = 1\), 0.309; \(R = 4\), 0.364; \(R = 20\), 0.391; and the CSTR limit is \(1/2.5 = 0.400\).

6Tracer tests: pulse and step responses

optional LearnChemE: Residence Time Distribution Introduction (6 min) · optional LearnChemE: Modeling Non-Ideal Reactors with CSTRs in Series (5 min).

No real reactor is perfectly mixed or in perfect plug flow. To find out how one behaves, add a conservative tracer (a dye, salt, lithium or fluoride) at the inlet and measure it at the outlet.

ReactorPulse response \(E(t)\)Step response \(F(t)\)Variance \(\sigma^2\)
ideal PFRa spike at \(t = \tau\)a jump from 0 to 1 at \(t = \tau\)0
ideal CSTR\(\dfrac{1}{\tau}e^{-t/\tau}\)\(1 - e^{-t/\tau}\) (Module 1)\(\tau^2\)
N equal tanks in series\(\dfrac{(N/\tau)^N\,t^{N-1}e^{-Nt/\tau}}{(N-1)!}\)\(1 - e^{-Nt/\tau}\displaystyle\sum_{i=0}^{N-1}\frac{(Nt/\tau)^i}{i!}\)\(\tau^2/N\)

What to compute from a tracer curve

With measurements at equal intervals \(\Delta t\):

\[ \bar t = \frac{\sum t_iC_i\,\Delta t}{\sum C_i\,\Delta t}, \qquad \sigma^2 = \frac{\sum (t_i - \bar t)^2C_i\,\Delta t}{\sum C_i\,\Delta t}, \qquad N = \frac{\bar t^{\,2}}{\sigma^2} \]
Example 6

A 100 g pulse is added to a basin with \(Q = 10\) m³/h. Hourly outlet samples (g/m³) from \(t\) = 0 to 12 h are 0, 0.379, 0.920, 1.255, 1.353, 1.283, 1.120, 0.925, 0.733, 0.562, 0.421, 0.309, 0.223, and they continue to fall to 0.002 at 24 h. Summing all 25 values: \(\sum C\Delta t = 9.99\) g·h/m³, so the recovered mass is \(10 \times 9.99 = 99.9\) g (complete). \(\bar t = 5.99\) h, \(\sigma^2 = 11.8\) h², and \(N = 5.99^2/11.8 = 3.0\): the basin behaves like three tanks in series. If its volume were 80 m³ (\(V/Q = 8\) h), a quarter of it would be dead space.

Tracer-response explorer

Variance σ² = τ²/N
Peak of E(t) at
F at t = τ
First-order removal with kτ = 2

Pulse response E(t)

7Modeling with OpenHydroQual

Everything in this module can be built from the pieces you already know: Reactor blocks (CSTRs), Fixed flow links, and a reaction. A CSTR is one Reactor with an inflow and an outflow link; tanks in series are Reactors joined by links; and a PFR is approximated by many small Reactors in series, exactly the tanks-in-series idea of Section 4. The Mass Transfer plugin also offers a ready-made Plug flow reactor block that contains ten equal Reactors joined by links. Because ten tanks have a variance of τ²/10, it carries a little mixing (numerical dispersion), which you will see in the tracer stage and meet again in Module 5.

8Practice (ungraded)

New numbers every time. Aim for two correct attempts in a row on each type before taking the quiz. Keep \(k\) and \(\tau\) in the same time units, and use the effluent concentration in a CSTR's rate.

A · CSTR at steady state

B · PFR and the volume ratio

C · Tanks in series and in parallel

D · CSTR start-up

E · From a tracer test to a removal prediction

Concept checks

1. A CSTR and a PFR have the same volume and flow. For a zero-order reaction (that does not consume everything), which removes more?

2. In a CSTR with a first-order reaction, at which concentration is the reaction rate evaluated?

3. A tracer test on a basin gives N = 12. What is the best simple model for it?

4. Adding recycle (R = 3) around a PFR with a first-order reaction will:

5. A clean CSTR is started up. Which reaches its steady state faster: a conservative tracer or a reactive substance (first order)?

9Graded quiz, modeling assignment and Problem Set 4

Key equations

\(\tau = V/Q\). CSTR: \(C_{\text{in}} - C = -r(C)\tau\); first order \(C = C_{\text{in}}/(1 + k\tau)\); second order \(C = [-1 + \sqrt{1 + 4k\tau C_{\text{in}}}]/(2k\tau)\); zero order \(C = C_{\text{in}} - k\tau\).

CSTR start-up: \(C = C_{\text{ss}} + (C_0 - C_{\text{ss}})e^{-(1/\tau + k)t}\).

PFR: \(dC/d\tau' = r\) (a batch in travel time); first order \(C = C_{\text{in}}e^{-k\tau}\); second order \(C = C_{\text{in}}/(1 + kC_{\text{in}}\tau)\). \(V_{\text{CSTR}}/V_{\text{PFR}} = [1/(1-f) - 1]/\ln[1/(1-f)]\).

N tanks in series: \(C_N/C_{\text{in}} = (1 + k\tau/N)^{-N} \to e^{-k\tau}\). Parallel, equal split: same as one tank of the total volume.

PFR with recycle: \(C_e/C_{\text{in}} = e^{-k\tau/(1+R)}/[1 + R - Re^{-k\tau/(1+R)}]\).

Tracers: \(\bar t = \sum tC/\sum C\), \(\sigma^2 = \sum(t - \bar t)^2C/\sum C\), \(N = \bar t^2/\sigma^2\); CSTR \(F = 1 - e^{-t/\tau}\), \(E = e^{-t/\tau}/\tau\); effective volume \(\bar tQ\).