LAPSE:2025.0533v1
Published Article

LAPSE:2025.0533v1
Future Forecasting of Dissolved Oxygen Concentration in Wastewater Treatment Plants using Deep Learning Techniques
June 27, 2025
Abstract
Predicting water quality is essential for effective environmental management and pollution control. Dissolved oxygen (DO), one of key water quality parameters, plays a vital role in biological wastewater treatment [1]. This study aims to forecast DO levels in activated sludge tanks of an oil refinerys wastewater treatment plant (WWTP). Proper oxygen concentration is critical for microbial activity, as inadequate levels can disrupt the biological breakdown of pollutants. The objective is to develop predictive models to identify operational risks early, enhancing treatment efficiency and optimizing resources like chemicals, bacterial cultures, and aeration systems. Additionally, the study aims to provide early warnings to operators, minimizing reliance on laboratory tests and ensuring optimal conditions for bacteria, leading to better operational performance, cost reduction, and improved water quality ultimately promoting sustainable wastewater treatment. Various deep learning models, including Recurrent Neural Network (RNN), Gated Recurrent Unit (GRU), and Long-Short Term Memory (LSTM), were applied to a two-year real-time dataset with 24 features and 8-hour intervals. Model performance was assessed using process data for training, validation, and testing. The results reveal that GRU-based models effectively predict DO concentration in sludge tanks, achieving an R² of 0.7, MSE of 0.01, and MAE of 0.07. These soft sensors demonstrate strong potential for system control.
Predicting water quality is essential for effective environmental management and pollution control. Dissolved oxygen (DO), one of key water quality parameters, plays a vital role in biological wastewater treatment [1]. This study aims to forecast DO levels in activated sludge tanks of an oil refinerys wastewater treatment plant (WWTP). Proper oxygen concentration is critical for microbial activity, as inadequate levels can disrupt the biological breakdown of pollutants. The objective is to develop predictive models to identify operational risks early, enhancing treatment efficiency and optimizing resources like chemicals, bacterial cultures, and aeration systems. Additionally, the study aims to provide early warnings to operators, minimizing reliance on laboratory tests and ensuring optimal conditions for bacteria, leading to better operational performance, cost reduction, and improved water quality ultimately promoting sustainable wastewater treatment. Various deep learning models, including Recurrent Neural Network (RNN), Gated Recurrent Unit (GRU), and Long-Short Term Memory (LSTM), were applied to a two-year real-time dataset with 24 features and 8-hour intervals. Model performance was assessed using process data for training, validation, and testing. The results reveal that GRU-based models effectively predict DO concentration in sludge tanks, achieving an R² of 0.7, MSE of 0.01, and MAE of 0.07. These soft sensors demonstrate strong potential for system control.
Record ID
Keywords
Deep Learning, Dissolved oxygen, Machine learning model, Timeseries future forecasting, Wastewater treatment plant
Subject
Suggested Citation
Kurban S, Yasmal A, Samur O, Sahin O, Kaya GK, Atlar K, Akkoç G. Future Forecasting of Dissolved Oxygen Concentration in Wastewater Treatment Plants using Deep Learning Techniques. Systems and Control Transactions 4:2373-2378 (2025) https://doi.org/10.69997/sct.137038
Author Affiliations
Kurban S: Turkish Petroleum Refinery, 41780, Körfez, Kocaeli, Turkey
Yasmal A: Turkish Petroleum Refinery, 41780, Körfez, Kocaeli, Turkey
Samur O: Turkish Petroleum Refinery, 41780, Körfez, Kocaeli, Turkey
Sahin O: Turkish Petroleum Refinery, 41780, Körfez, Kocaeli, Turkey
Kaya GK: Turkish Petroleum Refinery, 41780, Körfez, Kocaeli, Turkey
Atlar K: Turkish Petroleum Refinery, 71480, Merkez, Kirikkale, Turkey
Akkoç G: Turkish Petroleum Refinery, 71480, Merkez, Kirikkale, Turkey
Yasmal A: Turkish Petroleum Refinery, 41780, Körfez, Kocaeli, Turkey
Samur O: Turkish Petroleum Refinery, 41780, Körfez, Kocaeli, Turkey
Sahin O: Turkish Petroleum Refinery, 41780, Körfez, Kocaeli, Turkey
Kaya GK: Turkish Petroleum Refinery, 41780, Körfez, Kocaeli, Turkey
Atlar K: Turkish Petroleum Refinery, 71480, Merkez, Kirikkale, Turkey
Akkoç G: Turkish Petroleum Refinery, 71480, Merkez, Kirikkale, Turkey
Journal Name
Systems and Control Transactions
Volume
4
First Page
2373
Last Page
2378
Year
2025
Publication Date
2025-07-01
Version Comments
Original Submission
Other Meta
PII: 2373-2378-1390-SCT-4-2025, Publication Type: Journal Article
Record Map
Published Article

LAPSE:2025.0533v1
This Record
External Link

