Palm oil mill effluent: what a 2-day retention time and 5,000 mg/L really mean
A study of oil palm hydrochar treating agricultural wastewater reports its best retention time and solids level. We turn those into sludge age, F/M, oxygen and air flow with fibub's activated sludge sizer.
Bench-scale treatment studies report the two knobs the operator turned: the hydraulic retention time and the mixed liquor solids. Neither is what a plant is designed on. The design variable is the sludge age, the average time a bacterium stays in the system, and it is not free: once the reactor volume, the retention time and the solids level are fixed, the sludge age follows. A 2023 study in Agriculture treated palm-oil-mill agricultural wastewater in a 7.5 litre reactor with an activated hydrochar made from oil palm waste, and found a 2-day retention time with 5,000 mg/L of solids worked best. This article uses the activated sludge sizer sizer to turn that operating point into the numbers an engineer needs, and to show what limits its 84.66 % BOD removal. For the water quality side, the water quality index, non-detect statistics and field sampling planner tools cover the sampling and reporting.
The paper in brief
The authors carbonised oil palm waste into a hydrochar, activated it with potassium hydroxide, and used it as a biosorbent in a continuously fed 10 litre bioreactor holding 7.5 litres of wastewater from a Malaysian palm oil mill. They varied the hydraulic retention time from 1 to 3 days and the mixed liquor solids from 4,000 to 6,000 mg/L, keeping 24 ± 3 °C, pH about 8 and dissolved oxygen at 2.0 ± 0.5 mg/L.
The best point was a 2-day retention time with 5,000 mg/L of solids, giving 84.66 % removal of BOD5 and 72.07 % of COD from an influent of 4,486 mg/L BOD5 and 6,649 mg/L COD. A modified Stover-Kincannon model fitted the removal with an R² of 0.99.
Checked with the tools
Everything below is a recomputation from the operating values in the paper’s text, using the tool’s own default kinetic coefficients for the biology (yield 0.6, decay 0.1 per day, maximum growth 5 per day, half-saturation 40 mg/L BOD). Those coefficients are our assumption: the paper reports none, and they are municipal values, so each result is an order-of-magnitude statement about the biology, not a measurement of it. The flow follows exactly: 7.5 litres at a 2-day retention time is 3.75 litres a day.
Step 1: the sludge age was never free. The tool’s mass balance says the solids a reactor holds are the daily sludge production times the sludge age, divided by the volume. Run backwards, holding 5,000 mg/L in 7.5 litres at a 2-day retention time needs a sludge age of about 4.2 days (Figure 1). The paper’s whole solids window, 4,000 to 6,000 mg/L, is a sludge age of 3.2 to 5.4 days: a short, high-rate system. Had the authors wanted the 10 to 20 day sludge age that nitrification needs, the same reactor would have had to carry 9,000 to 14,000 mg/L, which no simple settler can return.
Step 2: the loading is high, the food-to-microorganism ratio is ordinary. At that point the tool gives a volumetric load of 2.24 kg BOD per m³ per day, several times the 0.3 to 1.0 of a conventional municipal plant, because the influent is more than twenty times as strong as sewage. The F/M ratio is 0.528 kg BOD per kg MLVSS per day (with 4,250 mg/L of volatile solids), which is a normal conventional value: the strong wastewater and the high solids cancel out. That pairing, high volumetric load and ordinary F/M, is the signature of an industrial high-rate reactor and is exactly what the paper built.
| Check | Paper | Our tool result |
|---|---|---|
| Feed flow | 7.5 L at a 2-day retention time | 3.75 L/day, retention time 48.0 h |
| Sludge age | not reported | about 4.2 days (3.2 to 5.4 across its solids window) |
| Volumetric BOD load | not reported | 2.24 kg BOD/m³ per day |
| F/M ratio | not reported | 0.528 kg BOD per kg MLVSS per day |
| BOD5 removal | 84.66 % | more than 99.9 % of the soluble BOD at any sludge age over 1 day |
| Residual load | not reported | 688 mg/L BOD5 and 1,857 mg/L COD left |
| Sludge made | not reported | 8.9 g TSS a day, observed yield 0.448 g VSS per g BOD |
| Oxygen needed | DO held at 2.0 mg/L | 16.2 g O₂ a day, about 0.4 L of air a minute at 10 % transfer |
| Washout sludge age | not reported | 0.21 days, so the margin is twentyfold |
Step 3: the biology was not the bottleneck. With Monod kinetics, the soluble BOD leaving a complete-mix reactor depends on the sludge age alone, and at 4.2 days it is 2.9 mg/L: better than 99.9 % removal (Figure 2). The paper measured 84.66 %, leaving 688 mg/L of BOD5 and 1,857 mg/L of COD. The gap is not a failure of the reactor, it is the character of the wastewater: about 15 % of its BOD5 behaves as non-biodegradable or particulate material that a 4-day sludge age cannot touch, which is why palm oil mill effluent is usually treated in stages. The clue is in the ratios: the influent BOD5/COD is 0.675, which is comfortably biodegradable, while what is left over has a BOD5/COD of 0.37, the fingerprint of a hard residue. Pushing the sludge age from 4 to 10 days would change the model’s removal from 99.88 % to 99.96 % and would not move the measured 84.66 % at all.
Step 4: what it would take to scale up. The tool’s remaining outputs are the ones a designer needs and no bench paper reports. The reactor makes 8.9 g of waste solids a day, an observed yield of 0.448 g VSS per g BOD removed, so a mill treating 100 m³ a day at the same loading would produce about 240 kg of dry solids a day and need 430 kg of oxygen a day. At the bench, the oxygen demand is 16.2 g a day, which is 0.4 litres of air a minute at a field transfer efficiency of 10 %: a single small aquarium pump, consistent with holding dissolved oxygen at 2 mg/L. The return sludge ratio comes out at 167 % of the feed, high because the sludge age is short.
How we made the graphs
Both figures and every number come from scripts/blog-figures/palm-oil-mill-wastewater-activated-sludge-hrt-mlss-sludge-age.mjs in fibub’s public code. It calls size, effluentS and minSrt from src/lib/sci/asludge.ts, the maths behind the activated sludge sizer sizer, and finds the sludge age that fills 7.5 litres by bisection.
From the paper: the 7.5 litre working volume, the 1 to 3 day retention times, the 4,000 to 6,000 mg/L solids window with 5,000 best, the influent BOD5 and COD and the two removal figures. Our assumptions: every kinetic coefficient, a biomass VSS/TSS ratio of 0.85, 1.6 g bCOD per g BOD, a 10 % field oxygen transfer efficiency, 8,000 mg/L of return sludge solids, and no inert influent solids (the paper reports no influent VSS or TSS).
How we test the maths
New with this article, tests/sci.mjs runs tests/sci-tools/activated-sludge.mjs, which pins this maths against the same mass balances worked out independently in Python:
- The Monod effluent BOD must be Ks(1 + kd·SRT)/(SRT(µmax − kd) − 1), which is 1.884817 mg/L for the tool’s default municipal case, and infinite below the washout sludge age of 0.245902 days.
- That case must give 792.4607 kg BOD removed a day, 264.1536 kg of new biomass, 31.6984 kg of cell debris, a 1,248.163 m³ tank with a 7.489 h retention time, an F/M of 0.266062 and an oxygen demand of 847.827 kg a day.
- Lengthening the sludge age must lower the effluent BOD and the sludge production while raising the oxygen demand and the tank volume.
- The palm oil mill reactor at a 4.2282 day sludge age must come out at exactly 7.5 litres with a 48.0 h retention time, a 2.243 kg/m³ per day load, an F/M of 0.5277 and 16.19 g of oxygen a day.
Check it yourself
On the activated sludge sizer tool page, in Wastewater and plant:
- Set Flow (m³/day) to 0.00375, Influent BOD after settling (mg/L) to 4486, Influent non-biodegradable VSS (mg/L) and Influent inert inorganic solids (mg/L) to 0, Sludge age, SRT (days) to 4.23, MLSS in the tank (mg/L) to 5000, Return sludge solids (mg/L) to 8000 and Field oxygen transfer efficiency (%) to 10. Leave the kinetic coefficients as they are.
- The headline should read Aeration tank 0.0075 m³ (HRT 48 h): the paper’s 7.5 litre reactor at its 2-day retention time.
- Effluent soluble BOD should show about 2.89 mg/L, which is 99.9 % removal, against the paper’s measured 84.66 %.
- F/M ratio should show 0.528, Volumetric BOD load 2.24 kg/m³ per day, Sludge production about 0.0089 kg TSS/day (8.9 g) and Oxygen demand about 0.0162 kg O₂/day.
- Change Sludge age to 10 and the tank grows past 17 litres: the same solids level cannot be kept at a long sludge age in a small reactor. Change it back to 4.23 and raise MLSS to 6000, and the tank shrinks, which is the trade the paper was exploring.
What researchers can use it for
- Report the sludge age, not only the retention time, so a bench result can be compared with a plant or with another paper.
- Check whether an operating point is even reachable: the tool shows at once when a chosen solids level and sludge age need a tank you do not have.
- Separate the wastewater from the reactor: when the model says 99 % and the measurement says 85 %, the difference is the non-biodegradable fraction, which is a property of the water.
- Size the air: the oxygen demand and air flow outputs turn a bench study into a blower specification.
- Plan the monitoring around it, with the field sampling planner for how many samples and the non-detect statistics tool for results below the limit of detection.
The fine print
- The paper reports no kinetic coefficients, so every number that depends on the biology (effluent BOD, sludge production, oxygen) uses the tool’s default municipal values. The geometric results (flow, retention time, loading, F/M) depend only on the paper’s own figures.
- The tool models a complete-mix activated sludge system for carbon removal. The paper’s reactor also contains an activated hydrochar that adsorbs part of the load, which the tool does not represent; adsorption would reduce the oxygen demand below our figure.
- No nitrification is included. At a 4-day sludge age there would be little anyway.
- The 15 % non-biodegradable share is our inference from the measured removal, not a measured inert COD fraction.
- Scale-up figures in step 4 assume the same loading and biology at 100 m³ a day, which is a sketch, not a design.
Sources
- Jagaba, A. H., Bashir, F. M., Lawal, I. M., Usman, A. K., Yaro, N. S. A., Birniwa, A. H., Hamdoun, H. Y. and Shannan, N. M. (2023), Agricultural Wastewater Treatment Using Oil Palm Waste Activated Hydrochar for Reuse in Plant Irrigation: Synthesis, Characterization, and Process Optimization, Agriculture 13(8): 1531, doi:10.3390/agriculture13081531. Licence CC BY 4.0 (checked in the Crossref record for the DOI and on the MDPI article page, 2026-11-24). Values used here: a 10 L bioreactor with 7.5 L fed continuously; hydraulic retention time tested from 1 to 3 days with 2 days best; mixed liquor suspended solids 4,000 to 6,000 mg/L with 5,000 best; influent BOD5 4,486 ± 5.63 mg/L and COD 6,649 ± 3.48 mg/L; removal 84.66 % of BOD5 and 72.07 % of COD; 24 ± 3 °C, pH 8.02 ± 0.75 and dissolved oxygen 2.0 ± 0.5 mg/L.
- Kinetic coefficients (yield 0.6 g VSS per g BOD, decay 0.1 per day, debris fraction 0.15, maximum growth rate 5 per day, half-saturation 40 mg/L) are the Activated sludge sizer's own default municipal values, listed in src/lib/sci/asludge.ts, used here as a stated assumption.
If you are an author or publisher and want a credit or a passage changed or removed, tell us and we will act quickly.