Hybrid CEEMDAN–deep learning models for COD prediction in wastewater treatment plants

Abstract

Precise and timely chemical oxygen demand (COD) prediction is key to regulatory compliance and process control in a full-scale wastewater treatment, but laboratory assays and sluggish online measurements hinder responsiveness. Thus, a deployment-conceived hybrid pipeline for near-term COD predictions is proposed in this study. This method introduces a deployment-oriented hybrid framework that integrates complete ensemble empirical mode decomposition with adaptive noise (CEEMDAN), gated recurrent units (GRU), and a multi-objective observer-teacher-learner-based optimizer (MOOTLBO) for near-term COD forecasting. Daily measurements from the Gebze municipal wastewater treatment plant (Türkiye) between 2019 and 2023 were collected from regularly available measured data together with total suspended solids, total nitrogen, total phosphorus, and pH with statistically enlightened lags to encode process memory. Intrinsic mode functions were obtained from the COD series with the application of CEEMDAN, and the intrinsic mode functions were concatenated with exogenous features and forwarded to recurrent learners. Long short-term memory (LSTM) and gated recurrent units (GRU) were studied as two potential configurations in the study. Hyperparameters were optimized with a multi-objective observer-teacher-learner optimizer (MOOTLBO) in order to balance fidelity, parsimony, and training cost. Evaluation occurred on a held-out test set (80/20 partition) with RMSE, MAE, R2, MAPE, MBE, and KGE metrics. Across alternatives, decomposition-then-learn decreased error compared with non-decomposed baselines. A CEEMDAN–GRU variant turned out to be the most accurate configuration, which reached good performance with RMSE = 2.84 mg L−1, MAE = 2.28 mg L−1, R2 = 0.9999, MAPE = 0.46%, MBE = 1.47 mg L−1, and KGE = 0.9974. In an optimized CEEMDAN–GRU–MOOTLBO configuration, similarly strong accuracy (RMSE = 4.19 mg L−1, MAE = 2.66 mg L−1, R2 = 0.9999, MAPE = 0.52%, MBE = 0.16 mg L−1, KGE = 0.9997) was obtained with excellent bias control. In view of accuracy, stability, and runtime, the CEEMDAN–GRU family represents the most suitable choice for real-time soft sensing of COD, facilitating proactive control and early warning with the presence of changing influent conditions in challenging plant practice.

Graphical abstract: Hybrid CEEMDAN–deep learning models for COD prediction in wastewater treatment plants

Article information

Article type
Paper
Submitted
05 Jan 2026
Accepted
23 Apr 2026
First published
11 May 2026
This article is Open Access
Creative Commons BY-NC license

Environ. Sci.: Water Res. Technol., 2026, Advance Article

Hybrid CEEMDAN–deep learning models for COD prediction in wastewater treatment plants

S. Samadianfard, E. Aras, D. Y. Çelik, M. T. Sattari and O. Gündüz, Environ. Sci.: Water Res. Technol., 2026, Advance Article , DOI: 10.1039/D6EW00014B

This article is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported Licence. You can use material from this article in other publications, without requesting further permission from the RSC, provided that the correct acknowledgement is given and it is not used for commercial purposes.

To request permission to reproduce material from this article in a commercial publication, please go to the Copyright Clearance Center request page.

If you are an author contributing to an RSC publication, you do not need to request permission provided correct acknowledgement is given.

If you are the author of this article, you do not need to request permission to reproduce figures and diagrams provided correct acknowledgement is given. If you want to reproduce the whole article in a third-party commercial publication (excluding your thesis/dissertation for which permission is not required) please go to the Copyright Clearance Center request page.

Read more about how to correctly acknowledge RSC content.

Social activity

Spotlight

Advertisements