1
|
Mohseni U, Pande CB, Chandra Pal S, Alshehri F. Prediction of weighted arithmetic water quality index for urban water quality using ensemble machine learning model. CHEMOSPHERE 2024; 352:141393. [PMID: 38325619 DOI: 10.1016/j.chemosphere.2024.141393] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Subscribe] [Scholar Register] [Received: 10/03/2023] [Revised: 01/29/2024] [Accepted: 02/04/2024] [Indexed: 02/09/2024]
Abstract
Urban water quality index (WQI) is an important factor for assessment quality of groundwater in the urban and rural area. In this research, the Weighted Arithmetic Water Quality Index (WA-WQI) was estimated for understanding the groundwater quality. Four machine learning (ML) models were developed including artificial neural network (ANN), support vector machine (SVM), random forest (RF), and extreme gradient boosting (XG-Boost) in addition to multiple linear regression (MLR) for WA-WQI prediction at the Ujjain city of Madhya Pradesh in India. Groundwater quality samples were collected from 54 wards under the urban area, the main eight different physiochemical parameters were selected for WA-WQI prediction. The different input parameters data were analysed and calculated for the relationships of their ability to predict the results of WA-WQI. The ML models performance were calculated using three statistical metrics such as determination coefficient (R2), mean absolute error (MAE), and root mean square error (RMSE). In this research shown the XG-Boost model is better results other than other ML models. The best modelling results over the training phase revealed R2 = 0.969, RMSE = 2.169, MAE = 2.013 and over the testing phase R2 = 0.987, RMSE = 3.273, MAE = 2.727). All the ML models results were validated using receiver operating characteristic (ROC) curve for the best models selection. The results of best model area under curve (AUC) was 0.9048. Hence, XG-Boost model was given the accurate prediction of WA-WQI in the urban area. Based on the graphical presentation evaluation, XG-Boost model showed similar results of superiority. The obtained modelling results emphasis the utility of computer aid models for better planning and essential information for decision-makers, and water experts. The implement agency can adopt the procedures of water quality to decrease pollution and safe and healthy water provide to entire Ujjain city.
Collapse
Affiliation(s)
- Usman Mohseni
- Civil Engineering Department, Indian Institute of Technology Roorkee, Roorkee, 247667, Uttarakhand, India
| | - Chaitanya B Pande
- Indian Institute of Tropical Meteorology, Pune, 411008, Maharashtra, India; New Era and Development in Civil Engineering Research Group, Scientific Research Center, Al-Ayen University, Thi-Qar, Nasiriyah, 64001, Iraq; Abdullah Alrushaid Chair for Earth Science Remote Sensing Research, Geology and Geophysics Department, College of Science, King Saud University, Riyadh, 11451, Saudi Arabia.
| | - Subodh Chandra Pal
- Department of Geography, The University of Burdwan, Purba Bardhaman, West Bengal, India
| | - Fahad Alshehri
- Abdullah Alrushaid Chair for Earth Science Remote Sensing Research, Geology and Geophysics Department, College of Science, King Saud University, Riyadh, 11451, Saudi Arabia
| |
Collapse
|
2
|
Li Z, Liu H, Zhang C, Fu G. Gated graph neural networks for identifying contamination sources in water distribution systems. JOURNAL OF ENVIRONMENTAL MANAGEMENT 2024; 351:119806. [PMID: 38118345 DOI: 10.1016/j.jenvman.2023.119806] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Subscribe] [Scholar Register] [Received: 07/17/2023] [Revised: 11/20/2023] [Accepted: 12/06/2023] [Indexed: 12/22/2023]
Abstract
Contamination events in water distribution networks (WDN) pose significant threats to water supply and public health. Rapid and accurate contamination source identification (CSI) can facilitate the development of remedial measures to reduce impacts. Though many machine learning (ML) methods have been proposed for fast detection, there is a critical need for approaches capturing complex spatial dynamics in WDNs to enhance prediction accuracy. This study proposes a gated graph neural network (GGNN) for CSI in the WDN, incorporating both spatiotemporal water quality data and flow directionality between network nodes. Evaluated across various contamination scenarios, the GGNN demonstrates high prediction accuracy even with limited sensor coverage. Notably, directional connections significantly enhance the GGNN CSI accuracy, underscoring the importance of network topology and flow dynamics in ML-based WDN CSI approaches. Specifically, the method achieves a 92.27% accuracy in narrowing the contamination source to 5 points using just 2 h of sensor data. The GGNN showcases resilience under model and measurement uncertainties, reaffirming its potential for real-time implementation in practice. Moreover, our findings highlight the impact of sensor sampling frequency and measurement accuracy on CSI accuracy, offering practical insights for ML methods in water network applications.
Collapse
Affiliation(s)
- Zilin Li
- Department of Hydraulic Engineering, Dalian University of Technology, Dalian, Liaoning, 116024, China
| | - Haixing Liu
- Department of Hydraulic Engineering, Dalian University of Technology, Dalian, Liaoning, 116024, China.
| | - Chi Zhang
- Department of Hydraulic Engineering, Dalian University of Technology, Dalian, Liaoning, 116024, China
| | - Guangtao Fu
- Centre for Water Systems, University of Exeter, Exeter, EX4 4QF, UK
| |
Collapse
|
3
|
Barros DB, Cardoso SM, Oliveira E, Brentan B, Ribeiro L. Using data mining techniques to isolate chemical intrusion in water distribution systems. ENVIRONMENTAL MONITORING AND ASSESSMENT 2022; 194:203. [PMID: 35182211 DOI: 10.1007/s10661-022-09867-z] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Subscribe] [Scholar Register] [Received: 06/10/2021] [Accepted: 02/05/2022] [Indexed: 06/14/2023]
Abstract
The security of water distribution systems has become the subject of an increasing volume of research over the last decade. Data analysis and machine learning are linked to hydraulic and quality modeling for improving the capacity of water utilities to save lives when faced with the contamination of water networks. This research applies k-nearest neighbor and random forest algorithms to estimate the location of contamination sources at near-real time. Epanet and Epanet-MSX software are used to simulate intrusions of pesticide into water distribution system and the interaction with compounds already present in water bulk. Different pesticide concentrations are considered in the simulations, and chlorine monitoring occurs through placed quality sensors. The results show that random forest can localize [Formula: see text] of contamination scenarios, while the KNN algorithm found [Formula: see text]. Finally, an assessment of contamination spread is made for a better understanding of the impacts of non-localized contamination.
Collapse
Affiliation(s)
- Daniel Bezerra Barros
- Hydraulic Engineering and Water Resources Department - School of Engineering, Federal University of Minas Gerais, Belo Horizonte, Brazil.
| | | | - Eva Oliveira
- School of Technology, University of Campinas, Campinas, Brazil
| | - Bruno Brentan
- Hydraulic Engineering and Water Resources Department - School of Engineering, Federal University of Minas Gerais, Belo Horizonte, Brazil
| | | |
Collapse
|
4
|
Editorial: Special Issue "Implementation of Sensors and Artificial Intelligence for Environmental Hazards Assessment in Urban, Agriculture and Forestry Systems". SENSORS 2021; 21:s21196383. [PMID: 34640702 PMCID: PMC8512665 DOI: 10.3390/s21196383] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Track Full Text] [Download PDF] [Subscribe] [Scholar Register] [Received: 09/14/2021] [Accepted: 09/18/2021] [Indexed: 11/17/2022]
|
5
|
Benos L, Tagarakis AC, Dolias G, Berruto R, Kateris D, Bochtis D. Machine Learning in Agriculture: A Comprehensive Updated Review. SENSORS (BASEL, SWITZERLAND) 2021; 21:3758. [PMID: 34071553 PMCID: PMC8198852 DOI: 10.3390/s21113758] [Citation(s) in RCA: 68] [Impact Index Per Article: 22.7] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Download PDF] [Figures] [Subscribe] [Scholar Register] [Received: 04/06/2021] [Revised: 05/21/2021] [Accepted: 05/24/2021] [Indexed: 01/05/2023]
Abstract
The digital transformation of agriculture has evolved various aspects of management into artificial intelligent systems for the sake of making value from the ever-increasing data originated from numerous sources. A subset of artificial intelligence, namely machine learning, has a considerable potential to handle numerous challenges in the establishment of knowledge-based farming systems. The present study aims at shedding light on machine learning in agriculture by thoroughly reviewing the recent scholarly literature based on keywords' combinations of "machine learning" along with "crop management", "water management", "soil management", and "livestock management", and in accordance with PRISMA guidelines. Only journal papers were considered eligible that were published within 2018-2020. The results indicated that this topic pertains to different disciplines that favour convergence research at the international level. Furthermore, crop management was observed to be at the centre of attention. A plethora of machine learning algorithms were used, with those belonging to Artificial Neural Networks being more efficient. In addition, maize and wheat as well as cattle and sheep were the most investigated crops and animals, respectively. Finally, a variety of sensors, attached on satellites and unmanned ground and aerial vehicles, have been utilized as a means of getting reliable input data for the data analyses. It is anticipated that this study will constitute a beneficial guide to all stakeholders towards enhancing awareness of the potential advantages of using machine learning in agriculture and contributing to a more systematic research on this topic.
Collapse
Affiliation(s)
- Lefteris Benos
- Centre of Research and Technology-Hellas (CERTH), Institute for Bio-Economy and Agri-Technology (IBO), 6th km Charilaou-Thermi Rd, GR 57001 Thessaloniki, Greece; (L.B.); (A.C.T.); (G.D.); (D.K.)
| | - Aristotelis C. Tagarakis
- Centre of Research and Technology-Hellas (CERTH), Institute for Bio-Economy and Agri-Technology (IBO), 6th km Charilaou-Thermi Rd, GR 57001 Thessaloniki, Greece; (L.B.); (A.C.T.); (G.D.); (D.K.)
| | - Georgios Dolias
- Centre of Research and Technology-Hellas (CERTH), Institute for Bio-Economy and Agri-Technology (IBO), 6th km Charilaou-Thermi Rd, GR 57001 Thessaloniki, Greece; (L.B.); (A.C.T.); (G.D.); (D.K.)
| | - Remigio Berruto
- Department of Agriculture, Forestry and Food Science (DISAFA), University of Turin, Largo Braccini 2, 10095 Grugliasco, Italy;
| | - Dimitrios Kateris
- Centre of Research and Technology-Hellas (CERTH), Institute for Bio-Economy and Agri-Technology (IBO), 6th km Charilaou-Thermi Rd, GR 57001 Thessaloniki, Greece; (L.B.); (A.C.T.); (G.D.); (D.K.)
| | - Dionysis Bochtis
- Centre of Research and Technology-Hellas (CERTH), Institute for Bio-Economy and Agri-Technology (IBO), 6th km Charilaou-Thermi Rd, GR 57001 Thessaloniki, Greece; (L.B.); (A.C.T.); (G.D.); (D.K.)
- FarmB Digital Agriculture P.C., Doiranis 17, GR 54639 Thessaloniki, Greece
| |
Collapse
|
6
|
Bazargan-Lari MR, Taghipour S, Habibi M. Real-time contamination zoning in water distribution networks for contamination emergencies: a case study. ENVIRONMENTAL MONITORING AND ASSESSMENT 2021; 193:336. [PMID: 33973066 DOI: 10.1007/s10661-021-09068-0] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Subscribe] [Scholar Register] [Received: 11/02/2020] [Accepted: 04/11/2021] [Indexed: 06/12/2023]
Abstract
Contamination of urban water distribution systems (WDS) is a critical issue due to the number of victims that might be impacted in a short period of time. Any effective rapid emergency response plan for reducing the number of sick people or deaths among those drinking the polluted water requires a reliable forecast of the water contamination zoning map (CZM). The water CZM is a visual representation of the spread of contamination at the time of contamination detection. This study presents a novel methodology based on the rough set theory (RST) for real-time forecasting of the CZM caused by simultaneous multi-point contamination injection in WDS. Our proposed methodology consists of (i) a Monte Carlo simulation model to capture the uncertainties in a multi-point deliberate contamination, (ii) a numerical simulation model for simulating pipe flow, and (iii) a rough set-based technique for real-time CZM for a WDS equipped with a set of monitoring stations. The proposed methodology can be used for any type of random contamination of WDSs as well as emergencies in deliberate contamination of water distribution networks.
Collapse
Affiliation(s)
| | - Sharareh Taghipour
- Department of Mechanical and Industrial Engineering, Ryerson University, Toronto, Canada.
| | - Mehdi Habibi
- Department of Civil Engineering, East Tehran Branch, Islamic Azad University, Tehran, Iran
| |
Collapse
|
7
|
Data-Driven Leak Localization in Urban Water Distribution Networks Using Big Data for Random Forest Classifier. MATHEMATICS 2021. [DOI: 10.3390/math9060672] [Citation(s) in RCA: 6] [Impact Index Per Article: 2.0] [Reference Citation Analysis] [Abstract] [Track Full Text] [Subscribe] [Scholar Register] [Indexed: 11/17/2022]
Abstract
In the present paper, a Random Forest classifier is used to detect leak locations on two different sized water distribution networks with sparse sensor placement. A great number of leak scenarios were simulated with Monte Carlo determined leak parameters (leak location and emitter coefficient). In order to account for demand variations that occur on a daily basis and to obtain a larger dataset, scenarios were simulated with random base demand increments or reductions for each network node. Classifier accuracy was assessed for different sensor layouts and numbers of sensors. Multiple prediction models were constructed for differently sized leakage and demand range variations in order to investigate model accuracy under various conditions. Results indicate that the prediction model provides the greatest accuracy for the largest leaks, with the smallest variation in base demand (62% accuracy for greater- and 82% for smaller-sized networks, for the largest considered leak size and a base demand variation of ±2.5%). However, even for small leaks and the greatest base demand variations, the prediction model provided considerable accuracy, especially when localizing the sources of leaks when the true leak node and neighbor nodes were considered (for a smaller-sized network and a base demand of variation ±20% the model accuracy increased from 44% to 89% when top five nodes with greatest probability were considered, and for a greater-sized network with a base demand variation of ±10% the accuracy increased from 36% to 77%).
Collapse
|
8
|
Machine Learning and Simulation-Optimization Coupling for Water Distribution Network Contamination Source Detection. SENSORS 2021; 21:s21041157. [PMID: 33562175 PMCID: PMC7916058 DOI: 10.3390/s21041157] [Citation(s) in RCA: 4] [Impact Index Per Article: 1.3] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Download PDF] [Figures] [Subscribe] [Scholar Register] [Received: 01/07/2021] [Revised: 02/02/2021] [Accepted: 02/04/2021] [Indexed: 11/29/2022]
Abstract
This paper presents and explores a novel methodology for solving the problem of a water distribution network contamination event, which includes determining the exact source of contamination, the contamination start and end times and the injected contaminant concentration. The methodology is based on coupling a machine learning algorithm for predicting the most probable contamination sources in a water distribution network with an optimization algorithm for determining the values of contamination start time, end time and injected contaminant concentration for each predicted node separately. Two slightly different algorithmic frameworks were constructed which are based on the mentioned methodology. Both algorithmic frameworks utilize the Random Forest algorithm for classification of top source contamination node candidates, with one of the frameworks directly using the stochastic fireworks optimization algorithm to determine the contamination start time, end time and injected contaminant concentration for each predicted node separately. The second framework uses the Random Forest algorithm for an additional regression prediction of each top node’s start time, end time and contaminant concentration and is then coupled with the deterministic global search optimization algorithm MADS. Both a small sized (92 potential sources) network with perfect sensor measurements and a medium sized (865 potential sources) benchmark network with fuzzy sensor measurements were used to explore the proposed frameworks. Both algorithmic frameworks perform well and show robustness in determining the true source node, start and end times and contaminant concentration, with the second framework being extremely efficient on the fuzzy sensor measurement benchmark network.
Collapse
|