Numerical Methods in Civil Engineering

Numerical Methods in Civil Engineering

The use of machine learning techniques in water and wastewater treatment processes: opportunities and challenges

Document Type : Review

Authors
1 Faculty of Civil Engineering, Semnan University, Semnan 35131-19111, Iran
2 Faculty of Civil Engineering, K.N. Toosi University of Technology, Tehran, Iran
Abstract
Artificial intelligence (AI) and machine learning (ML) are increasingly transforming water and wastewater treatment by enabling robust prediction, control, and optimization of complex physicochemical and biological processes that conventional mechanistic models struggle to capture. This review provides a comprehensive and methodologically structured synthesis of AI/ML applications across major treatment operations, including coagulation–flocculation, membrane filtration, adsorption, disinfection byproduct (DBP) formation, and wastewater treatment systems such as water quality monitoring, test design and laboratory scale tests. Using a systematic PRISMA-guided literature selection and scientometric analysis of publications from 1998 to 2025, fifty-five studies were critically evaluated to assess algorithmic trends, performance characteristics, and domain-specific applicability. Traditional ML algorithms (KNN, SVM, RF), deep learning architectures (CNN, RNN, LSTM, NARX), and metaheuristic optimization tools (GA, PSO, GEP) were examined alongside hybrid and ensemble models used to address nonlinear, multivariate water-quality relationships. Results show that AI/ML models consistently outperform empirical and mechanistic baselines in predicting coagulant dosage, membrane fouling, permeate flux, pollutant adsorption efficiency, and DBP formation, while emerging approaches such as soft sensors, and IoT-enabled monitoring are enabling real-time operational decision support. The review highlights future research opportunities in digital twins, physics-informed ML, transfer learning, explainable AI (XAI), graph neural networks (GNNs), and autonomous process control using reinforcement learning. By consolidating algorithmic mechanisms, and application domains, this work provides a rigorous and forward-looking perspective on the role of AI/ML in developing resilient and energy-efficient treatment systems.
Keywords

Subjects


