Skip to main navigation Skip to search Skip to main content

Temporally admissible and explainability-driven one-day-ahead soft-sensing of effluent total nitrogen in wastewater treatment: Mechanistic feature engineering, statistical benchmarking, and process discovery

Research output: Contribution to journal › Article › peer-review

1 Citation (Scopus)

Abstract

Accurate prediction of effluent total nitrogen (TN) is essential for stable biological nutrient removal and operational decision-making in wastewater treatment plants. This study proposes a temporally admissible and explainability-driven soft sensing framework for one-day-ahead prediction of effluent TN, in which every predictor is constructed exclusively from information available at or before the close of the previous operational day, eliminating any requirement for same-day TN measurement. The framework is validated using 1382 operational records from the Melbourne Western Treatment Plant. ASM2d-inspired feature engineering under strict non-anticipative constraints preserves biologically meaningful dynamics while formally prohibiting information leakage. Bayesian hyperparameter optimization combined with five-fold time-series cross-validation and a 346-day chronological hold-out enabled rigorous benchmarking across six machine learning models. Random forest (RF) achieved the best predictive performance (RMSE = 1.728 mg/L, R² = 0.673), with CatBoost statistically equivalent and recommended where calibration consistency is prioritized; these correspond to RMSE reductions of 39.1–57.1 % relative to persistence baselines. An eight-strategy ensemble ablation demonstrated that the best-performing ensemble strategy (uniform averaging, RMSE = 1.720 mg/L) outperforms the best standalone model by only 0.008 mg/L; operationally negligible, establishing a parsimony recommendation for standalone RF deployment. Feature-class ablation shows that process variables, not autoregressive persistence, are the primary predictive engine. SHAP analysis identified a denitrification-related chemical oxygen demand (COD) regime shift near 1000 mg/L, framed as a hypothesis-generating conditional association consistent with ASM2d stoichiometry. Adaptive rolling-window conformal prediction achieved 90.5–91.3 % empirical coverage, while seasonal analysis confirmed robust within-year consistency across all Southern Hemisphere seasons.

Original languageEnglish
Article number112202
JournalResults in Engineering
Volume32
DOIs
Publication statusPublished - Dec 2026

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 6 - Clean Water and Sanitation
    SDG 6 Clean Water and Sanitation

Keywords

  • Conformal prediction
  • Process discovery
  • SHAP explainability
  • Temporally admissible feature engineering
  • Total nitrogen soft-sensing

ASJC Scopus subject areas

  • General Engineering

Fingerprint

Dive into the research topics of 'Temporally admissible and explainability-driven one-day-ahead soft-sensing of effluent total nitrogen in wastewater treatment: Mechanistic feature engineering, statistical benchmarking, and process discovery'. Together they form a unique fingerprint.

Cite this