Issues‎ > ‎vol19n1‎ > ‎

Model of Prediction of Trihalomethanes (THMs) formation in chlorinated water in water treatment plant using Artificial Neural Network

Khairi Ali Omar

Department of Water Resources Engineering, College of Engineering, Duhok-Kurdistan Region / Iraq



This study focuses on validity of modeling of trihalomethane formation using artificial neural network with a feed-forward back-propagation neural network approach and graphical user interface function of MATLAB at a water treatment plant. Regularly measured parameters, which are conducted by Uyak et al., 2005, consisting of pH, total organic carbon, temperature and applied chlorine dose were utilized to implement the model for forecasting of trihalomethane formation. Attempting to investigate and compare with the use of traditional multiple linear regressions. The default Levenberg-Marquardt algorithm was used for training the network structures. It is noted that the best validation performance depending on the mean square error was 62.8539 at epoch 49. The simulated result tracked the measured data through a regression plot with a correlation coefficient of 0.95842, 0.94717 and 0.93369 for training, validation and test respectively. With respect to simulated testing the model demonstrates great performance in predicting the trihalomethane formation in chlorinated water. It is concluded that the artificial neural network generally is better than the multiple linear regression for forecasting trihalomethane formation.

Key Words:
Disinfection-By Product, Trihalomethane,
Artificial Neural Network,
Graphical User Interface, Modeling, Water Treatment


[1] Abdulla, M. Y. "Formation, modeling and validation of trihalomethanes (THM) in Malaysian drinking water: a case study in the districts of Tampin, Negeri Sembilan and Sabak Bernam, Selangor, Malaysia. Water Reaserch, Vol. 37, 4637-4644. (2003).

[2] Agency, U. S. "Fedrelal Register. 67. Al-Suhili, R.H. and Karim, R.A. (2015) ‘Daily inflow forecasting for Dukan reservoir in Iraq using artificial neural networks", Int. J. Water, Vol. 9, No. 2, pp.194–208. (2002).

[3] Bellar, T. L. "The Occurence of Organohalides in Chlorinated Drinking Water". American Water Works Associations, Vol. 66, pp. 703-706. (1974).

[4] Cantor, K. H. "Bladder cancer, drinking water source, and tap water consumption: a case-control study". Journal of National Cancer Institiute, Vol. 79, pp. 1269-1279. (1987).

[5] Chowdhury, Z. A. "Modelling disinfection by-product formation, in: Formation and Control of Disinfection By-products in Drinking Water". American Water Work Associations. (1999).

[6] EECD. "Amended proposal for a Council Directive concerning the quality of water intended for human consumption common position. In: Proc. Council of the European Union, Directive 80/778/EEC, Com (97) 228, Final 95/0010 SYN, Brussels. (1997).

[7] Elshorbagy, W. Q. "Simulation of THM species in water distribution systems". Water Reaserch, Vol. 34, pp. 3431-3439. (2000).

[8] EPA, US. "National Primary Drinking Water Regulations: Disinfectants and Disinfection Byproducts", Final Rule,. 40 CGR Part 9, pp. 141-142. (1998).

[9] EPA, US.. Federal Register. 67. (2002)

[10] Gallard, H. A. "Chlorination of natural organic matter: kinetics of chlorination and of THM formation". Water Reaserch, Vol. 36, pp. 65-74. (2002).

[11] Golfinopoulos, S. "Use of a multiple regression model for predicting trihalomethane formation". Water Reaserch, Vol. 32, pp. 2821-2829. (1998).

[12] Golfinopoulos, S. A. "Quantitative assessment of trihalomethane formation using simulations of reaction kinetics". Water Reaserch, Vol. 36, pp. 2856-2868. (2002).

[13] Govindaraju, R. A. "Artificial Neural Networks in Hydrology". Boston, USA: Kluwer Academic Publishers. (2000).

[14] Hammerstrom, D. "Neural networks at work". IEEE Spectrum, pp. 26-32. (1993).

[15] Hashem, M. A. "Using artificial neural network model as a new technique for simulating residual chlorine". Journal of Engineering Sciences, Vol. 33, pp. 735-743. (2005).

[16] Hashem, M. A. "Artificial Neural Networks as Alternative Approach for Perdicting Trihalomethane Formation in Chlorinated Waters". Eleventh International Water Technology Conference, IWTC11 2007 Sharm El-Sheikh, (pp. 703-710). Egypt. (2007).

[17] Heller, M. A. "Forecasting with cascade correlation: an application to potable water demand" . ANNIE, pp 1150-1160. (1994).

[18] Haykin, S. "Neural Networks: A Comprehensive Foundation". Prentice-Hall, New Jersey, 842 pp. (1999).

[19] Joo, D. C. "Determination of optimal coagulant dosing rate using an artificial neural network". Wat. Suppl.: Res. & Technol., Vol. 49, pp. 49-55. (2000).

[20] Maier, H. A. "Neural networks for the prediction and forecasting of water resources variables: a review of modeling issues and application". Environmetal Modelling & Software, Vol. 15, pp. 101-124. (2000).

[21] MathWorks, Inc. 2010a. "MATLAB". 3 Apple Hill Drive, Natick, MA, USA.

[22] McGeehin, M. "Case-control study of bladder cancer and water disinfection methods in Colorado". American Journal of Epidemiology, Vol. 138, pp. 492-501. (1993).

[23] Menard, S. "Applied logistic regression analysis". Quantitative Appl. Social Sci., 7-106. (1995).

[24] Milot, J. R. "Modelling the susceptibility of drinking water utilities to form high concentrations of trihalomethanes". Environmental Management, Vol. 60, pp. 155-171. (2000).

[25] Neter, J. W. "Applied linear statistical models". 3rd edition. Irwin: Homewood, IL. (1990).

[26] Rodriguez, M. "Trihalomethanes in drinking water of greater Quebec region (Canada): occurrence, variations and modelling". Environmental Monitoring Assessment, Vol. 89, pp. 69-93. (2003).

[27] Rodriguez, M. M. "Predicting trihalomethane formation in chlorinated waters using multivariate regression and neural networks". Wat. Suppl.: Res. & Technol., Vol. 52, pp. 199-215. (2003).

[28] Rook, J. "Formation of haloforms during chlorination of natural waters". Water Treatment Exam, Vol. 23, pp. 234-243. (1974).

[29] Rumelhart, D. W. "The basic idea of neural networks". Communications of the ACM, Vol. 37, pp. 87-92. (1994).

[30] Saeed, R. A. and George, L. E. "Apply Pruning Algorithm for Optimizing Feed Forward Neural Networks for Crack Identifications in Francis Turbine Runner". International Journal of Soft Computing and Engineering (IJSCE), Vol. 2, No. 4. (2012).

[31] Sohn, J. "Monitoring and modeling of disinfection by-products (DBPs)". Environmetal Monitoring Assessment, Vol. 70, pp. 211-222. (2001).

[32] Uyak, V. T. "Monitoring and modeling of trihalomethanes (THMs) for a water treatment plant in Istanbul". Desalination, Vol. 176 , pp. 91-101. (2005).

[33] White, G. C. "Handbook of Chlorination and Alternative Disinfections", 3rd ed. New York: Van Nostrand Reinhold, (1992).

[3'] ZHAO, Y and et al "Water quality forecast through application of BP neural network at Yuqiao reservoir". Journal of Zhejiang University SCIENCE A, Vol. 8, No. 9, pp. 1482-1487. (2007).