[1] Biglarijoo, N., Shams, A., & Hadipour, V. (2025). Modeling Fenton Treatment for Landfill Leachate with the Focus on Initial COD and Sludge Generation. Numerical Methods in Civil Engineering 9(3), 39-46.
[2] Biglarijoo, N., & Shams, A. (2024). Multivariate modeling of the Fenton process for enhanced COD removal and low sludge generation in landfill leachate treatment. Journal of Applied Research in Water and Wastewater 11(2), 110-115.
[3] Altowayti, W.A.H., Shahir, S., Othman, N., Eisa, T.A.E., Yafooz, W.M.S., Al-Dhaqm, A., Yong Soon, C., Yahya, I.B., Rahim, N.A.N.B.C., Abaker, M., & Ali, A. (2022). The role of conventional methods and artificial intelligence in the wastewater treatment: a comprehensive review. Processes 10, 1832.  
[4] Carreres-Prieto, D., Garcia, J.T., Carrillo, J.M., Vigueras-& Rodriguez, A. (2023). Towards highly economical and accurate wastewater sensors by reduced parts of the LED-visible spectrum. Science of the total environment 871, 162082.
[5] Emaminejad, S.A., Morgan, V.L., Kumar, K., Kavathekar, A., Ragush, C., Shuai,W., Jia, Z., Huffaker, R., Wells, G., & Cusick, R.D. (2022). Statistical and microbial analysis of bio-electrochemical sensors used for carbon monitoring at water resource recovery facilities. Environmental science: water research and technology 8, 2052–2064.
[6] Biglarijoo, N., Mirbagheri, S.A., Bagheri, M., & Ehteshami, M. (2017). Assessment of effective parameters in landfill leachate treatment and optimization of the process using neural network, genetic algorithm and response surface methodology. Process safety and environmental protection 106, 89-103.
[7] Chan, M. K., Shams, A., Wang, C. C., Lee, P. Y., Jahani, Y., & Mirbagheri, S. A. (2023). Artificial neural network model for membrane desalination: A predictive and optimization study. Computation 11(3), 68.
[8] Mirbagheri, S. A., Biglarijoo, N., & Nejad, M. K. (2014). Pilot plant studies for the removal of heavy metals from industrial wastewater using adsorbents. Turkish Journal of Engineering and Environmental Sciences 38(2), 159-166.
[9] Mirbagheri, S.A., Biglarijoo, N., Ahmadi, S., Razmara, P., & Yazdan Doost. A. (2016). Removing Fe, Zn and Mn from steel making plant wastewater using RO and NF membranes. Iranian Journal of Health Sciences 4(4), 41-55
[10] Biglarijoo, N., Mirbagheri, S.A., Ehteshami, M., & Ghaznavi, S.M. (2016). Optimization of Fenton process using response surface methodology and analytic hierarchy process for landfill leachate treatment.  Process Safety and Environmental Protection 104 (Part A), 150-160.
[11] Mirbagheri, S.A., Ahmadi, S., & Biglarijoo, N. (2016). Denitrification of nitrate-contaminated groundwater in an anoxic rotating biological contactor: a case study. Desalination and Water Treatment 57 (10), 4694-4700.
[12] Iorhemen, O.T., Hamza, R.A., & Tay, J.H. (2016). Membrane bioreactor (MBR) technology for wastewater treatment and reclamation: Membrane fouling. Membranes 6, 33.
[13] Valikhan Anaraki, M., Farzin, S., Ahmadianfar, I., & Shams, A. (2024). Development of a novel discharge routing method based on the large discharge dataset, Muskingum model, optimization methods, and multi-criteria decision making. Journal of Soft Computing in Civil Engineering 8(4), 54–93.
[14] Mirbagheri, S.A., Biglarijoo, N., & Ahmadi, S. (2013). Efficinecy of two types of activated carbon columns to treat industrial wastewater: A case study. International Journal of Geology 7(3), 88-93. 
[15] Cai, Y., Li, X., Zaidi, A.A., Shi, Y., Zhang, K., Sun, P., & Lu, Z. (2019). Processing efficiency, simulation and enzyme activities analysis of an air-lift multilevel circulation membrane bioreactor (AMCMBR) on marine domestic sewage treatment. Periodica Polytechnica Chemical Engineering 63, 448–458.
[16] Chen, Y., Yu, G., Long, Y., Teng, J., You, X., Liao, B.Q., & Lin, H. (2019). Application of radial basis function artificial neural network to quantify interfacial energies related to membrane fouling in a membrane bioreactor. Bioresource Technology 293, 122103.
[17] Malviya, A., & Jaspal, D. (2021). Artificial intelligence as an upcoming technology in wastewater treatment: a comprehensive review. Environmental Technology Reviews 10(1), 177-187.
[18] Safeer, S., Pandey, R. P., Rehman, B., Safdar, T., Ahmad, I., Hasan, S. W., & Ullah, A. (2022). A review of artificial intelligence in water purification and wastewater treatment: Recent advancements. Journal of Water Process Engineering 49, 102974.
[19] Chowdhury, S., & Karanfil, T. (2024). Applications of artificial intelligence (AI) in drinking water treatment processes: Possibilities. Chemosphere 356, 141958
[20] Wang, Y., Cheng, Y., Liu, H., Guo, Q., Dai, C., Zhao, M., & Liu, D. (2023). A review on applications of artificial intelligence in wastewater treatment. Sustainability 15(18), 13557.
[21] Maier, H. R., Morgan, N., & Chow, C. W. (2004). Use of artificial neural networks for predicting optimal alum doses and treated water quality parameters. Environmental Modelling & Software 19(5), 485-494.
[22] Jayaweera, C. D., & Aziz, N. (2021). An efficient neural network model for aiding the coagulation process of water treatment plants. Environment, Development and Sustainability 24(1), 1069-1085.
[23] Zhang, F. (2025). Integration of CFD and machine learning for application in water treatment process modeling: Membrane ozonation process evaluation. Chemometrics and Intelligent Laboratory Systems 257, 105302.
[24] Mobarak-Qamsari, E., Kasra-Kermanshahi, R., Nosrati, M., & Amani, T. (2012). Enzymatic Pre-Hydrolysis of high fat Content Dairy Wastewater as a Pretreatment for Anaerobic Digestion. International Journal of Environmental Research 6(2), 475–480.
[25] Narges, S., Ghorban, A., Hassan, K., & Mohammad, K. (2021). Prediction of the optimal dosage of coagulants in water treatment plants through developing models based on artificial neural network fuzzy inference system (ANFIS). Journal of Environmental Health Science and Engineering 19(2), 1543-1553.
[26] Yamamura, H., Putri, E. U., Kawakami, T., Suzuki, A., Ariesyady, H. D., & Ishii, T. (2020). Dosage optimization of polyaluminum chloride by the application of convolutional neural network to the floc images captured in jar tests. Separation and Purification Technology 237, 116467.
[27] Kim, C. M., & Parnichkun, M. (2017). Prediction of settled water turbidity and optimal coagulant dosage in drinking water treatment plant using a hybrid model of k-means clustering and adaptive neuro-fuzzy inference system. Applied Water Science 7(7), 3885-3902.
[28] Gomes, L. S., Souza, F. A. A., Pontes, R. S. T., Fernandes Neto, T. R., & Araújo, R. A. M. (2015). Coagulant dosage determination in a water treatment plant using dynamic neural network models. International Journal of Computational Intelligence and Applications 14(03), 1550013.
[29] Lamrini, B., & Le Lann, M. V. (2014). A decision support tool for technical processes optimization in drinking water treatment. Desalination and Water Treatment 52 (22-24), 4079-4088.
[30] Zangooei, H., Delnavaz, M., & Asadollahfardi, G. (2016). Prediction of coagulation and flocculation processes using ANN models and fuzzy regression. Water Science and Technology 74(6), 1296-1311.
[31] Kennedy, M. J., Gandomi, A. H., & Miller, C. M. (2015). Coagulation modeling using artificial neural networks to predict both turbidity and DOM-PARAFAC component removal. Journal of Environmental Chemical Engineering 3(4), 2829-2838.
[32] Dharman, S., Chandramouli, V., & Lingireddy, S. (2012). Predicting total organic carbon removal efficiency and coagulation dosage using artificial neural networks. Environmental Engineering Science 29(8), 743-750.
[33] Mälzer, H. J., & Strugholtz, S. (2008). Artificial neural networks for cost optimization of coagulation, sedimentation and filtration in drinking water treatment. Water Science and Technology: Water Supply8(4), 383-388.
[34] Madaeni, S. S., & Kurdian, A. R. (2011). Fuzzy modeling and hybrid genetic algorithm optimization of virus removal from water using microfiltration membrane. Chemical Engineering Research and Design 89(4), 456-470.
[35] Altunkaynak, A., & Chellam, S. (2010). Prediction of specific permeate flux during crossflow microfiltration of polydispersed colloidal suspensions by fuzzy logic models. Desalination 253(1-3), 188-194.
[36] Varank, G., Erkan, H., Yazıcı, S., Demir, A., & Engin, G. (2014). Electrocoagulation of tannery wastewater using monopolar electrodes: Process optimization by response surface methodology. International Journal of Environmental Research 8(1), 165–180.
[37] Delgrange, N., Cabassud, C., Cabassud, M., Durand-Bourlier, L., & Laine, J. M. (1998). Neural networks for prediction of ultrafiltration transmembrane pressure–application to drinking water production. Journal of membrane science 150(1), 111-123.
[38] Baxter, C. W., Zhang, Q., Stanley, S. J., Shariff, R., Tupas, R. R., & Stark, H. L. (2001). Drinking water quality and treatment: the use of artificial neural networks. Canadian Journal of civil engineering 28(S1), 26-35.
[39] Park, S., Baek, S. S., Pyo, J., Pachepsky, Y., Park, J., & Cho, K. H. (2019). Deep neural networks for modeling fouling growth and flux decline during NF/RO membrane filtration. Journal of Membrane Science 587, 117164.
[40] Yazdandoost, Z., & Zonoozi, M. H. (2025). Treatment of oil-water emulsion through coagulation-flocculation and sedimentation using waterworks sludge as a green agent. Journal of Environmental Chemical Engineering 13(3), 116548.
[41] Gonzales, R. R., Nakagawa, K., Hasegawa, S., Kumagai, K., Matsuoka, A., Okamoto, Y., & Matsuyama, H. (2025). Treatment of high-strength wastewater with coupled flocculation and membrane filtration prior to ammoniacal nitrogen enrichment by osmotically assisted reverse osmosis. Separation and Purification Technology 352, 128159.
[42] Genuer, R., Poggi, J. M., & Tuleau-Malot, C. (2010). Variable selection using random forests. Pattern recognition letters 31(14), 2225-2236.
[43] Kulkarni, P., & Chellam, S. (2010). Disinfection by-product formation following chlorination of drinking water: artificial neural network models and changes in speciation with treatment. Science of the Total Environment 408(19), 4202-4210.
[44] Milot, J., Rodriguez, M. J., & Serodes, J. B. (2000). Modeling the susceptibility of drinking water utilities to form high concentrations of trihalomethanes. Journal of environmental management 60(2), 155-171.
[45] Singh, N.K., Yadav, M., Singh, V., Padhiyar, H., Kumar, V., Bhatia, S.K., & Show, P.L. (2023). Artificial intelligence and machine learning based monitoring and design of biological wastewater treatment systems. Bioresource Technology 369, 128486.
[46] Emaminejad, S.A., Morgan, V.L., Kumar, K., Kavathekar, A., Ragush, C., Shuai,W., Jia, Z., Huffaker, R., Wells, G., & Cusick, R.D. (2022). Statistical and microbial analysis of bio-electrochemical sensors used for carbon monitoring at water resource recovery facilities. Environmental science: water research and technology 8, 2052–2064.
[47] Yang, Y.; Kim, K.R., Kou, R., Li, Y., Fu, J., Zhao, L., & Liu, H. (2021). Prediction of effluent quality in a wastewater treatment plant by dynamic neural network modeling. Process Safety & Environmental Protection  158, 515–524.
[48] Mustafa, H.M., Mustapha, A., Hayder, G., & Salisu, A. (2021). Applications of IoT and artificial intelligence in water quality monitoring and prediction: a review. In proceedings of the 6th international conference on inventive computation technologies (ICICT), Coimbatore, India, 968–975.
[50] Kamali, M., Appels, L., Yu, X., Aminabhavi, T.M., & Dewil, R. (2021). Artificial intelligence as a sustainable tool in wastewater treatment using membrane bioreactors. Chemical Engineering Journal 417, 128070.
[51] Bagheri, M., Al-jaberi, K., Wunsch, D.C., & Burken, J.G. (2019). A deeper look at plant uptake of environmental contaminants using intelligent approaches. Science of the Total Environment 652, 561-569.
[52] Iorhemen, O.T., Hamza, R.A., & Tay, J.H. (2016). Membrane bioreactor (MBR) technology for wastewater treatment and reclamation: Membrane fouling. Membranes 6, 33.
[53] Bein, E., Zucker, I., Drewes, J.E., & Huebner, U. (2021). Ozone membrane contactors for water and wastewater treatment: A critical review on materials selection, mass transfer and process design. Chemical Engineering Journal 413, 127393.
[54] Woo, T.Y., Nam, K.J., Heo, S.K., Lim, J.Y., Kim, S.Y., & Yoo, C.Y. (2022). Predictive maintenance system for membrane replacement time detection using AI-based functional profile monitoring: Application to a full-scale MBR plant. Journal of Membrane Science 649, 120400
Volume 10, Issue 2
Autumn 2025
Pages 86-101

  • Receive Date 18 November 2025
  • Revise Date 05 January 2026
  • Accept Date 11 February 2026