|
||
|
|
The following sample may be downloaded from the download section.
This is a more complicated example which uses optiGA
to solve the Optimal Water Distribution Network Design problem. In this example you will find the implementation of many of optiGA's features. See the source code!!! This example is taken from the article "Design of optimal water distribution systems" by E. Alperovits and U. Shamir, 1977. Consider the network shown below, which has eight pipes of 1000 meters length each, arranged in two loops and is fed by gravity from a constant head reservoir. The demands are given in the data table below and the head at each node is to be at least 30 meters above the ground elevation of the node. The pipes costs, per unit length, are given in the table below. Chw is 130 for all pipes.
The demo program can solve this problem with discrete or continues diameters.
You also have control on the number of generation the genetic algorithm will run, the population size
and the mutation probability.
Pipes costs:
The solution method is similar to a method proposed by Dragan A. S. and Godfrey A. W. (1997).
"Genetic algorithms for least cost design of water distribution networks".
Journal of Water Resources Planning and Management, ASCE, 67-77. |