Chlorine-dosing tool cuts by-products 5 to 35% in simulations
In short
- A team at Tongji University in Shanghai and Hohai University in Nanjing built DISoptimizer, a machine-learning tool that chooses a chlorine dose for each type of water.
- It aims to hold a chosen level of leftover (residual) chlorine while forming as little as possible of four trihalomethanes (THM4), by-products the abstract calls carcinogenic.
- The abstract reports a 5 to 35% reduction in THM4 formation against empirical fixed-dosing strategies, with residual-chlorine margins kept. The evidence is computer simulation plus external validation.
- Published in Nature Water on 25 August 2026. We could read only the abstract, so we cannot report the study's detail.
5–35% lower THM4 formation than fixed dosing (abstract); 24 h time after dosing at which the model predicts THM4 and residual chlorine; 4 trihalomethanes counted together as THM4
How much chlorine should a water utility use?
Chlorine stops waterborne disease. The same chemistry has a cost: chlorine reacts with natural organic matter in the water and forms disinfection by-products, which the paper's abstract describes as carcinogenic. Trihalomethanes are among the best-known of them. A Virginia Tech release of 11 August 2026, about a different study on chlorine-based disinfectants, says about 98 percent of United States water utilities disinfect with chlorine or its compounds, and links by-products to bladder cancer and reproductive damage.
Simply turning the dose down is not an option, because the chlorine also has to last. A residual must remain in the pipes all the way to the tap. The paper uses residual chlorine as "an operational surrogate for disinfection reliability", in the authors' words. Too little and microbial safety is at risk; too much and more by-products form. Because natural water varies from place to place and season to season, a single fixed dose can be wrong in either direction. (That plain-English framing is ours.)
What the tool does
According to the abstract, the authors trained machine-learning models on experimental datasets covering diverse water-quality conditions. For a given water, the models predict two things 24 hours later, taken to represent the point of delivery: the residual chlorine and the THM4 formed. The optimiser then searches for the dose that meets the residual-chlorine target with the least THM4.
It also includes a weighting factor. A utility can set how much weight to give keeping a residual-chlorine margin versus cutting THM4, to suit changing water quality or different management priorities.
The authors' public repository (MIT-licensed code) lists the Python tools used, including XGBoost, LightGBM and CatBoost, and its example settings include a dose range of 0.1 to 10.0 and a residual target. It says the optimisation takes about 5 to 30 seconds per water sample on a standard computer. It also says parts of the underlying method are covered by a pending patent application, and that the open licence covers the code only.
What the result is, and is not
Not a plant trial as far as the abstract shows. The 5 to 35% figure comes from simulations and validation on external data, not from a utility running the tool in a treatment works. We have not seen the paper's data, so we cannot say which waters sit at the low or high end of the range.
The authors frame the work as a shift "from DBP concentration prediction towards proactive chlorine-dosing decisions". Earlier models mostly estimated how much by-product would form; this one picks the dose.
Terms in plain English
- Disinfection by-products (DBPs): unwanted compounds formed when a disinfectant reacts with matter in the water. (Our wording.)
- Trihalomethanes (THM4): four chlorine-containing by-products, summed into one figure in this study.
- Residual chlorine: chlorine still left in the water after treatment, which keeps protecting it on its way to the tap. (Our wording.)
- Fixed dosing: applying a set dose rather than adjusting it to each water's chemistry. (Our wording.)
Where things stand
The paper's path to print, from the article page:
14 Nov 2025: Paper received by Nature Water. 4 Aug 2026: Paper accepted. 25 Aug 2026: Published online as the version of record; it appears in the October 2026 issue.
Peer review is credited to Xiaoliu Huangfu and anonymous reviewers. The authors declare no competing interests. The data and code are on GitHub. The abstract does not describe any utility deployment, and the Virginia Tech release is a separate study; it shows only that by-product chemistry varies by disinfectant and water.
Sources
- A machine learning-driven framework for optimizing disinfection in drinking water treatment, Nature Water, 25 August 2026 (abstract only)
- DISoptimizer repository README, GitHub
- What is really in your drinking water?, Virginia Tech News, 11 August 2026
Sources
- A machine learning-driven framework for optimizing disinfection in drinking water treatment
- https://github.com/pinfish94/DISoptimizer
- https://news.vt.edu/articles/2026/08/eng-cee-hidden-chemistry-of-drinking-water-disinfection.html
Related stories
- GPS tags show migrant and resident mallards feed alike
- Map estimates millions may rely on microplastic-hit groundwater
- Yukon coast erosion may release about 120 kg of mercury a year
- Drug mixtures may exceed a toxicity limit in 13% of river cells
- DeltaCata model predicts how a mutation changes enzyme kinetics
- Four-sensor suit spots scoliosis in young people without X-rays
More from Clean Up Crew
- Traffic is 15% of PM2.5 but 74% of linked cancer deaths, study says
- Lake Geneva may hold far more small microplastics than reported
- Burning sludge with coal could cut sludge 79%, a model finds
- Five-metal catalyst turns nitrate into ammonia in lab tests
- PVC waste becomes lubricant base oil at 70 °C, authors say