Workshop simulation

Water Network
Genetic Algorithm Lab

Each chromosome represents one three-pipe network. Follow selection, crossover and mutation with every random decision traced to Table D.

Selected networkNetwork preview
Hydraulic grade line (m)
Generate chromosomes, then select a string.
GA settings
Best network—Generate the population to begin
Generation0Not started
GenerateSelectionCrossoverMutationReview
Source of randomness

Table D

No active values
0.43190.09760.78210.25600.61950.84430.37260.90510.14880.5379
0.68320.02490.45130.79850.31700.57220.93760.16530.70480.2895
0.11840.86380.39520.64100.05230.72650.48160.99420.20760.5581
0.74940.33420.91680.08370.60140.27500.82920.46750.15390.6883
0.51270.94800.22550.77140.04270.65780.38910.83650.19030.6039
0.29710.68590.10930.89480.44350.01680.73870.56430.92100.3518
0.87540.23860.69510.47180.12800.98230.54670.06350.71490.3296
0.40470.81360.17620.62890.95350.34210.58730.09170.76940.2158
0.66140.04730.53270.88700.30160.74580.19460.97620.42830.5809
0.13960.72400.36480.90540.25170.61730.84210.48650.02830.6942
0.95620.31280.60860.07420.79140.46370.18690.85730.52570.2410
0.57850.21970.93480.38620.05180.70640.49210.81640.14730.6695
0.32780.76420.10250.54970.88830.27540.63090.41320.97160.0589
0.80530.45690.69350.12480.73890.36900.91470.20250.58130.0478
0.24660.87930.51370.06750.65420.39830.92750.17280.74610.4814
Encoding

Pipe options

000150 mm$245/m
001200 mm$285/m
010250 mm$295/m
011300 mm$335/m
100350 mm$395/m
101400 mm$445/m
110500 mm$525/m
111600 mm$650/m
Hydraulic model

Calculation assumptions

Pipe flows
191 · 105 · 35 L/s
Headloss
Darcy–Weisbach
Friction factor
0.015 (relatively new pipes)
Minimum pressure
23 m
Penalty
$137,000 per metre of summed deficit
Mutation
Applied independently to every bit