PPTDEC
PPTDEC
Bat algorithm
1. Introduction
2. Differential Evolutions
5. Bat algorithm
7. Conclusions
• DE is an evolutionary algorithm
• The Differential evolution (DE) algorithm is a stochastic
population based optimization for solving nonlinear optimization
problem. This algorithm was developed by Storn and Price in
1996.
12/14/2019
CoE,DU National conference 5
By: Yeshitela Shiferaw
&
2. Differential Evolution
Mutation:
• Mutation expands the search spaces.
𝑔 𝑔
• selecting three new vector from each parameter vector 𝑋𝑟1𝑛 , 𝑋𝑟2𝑛
𝑔
And 𝑋𝑟3𝑛
The weighted difference of the two vectors is added to the third.
𝑔+1 𝑔 𝑔 𝑔
𝑉𝑛 = 𝑋𝑟1𝑛 + 𝐹(𝑋𝑟2𝑛 − 𝑋𝑟3𝑛 ൯ F is constant from [0,2]
Recombination:
• Incorporate successful solutions from the previous generations.
Selection:
• comparing the target vector and the trial vector. The lowermost
function value is selected for the succeeding generations.
𝑔+1 𝑔+1 𝑔
𝑔+1 𝑈𝑛,𝑖 , 𝑖𝑓𝑓(𝑈𝑛 ) ≤ 𝑓(𝑥𝑛 ൯
𝑋𝑛 =ቐ 𝑔
𝑋𝑛 , 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒𝑠
𝑘+1
𝑉𝑖𝑑
𝑊 max − 𝑊 min
𝑊 𝑘 = 𝑊 max − ( max
) ∗ 𝑖𝑡𝑒𝑟
𝑖𝑡𝑒𝑟
Each particle’s position is updated as
𝑘+1 𝑘 𝑘+1
𝑋𝑖𝑑 = 𝑋𝑖𝑑 + 𝑉𝑖𝑑
𝑁𝐺
𝑁𝐿
1
𝑓𝑖𝑡𝑛𝑒𝑠𝑠 = 𝑓max =
𝐹𝑋
Inequality constraint
min max
Real power generation limits 𝑃𝐺𝑖 ≤ 𝑃𝐺𝑖 ≤ 𝑃𝐺𝑖
min max
Voltage limits for generator bus 𝑉𝐺𝑖 ≤ 𝑉𝐺𝑖 ≤ 𝑉𝐺𝑖
min max
Reactive power generation limits 𝑄𝐺𝑖 ≤ 𝑄𝐺𝑖 ≤ 𝑄𝐺𝑖
CoE,DU National conference By: Yeshitela
12/14/2019 13
Shiferaw
5.Problem Formulations
• The bat navigate by using the time delay from emission to the
reflection.
• After hitting and reflecting ,the bats transform their own pulse
in to useful information to explore how far away from the prey
is.
CoE,DU National conference By: Yeshitela
12/14/2019 15
Shiferaw
6.Proposed Bat Algorithm
• Sensing distance.
All bats use echolocation to sense distance and they also know the
difference between food and barriers in some magical way
• Bats fly randomly with velocity Vi at position Xi
Step 3: initializing the best solutions of fits, costs, and real power
generation
Step 4: Evaluating the cost function and fitness value for the random
number of micro-bats.
Step 8: Finding the power loss, voltage stability indices, and load
flow solutions of the best solution. The penalty factors are added to
the power loss if the constraints are violated.
Step 11: If the maximum iteration touched, then display the results
otherwise repeat step 4-10.
Number of particles(D) 6
Number of particles 6
Number of population (N) 10
Number of population (N) 40
Number of iterations 150
Number of iterations 150
Differentiation constant (F) 0.9
Cognitive parameter (C1) 2
Crossover constant (CR) 0.5
Social parameter (C2) 2
Number of generation (G) 10
Number of particles 6
Number of population 40
Loudness(Ai) 0.5
Frequency minimum 0
Frequency maximum 2
PG1 0.50 2.00 1.7642 1.7561 1.8227 1 50 200 -40 200 0.95 1.05
PG2 0.20 0.80 0.4898 0.2653 0.4361
PG5 0.15 0.50 0.2246 0.2140 0.1500 2 20 80 -20 100 0.95 1.05