Chlorine-dosing tool cuts by-products 5 to 35% in simulations

In short

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

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

Sources

Related stories

More from Clean Up Crew

All stories from Clean Up Crew