Algorithm for predicting water quality indicators in water bodies using a neural network

UDC: 
614.878.086
Authors: 

M.A. Shiryaeva1,2, O.O. Sinitsyna1, M.V. Pushkareva1, V.V. Turbinsky1

Organization: 

1F.F. Erisman Federal Scientific Center of Hygiene, 2 Semashko St., Mytishchi, Moscow region, 141014, Russian Federation
2Russian State Agrarian University – Moscow Timiryazev Agricultural Academy, 49 Timiryazeva St., Moscow, 127550, Russian Federation

Abstract: 

Clean and safe drinking water is a fundamental necessity for human health and well-being and a critical component in sustainable ecosystem development. In recent decades, water quality issues have become even more urgent due to population growth, industrial expansion and climate change.

A series of works by foreign researchers report results obtained by applying neural networks. There are studies confirming results of water quality prediction generated by neural networks to be quite valid.

In this research, we used Google Earth Pro, Microsoft Excel, water flow sensor based on Arduino UNO board with author's modification (tail feathering and built-in plugin for calculation of flow velocity), Python, Tensorflows keras2.2.0, Scikit-learn, Pandas libraries for machine learning and development of neural network architecture. In this study, two ANNs were combined to build a hybrid neural network model for predicting water quality indicators.

Neural network models offer unique opportunities to improve water resources management at various levels, ranging from local to global one. A key advantage of such models is a possibility to adapt them to specific conditions and requirements, which provides more accurate prediction and timely decision making under uncertainty. The relevance of the work is determined by application of neural networks for water quality prediction. This can improve systems for early warning about pollution, help optimize operational processes at water treatment plants and develop effective water management strategies.

In this research, an innovative hybrid neural network model has been developed for predicting water quality indicators. It is based on integrating deep convolutional neural network and bidirectional recurrent neural network, which consists of three functional parts.

