Residence Time Equation
The mean residence time is the tank volume divided by the volumetric flow rate. This single number drives sizing decisions for chlorine contact chambers, aeration basins, and chemical reaction vessels.
tR = V / Q
CSTR Step Input Response
Models the concentration response when a CSTR receives a sudden, sustained change in inlet concentration. The effluent concentration approaches C₀ asymptotically as time increases.
C(t) = C₀(1 − e^(−t/τ))
CSTR Pulse Input Response
Models the concentration response when a CSTR receives a brief, instantaneous slug of tracer. The effluent concentration decays exponentially from the initial value.
C(t) = C₀ × e^(−t/τ)
How It Works
This calculator covers three fundamental ideal reactor equations used in chemical and environmental engineering for reactor design and tracer analysis. Residence Time measures the mean time fluid spends in the reactor (V/Q). CSTR Step Input models the concentration response when a reactor receives a sudden, sustained change in inlet concentration. CSTR Pulse Input models the concentration decay after a brief tracer injection.
Example Problem
A chlorine contact tank has a volume of 120 m³ and treats water at 0.04 m³/s. What is the mean residence time?
- Identify the knowns. Reactor volume V = 120 m³, volumetric flow rate Q = 0.04 m³/s.
- Identify what we're solving for. We want the mean hydraulic residence time tR — the average time water spends inside the contact tank.
- Write the residence time equation: tR = V / Q. This applies to any ideal reactor at steady state regardless of mixing pattern.
- Substitute the values: tR = 120 m³ / 0.04 m³/s.
- Simplify the arithmetic: 120 / 0.04 = 3,000 seconds, which converts to 3,000 / 60 = 50 minutes.
- **The mean residence time is tR = 3,000 s (50 min)** — comfortably above the typical 30-minute minimum for chlorine disinfection.
This exceeds the typical 30-minute minimum for disinfection, confirming the tank is adequately sized.
When to Use Each Variable
- Solve for Residence Time — when you know the reactor volume and flow rate, e.g., checking if a chlorine contact tank meets the required detention time.
- Solve for Reactor Volume — when you know the desired residence time and flow rate, e.g., sizing an aeration basin for a new wastewater plant.
- Solve for Flow Rate — when you know the tank volume and target residence time, e.g., determining the maximum throughput for an existing reactor.
- Solve for Step Concentration — when you inject a continuous tracer or chemical and want to predict the outlet concentration at a given time.
- Solve for Pulse Concentration — when you inject an instantaneous slug of tracer and want to predict how fast the outlet concentration decays.
Key Concepts
Ideal reactor models provide limiting-case benchmarks for real reactor performance. A CSTR assumes perfect, instantaneous mixing so every fluid element has an equal probability of leaving at any moment. Residence time distribution (RTD) analysis uses step and pulse tracer tests to diagnose short-circuiting, dead zones, and deviations from ideal behavior.
Applications
- Water treatment: sizing chlorine contact chambers for regulatory CT compliance
- Wastewater engineering: designing activated sludge aeration basins and digesters
- Chemical engineering: reactor scale-up from bench to pilot to full scale
- Environmental remediation: modeling contaminant decay in treatment lagoons
Common Mistakes
- Using total tank volume instead of effective volume — dead zones reduce the actual residence time below V/Q
- Confusing step input and pulse input models — a step is sustained, a pulse is instantaneous; using the wrong model gives incorrect concentration curves
- Assuming real reactors behave as ideal CSTRs — short-circuiting can cause some fluid to exit much faster than the mean residence time
Frequently Asked Questions
What does residence time mean in water and wastewater treatment?
Residence time (also called hydraulic detention time or HRT) is the average time a parcel of water spends inside a reactor. It is computed as t_R = V / Q and directly governs how complete a chemical reaction or biological process can be — longer residence times generally translate to more reaction completion.
How are CSTRs different from plug-flow reactors?
A CSTR (continuously stirred tank reactor) is perfectly back-mixed — every fluid element has the same composition and an equal probability of leaving at any moment. A plug-flow reactor (PFR) moves fluid through in sequence with no axial mixing. Real reactors fall on a spectrum; tracer studies measure where on it.
What is a step-input tracer test and what does it reveal?
A step test introduces a sustained, constant tracer concentration at the inlet and watches the outlet response. For an ideal CSTR the outlet follows C(t) = C₀(1 − e^(−t/τ)), reaching 63% of C₀ at t = τ. Deviations from this curve reveal dead zones (slower rise) or short-circuiting (early breakthrough).
What does a pulse-input tracer test diagnose?
A pulse test injects a brief slug of tracer and watches it decay. An ideal CSTR shows pure exponential decay C(t) = C₀ × e^(−t/τ). The shape of the actual decay curve gives the reactor's residence-time distribution (RTD), the variance reveals the degree of back-mixing, and the first-moment peak reveals the true mean residence time.
How do I size a reactor for a target residence time?
Rearrange t_R = V / Q to V = t_R × Q. For a 30-minute (1,800 s) CT requirement at 0.05 m³/s, the required volume is 90 m³. Add a generous design factor (15–25%) for dead zones and short-circuiting unless the basin is baffled to approach plug-flow behavior.
Why are real reactors rarely truly ideal CSTRs?
Most real basins have stagnant corners (dead zones), preferential flow paths (short-circuits), and incomplete mixing. The effective volume is less than the geometric volume, so the actual t_R is shorter than V/Q. Step or pulse tracer studies quantify the gap and let engineers correct sizing or add baffles.
When does the CT product matter for disinfection?
For chlorine disinfection, the regulatory CT = chlorine concentration × contact time governs log-removal of pathogens. Because contact time is the t_10 (time for 10% breakthrough) rather than the mean residence time, baffled contact chambers with near-plug-flow behavior achieve much higher effective CT than well-mixed CSTR-style tanks.
Worked Examples
Drinking Water Treatment
What is the mean residence time of a 500 m³ chlorine contact basin treating 1000 m³/h?
Drinking-water disinfection requires a target CT product (chlorine concentration × contact time). For a free-chlorine basin of 500 m³ volume serving a steady 1000 m³/h flow, compute τ from the ideal CSTR residence-time formula — then operators multiply τ by the residual chlorine to compare against the regulatory CT requirement.
- Knowns: V = 500 m³, Q = 1000 m³/h
- τ = V / Q
- τ = 500 m³ / 1000 m³/h
τ = 0.5 h = 30 minutes
Plug-flow reactors achieve the theoretical residence time; CSTRs have a broad residence-time distribution where some fluid leaves much faster than τ. EPA disinfection rules use a baffling factor (often 0.3–0.7) to discount the calculated τ to a “t₁₀” effective contact time for the slowest 10% of the flow.
CSTR Step Input — Wastewater
How does a CSTR concentration build up after a 100 mg/L step input runs for 2 mean residence times?
A continuously stirred biological reactor receives a sudden step change from clean feed to 100 mg/L BOD influent. With mean residence time τ = 1 hour, predict the basin BOD concentration after t = 2 hours of constant step input using the ideal CSTR step-response.
- Knowns: C₀ = 100 mg/L, t = 2 h, τ = 1 h
- C = C₀ × (1 − e^(−t/τ))
- C = 100 × (1 − e^(−2/1))
- C = 100 × (1 − e^(−2))
- C = 100 × (1 − 0.1353)
- C = 100 × 0.8647
C ≈ 86.5 mg/L
After one residence time, a CSTR reaches 63.2% of the inlet concentration (1 − 1/e); after three residence times, 95.0%. This is why mixed-tank reactors need several τ to approach steady state when influent quality changes.
Tracer Pulse Test
How much fluorescent tracer remains 30 minutes after a 50 mg/L pulse into a CSTR with τ = 60 minutes?
Plant engineers verify residence-time distribution by injecting a slug of fluorescent dye and sampling the outlet. For a 50 mg/L initial pulse concentration in a tank with mean residence time 60 minutes, predict the outlet concentration after 30 minutes using the CSTR pulse-response.
- Knowns: C₀ = 50 mg/L, t = 30 min, τ = 60 min
- C = C₀ × e^(−t/τ)
- C = 50 × e^(−30/60)
- C = 50 × e^(−0.5)
- C = 50 × 0.6065
C ≈ 30.3 mg/L
A pulse decays exponentially in an ideal CSTR. Plug-flow reactors show a much sharper outlet pulse delayed by τ instead. Comparing the measured outlet trace to the ideal e^(−t/τ) curve diagnoses short-circuiting, dead zones, and baffle effectiveness.
Ideal CSTR Reactor Formulas
Three core equations describe steady-state and transient behavior of an ideal continuously stirred tank reactor (CSTR):
Where:
- tR (or τ) — mean residence time / hydraulic detention time (s, min, or h)
- V — effective reactor (basin) volume (m³)
- Q — volumetric flow rate through the reactor (m³/s)
- C(t) — outlet tracer or chemical concentration at time t (mg/L)
- C0 — sustained inlet concentration (step) or initial well-mixed concentration (pulse) (mg/L)
- t — elapsed time since the tracer event (s, min, or h)
- τ (tau) — same as tR; symbol used in transient-response equations
These ideal models assume perfect, instantaneous mixing throughout the reactor — no spatial concentration gradients. Real reactors have dead zones, short-circuiting, and incomplete mixing, all of which tracer tests can detect by comparing the measured curve to the ideal response. Plug-flow reactors (PFRs) use different equations entirely (a pure time-shifted step or pulse), and most real basins behave somewhere between CSTR and PFR limits.
Related Calculators
- Microorganism Disinfection Calculator — determine the CT value needed for pathogen inactivation
- Mixing Design Calculator — calculate power requirements for reactor mixing
- Activated Sludge Calculator — evaluate biological reactor performance through SVI
- Flocculation Calculator — design flocculation basins that precede reactor contact chambers
- BOD Calculator — measure organic loading entering the reactor
- Volume Unit Converter — convert reactor volumes between liters, gallons, and cubic meters
Related Sites
- CameraDOF — Depth of field calculator for photographers
- Medical Equations — Hemodynamic, pulmonary, and dosing calculators
- Hourly Salaries — Hourly wage to annual salary converter
- RN Calc — Nursing dosage and calculation tools
- InfantChart — Baby and child growth percentile charts
- Z-Score Calculator — Z-score, percentile, and probability calculator