https://doi.org/10.69997/sct.137038
Article DOI
Download
Meta
Record Statistics
Record Views
1015
Version History
[v1] (Original Submission)
Jun 27, 2025
Verified by curator on
Jun 27, 2025
This Version Number
v1
Citations
Most Recent
This Version
URL Here
https://psecommunity.org/LAPSE:2025.0533v1
Record Owner
PSE Press
Links to Related Works
References Cited
- Dong Q, Lin Y, Bi J, Yuan H. An integrated deep neural network approach for large-scale water quality time series prediction. In: 2019 IEEE International Conference on Systems, Man and Cybernetics (SMC) 3537-3542 (2019) https://doi.org/10.1109/SMC.2019.8914404
- Farhi N, Kohen E, Mamane H, Shavitt Y. Prediction of wastewater treatment quality using LSTM neural network. Environmental Technology & Innovation 23:101632 (2021) https://doi.org/10.1016/j.eti.2021.101632
- Cheng T, Harrou F, Kadri F, Sun Y, Leiknes T. Forecasting of wastewater treatment plant key features using deep learning-based models: A case study. IEEE Access 8:184475-184485 (2020) https://doi.org/10.1109/ACCESS.2020.3030820
- Mahanna, H., El-Rashidy, N., Kaloop, M. R., El-Sapakh, S., Alluqmani, A., & Hassan, R. Prediction of wastewater treatment plant performance through machine learning techniques. Desalination Water Treatment 319:100524 (2024) https://doi.org/10.1016/j.dwt.2024.100524
- Newhart KB, Holloway RW, Hering AS, Cath TY. Data-driven performance analyses of wastewater treatment plants: A review. Water Research 157:498-513 (2019) https://doi.org/10.1016/j.watres.2019.03.030
- Chen Y, Zhang H, You Y, Zhang J, Tang L. A hybrid deep learning model based on signal decomposition and dynamic feature selection for forecasting the influent parameters of wastewater treatment plants. Environmental Research 266:120615 (2025) https://doi.org/10.1016/j.envres.2024.120615
- Hadjimichael A, Comas J, Corominas L. Do machine learning methods used in data mining enhance the potential of decision support systems? A review for the urban water sector. Ai Communications, 29(6): 747-756 (2016) https://doi.org/10.3233/AIC-160714
- Zhu M et al. A review of the application of machine learning in water quality evaluation. Eco-Environment & Health 1(2):107-116 (2022) https://doi.org/10.1016/j.eehl.2022.06.001
- Zhang Y, Fitch P, Vilas MP, Thorburn PJ. Applying multi-layer artificial neural network and mutual information to the prediction of trends in dissolved oxygen. Frontiers in Environmental Science 7:46 (2019) https://doi.org/10.3389/fenvs.2019.00046
- Li W, Wu H, Zhu N, Jiang Y, Tan J, Guo Y. Prediction of dissolved oxygen in a fishery pond based on gated recurrent unit (GRU). Information Processing in Agriculture 8(1):185-193 (2021) https://doi.org/10.1016/j.inpa.2020.02.002
- Qin H. Comparison of deep learning models on time series forecasting: A case study of dissolved oxygen prediction. arXiv 1911.08414 (2019)
- Sherstinsky A. Fundamentals of recurrent neural network (RNN) and long short-term memory (LSTM) network. Physica D: Nonlinear Phenomena 404:132306 (2020) https://doi.org/10.1016/j.physd.2019.132306
- Zargar S. Introduction to sequence learning models: RNN, LSTM, GRU. Department of Mechanical and Aerospace Engineering, North Carolina State University (2021)
- Alsulaili A, Refaie A. Artificial neural network modeling approach for the prediction of five-day biological oxygen demand and wastewater treatment plant performance. Water Supply 21(5):1861-1877 (2021) https://doi.org/10.2166/ws.2020.199
- Lakhdari K, Saeed N. A new vision of a simple 1D Convolutional Neural Networks (1D-CNN) with Leaky-ReLU function for ECG abnormalities classification. Intelligence-Based Medicine 6:100080 (2022) https://doi.org/10.1016/j.ibmed.2022.100080
- Shenfield A, Howarth M. A novel deep learning model for the detection and identification of rolling element-bearing faults. Sensors 20(18):5112 (2020) https://doi.org/10.3390/s20185112
- He Y, Zhao J. Temporal convolutional networks for anomaly detection in time series. Journal of Physics: Conference Series 1213(4):042050 (2019) https://doi.org/10.1088/1742-6596/1213/4/042050
- Barzegar R, Aalami MT, Adamowski J. Short-term water quality variable prediction using a hybrid CNN-LSTM deep learning model. Stochastic Environmental Research and Risk Assessment 34(2):415-433 (2020) https://doi.org/10.1007/s00477-020-01776-2
- Xie Y, Chen Y, Wei Q, Yin H. A hybrid deep learning approach to improve real-time effluent quality prediction in wastewater treatment plant. Water Research 250:121092 (2024) https://doi.org/10.1016/j.watres.2023.121092
(0.14 seconds)
[0.14 s]

