Comparison of Monte Carlo Algorithm, genetic algorithms and artificial neural networks for calibration of water supply networks using the epanet2toolkit
Authors:
- Matheus David Guimarães BarbedoMBMatheus David Guimarães Barbedo
- Fernando das Graças Braga da SilvaFSFernando das Graças Braga da Silva
- Alex Takeo Yasumura Lima SilvaASAlex Takeo Yasumura Lima Silva
- Sara Maria MarquesSMSara Maria Marques
- Victor Eduardo de Mello ValérioVVVictor Eduardo de Mello Valério
- Mateus Cortez MarcondesMMMateus Cortez Marcondes
Open Access
- 30 September 2022
- journal article
- Published by Editoriales Iberoamericanos in Revista Ibero-Americana de Ciências Ambientais
- Vol. 13 (9) , 72-84
Abstract
A comparison of three water network calibration algorithms was performed using the R epanet2toolkit library. This coupling makes it possible to explore EPANET's hydraulic simulation and evaluation potentials and data analysis in R, with the main result of the work being the comparison of three calibration methods. In the calibration process by the Monte Carlo Algorithm, 100,000 roughness values were randomly generated for each pipe section within the range of 0.008 to 0.09 and new pressure values were generated with these roughnesses, while the calibration by the Genetic Algorithms method was used the rpy2 package that allows the use of R in Python, having 10,000 generations per simulation with 5% chance of mutation and 50% chance of crossover, admitting a deviation of ± 2 m.c.a for each pressure and the reduction of the average error. Finally, the Neural Network calibration also used the rpy2 package, with the network demand defined as the input layer and the output layer as the roughness of the pipes and for the hidden layer the input layer plus four neurons was defined. The results showed that in the smallest network the best performance was obtained by the Genetic Algorithms, followed by Monte Carlo, while the Neural Network had the worst result, and in the most complex network the Neural Network results obtained the best result, followed by the Genetic Algorithms and Monte Carlo. Thus, the potential of using Neural Networks for the calibration of more complex networks is observed, as well as its use combined with optimization techniques for the operation of water distribution networks, taking care to avoid situations of overfitting or underfitting.Keywords
This publication has 28 references indexed in Scilit:
- Improvement of the energy efficiency in water systems through water losses reduction using the district metered area (DMA) approachSustainable Cities and Society, 2022
- R software packages as a tool for evaluating soil physical and hydraulic propertiesComputers and Electronics in Agriculture, 2020
- agriwater: An R package for spatial modelling of energy balance and actual evapotranspiration using satellite images and agrometeorological dataEnvironmental Modelling & Software, 2019
- A Forecasting Framework Based on Kalman Filter Integrated Multivariate Local Polynomial Regression: Application to Urban Water DemandNeural Processing Letters, 2019
- Calibration of water quality model for distribution networks using genetic algorithm, particle swarm optimization, and hybrid methodsMethodsX, 2019
- An R package for EPANET simulationsEnvironmental Modelling & Software, 2018
- Calibration via Multi-period State Estimation in Water Distribution SystemsWater Resources Management, 2017
- Real-time demands and calibration of water distribution systemsAdvances in Engineering Software, 2015
- Protocol for developing ANN models and its application to the assessment of the quality of the ANN model development process in drinking water quality modellingEnvironmental Modelling & Software, 2014
- Technique for Calibrating Network ModelsJournal of Water Resources Planning and Management, 1983