Worked example
Example: Brewery UASB 1,200 m3/d, 3,000 g/m3, 30 C. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Wastewater flow | 1,200.0 m³/d |
| Biodegradable COD in the feed | 3,000.0 mg/L |
| bCOD removal | 85.000 % |
| Net biomass yield (g VSS/g COD used) | 0.050000 - |
| Gas temperature | 30.000 °C |
| Gas pressure | 1.0000 atm |
| Methane in the biogas | 75.000 % |
Applying the formula below gives:
| Result | Value |
|---|---|
| COD in | 3,600.0 kg/d |
| COD to biomass | 217.26 kg/d |
| COD converted to methane | 2,842.7 kg/d |
| Methane per COD converted | 388.68 L/kg |
| Methane | 1,104.9 m³/d |
| Total biogas | 1,473.2 m³/d |
| Methane energy (LHV) | 412.38 kW |
Open this example in the calculator and change any input.
Formula
\(COD_{CH_4} = COD_{in} - COD_{eff} - 1.42\,Y_n\,E\,COD_{in}, \quad Q_{CH_4} = COD_{CH_4}\frac{RT/p}{64\ \text{g/mol}}\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(Q\) | Wastewater flow | m³/s |
| \(bCOD\) | Biodegradable COD in the feed | kg/m³ |
| \(E\) | bCOD removal | - |
| \(Y_n\) | Net biomass yield (g VSS/g COD used) | - |
| \(T\) | Gas temperature | K |
| \(p\) | Gas pressure | Pa |
| \(x_{CH_4}\) | Methane in the biogas | - |
| \(COD_{in}\) | COD in | kg/s |
| \(COD_{VSS}\) | COD to biomass | kg/s |
| \(COD_{CH_4}\) | COD converted to methane | kg/s |
| \(y_{CH_4}\) | Methane per COD converted | m³/kg |
| \(Q_{CH_4}\) | Methane | m³/s |
| \(Q_{gas}\) | Total biogas | m³/s |
| \(E_{CH_4}\) | Methane energy (LHV) | W |
Method and standards
COD mass balance for anaerobic treatment.
Where it is used
- Biogas recovery estimates for anaerobic reactors and digesters.
- Energy balance of anaerobic plants.
Common mistakes
- Using 0.35 L/g at operating temperature.
- Forgetting the COD to biomass.
Assumptions and limits
- Steady state; sulphate reduction and dissolved methane in the effluent neglected.
Questions and answers
Why does the yield depend on temperature?
The mass of methane per kilogram of COD is fixed (0.25 kg); its volume grows with absolute temperature, from 0.35 L/g at 0 °C to 0.40 L/g at 35 °C.
Where does sulphate go?
Sulphate-reducing bacteria use COD too (about 0.67 g COD per g SO₄ reduced); with high sulphate, subtract that COD before the methane term.
What do the defaults represent?
An illustrative case: Brewery UASB 1,200 m3/d, 3,000 g/m3, 30 C. Replace the inputs with your own data.
Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.
Sources
Metcalf and Eddy (Tchobanoglous, Stensel, Tsuchihashi and Burton), Wastewater Engineering: Treatment and Resource Recovery, 5th ed. (McGraw-Hill, 2014), sec. 7-14, eq. 7-142 and Example 7-10