An Integrated Explainable COD and BOD Predictive Modeling Framework for Oxygen Uptake Rate Estimation and Feedforward PI Aeration Control in Municipal Wastewater Treatment Plants
Ismaila Abubakar Bobboi, Kamil Dimililer
Key points
From the paper's conclusion- The results obtained show that the FF(COD + BOD) + PI control strategy achieved the best performance among the rest, with the lowest RT (146s), ST (1292s), PT (11832s), %OS (0.93), SSE (0.00), IAE (534), and ISE (759).
Abstract
The aeration process in an activated sludge wastewater treatment plant (WWTP) is the most energy-demanding process, consuming about 45–60% of the total energy consumption. Most traditional dissolved oxygen (DO) control methods rely on a feedback proportional–integral (PI) controller, which responds only after a disturbance affects the biological process and may lead to delayed response, excessive aeration, and higher energy consumption. Accurate prediction of chemical oxygen demand (COD) and biological oxygen demand (BOD) offers a chance to manage aeration proactively. Laboratory COD and BOD tests are laborious and time-consuming and cannot be implemented for online operation, which challenges real-time process optimization. This research study proposes an integrated framework that combines predictive models with explainable artificial intelligence (XAI), oxygen uptake rate (OUR) estimation, and feedforward (FF) PI aeration control for a municipal WWTP. Based on the proposed method, we compare Atrous Neural Network (Atrous NN), artificial neural network (ANN), and random forest (RF) models for COD and BOD prediction and then use the predicted values of the best model for OUR estimation, which gives an FF signal together with a PI controller to control the DO response. The predictive models were developed and evaluated using Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), and the coefficient of determination (R2). The comparative analysis showed that the Atrous NN model exhibited the best predictive ability, with R2 values of 0.9941 and 0.9868 and RMSE of 0.4397 and 0.2285 and MAE of 0.3413 and 0.1797 for COD and BOD, respectively, showing good correlation between predicted and measured values. Additionally, SHapley Additive exPlanations (SHAP) analysis revealed that Nitro-Ratio, TSS-Nitro-Ratio, and Madiwala STP-avg-TSS interaction were identified as the most important features influencing model performance. Consequently, five DO control architectures, i.e., PI-Only control, FF-Only control, FF(COD) + PI control, FF(BOD) + PI control, and FF(COD + BOD) + PI control, were also developed and evaluated using rise time (RT), settling time (ST), peak time (PT), percentage overshoot (%OS), steady-state error (SSE), Integral Absolute Error (IAE), Integral Squared Error (ISE), and Integral Time Absolute Error (ITAE). The results obtained show that the FF(COD + BOD) + PI control strategy achieved the best performance among the rest, with the lowest RT (146s), ST (1292s), PT (11832s), %OS (0.93), SSE (0.00), IAE (534), and ISE (759). Furthermore, the power and energy analyses showed that the FF(COD + BOD) + PI control strategy achieved the highest energy reduction rate of 13.69%. However, the estimated decrease in aeration energy consumption is a theoretical improvement in simulated control performance, as the effluent concentrations of COD, BOD, and NH-N were not evaluated. Hence, experimental validation is required to verify the effectiveness of the treatment and meet the relevant statutory discharge restrictions.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Multi-pollutant prediction and process parameter optimization of a wastewater treatment plant based on machine learning modelsFrontiers in Water · 2026
- Rapid and inexpensive estimation of biochemical oxygen demand and sludge volume index using AI-based soft sensors.Environmental technology · 2026
- Interpretable forecast-to-control aeration for dissolved oxygen regulation in recirculating aquaculture systems.Bioresource technology · 2026
- Performance Evaluation of Domestic Wastewater Treatment Using SBR With Air Recirculation and Optimize Its Performance by Machine Learning Approach.Water environment research : a research publication of the Water Environment Federation · 2026
- Advancing Wastewater Treatment via Next‐Generation CFD: A Critical Review of Multiphase Physics, Scale‐Up Challenges, and AI IntegrationWater Environment Research · 2026
- Optimizing Dissolved Oxygen and Sludge Retention Time via ASM1 Simulation for Energy and Emission Reduction in Tropical Multi-Industrial WWTPs Toward Net Zero.Water environment research : a research publication of the Water Environment Federation · 2026