Using a Genetic Algorithm with a Mathematical Programming Solver to Optimize a Real Water Distribution System


Figure 6. Crossover operator procedure (GIBI)



Download 4,2 Mb.
Pdf ko'rish
bet28/39
Sana29.12.2021
Hajmi4,2 Mb.
#81374
1   ...   24   25   26   27   28   29   30   31   ...   39
Bog'liq
Using a Genetic Algorithm with a Mathematical Prog

Figure 6. Crossover operator procedure (GIBI). 

Having two individuals, the crossover operation is as follows: for the first individual, the 

Positions are 1, 4, and 6. Likewise, for the second individual, the Positions are 2, 4, and 5. The gene 

exchange (valve setting) is performed between {{1, 2}, {4, 4} and {6, 5}}. The process continues until a 

specified number of exchanges is realized. This specified number is randomly determined as a 

Figure 6.

Crossover operator procedure (GIBI).

Having two individuals, the crossover operation is as follows: for the first individual, the Positions

are 1, 4, and 6. Likewise, for the second individual, the Positions are 2, 4, and 5. The gene exchange




Water 2018, 10, 1318

10 of 17


(valve setting) is performed between {{1, 2}, {4, 4} and {6, 5}}. The process continues until a specified

number of exchanges is realized. This specified number is randomly determined as a function of the

total number of valves. For the pipeline chromosome, the pipeline position is selected. For example,

Position 0 is selected for the first parent, and Position 1 for the second parent. The value of the diameter

is exchanged, until a specified number of exchanges has been performed. This number is randomly

determined as a function of the total number of pipes. Similarly, for the tank chromosome, a tank

position is randomly chosen for each individual. For example, 0 is chosen for the first individual

and 1 for the second individual. The genes are exchanged (initial water level, minimum water level,

maximum water level, and diameter), until a specific number of exchanges has been performed.

The number of exchanges is randomly determined as a function of the total number of tanks.

Mutation operator. The proposed mutation operator makes small random alterations in the genes

of a percentage of individuals. Figure

7

shows an example of the mutation operator’s procedure.



First, an individual is randomly selected from the population. Then, a position (which corresponds

to a valve) on the valve chromosome is randomly chosen. For example, Position 1, 4, or 6 could be

chosen, and the value 1 could be changed by 0. This means that the valve would be removed from

the pipe, therefore the setting of the valve would not be modified. In other words, it means that a

slight alteration is made in the ‘status’ attribute. The values of the valve setting and tank parameters

have been defined prior to the optimization run. The pipe chromosome determines the new pipe that

connects new tanks with other elements in the network. A position is randomly chosen, for example,

Pipe 1. A diameter is also randomly chosen from the list of commercial diameters. In this case, the

diameter 50.8 was changed by 38.1. For the tank chromosome, a tank is randomly chosen, for example,

tank 0. Its characteristics (initial level, minimum level, maximum level, and diameter) are randomly

modified. The ranges of the parameters for the tanks, the diameters of the pipes and the valve setting

are input data for the optimization algorithm. These values were obtained according to a field analysis

of the FRM network.

Water 201810, x FOR PEER REVIEW   

10 of 17 

 

function of the total number of valves. For the pipeline chromosome, the pipeline position is selected. 



For example, Position 0 is selected for the first parent, and Position 1 for the second parent. The value 

of the diameter is exchanged, until a specified number of exchanges has been performed. This number 

is randomly determined as a function of the total number of pipes. Similarly, for the tank 

chromosome, a tank position is randomly chosen for each individual. For example, 0 is chosen for the 

first individual and 1 for the second individual. The genes are exchanged (initial water level, 

minimum water level, maximum water level, and diameter), until a specific number of exchanges has 

been performed. The number of exchanges is randomly determined as a function of the total number 

of tanks. 

Mutation operator. The proposed mutation operator makes small random alterations in the 

genes of a percentage of individuals. Figure 7 shows an example of the mutation operator’s 

procedure. First, an individual is randomly selected from the population. Then, a position (which 

corresponds to a valve) on the valve chromosome is randomly chosen. For example, Position 1, 4, or 

6 could be chosen, and the value 1 could be changed by 0. This means that the valve would be 

removed from the pipe, therefore the setting of the valve would not be modified. In other words, it 

means that a slight alteration is made in the ‘status’ attribute. The values of the valve setting and tank 

parameters have been defined prior to the optimization run. The pipe chromosome determines the 

new pipe that connects new tanks with other elements in the network. A position is randomly chosen

for example, Pipe 1. A diameter is also randomly chosen from the list of commercial diameters. In 

this case, the diameter 50.8 was changed by 38.1. For the tank chromosome, a tank is randomly 

chosen, for example, tank 0. Its characteristics (initial level, minimum level, maximum level, and 

diameter) are randomly modified. The ranges of the parameters for the tanks, the diameters of the 

pipes and the valve setting are input data for the optimization algorithm. These values were obtained 

according to a field analysis of the FRM network. 

 


Download 4,2 Mb.

Do'stlaringiz bilan baham:
1   ...   24   25   26   27   28   29   30   31   ...   39




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish