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.
No takes yet. Share an insight, caveat, or question.
Barberá et al. (2025) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: