Ensemble learning-driven optimization of coagulant dosing for drinking water treatment plants using a scalable framework for smart and sustainable process control
Coagulation and flocculation remain foundational in drinking water treatment plants (DWTPs) worldwide. Determining optimal coagulant dosage remains a persistent challenge due to raw water variability and reliance on conventional jar tests, labor-intensive, time-consuming methods, and being prone to operational inefficiencies. This study introduces a novel machine learning (ML) based framework leveraging tree-based ensemble models to predict coagulant dosing with high precision, offering a transformative alternative to empirical approaches. Seven algorithms, Random Forest (RF), ExtraTree, REPTree, and M5P (M5 Prime) Tree, RF-Extra Tree, RF-REPTree, RF-M5P Tree, were systematically evaluated using real-world operational data, incorporating five key water quality parameters: turbidity (Tb), Electric conductivity (EC), pH, temperature, and dissolved oxygen (DO). The performance of the proposed models was assessed based on Root Mean Square Error (RMSE), Nash-Sutcliffe Efficiency (NSE), Kling-Gupta Efficiency (KGE), Willmott's index of agreement (WI), and the coefficient of determination (R<sup>2</sup>) values. Among the models, the RF-Extra Tree model exhibited superior predictability (RMSE = 0.515, MAE = 0.329, NSE = 0.9850, WI = 0.996, KGE = 0.969 and R<sup>2</sup> = 0.985), significantly outperforming traditional heuristics and other models. The RF algorithm also demonstrated robust results (RMSE = 0.807, MAE = 0.586, NSE = 0.963, WI = 0.99, KGE = 0.899, and R<sup>2</sup> = 0.963), highlighting its potential for deployment in dynamic, data-driven treatment environments. This research not only underscores the capacity of ensemble learning to model the complex, non-linear relationships inherent in water treatment but also provides a scalable decision-support tool capable of enhancing treatment consistency, reducing chemical use, and optimizing operational efficiency across diverse geographic and climatic conditions. The proposed methodology holds global relevance for advancing smart water treatment infrastructure, offering both environmental and economic benefits to utilities and stakeholders.
Authors
- Shuraik Kader (ORCID: https://orcid.org/0000-0002-2907-5327)
- Abderzak Moussouni (ORCID: https://orcid.org/0009-0000-5147-2938)
- Lizny Jaufer (ORCID: https://orcid.org/0000-0002-1724-439X)
- Fernanda Helfer (ORCID: https://orcid.org/0000-0002-9947-3013)
- Aziz Maaliou (ORCID: https://orcid.org/0000-0002-8332-0573)
- Amer Zeghmar (ORCID: https://orcid.org/0000-0001-6369-5979)
- Mohamed Ksibi (ORCID: https://orcid.org/0000-0002-8964-7673)
- Velibor Spalevıć (ORCID: https://orcid.org/0000-0002-7800-2909)
- Benchaiba Leila
Institutions
- Griffith University (AU)
- University of Sfax (TN)
- University of Sciences and Technology Houari Boumediene (DZ)
- University of Batna 1 (DZ)
- Institut Supérieur de Biotechnologie de Sfax (TN)
- Territoires (FR)
- Centre Universitaire de Mila (DZ)
- University of Montenegro (ME)
Publication Details
- Journal
- Environmental Research
- Published
- 2025-10-27
- DOI
- https://doi.org/10.1016/j.envres.2025.123229
- Citations
- 1
- Primary Topic
- Hydrological Forecasting Using AI
- Type
- article
- Field-Weighted Citation Impact
- 0.80