Data quality over model complexity: A leakage-aware, horizon-aware forecasting pipeline for degraded sensor streams in a small-population wastewater treatment plant

Read full text
Authors: Javier Mateos-Bravo, Christian Miguel Pacheco-Rodríguez, Javier Berrocal, Juan Luis Herrera, Juan Pedro Cortés Pérez
Cited by: 1
References: 32

Abstract

Reliable forecasting of wastewater treatment plant (WWTP) sensor streams is limited by corrupted measurements, nonstationary regimes, and temporally invalid evaluation. These constraints are especially severe in small-population plants with degraded sensors and irregular maintenance. This research presents a leakage-aware, temporally consistent framework that combines consensus anomaly detection, selective reconstruction, multi-resolution feature generation, and horizon-aware validation. It is evaluated on real operational data from a municipal WWTP serving 1177 population equivalent, with 19 sensor channels and 7020 hourly observations, across inlet pH, inlet oxidation-reduction potential, effluent ammonium, and effluent nitrate. Leakage-aware data preparation, rather than model complexity, is the dominant contributor to predictive reliability. Reported as a three-seed ensemble, the optimized Long Short-Term Memory architecture attains for inlet pH without meteorological inputs and for effluent nitrate when ERA5 precipitation and air temperature are included as target-specific exogenous inputs ( without them). In a separate benchmark without meteorological inputs, recurrent models retain skill across the full 72-hour horizon for all four targets, while tree-based baselines collapse to negative beyond 24 hours. These results support long-range stability, rather than single-step accuracy, as the operationally decisive property of a single-site pipeline whose multi-site transfer and closed-loop deployment remain future work.

Fields of Study & Subjects

Data Stream Mining Techniques Distributed Sensor Networks and Detection Algorithms Wastewater Treatment and Nitrogen Removal

Publication details

Journal / source
Computer-Aided Civil and Infrastructure Engineering
Publisher
Elsevier BV
Volume
49
Pages
100134–100134
Publication date
3 July 2026
Language
EN