Random Forest Model for Optimizing Coagulant Doses in Drinking Water Treatment: Application at the Miguel de la Cuba Ibarra Plant

Optimizing coagulant dosages in Drinking Water Treatment Plants (DWTPs) is critical for reducing operational costs, minimizing chemical waste, mitigating environmental impacts, and ensuring consistent water quality, particularly in resource-constrained settings where conventional jar tests are labor-intensive and poorly suited to real-time demands. This study develops and validates a Random Forest (RF) machine learning model to predict optimal dosages of aluminum sulfate, polyaluminum chloride, and a polymer flocculant at the Miguel de la Cuba Ibarra DWTP in Peru, addressing the need for an efficient, real-time decision support system. Using a historical dataset of 2556 jar tests, a univariate RF model was developed to predict settled water turbidity, tailored to the plant’s typical operational range. The model demonstrated robust predictive performance, achieving a coefficient of determination (R2) of 0.92 during training and 0.76 during validation with unseen data, alongside a Root Mean Square Error (RMSE) of 0.11 NTU and a Mean Absolute Percentage Error (MAPE) of 0.11 in the training phase. Integrated into a digital platform, the model generates real-time NTU ppm dosing curves, providing a practical and responsive tool to enhance operational efficiency for DWTP operators. This work offers a scalable, data-driven solution to improve water treatment processes in resource-limited contexts.

Authors

Institutions

Publication Details

Journal
Environments
Published
2025-12-30
DOI
https://doi.org/10.3390/environments13010017
Primary Topic
Hydrological Forecasting Using AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Random Forest Model for Optimizing Coagulant Doses in Drinking Water Treatment: Application at the Miguel de la Cuba Ibarra Plant

Juan Adriel Carlos Mendoza, Eduardo José Zuñiga Goyzueta, Rosa María Morán-Silva, Ronny Ivan Gonzales Medina et al.
Environments
Hydrological Forecasting Using AI
article

Random Forest Model for Optimizing Coagulant Doses in Drinking Water Treatment: Application at the Miguel de la Cuba Ibarra Plant

Juan Adriel Carlos Mendoza, Eduardo José Zuñiga Goyzueta, Rosa María Morán-Silva, Ronny Ivan Gonzales Medina, Javier Linkolk López-Gonzales
article en

Abstract

Optimizing coagulant dosages in Drinking Water Treatment Plants (DWTPs) is critical for reducing operational costs, minimizing chemical waste, mitigating environmental impacts, and ensuring consistent water quality, particularly in resource-constrained settings where conventional jar tests are labor-intensive and poorly suited to real-time demands. This study develops and validates a Random Forest (RF) machine learning model to predict optimal dosages of aluminum sulfate, polyaluminum chloride, and a polymer flocculant at the Miguel de la Cuba Ibarra DWTP in Peru, addressing the need for an efficient, real-time decision support system. Using a historical dataset of 2556 jar tests, a univariate RF model was developed to predict settled water turbidity, tailored to the plant’s typical operational range. The model demonstrated robust predictive performance, achieving a coefficient of determination (R2) of 0.92 during training and 0.76 during validation with unseen data, alongside a Root Mean Square Error (RMSE) of 0.11 NTU and a Mean Absolute Percentage Error (MAPE) of 0.11 in the training phase. Integrated into a digital platform, the model generates real-time NTU ppm dosing curves, providing a practical and responsive tool to enhance operational efficiency for DWTP operators. This work offers a scalable, data-driven solution to improve water treatment processes in resource-limited contexts.

EnvironmentsVol. 13(1)
Universidad Nacional de San Agustin de Arequipa (PE), Catholic University of Santa María (PE), Universidad Nacional del Santa (PE), Universidad Peruana Unión (PE)
Clean water and sanitation
Openalex Percentile: Top 40%
Hydrological Forecasting Using AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.