Hybrid Explainable AI Framework for Predictive Maintenance of Aeration Systems in Wastewater Treatment Plants
Abstract
1. Introduction
2. Theoretical Background and Related Work
2.1. Aeration Systems and Common Faults
2.2. Predictive Maintenance in Wastewater Treatment
Current Applications in WWTPs and Research Gaps
2.3. Machine Learning and Deep Learning Applications
2.3.1. Random Forest (RF) for Feature Selection
- Figure 1a shows the ensemble working as a classifier, combining multiple decision trees into a final decision (healthy vs. faulty).
- Figure 1b depicts how RF evaluates and ranks feature importance, providing the foundation for selecting the most relevant inputs for our LSTM-based temporal fault detection.
2.3.2. Long Short-Term Memory (LSTM) Networks
- What new information to store (input gate).
- What to discard as irrelevant noise (forget gate).
- What to reveal as output for the next layer (output gate) [37].
2.4. Explainable AI in Environmental Engineering
2.4.1. SHapley Additive exPlanations (SHAP)
- Additivity: The sum of all SHAP values equals the deviation of the prediction from the baseline [40]:
- 2.
- Consistency: Each feature’s importance is contextualized within all possible feature interactions, ensuring a consistent and unbiased explanation.
2.4.2. Interpreting SHAP Plots
2.5. Summary of Research Gaps and Study Contribution
2.5.1. Identified Research Gaps
2.5.2. Contributions of This Study
- Comprehensive fault scenarios: Development of a labeled dataset using BSM2, simulating both acute pressure loss and chronic diffuser fouling—two of the most prevalent and impactful aeration system faults.
- Hybrid modeling approach: Integration of RF-based feature selection and LSTM NNs to capture both variable importance and temporal degradation patterns.
- Unified multi-label classification: A single model capable of detecting multiple fault types simultaneously, improving scalability and efficiency compared to independent binary classifiers.
- XAI integration: Use of SHAP to provide both global and local interpretability, enabling operators to understand and trust model predictions while supporting actionable maintenance decisions.
3. Materials and Methods
3.1. Benchmark Simulation Model No. 2 (BSM2)
3.2. Degradation Scenarios
- Acute pressure loss, representing sudden restrictions in airflow,
- Chronic diffuser fouling, capturing progressive loss of aeration efficiency.
3.2.1. Pressure Loss
- A sudden reduction of 30–50% from the nominal KLa value, persisting until the end of the simulation;
- An immediate drop in DO concentrations inside the reactor and at the outlet (SOout);
- A noticeable decrease in estimated Qair;
- Temporary disturbances in nitrification efficiency, increasing SNOout.
3.2.2. Fouling
- A linear or sigmoidal degradation profile with a 5–10% reduction per 24 h, reaching up to a 40% decrease from nominal;
- A slow but steady decline in DO concentration;
- Increased Qair demand to compensate for oxygen transfer losses;
- Altered effluent SNOout levels, reflecting reduced biological treatment performance.
3.3. Soft Sensor and Label Generation
- Pressure loss fault:
- Fouling fault:
3.4. Data Preparation and Feature Selection
3.4.1. Data Filtering and Balancing
3.4.2. Sliding Window Segmentation
- Short-term horizon: h = 5 timesteps (~75 min), aimed at capturing rapid and acute faults such as sudden pressure losses.
- Long-term horizon: h = 12–16 timesteps (~3–4 h), intended to improve early detection of chronic degradation patterns like diffuser fouling;
3.4.3. Feature Selection Using RF
- Pressure loss: , , , , and .
- Fouling: ,, , , , and .
3.4.4. Normalization
3.5. Machine Learning Models
3.5.1. Binary Classification Models
- A single LSTM layer with 20 hidden units to capture temporal dependencies.
- A fully connected dense layer with ReLU activation and L2 regularization to reduce overfitting and improve generalization.
- A SoftMax output layer for binary classification, providing probability of healthy vs. faulty states.
3.5.2. Multi-Label Classification Model
3.5.3. Hybrid Approach: RF and LSTM
- Feature ranking: Identifying and selecting the most relevant process variables, reducing input dimensionality while preserving predictive information.
- Baseline classification: Serving as a non-temporal reference model to benchmark LSTM performance and assessing the added value of temporal modeling.
3.5.4. Training and Validation
- The dataset was partitioned into 70% training, 15% validation, and 15% test sets.
- A 5-fold cross-validation strategy was applied on the training set to tune hyperparameters and assess robustness [10].
3.6. Explainable AI with SHAP
- Implementation: The DeepExplainer module [53] from the SHAP library was employed to compute feature attributions for the LSTM model. A representative subset of consecutive time steps was sampled for each fault scenario—pressure loss and fouling—to ensure coverage of both acute and chronic degradation dynamics. SHAP values were then calculated for all input features and their temporal lags, allowing the framework to capture both variable importance and temporal influence.
- Visualization and interpretation: For visualization, summary plots were used to provide a global perspective, ranking features based on their average contribution to model outputs across multiple predictions. In addition, waterfall plots offered local interpretability, illustrating how individual feature contributions cumulatively shifted the baseline prediction toward the final prediction for a specific input sequence.
- Global insights, highlighting the most influential features for each fault type.
- Local reasoning, explaining why particular sequences were classified as faulty.
3.7. Experimental Setup and Evaluation Metrics
- Hardware: Intel i9 CPU, 64 GB RAM, NVIDIA GTX GPU
- Software: MATLAB R2024 for process simulation and Python 3.12 with TensorFlow 2.18 for model implementation
4. Results
4.1. Feature Importance Analysis
4.2. Binary Classification Results
- Pressure loss classifier: accuracy = 0.95, precision = 0.93, recall = 0.92, F1-score = 0.93.
- Fouling classifier: accuracy = 0.94, precision = 0.91, recall = 0.90, F1-score = 0.91.
4.2.1. Temporal Detection Capability
4.2.2. Robustness and Operational Significance
- Acute faults (pressure loss) can be intercepted before triggering sudden aeration system failures.
- Chronic faults (fouling) can be detected early enough to optimize cleaning schedules and avoid efficiency losses.
4.3. Multi-Label Classification Performance
4.4. Model Explainability and SHAP Analysis
4.4.1. Global Interpretability
- Pressure loss: Qair and KLa consistently had the largest positive SHAP values, confirming that abrupt drops in Qair and Kla are the strongest predictors of acute faults.
- Fouling: SOout, SNOout, and Qair contributed most, indicating that gradual declines in SOout and increases in SNO levels are reliable precursors to diffuser clogging.
4.4.2. Local Explanations
4.5. Comparative Analysis
4.5.1. Performance Metrics
4.5.2. Temporal Split Validation
4.5.3. Feature Exclusion Analysis
4.5.4. Stress Test Under Stormwater and Industrial Shock Loads
4.5.5. Computational Efficiency and Practical Deployment
- Training time (~2 h each);
- Memory footprint during inference;
- Integration complexity for real-time deployment.
- Multi-label model for real-time monitoring and early-warning dashboards;
- Binary classifiers as secondary diagnostics, confirming and isolating specific fault types for maintenance planning.
5. Discussion
5.1. Overall Findings
5.2. Methodological Contributions and Advantages in the Context of Previous Studies
5.3. Limitations of the Study
6. Conclusions
- Enhanced fault detection: Temporal modeling with LSTM networks significantly outperformed static RF classifiers, enabling earlier and more accurate detection of both acute and chronic faults.
- Efficient feature selection: RF-based dimensionality reduction successfully simplified the model without sacrificing performance, enhancing interpretability and computational efficiency.
- Unified multi-label classification: The developed multi-label model efficiently handled overlapping faults and reduced inference time compared to independent binary classifiers.
- XAI integration: SHAP analysis provided actionable insights into fault drivers, strengthening trust and supporting proactive maintenance strategies.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
| AP | Average Precision |
| BNR | Biological Nutrient Removal |
| BSM2 | Benchmark Simulation Model No. 2 |
| COD | Chemical Oxygen Demand |
| DL | Deep Learning |
| DNNs | Deep Neural Networks |
| DO | Dissolved Oxygen |
| EQ | Effluent Quality |
| IIoT | Industrial Internet of Things |
| IWA | International Water Association |
| KLa | Oxygen Transfer Coefficient |
| LSTM | Long Short-Term Memory |
| ML | Machine Learning |
| MPC | Model Predictive Control |
| NNs | Neural Networks |
| OTE | Oxygen Transfer Efficiency |
| Qair | Airflow rate |
| QP | Influent Phosphorus Flow Rate |
| RF | Random Forest |
| RL | Reinforcement Learning |
| RNNs | Recurrent Neural Networks |
| SCADA | Supervisory Control and Data Acquisition |
| SHAP | Shapley Additive exPlanations |
| SNH | Ammonium Concentration |
| SNO | Nitrate/Nitrite Concentrations |
| SOout | Effluent Dissolved Oxygen |
| TEMP | Temperature |
| TSS | Total Suspended Solids |
| WWTPs | Wastewater Treatment Plants |
| XAI | Explainable Artificial Intelligence |
Appendix A
| Window | Overlap | Accuracy | Precision | Recall | F1 | Jaccard | Hamming | Inference Time (ms) |
|---|---|---|---|---|---|---|---|---|
| 10 | 50% | 0.90 | 0.89 | 0.87 | 0.88 | 0.58 | 0.09 | 140 |
| 10 | 75% | 0.91 | 0.90 | 0.88 | 0.89 | 0.60 | 0.08 | 190 |
| 10 | 90% | 0.92 | 0.91 | 0.88 | 0.89 | 0.61 | 0.08 | 260 |
| 20 | 50% | 0.92 | 0.91 | 0.88 | 0.89 | 0.61 | 0.07 | 150 |
| 20 | 75% | 0.94 | 0.93 | 0.91 | 0.92 | 0.62 | 0.05 | 220 |
| 20 | 90% | 0.945 | 0.93 | 0.91 | 0.92 | 0.63 | 0.05 | 350 |
| Model | Accuracy [95% CI] | Precision [95% CI] | Recall [(95% CI] | F1-Score [95% CI] | Jaccard Index [95% CI] | Hamming [95% CI] |
|---|---|---|---|---|---|---|
| Binary Classifier—Pressure Loss | 0.95 [0.94–0.96] | 0.94 [0.92–0.95] | 0.92 [0.91–0.94] | 0.93 [0.92–0.94] | 0.90 [0.88–0.91] | 0.05 [0.04–0.06] |
| Binary Classifier—Fouling | 0.94 [0.93–0.95] | 0.92 [0.91–0.94] | 0.90 [0.89–0.92] | 0.91 [0.90–0.92] | 0.88 [0.86–0.89] | 0.06 [0.05–0.07] |
| Multi-label Classifier (LSTM) | 0.94 [0.93–0.95] | 0.92 [0.91–0.94] | 0.91 [0.90–0.92] | 0.92 [0.91–0.93] | 0.86 [0.84–0.87] | 0.04 [0.03–0.05] |
| Pressure Loss | Predicted Fault | Predicted Normal |
|---|---|---|
| True Fault | 456 | 38 |
| True Normal | 32 | 474 |
| Fouling | Predicted Fault | Predicted Normal |
|---|---|---|
| True Fault | 432 | 48 |
| True Normal | 35 | 485 |
| True\Predicted | No Fault | Pressure Loss | Fouling | Both |
|---|---|---|---|---|
| No Fault | 450 | 28 | 30 | 12 |
| Pressure Loss | 34 | 210 | 18 | 8 |
| Fouling | 40 | 20 | 220 | 12 |
| Both Faults | 10 | 8 | 14 | 90 |
References
- Fernandes, J.; Ramísio, P.J.; Puga, H. A Comprehensive Review on Various Phases of Wastewater Technologies: Trends and Future Perspectives. Eng 2024, 5, 2633–2661. [Google Scholar] [CrossRef]
- Mamais, D.; Noutsopoulos, C.; Dimopoulou, A.; Stasinakis, A.; Lekkas, T.D. Wastewater treatment process impact on energy savings and greenhouse gas emissions. Water Sci. Technol. 2015, 71, 303–308. [Google Scholar] [CrossRef]
- Hvala, N.; Vrečko, D.; Cerar, P.; Žefran, G.; Levstek, M.; Vrančić, D. Energy Cost Optimisation in a Wastewater Treatment Plant by Balancing On-Site Electricity Generation with Plant Demand. Water 2025, 17, 1170. [Google Scholar] [CrossRef]
- Li, Z.; Lu, J.; Lu, J. Energy efficiency evaluation and optimization for wastewater treatment plant. Desalination Water Treat. 2024, 319, 100487. [Google Scholar] [CrossRef]
- Lozano Avilés, A.B.; Del Cerro Velázquez, F.; Llorens Pascual Del Riquelme, M. Methodology for Energy Optimization in Wastewater Treatment Plants. Phase II: Reduction of Air Requirements and Redesign of the Biological Aeration Installation. Water 2020, 12, 1143. [Google Scholar] [CrossRef]
- Ranieri, E.; D’Onghia, G.; Ranieri, F.; Lopopolo, L.; Gregorio, S.; Ranieri, A.C. Performance of wastewater treatment plants in emission of greenhouse gases. Bioresour. Technol. 2024, 404, 130897. [Google Scholar] [CrossRef]
- Wan, X.; Laureni, M.; Jia, M.; Volcke, E.I.P. Impact of organics, aeration and flocs on N2O emissions during granular-based partial nitritation-anammox. Sci. Total Environ. 2021, 797, 149092. [Google Scholar] [CrossRef] [PubMed]
- Yang, H.; Wang, Z.; Zhang, X.; Lu, H. Assessing Greenhouse Gas Emission Factors in Wastewater Treatment. Sustainability 2025, 17, 1488. [Google Scholar] [CrossRef]
- Makula Blog. Comparing Reactive vs. Preventive vs. Predictive Maintenance Strategies. Available online: https://www.makula.io/blog/reactive-maintenance-vs-predictive-analytics-vs-preventive-maintenance-comparing-strategies (accessed on 5 August 2025).
- Zamfir, F.-S.; Carbureanu, M.; Mihalache, S.F. Application of Machine Learning Models in Optimizing Wastewater Treatment Processes: A Review. Appl. Sci. 2025, 15, 8360. [Google Scholar] [CrossRef]
- Chen, K.; Wang, H.; Valverde-Perezc, B.; Zhai, S.; Vezzaro, L.; Wang, A. Optimal control towards sustainable wastewater treatment plants based on multi-agent reinforcement learning. Chemosphere 2021, 279, 130498. [Google Scholar] [CrossRef] [PubMed]
- Russo, S.; Disch, A.; Blumensaat, F.; Villez, K. Anomaly Detection using Deep Autoencoders for in-situ Wastewater Systems Monitoring Data. arXiv 2020, arXiv:2002.03843. [Google Scholar] [CrossRef]
- Jiang, L.-M.; Chen, L.; Zhou, Z.; Sun, D.; Li, Y.; Zhang, M.; Liu, Y.; Du, S.; Chen, G.; Yao, J. Fouling characterization and aeration performance recovery of fine-pore diffusers operated for 10 years in a full-scale wastewater treatment plant. Bioresour. Technol. 2020, 307, 123197. [Google Scholar] [CrossRef]
- Samuelsson, O.; Björk, A.; Carlsson, B. Model-based monitoring of diffuser fouling using standard sensors. Water Res. X 2021, 13, 100118. [Google Scholar] [CrossRef] [PubMed]
- Monday, C.; Zaghloul, M.S.; Krishnamurthy, D.; Achari, G. A Review of AI-Driven Control Strategies in the Activated Sludge Process with Emphasis on Aeration Control. Water 2024, 16, 305. [Google Scholar] [CrossRef]
- Cairone, S.; Hasan, S.W.; Choo, K.-H.; Lekkas, D.F.; Fortunato, L.; Zorpas, A.A.; Korshin, G.; Zarra, T.; Belgiorno, V.; Naddeo, V. Revolutionizing wastewater treatment toward circular economy and carbon neutrality goals: Pioneering sustainable and efficient solutions for automation and advanced process control with smart and cutting-edge technologies. J. Water Process Eng. 2024, 63, 105486. [Google Scholar] [CrossRef]
- Gulshin, I.; Kuzina, O. Optimization of Wastewater Treatment Through Machine Learning-Enhanced Supervisory Control and Data Acquisition: A Case Study of Granular Sludge Process Stability and Predictive Control. Automation 2025, 6, 2. [Google Scholar] [CrossRef]
- Pyo, J.; Pachepsky, Y.; Kim, S.; Abbas, A.; Kim, M.; Kwon, Y.S.; Ligaray, M.; Cho, K.H. Long short-term memory models of water quality in inland water environments. Water Res. X 2023, 21, 100207. [Google Scholar] [CrossRef] [PubMed]
- Miller, K.; Dubrawski, A. System-Level Predictive Maintenance: Review of Research Literature and Gap Analysis. arXiv 2020, arXiv:2005.05239. [Google Scholar] [CrossRef]
- Cummins, L.; Sommers, A.; Ramezani, S.B.; Mittal, S.; Jabour, J.; Seale, M.; Rahimi, S. Explainable Predictive Maintenance: A Survey of Current Methods, Challenges and Opportunities. IEEE Access 2024, 12, 57574–57602. [Google Scholar] [CrossRef]
- Duarte, M.S.; Martins, G.; Oliveira, P.; Fernandes, B.; Ferreira, E.C.; Alves, M.M.; Lopes, F.; Pereira, M.A.; Novais, P. A Review of Computational Modeling in Wastewater Treatment Processes. ACS EST Water 2024, 4, 784–804. [Google Scholar] [CrossRef]
- Garrido-Baserba, M.; Asvapathanagul, P.; McCarthy, G.W.; Gocke, T.E.; Olson, B.H.; Park, H.-D.; Al-Omari, A.; Murthy, S.; Bott, C.B.; Wett, B.; et al. Linking biofilm growth to fouling and aeration performance of fine-pore diffuser in activated sludge. Water Res. 2016, 90, 317–328. [Google Scholar] [CrossRef]
- Wang, M.; Mo, H.; Liu, G.; Qi, L.; Yu, Y.; Fan, H.; Xu, X.; Luo, T.; Shao, Y.; Wang, H. Impact of scaling on aeration performance of fine-pore membrane diffusers based on a pilot-scale study. Sci. Rep. 2020, 10, 4902. [Google Scholar] [CrossRef]
- Garrido-Baserba, M.; Sobhani, R.; Asvapathanagul, P.; McCarthy, G.W.; Olson, B.H.; Odize, V.; Al-Omari, A.; Murthy, S.; Nifong, A.; Godwin, J.; et al. Modelling the link amongst fine-pore diffuser fouling, oxygen transfer efficiency, and aeration energy intensity. Water Res. 2017, 111, 127–139. [Google Scholar] [CrossRef] [PubMed]
- Ghasemi, M.; Chang, S.; Sivaloganathan, S. Exploring Aeration Strategies for Enhanced Simultaneous Nitrification and Denitrification in Membrane Aerated Bioreactors: A Computational Approach. Bull. Math. Biol. 2024, 86, 117. [Google Scholar] [CrossRef]
- Bengtsson, S.; Arnell, M. Optimization of Aeration Diffuser System Design: A Simulation Study. J. Environ. Eng. 2023, 149, 04023003. [Google Scholar] [CrossRef]
- Xylem. Utility Reduces Aeration Energy Use by 32% with Liquid Diffuser Cleaning. Available online: https://www.xylem.com/en-gp/making-waves/water-utilities-news/utility-reduces-aeration-energy-use-by-32-with-liquid-diffuser-cleaning/ (accessed on 5 August 2025).
- Samuelsson, O.; Bengtsson, S. Differentiating fouling from ageing for a condition-based diffuser maintenance. Water Res. 2025, 268, 122534. [Google Scholar] [CrossRef] [PubMed]
- Achouch, M.; Dimitrova, M.; Dhouib, R.; Ibrahim, H.; Adda, M.; Sattarpanah Karganroudi, S.; Ziane, K.; Aminzadeh, A. Predictive Maintenance and Fault Monitoring Enabled by Machine Learning: Experimental Analysis of a TA-48 Multistage Centrifugal Plant Compressor. Appl. Sci. 2023, 13, 1790. [Google Scholar] [CrossRef]
- Chevtchenko, S.F.; Santos, M.C.M.d.; Vieira, D.M.; Mota, R.L.; Rocha, E.; Cruz, B.v.; Araújo, D.; Andrade, E. Predictive Maintenance Model Based on Anomaly Detection in Induction Motors: A Machine Learning Approach Using Real-Time IoT Data. arXiv 2023, arXiv:2310.14949. [Google Scholar] [CrossRef]
- Costa, A.; Mastriani, E.; Incardona, F.; Munari, K.; Spinello, S. Predictive Maintenance Study for High-Pressure Industrial Compressors: Hybrid Clustering Models. arXiv 2024, arXiv:2411.13919. [Google Scholar] [CrossRef]
- Hosamo, H.H.; Svennevig, P.R.; Svidt, K.; Han, D.; Nielsen, H.K. A Digital Twin predictive maintenance framework of air handling units based on automatic fault detection and diagnostics. Energy Build. 2022, 261, 111988. [Google Scholar] [CrossRef]
- Ahmed Murtaza, A.; Saher, A.; Hamza Zafar, M.; Kumayl Raza Moosavi, S.; Faisal Aftab, M.; Sanfilippo, F. Paradigm shift for predictive maintenance and condition monitoring from Industry 4.0 to Industry 5.0: A systematic review, challenges and case study. Results Eng. 2024, 24, 102935. [Google Scholar] [CrossRef]
- Elharnaf, I.; Achtaich, K.; Tetouani, S. Improving Predictive Maintenance Performance Using Machine Learning and Vibration Analysis Algorithms. Eng. Proc. 2025, 97, 45. [Google Scholar] [CrossRef]
- Dikmen, F.; Demir, A.; Özkaya, B.; Raza, M.O.; Rasheed, J.; Asuroglu, T.; Alsubai, S. AI-driven wastewater management through comparative analysis of feature selection techniques and predictive models. Sci. Rep. 2025, 15, 25347. [Google Scholar] [CrossRef] [PubMed]
- Tun, W.; Wong, J.K.-W.; Ling, S.-H. Hybrid Random Forest and Support Vector Machine Modeling for HVAC Fault Detection and Diagnosis. Sensors 2021, 21, 8163. [Google Scholar] [CrossRef] [PubMed]
- Kong, Y.; Wang, Z.; Nie, Y.; Zhou, T.; Zohren, S.; Liang, Y.; Sun, P.; Wen, Q. Unlocking the Power of LSTM for Long Term Time Series Forecasting. Proc. AAAI Conf. Artif. Intell. 2025, 39, 11968–11976. [Google Scholar] [CrossRef]
- An, T.; Feng, K.; Cheng, P.; Li, R.; Zhao, Z.; Xu, X.; Zhu, L. Adaptive prediction for effluent quality of wastewater treatment plant: Improvement with a dual-stage attention-based LSTM network. J. Environ. Manag. 2024, 359, 120887. [Google Scholar] [CrossRef]
- Mohammad, A.A.S.; Mohammad, S.I.S.; Al Oraini, B.; Vasudevan, A.; Hindieh, A.; Altarawneh, A.; Alshurideh, M.T.; Ali, I. Strategies for applying interpretable and explainable AI in real world IoT applications. Discov. Internet Things 2025, 5, 71. [Google Scholar] [CrossRef]
- Lundberg, S.; Lee, S.-I. A Unified Approach to Interpreting Model Predictions. Adv. Neural Inf. Process. Syst. 2017, 30, 4765–4774. [Google Scholar]
- Park, J.; Lee, W.H.; Kim, K.T.; Park, C.Y.; Lee, S.; Heo, T.-Y. Interpretation of ensemble learning to predict water quality using explainable artificial intelligence. Sci. Total Environ. 2022, 832, 155070. [Google Scholar] [CrossRef]
- Lamane, H.; Mouhir, L.; Moussadek, R.; Baghdad, B.; Kisi, O.; El Bilali, A. Interpreting machine learning models based on SHAP values in predicting suspended sediment concentration. Int. J. Sediment Res. 2025, 40, 91–107. [Google Scholar] [CrossRef]
- Hasan, M.N.; Jan, S.U.; Koo, I. Sensor Fault Detection and Classification Using Multi-Step-Ahead Prediction with an Long Short-Term Memoery (LSTM) Autoencoder. Appl. Sci. 2024, 14, 7717. [Google Scholar] [CrossRef]
- Lekidis, A.; Georgakis, A.; Dalamagkas, C.; Papageorgiou, E.I. Predictive Maintenance Framework for Fault Detection in Remote Terminal Units. Forecasting 2024, 6, 239–265. [Google Scholar] [CrossRef]
- Mohammadi, E.; Rani, A.; Stokholm-Bjerregaard, M.; Ortiz-Arroyo, D.; Durdevic, P. Wastewater Treatment Plant Data for Nutrient Removal System. arXiv 2024, arXiv:2407.05346. [Google Scholar] [CrossRef]
- Jeppsson, U.; Pons, M.-N.; Nopens, I.; Alex, J.; Copp, J.B.; Gernaey, K.V.; Rosen, C.; Steyer, J.-P.; Vanrolleghem, P.A. Benchmark simulation model no 2: General protocol and exploratory case studies. Water Sci. Technol. 2007, 56, 67–78. [Google Scholar] [CrossRef]
- Nopens, I.; Benedetti, L.; Jeppsson, U.; Pons, M.-N.; Alex, J.; Copp, J.B.; Gernaey, K.V.; Rosen, C.; Steyer, J.-P.; Vanrolleghem, P.A. Benchmark Simulation Model No 2: Finalisation of plant layout and default control strategy. Water Sci. Technol. 2010, 62, 1967–1974. [Google Scholar] [CrossRef]
- Miederer, J.; Meier, L.; Elhaus, N.; Markthaler, S.; Karl, J. Energy Management Model for Wastewater Treatment Plants. Energy Rep. 2025, 13, 6349–6361. [Google Scholar] [CrossRef]
- Gernaey, K.V.; Jeppsson, U.; Vanrolleghem, P.A.; Copp, J.B. (Eds.) Benchmarking of Control Strategies for Wastewater Treatment Plants; IWA Publishing: London, UK, 2024. [Google Scholar] [CrossRef]
- Kulanuwat, L.; Chantrapornchai, C.; Maleewong, M.; Wongchaisuwat, P.; Wimala, S.; Sarinnapakorn, K.; Boonya-aroonnet, S. Anomaly Detection Using a Sliding Window Technique and Data Imputation with Machine Learning for Hydrological Time Serie. Water 2021, 13, 1862. [Google Scholar] [CrossRef]
- Jiang, D.; Xu, R.; Xu, X.; Xie, Y. Multi-view feature transfer for click-through rate prediction. Inf. Sci. 2021, 546, 961–976. [Google Scholar] [CrossRef]
- Zhang, M.-L.; Zhou, Z.-H. A Review on Multi-Label Learning Algorithms. IEEE Trans. Knowl. Data Eng. 2014, 26, 1819–1837. [Google Scholar] [CrossRef]
- SHAP Documentation. Shap.DeepExplainer. Available online: https://shap.readthedocs.io/en/latest/generated/shap.DeepExplainer.html (accessed on 5 August 2025).
- Logical Systems. From Nuisance to Insight: Best Practices for Alarm Management. Available online: https://www.logicalsysinc.com/connecting-point/from-nuisance-to-insight-best-practices-for-alarm-management/ (accessed on 10 August 2025).
- Odize. Victory Oghenerabome. In Diffuser Fouling Mitigation, Wastewater Characteristics And Treatment Technology impact on Aeration Efficiency; Virginia Tech: Blacksburg, VA, USA, 2018. [Google Scholar]
- Leu, S.; Rosso, D.; Larson, L.E.; Stenstrom, M.K. Real-Time Aeration Efficiency Monitoring in the Activated Sludge Process and Methods to Reduce Energy Consumption and Operating Costs. Water Environ. Res. 2009, 81, 2471–2481. [Google Scholar] [CrossRef] [PubMed]
- CUBE CONCEPTS. Europe’s Industrial Electricity Prices 2024. Available online: https://cubeconcepts.de/en/europes-industrial-electricity-prices-2024/ (accessed on 28 August 2025).











| Fault Type | Common Causes | Operational Impact |
|---|---|---|
| Pressure loss [13,14,24] | Partial valve blockages; pipeline leaks; uneven airflow | Reduced airflow delivery; low DO levels; impaired nitrification |
| Diffuser fouling [13,22,23,24] | Biofilm accumulation; mineral scaling; suspended solids deposits | Gradual loss of OTE; increased blower energy demand |
| Mechanical water [11,15,25] | Aging or physical damage of blowers, valves, and diffusers | Airflow imbalances; increased noise; overall aeration inefficiency |
| Sensor/control failures [12,15,17] | Malfunctioning DO sensors or actuators | Suboptimal aeration control; indirect deterioration of effluent quality |
| Strategy | Description | Advantages | Limitations |
|---|---|---|---|
| Reactive [9,19] | Repairs only after equipment failure | Simple implementation; no upfront monitoring costs | High unplanned downtime; environmental compliance risks |
| Preventive [9,21] | Scheduled inspections and replacements | Reduced catastrophic failures; predictable maintenance | Over-maintenance; higher operational costs |
| Predictive [10,17,20] | Uses sensors and models to forecast degradation | Optimized scheduling; early fault detection; energy savings [26] | Requires monitoring infrastructure and advanced data-driven models |
| Abbreviation | Full Description | Unit |
|---|---|---|
| Total Suspended Solids—Influent | mg/L | |
| Influent Temperature | °C | |
| Dissolved Oxygen—Effluent | mg/L | |
| Dissolved Oxygen—Influent | mg/L | |
| Nitrate/Nitrite—Effluent | mgN/L | |
| Nitrate/Nitrite—Influent | mgN/L | |
| Ammonium—Influent | mgN/L | |
| Influent Phosphorus Flow Rate | m3/d | |
| Estimated Airflow Rate | m3/h | |
| Local Oxygen Transfer Coefficient | 1/h | |
| Chemical Oxygen Demand | mg/L |
| Model | Output Layer | Loss Function | Time Steps | Faults Detected | Training Strategy |
|---|---|---|---|---|---|
| Binary—pressure loss | SoftMax 1 (2 neurons) | Cross-entropy | 20 | Pressure loss only | Independent training |
| Binary—fouling | SoftMax (2 neurons) | Cross-entropy | 20 | Fouling only | Independent training |
| Multi-label | SoftMax (2 neurons) | Binary cross-entropy | 20 | Pressure loss + fouling | Shared architecture, multi-label |
| Random Forest baseline | N/A | Gini impurity 2 | 100 trees | Pressure loss + fouling | Feature selection + classification |
| Metric | Interpretation | Formula |
|---|---|---|
| Accuracy | Fraction of correctly predicted labels out of all predictions. | |
| Precision | Proportion of positive predictions that are correct. | |
| Recall | Ability to detect actual faults (sensitivity). | |
| Macro F1-score | Balanced measure of detection performance across multiple labels. | (averaged across classes) |
| Jaccard Index | Similarity measure between predicted and true labels. | |
| Hamming Loss | Fraction of incorrectly predicted labels (false positives/negatives). |
| Model | Accuracy | Precision | Recall | F1-Score | Jaccard Index | Hamming Loss |
|---|---|---|---|---|---|---|
| Binary Classifier—Pressure Loss | 0.95 | 0.94 | 0.92 | 0.93 | 0.90 | 0.05 |
| Binary Classifier—Fouling | 0.94 | 0.92 | 0.90 | 0.91 | 0.88 | 0.06 |
| Multi-label Classifier (LSTM) | 0.94 | 0.93 | 0.91 | 0.92 | 0.62 | 0.04 |
| Model | Accuracy | Precision | Recall | F1-Score | Jaccard Index | Hamming Loss |
|---|---|---|---|---|---|---|
| Binary Classifier—Pressure Loss | 0.85 | 0.72 | 0.74 | 0.70 | 0.55 | 0.15 |
| Binary Classifier—Fouling | 0.88 | 0.80 | 0.79 | 0.79 | 0.65 | 0.12 |
| Multi-label Classifier (LSTM) | 0.82 | 0.75 | 0.70 | 0.72 | 0.58 | 0.14 |
| Model | Accuracy | Precision | Recall | F1-Score | Jaccard Index | Hamming Loss |
|---|---|---|---|---|---|---|
| Binary Classifier—Pressure Loss | 0.90 | 0.89 | 0.88 | 0.89 | 0.82 | 0.09 |
| Binary Classifier—Fouling | 0.89 | 0.88 | 0.87 | 0.88 | 0.80 | 0.10 |
| Multi-label Classifier (LSTM) | 0.89 | 0.88 | 0.86 | 0.87 | 0.58 | 0.08 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Voipan, D.; Voipan, A.E.; Barbu, M. Hybrid Explainable AI Framework for Predictive Maintenance of Aeration Systems in Wastewater Treatment Plants. Water 2025, 17, 2636. https://doi.org/10.3390/w17172636
Voipan D, Voipan AE, Barbu M. Hybrid Explainable AI Framework for Predictive Maintenance of Aeration Systems in Wastewater Treatment Plants. Water. 2025; 17(17):2636. https://doi.org/10.3390/w17172636
Chicago/Turabian StyleVoipan, Daniel, Andreea Elena Voipan, and Marian Barbu. 2025. "Hybrid Explainable AI Framework for Predictive Maintenance of Aeration Systems in Wastewater Treatment Plants" Water 17, no. 17: 2636. https://doi.org/10.3390/w17172636
APA StyleVoipan, D., Voipan, A. E., & Barbu, M. (2025). Hybrid Explainable AI Framework for Predictive Maintenance of Aeration Systems in Wastewater Treatment Plants. Water, 17(17), 2636. https://doi.org/10.3390/w17172636

