Machine Learning-Based Forecasting of Wastewater Inflow During Rain Events at a Spanish Mediterranean Coastal WWTPs

Forecasting influent flow in Wastewater Treatment Plants (WWTPs) is critical for managing operational risks during flash floods, especially in Spain’s Mediterranean coastal regions. These facilities, essential for public health and environmental protection, are vulnerable to abrupt inflow surges caused by heavy rainfall. This study proposes a data-driven approach combining historical flow and rainfall data to predict short-term inflow dynamics. Several models were evaluated, including Random Forest, XGBoost, CatBoost, and LSTM, using metrics such as Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and R-squared (R2). XGBoost outperformed the others, particularly under severe class imbalance, with only 1% of the data representing rainfall events. Hyperparameter tuning and input window size analysis revealed that accurate predictions are achievable with just 14 days of training data from a 10-year (2012–2022) dataset sourced from a single WWTP and on-site weather station. The proposed framework supports proactive WWTP management during extreme weather events.

Authors

Institutions

Publication Details

Journal
Water
Published
2025-11-11
DOI
https://doi.org/10.3390/w17223225
Citations
2
Primary Topic
Hydrological Forecasting Using AI
Type
article
Field-Weighted Citation Impact
1.60

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine Learning-Based Forecasting of Wastewater Inflow During Rain Events at a Spanish Mediterranean Coastal WWTPs

Sergio Chiva, Sergio Iserte, Guillem Monrós-Andreu, Raúl Martı́nez-Cuenca et al.
2 citations
Water
Hydrological Forecasting Using AI
1.60
article

Machine Learning-Based Forecasting of Wastewater Inflow During Rain Events at a Spanish Mediterranean Coastal WWTPs

Sergio Chiva, Sergio Iserte, Guillem Monrós-Andreu, Raúl Martı́nez-Cuenca, Jaume Luis-Gómez, Maribel Castillo, Alejandro González Barberá
article en
2 citations

Abstract

Forecasting influent flow in Wastewater Treatment Plants (WWTPs) is critical for managing operational risks during flash floods, especially in Spain’s Mediterranean coastal regions. These facilities, essential for public health and environmental protection, are vulnerable to abrupt inflow surges caused by heavy rainfall. This study proposes a data-driven approach combining historical flow and rainfall data to predict short-term inflow dynamics. Several models were evaluated, including Random Forest, XGBoost, CatBoost, and LSTM, using metrics such as Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and R-squared (R2). XGBoost outperformed the others, particularly under severe class imbalance, with only 1% of the data representing rainfall events. Hyperparameter tuning and input window size analysis revealed that accurate predictions are achievable with just 14 days of training data from a 10-year (2012–2022) dataset sourced from a single WWTP and on-site weather station. The proposed framework supports proactive WWTP management during extreme weather events.

WaterVol. 17(22)
Universitat Jaume I (ES), Barcelona Supercomputing Center (ES), Universitat Politècnica de Catalunya (ES)
Barcelona Supercomputing Center
Openalex Percentile: Top 15%
Hydrological Forecasting Using AI
1.60
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.

Machine Learning-Based Forecasting of Wastewater Inflow During Rain Events at a Spanish Mediterranean Coastal WWTPs — Sergio Chiva, Sergio Iserte, et al. · Water (2025) | TGRS Research Map | TGRS