Keywords: 
neural network, Tensorflows keras2.2.0, water bodies, drinking water, risk factor, negative impact, water pollution, determination coefficient, optimization algorithm
Shiryaeva M.A., Sinitsyna O.O., Pushkareva M.V., Turbinsky V.V. Algorithm for predicting water quality indicators in water bodies using a neural network. Health Risk Analysis, 2024, no. 4, pp. 50–62. DOI: 10.21668/health.risk/2024.4.05.eng
References: 
  1. Liao Z., Wang X., Zhang Y., Qing H., Li C., Liu Q., Cai J., Wei C. An integrated simulation framework for NDVI pattern variations with dual society-nature drives: A case study in Baiyangdian Wetland, North China. Ecological Indicators, 2024, vol. 158, pp. 111584. DOI: 10.1016/j.ecolind.2024.111584
  2. Karpenko N.P., Glazunova I.V., Shiryaeva M.A. Analysis of geo ecological problems and assessment of the availabi¬lity of drinking water in the Klinsky district of the Moscow region. Prirodoobustroistvo, 2023, no. 5, pp. 88–94. DOI: 10.26897/1997-6011-2023-5-88-94 (in Russian).
  3. Shivam K., Tzou J.-C., Wu S.-C. Multi-step short-term wind speed prediction using a residual dilated causal convolu-tional network with nonlinear attention. Energies, 2020, vol. 13, no. 7, pp. 1772. DOI: 10.3390/en13071772
  4. Wu G.-D., Lo S.-L. Predicting real-time coagulant dosage in water treatment by artificial neural networks and adaptive network-based fuzzy inference system. Engineering Applications of Artificial Intelligence, 2008, vol. 21, no. 8, pp. 1189–1195. DOI: 10.1016/j.engappai.2008.03.015
  5. Ho J.Y., Afan H.A., El-Shafie A.H., Koting S.B., Mohd N.S., Jaafar W.Z.B., Hin L.S., Malek M.A. [et al.]. Towards a time and cost effective approach to water quality index class prediction. Journal of Hydrology, 2019, vol. 575, pp. 148–165. DOI: 10.1016/j.jhydrol.2019.05.016
  6. Juwana I., Muttil N., Perera B.J.C. Uncertainty and sensitivity analysis of West Java Water Sustainability Index – A case study on Citarum catchment in Indonesia. Ecological indicators, 2016, vol. 61, pp. 170–178. DOI: 10.1016/j.ecolind.2015.08.034
  7. Rosenthal O.M., Fedotov V.Kh. Identification of water polluting enterprises based on neural network analysis. Priro-doobustroistvo, 2023, no. 1, pp. 62–68. DOI: 10.2689711997-6011-2023-1-62-68 (in Russian).
  8. Shamsutdinova T.M. Application of Neural Network Modeling in Problems of Predicting the Level of River Floods. Vestnik Novosibirskogo gosudarstvennogo universiteta. Seriya: Informatsionnye tekhnologii, 2023, vol. 21, no. 2, pp. 39–50. DOI: 10.25205/1818-7900-2023-21-239-50 (in Russian).
  9. Shitikov V.K., Zinchenko T.D., Golovatiyuk L.V. Methods of neural networks for estimation of superficial waters quality by usage of hydrobiological exponents. Izvestiya Samarskogo nauchnogo tsentra Rossiiskoi akademii nauk, 2002, vol. 4, no. 2, pp. 280–289 (in Russian).
  10. Ratkovich L.D., Markin V.N., Glazunova I.V. Voprosy ratsional'nogo ispol'zovaniya vodnykh resursov i proektnogo obosnovaniya vodokhozyaistvennykh sistem: monografiya [Issues of rational use of water resources and design substantiation of water management systems: a monograph]. Moscow, K.A. Timiryazev Russian State Agrarian University – K.A. Timiryazev MSHA, 2013, 256 p. (in Russian).
  11. Karpenko N.P., Lomakin I.M., Drozdov V.S. Management issues of geoenvironmental risks in the assessment of groundwater quality in urban areas. Prirodoobustroistvo, 2019, no. 5, pp. 106–111. DOI: 10.34677/1997-6011/2019-5-106-111 (in Russian).
  12. Litvinova A.A., Dement’yev A.A., Lyapkalo A.A., Korshunova E.P. Comparative Characteristics of Quality Parameters of Waters of the Oka River in Places of Water Intake of Utility and Drinking Water System in Ryazan. Rossiiskii mediko-biologicheskii vestnik imeni akademika I.P. Pavlova, 2022, vol. 30, no. 4, pp. 481–488. DOI: 10.17816/PAVL0VJ89568 (in Russian).
  13. Zholdakova Z.I., Sinitsyna O.O., Turbinsky V.V. About adjustment of requirements to zones of sanitary protection of sources of the centralized economic and drinking water supply of the population. Gigiena i sanitariya, 2021, vol. 100, no. 11, pp. 1192–1197. DOI: 10.47470/0016-9900-2021-100-11-1192-1197 (in Russian).
  14. Karpenko N.P., Shiryaeva M.A. Three-dimensional modeling as a system for displaying total chemical soil pollution. Prirodoobustroistvo, 2021, no. 1, pp. 6–14. DOI: 10.26897/1997-6011-2021-1-6-14 (in Russian).
  15. Lagutina N.V., Novikov A.V., Sumarukova O.V., Naumenko N.O. Assessment of the water quality of the Rybinsk reservoir as a result of the water level lowering. Prirodoobustroistvo, 2019, no. 2, pp. 122–125. DOI: 10.34677/1997-6011/2019-2-122-126 (in Russian).
  16. Naumenko N.O. Vvedenie ratsional'nogo normirovaniya na ob"emy sbrosov zagryaznyayushchikh veshchestv v vod-nye ob"ekty s tsel'yu podderzhaniya ustoichivosti ekosistemy [Introduction of rational rationing of the volume of pollutant dis-charges into water bodies in order to maintain sustainability of an ecosystem]. Sovremennye problemy i perspektivy razvitiya rybokhozyaistvennogo kompleksa: materialy VII nauchno-prakticheskoi konferentsii molodykh uchenykh s mezhdunarodnym uchastiem. Moscow, Russian Federal Research Institute of Fisheries and Oceanography Publ., 2019, pp. 344–346 (in Russian).
  17. Liu H., Zhang F., Tan Y., Huang L., Li Y., Huang G., Luo S., Zeng A. Multi-scale quaternion CNN and BiGRU with cross self-attention feature fusion for fault diagnosis of bearing. Meas. Sci. Technol., 2024, vol. 35, no. 8, pp. 086138. DOI: 10.1088/1361-6501/ad4c8e
  18. Jiang Y., Li C., Sun L., Guo D., Zhang Y., Wang W. A deep learning algorithm for multi-source data fusion to predict water quality of urban sewer networks. Journal of Cleaner Production, 2021, vol. 318, pp. 128533. DOI: 10.1016/j.jclepro.2021.128533
  19. Veerendra G.T.N., Kumaravel B., Kodanda Rama Rao P., Dey S., Phani Manoj A.V. Forecasting models for surface water quality using predictive analytics. Environment, Development and Sustainability, 2024, vol. 26, no. 6, pp. 15931–15951. DOI: 10.1007/s10668-023-03280-3
  20. Chen X., Jiang Z., Cheng H., Zheng H., Cai D., Feng Y. A novel global average temperature prediction model – based on GM-ARIMA combination model. Earth Science Informatics, 2023, vol. 17, no. 1, pp. 853–866. DOI: 10.1007/s12145-023-01179-1
  21. Jiao G., Chen S., Wang F., Wang Z., Wang F., Li H., Zhang F., Cai J., Jin J. Water quality evaluation and prediction based on a combined model. Appl. Sci., 2023, vol. 13, no. 3, pp. 1286. DOI: 10.3390/app13031286
  22. da Silva A.C., das Graças Braga da Silva F., de Mello Valério V.E., Lima Silva A.T.Y., Marques S.M., Tosta dos Reis J.A. Application of data prediction models in a real water supply network: comparison between arima and artificial neural net-works. Revista Brasileira de Recursos Hídricos, 2024, vol. 29, pp. e12. DOI: 10.1590/2318-0331.292420230057
  23. Deng T., Chau K.-W., Duan H.-F. Machine learning based marine water quality prediction for coastal hydro-environment management. J. Environ. Manage., 2021, vol. 284, pp. 112051. DOI: 10.1016/j.jenvman.2021.112051
  24. Lu X., Dong Y., Liu Q., Zhu H., Xu X., Liu J., Wang Y. Simulation on TN and TP distribution of sediment in Liaohe estuary national wetland park using mike21-coupling model. Water, 2023, vol. 15, no. 15, pp. 2727. DOI: 10.3390/w15152727
  25. Kim J., Seo D., Jang M., Kim J. Augmentation of limited input data using an artificial neural network method to improve the accuracy of water quality modeling in a large lake. Journal of Hydrology, 2021, vol. 602, no. 4, pp. 126817. DOI: 10.1016/j.jhydrol.2021.126817
  26. Wongburi P., Park J.K. Prediction of Wastewater Treatment Plant Effluent Water Quality Using Recurrent Neural Network (RNN) Models. Water, 2023, vol. 15, no. 19, pp. 3325. DOI: 10.3390/w15193325
  27. Jaya N.A., Arsyad M., Palloan P. Estimation of Groundwater River Availability in Leang Lonrong Cave Using ARI-MA Model and Econophysics Valuation Approach. Advances in Social Humanities Research, 2024, vol. 2, no. 5, pp. 737–754. DOI: 10.46799/adv.v2i5.240
  28. Tiyasha, Tung T.M., Yaseen Z.M. Deep learning for prediction of water quality index classification: tropical catchment environmental assessment. Natural Resources Research, 2021, vol. 30, no. 6, pp. 4235–4254. DOI: 10.1007/s11053-021-09922-5
Received: 
22.07.2024
Approved: 
29.11.2024
Accepted for publication: 
19.12.2024

You are here