Machine Learning Approaches for Predicting Biochemical Oxygen Demand (BOD₅) Based on Process Parameters in Wastewater Treatment Plants
Abstract
In domestic wastewater treatment plants, wastewater purification is typically carried out through biological processes based on bacteria. For the microorganisms in these systems to survive and function effectively, certain environmental and chemical parameters must be maintained within optimal ranges. These parameters can be monitored at minute, hourly, or daily intervals. However, the laboratory determination of Biochemical Oxygen Demand (BOD), a critical parameter for assessing bacterial activity in advanced biological treatment plants, typically takes 3 to 5 days to obtain results, significantly longer than for other parameters. In this study, the aim was to estimate BOD values using process parameters that can be measured at minute or hourly intervals in a wastewater treatment plant. To develop the predictive model, several Machine Learning algorithms, including Artificial Neural Network, Multiple Linear Regression, Gradient Boosting Regressor, XGBoost, and Random Forest, were employed. The performance of these models was evaluated using the Coefficient of Determination, Root Mean Square Error and Mean Absolute Error metrics. According to the results, the Multiple Linear Regression algorithm achieved the highest predictive performance. The model achieved R² = 0.66 with direct imputation and R² = 0.91 with model-based imputation. These findings demonstrate that machine learning algorithms provide an effective alternative for estimating the BOD parameter, particularly when laboratory analyses require extended processing times.
Keywords
References
- A. Tariq and A. Mushtaq, “Untreated wastewater reasons and causes: A review of most affected areas and cities,” Int. J. Chem. Biochem. Sci., vol. 23, no. 1, pp. 121–143, 2023.
- M. Rufí-Salís, A. Petit-Boix, and S. Leipold, “Increasing resource circularity in wastewater treatment: Environmental implications of technological upgrades,” Sci. Total Environ., vol. 838, 2022. https://doi.org/10.1016/j.scitotenv.2022.156422
- S. A. R. Khan, P. Ponce, Z. Yu, and H. Golpîra, “Environmental technology and wastewater treatment: Strategies to achieve environmental sustainability,” Chemosphere, vol. 286, 2022. https://doi.org/ 10.1016/j.chemosphere.2021.131718
- R. O. Carey and K. W. Migliaccio, “Contribution of wastewater treatment plant effluents to nutrient dynamics in aquatic systems: A review,” Environ. Manage., vol. 44, no. 2, pp. 205–217, 2009. https://doi.org/ 10.1007/s00267-009-9306-x
- S. Bijekar, H. D. Padariya, and V. K. Yadav, “The state of the art and emerging trends in the wastewater treatment in developing nations,” Water, vol. 14, no. 16, 2022. https://doi.org/10.3390/w14162529
- U. Süğürtün and Ç. Türker Fedai, “The potential of the Karaman wastewater treatment plant to generate electricity with MHP and reduction of electricity bill amounts by adjusting working hours of the facility,” Sakarya Univ. J. Sci., vol. 24, no. 5, 2020. https://doi.org/10.16984/saufenbilder.706169
- T. Asano and A. D. Levine, “Wastewater reclamation, recycling and reuse: Past, present, and future,” Water Sci. Technol., vol. 33, no. 10–11, pp. 1–14, 1996. https://doi.org/10.1016/0273-1223(96)00401-5
- S. N. Zainurin and W. Z. W. Ismail, “Advancements in monitoring water quality based on various sensing methods: A systematic review,” Int. J. Environ. Res. Public Health, vol. 19, no. 21, 2022. https://doi.org/10.3390/ijerph192114080
Details
Primary Language
English
Subjects
Artificial Intelligence (Other)
Journal Section
Research Article
Authors
İsmail Gülsoy
*
0000-0002-9167-7468
Türkiye
Early Pub Date
June 10, 2026
Publication Date
-
Submission Date
October 17, 2025
Acceptance Date
December 30, 2025
Published in Issue
Year 2026 Number: Advanced Online Publication
