Skip to content

corneliu37/WaterDistributionSystemLoopMethod

Repository files navigation

WaterDistributionSystemLoopMethod

Simulator algorithm for water networks based on loop method.

Simulation of water networks by using the loop method and Newton-Raphson numerical method (wat_dem1.m) : the simulation starts with running the Matlab function wat_dem1.m

There are given the nodal consumptions, the characteristics of the pipes, head value of reference main head node, inflows/outflows.

sim_demo_pb.m - simulation of water networks by using the loop method and Newton-Raphson numerical method.

determine_flowsi_pb.m - this function uses Depth First search to calculate the following variables: the loop incidence matrix Mlp, the topological incidence matrix Anp, initial pipe flows flows_i, chord/co-tree pipes.

shortest_path.m - This function calculated shortest path between two nodes in the spanning tree.

This simulator can be applied to any water network not containing non-linear controlling hydraulic elements although some “minor modifications” would be necessary in the various Matlab files such as :

  • in sim_demo_pb.m at line 98 the number of loops l is 28, so for a different water network the number of loops would be different so it is better to change the number 28 with the letter l which stands for the number of loops.

  • other “minor modifications” would be for example in the file determine_flowsi_pb.m at line 408, to remove nodes 65, 61, 62, 35, 34 and node 33 which are fixed head nodes but in a different water network these numbers may not mean anything.

  • other similar “minor modifications”.

This algorithm would benefit also from the addition of non-linear controlling elements based for example on the paper Alvarruiz et al. (2018) “Efficient modeling of active control valves in water distribution systems using the loop method”, J. Water Resour. Plann. Manage.

The project has also a DoI: 10.5281/zenodo.3357455 (https://doi.org/10.5281/zenodo.3357455)

The license for this software is a Creative Commons Attribution 4.0 International License (CCL).

The simulator algorithm based on the loop method is also described in the publications from below :

Corneliu T.C. Arsene, "Uncertainty Quantification of Water Distribution System Measurement Data based on a Least Squares Loop Flows State Estimator", arXiv:1701.03147, https://arxiv.org/abs/1701.03147, 2017.

Corneliu T.C. Arsene, Bogdan Gabrys, “Mixed simulation-state estimation in water distribution systems based on a least squares loop flows state estimator”, Applied Mathematical Modelling, 2014.

Corneliu T. C. Arsene, Bogdan Gabrys, David Al-Dabass: Decision support system for water distribution systems based on neural networks and graphs theory for leakage detection. Expert Syst. Appl. 39(18), 2012.

Arsene, C.T.C., Bargiela, A., and Al-Dabass, D. “Modelling and Simulation of Network Systems based on Loop Flows Algorithms”, Int. J. of Simulation: Systems,Science & Technology Vol.5, No. 1 & 2, pp61-72, June 2004.

Arsene, C.T.C., & Bargiela, A., “Decision support for forecasting and fault diagnosis in water distribution systems – robust loop flows state estimation technique”, In Water Software Systems: theory and applications, Research Studies Press Ltd., UK, Vol. 1, 2001.

Arsene, C.T.C., Bargiela, A., Al-Dabass, D., “Simulation of Network Systems based on Loop Flows Algorithms”, In the proceedings of the 7th Simulation Society Conference - UKSim 2004, Oxford, U.K., 2004, ISBN 1-84233-099-3, UKSIM-2004.

About

Modelling and Simulation of Water Networks based on Loop Method

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages