Development of Water Quality Analysis for Anomaly Detection and Correlation with Case Studies in Water Supply Systems
Abstract
:1. Introduction
2. Materials and Methods
2.1. Site Description and Data Collection
2.2. Water Quality Parameters
2.3. Application of STL Decomposition for Water Quality Analysis
2.4. Anomalies Detection in Water Supply Systems
3. Results
3.1. Temporal Variation in Water Quality Across Monitoring Stations
3.2. Decomposition of Water Quality Trends Using STL Analysis
3.3. Anomaly Detection in Water Quality Parameters
4. Discussion
5. Conclusions
Supplementary Materials
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- World Health Organization. Surveillance and Outbreak Management of Water-Related Infectious Diseases Associated with Water-Supply Systems; World Health Organization: Belgrade, Serbia, 2019. [Google Scholar]
- Hanna-Attisha, M.; LaChance, J.; Sadler, R.C.; Champney Schnepp, A. Elevated Blood Lead Levels in Children Associated With the Flint Drinking Water Crisis: A Spatial Analysis of Risk and Public Health Response. Am. J. Public Health 2016, 106, 283–290. [Google Scholar] [CrossRef] [PubMed]
- Huang, Z.; Liu, C.; Zhao, X.; Dong, J.; Zheng, B. Risk assessment of heavy metals in the surface sediment at the drinking water source of the Xiangjiang River in South China. Environ. Sci. Eur. 2020, 32, 23. [Google Scholar] [CrossRef]
- Jalal, D.; Ezzedine, T. Decision Tree and Support Vector Machine for Anomaly Detection in Water Distribution Networks. In Proceedings of the 2020 International Wireless Communications and Mobile Computing (IWCMC), Limassol, Cyprus, 15–19 June 2020; IEEE: New York, NY, USA, 2020; pp. 1320–1323. [Google Scholar] [CrossRef]
- Mabunda, N.; Ramotsoela, D.T.; Abu-Mahfouz, A.M. Intrusion Detection in Water Distribution Systems Using Machine Learning Techniques. In Proceedings of the 2022 International Conference on Artificial Intelligence of Things (ICAIoT), Istanbul, Turkey, 29–30 December 2022; IEEE: New York, NY, USA, 2022; pp. 1–6. [Google Scholar] [CrossRef]
- Mazzoni, F.; Marsili, V.; Alvisi, S.; Franchini, M. Detection and pre-localization of anomalous consumption events in water distribution networks through automated, pressure-based methodology. Water Resour. Ind. 2024, 31, 100255. [Google Scholar] [CrossRef]
- Celik, M.; Dadaser-Celik, F.; Dokuz, A.S. Anomaly detection in temperature data using DBSCAN algorithm. In Proceedings of the 2011 International Symposium on Innovations in Intelligent Systems and Applications, Istanbul, Turkey, 15–18 June 2011; IEEE: New York, NY, USA, 2011; pp. 91–95. [Google Scholar] [CrossRef]
- Jain, P.; Shankar Bajpai, M.; Pamula, R. A Modified DBSCAN Algorithm for Anomaly Detection in Time-series Data with Seasonality. Int. Arab. J. Inf. Technol. 2022, 19, 23–28. [Google Scholar] [CrossRef] [PubMed]
- Chinnakkaruppan, K.; Krishnamoorthy, K.; Agniraj, S. A Hybrid Approach for Forecasting the Technical Anomalies in Sensor-based Water Quality Distribution Data. In Proceedings of the 2023 International Conference on Power, Instrumentation, Energy and Control (PIECON), Aligarh, India, 10–12 February 2023; IEEE: New York, NY, USA, 2023; pp. 1–5. [Google Scholar] [CrossRef]
- Ajayi, V. A Review on Primary Sources of Data and Secondary Sources of Data. Eur. J. Educ. Pedagog. 2023, 2, 1–6. [Google Scholar]
- Cleveland, R.B.; Cleveland, W.S.; Mcrae, J.E.; Terpenning, I. STL: A Seasonal-Trend Decomposition Procedure Based on LOESS. J. Off. Stat. 1990, 6, 3–73. [Google Scholar]
- Deng, C.; Liu, L.; Li, H.; Peng, D.; Wu, Y.; Xia, H.; Zhang, Z.; Zhu, Q. A data-driven framework for spatiotemporal characteristics, complexity dynamics, and environmental risk evaluation of river water quality. Sci. Total Environ. 2021, 785, 147134. [Google Scholar] [CrossRef] [PubMed]
- Wang, L.; Dong, H.; Cao, Y.; Hou, D.; Zhang, G. Real-time water quality detection based on fluctuation feature analysis with the LSTM model. J. Hydroinform. 2023, 25, 140–149. [Google Scholar] [CrossRef]
- Ester, M.; Kriegel, H.-P.; Sander, J.; Xu, X. A density-based algorithm for discovering clusters in large spatial databases with noise. In Proceedings of the Second International Conference on Knowledge Discovery and Data Mining, Portland, OR, USA, 2–4 August 1996; KDD’96. AAAI Press: Washington, DC, USA, 1996; pp. 226–231. [Google Scholar]
- Ghamkhar, H.; Jalili Ghazizadeh, M.; Mohajeri, S.H.; Moslehi, I.; Yousefi-Khoshqalb, E. An unsupervised method to exploit low-resolution water meter data for detecting end-users with abnormal consumption: Employing the DBSCAN and time series complexity. Sustain. Cities Soc. 2023, 94, 104516. [Google Scholar] [CrossRef]
- Zhang, S.; Tian, Y.; Guo, Y.; Shan, J.; Liu, R. Manganese release from corrosion products of cast iron pipes in drinking water distribution systems: Effect of water temperature, pH, alkalinity, SO42− concentration and disinfectants. Chemosphere 2021, 262, 127904. [Google Scholar] [CrossRef] [PubMed]
- Juncosa, R.; Cereijo, J.L.; Vázquez, R. Physicochemical Parameters in the Generation of Turbidity Episodes in a Water Supply Distribution System. Water 2022, 14, 3383. [Google Scholar] [CrossRef]
- Xin, C.; Khu, S.-T.; Wang, T.; Zuo, X.; Zhang, Y. Effect of flow fluctuation on water pollution in drinking water distribution systems. Environ. Res. 2024, 246, 118142. [Google Scholar] [CrossRef] [PubMed]
- Asenbaum, A.; Pruner, C.; Kabelka, H.; Philipp, A.; Wilhelm, E.; Spendlingwimmer, R.; Gebauer, A.; Buchner, R. Influence of various commercial water treatment processes on the electric conductivity of several drinking waters. J. Mol. Liq. 2011, 160, 144–149. [Google Scholar] [CrossRef]
- Blokker, E.J.M.; Schaap, P.G. Particle Accumulation Rate of Drinking Water Distribution Systems Determined by Incoming Turbidity. Procedia Eng. 2015, 119, 290–298. [Google Scholar] [CrossRef]
- Palma, L.; Hatam, F.; Di Nardo, A.; Prévost, M. Contaminations in water distribution systems: A critical review of detection and response methods. AQUA Water Infrastruct. Ecosyst. Soc. 2024, 73, 1285–1302. [Google Scholar] [CrossRef]
- Tian, Y.; Wei, L.; Yu, T.; Shen, H.; Zhao, W.; Chu, X. Adsorption of Cr(VI) and Cr(III) on layered pipe scales and the effects of disinfectants in drinking water distribution systems. J. Hazard. Mater. 2024, 474, 134745. [Google Scholar] [CrossRef]
- Furst, K.E.; Graham, K.E.; Weisman, R.J.; Adusei, K.B. It’s getting hot in here: Effects of heat on temperature, disinfection, and opportunistic pathogens in drinking water distribution systems. Water Res. 2024, 260, 121913. [Google Scholar] [CrossRef]
- Lancioni, N.; Parlapiano, M.; Sgroi, M.; Giorgi, L.; Fusi, V.; Darvini, G.; Soldini, L.; Szeląg, B.; Eusebi, A.L.; Fatone, F. Polyethylene pipes exposed to chlorine dioxide in drinking water supply system: A critical review of degradation mechanisms and accelerated aging methods. Water Res. 2023, 238, 120030. [Google Scholar] [CrossRef] [PubMed]
Water Quality Parameters | Descriptions |
---|---|
Residual chlorine | A decrease in chlorine level means the regrowth of biological organisms within water distribution systems. |
pH | The pH level can change when acidic or alkaline agents enter the water supply system, with the extent of this change being inversely proportional to the water’s buffering capacity. |
Electrical conductivity | Electrical conductivity is generally used as an indicator for dissolved solids. Some chemical pollutants entering the water distribution system can elevate electrical conductivity. |
Temperature | Temperature can influence the rate of chemical reaction, making it an important factor for substances entering the water distribution system. The variation in temperature may indicate the external fluids entering the water distribution system. |
Turbidity | Sudden increases in turbidity may indicate the entry of pollutants into the water supply systems. |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Hanifa, R.; Cha, M.; Kang, W.; Yu, J.; Kim, K.-J.; Yun, Y.-M.; Kim, S. Development of Water Quality Analysis for Anomaly Detection and Correlation with Case Studies in Water Supply Systems. Electronics 2025, 14, 1933. https://doi.org/10.3390/electronics14101933
Hanifa R, Cha M, Kang W, Yu J, Kim K-J, Yun Y-M, Kim S. Development of Water Quality Analysis for Anomaly Detection and Correlation with Case Studies in Water Supply Systems. Electronics. 2025; 14(10):1933. https://doi.org/10.3390/electronics14101933
Chicago/Turabian StyleHanifa, Rahmania, Mina Cha, Woochul Kang, Jungwon Yu, Kwang-Ju Kim, Yeo-Myeong Yun, and Seongyun Kim. 2025. "Development of Water Quality Analysis for Anomaly Detection and Correlation with Case Studies in Water Supply Systems" Electronics 14, no. 10: 1933. https://doi.org/10.3390/electronics14101933
APA StyleHanifa, R., Cha, M., Kang, W., Yu, J., Kim, K.-J., Yun, Y.-M., & Kim, S. (2025). Development of Water Quality Analysis for Anomaly Detection and Correlation with Case Studies in Water Supply Systems. Electronics, 14(10), 1933. https://doi.org/10.3390/electronics14101933