Efficient Evolutionary Algorithm 2007
Efficient Evolutionary Algorithm 2007
∑I
n
2 (1) Step 5: Include the individual in the population, only if it
min f c = i ki Ri i ∈ NL has a better fitness function than the worst element, and it is
i =1
not already present in it.
Step 6: Repeat from step 2, until the stop criterion is meet.
Subject to:
1. Radial network constraint: V. PROBLEM CODIFICATION
Distribution network should be composed of radial
structure considering operational point of view. The general approach when the network reconfiguration
problem is coded within heuristics algorithm, is to code only
ϕ (k ) = 0 (2)
the switching elements with binary variables, the network is
2. Node voltage constraint: not represented, thus, when different operators in different
algorithms are applied, the resultant topologies generally does
Voltage magnitude Vi at each node must lie within their
not represent a topology in the neighborhood of the
permissible ranges to maintain power quality. generation point.
Vi min ≤ Vi ≤ Vi max (3) For example, if a network is represented by n binary
elements (1,0,...,0), the first element represents a switching
3. Branch current thermal stability constraints: element in feeder 1, the second element represent a switching
Current magnitude of each branch (feeder, laterals and device in feeder k. In any heuristic algorithm, going from
switches) must lie within their permissible ranges. (1,0,…,0) to (0,1,…,0) represents going to a neighborhood
k I ≤I
i i i max
(4) configuration, but in reality, those two configurations are
completely different when viewed topologically.
4. Kirchoff’s current and voltage laws To avoid these situations, another codification is proposed:
gi ( I , k ) = 0 (4) Instead of representing the switching devices, the entire
network configuration resulting from the switching is used as
g v (V , k ) = 0 (5) the individual and considered as a tree graph, represented as a
vector with the arcs in the tree (branches) sequentially
organized, from top to bottom of the network, being the root
IV. CHU BEASLEY GENETIC ALGORITHM node (generally the substation) the top.
The evolutionary algorithm used in this work was first The codification vector stores the arcs (branches) from the
proposed and implemented for Chu Beasley [12] applied to system of nb buses and nl arcs. The first (nb-1) elements are
the Generalized Assignment Problem (GAP). This algorithm the branches of the radial topology (set N1), and the branches
has some very special characteristics and presents excellent between positions nb and nl (set N2) are the connecting
performance. One of the main characteristics is the non- elements (branches outside the radial configuration), see Fig.
generational substitution of the current population, which 1.
means, that in each step of the algorithm only one element of
the current population is replaced.
The substitution of the population is implemented in a way
that two strategies could be efficiently implemented: (1) the
descendent generated can be improved using a local
optimization, which could reduce (or eliminate) the Fig. 1. Codification vector.
infeasibility, and (2) the generated descendent is included in
the population only if it is different and of better quality than In order to represent a radial configuration, the arc in the
any of the individuals in it. This strategy is also more efficient position i must be connected to any of the arcs located
than elitism because the best solutions are always preserved in between position 1 and i-1, and can not form a loop with any
the current population. of these either.
This algorithm has been applied to different problems, An example with the 14 bus test system is shown in Fig. 2,
with good results compared to traditional genetic algorithms. this configuration can be represented as
3
A. Recombination:
In traditional genetic algorithms, two individual are
selected and their chromosomes are mixed in some way to
generate one or more individuals. The same concept is applied
with this codification in the next way.
1. Select a recombination point, nr, randomly between 40%
and 80% of the length of the N1 set of the main
generator, so the descendent does not seems almost equal
to one of their parents.
2. Copy all the first nr elements from the main generator to
Fig 2. 14 Bus Test System Configuration. the forming descendent.
3. In the secondary generator, eliminate all the elements
This codification proposal guarantees that if the initial already present in the descendent.
population is composed of radial configurations, then it is 4. For each arc remaining in the secondary generator: If the
possible to develop recombination and mutation operators that arc does not form a loop, include it in N1, otherwise,
preserve the radial topology of the descendant generated. This include it in N2.
codification proposal and the way the recombination is This algorithm always generates radial topologies with some
implemented are one of the main contributions of this paper, arcs of the main generator, some arcs of the secondary
because eliminate the generation of non-radial topologies and generator, and eventually, connecting arcs from one, or both
allow generating descendents in a similar way to the natural topologies.
genetic recombination.
The mutation operator is not used because in the
A. Generation of the Initial Population reconfiguration problem, the most effective way to implement
The next algorithm is used to generate the initial mutation is to swap one connecting arc with an arc inside the
population, using the idea proposed by Prim [13] to generate loop generated if this connecting arc was introduced into the
trees with minimum cost. topology. The local improvement step proposed is a
Being D the set of nodes added to the actual configuration. generalization of this type of mutation, thus, this step is
1. D = φ , N1 = φ , N 2 = φ skipped.
2. Assign the substation node (root node) to D.
3. Search for all the arcs with a vertex in D.
B. Local improvement:
4. Select one arc to enter in the topology (randomly or with
some methodology). After the recombination, the resulting network is analyzed in
5. If the selected arc generates a loop in the topology, the next way:
include it in N2, otherwise, include the opposite vertex in
D and the arc in N1. 1. Identify all the loops formed in the network if the
6. Repeat from 3 until all the arcs are selected. connecting arcs are included.
2. For each path from the connecting arcs to the substation
At the end of the algorithm, (N1,N2) represents the node: Swap the connecting arc with the next arc in the
proposed topology, this algorithm always generate radial sequence, if the losses are inferior to the base topology,
configurations. store the topology and test the next element , otherwise,
go to the next path.
This process can be upgraded to look for initial solutions
with some intelligence instead for complete randomness, like
This procedure is made from bottom to top, in this way, if
assign a bigger probability to the best candidate, or beginning
the OF calculated in a swap operation is worst than the
the tree with part of the original network, which could give
4
losses, which is the optimum topology for this system, is reconfiguration of distribution network problem. The main
illustrated in Fig. 5. contributions of this work are the codification proposal and a
new way to implement the recombination process.
The codification proposal allows representing a radial
topology, and manipulating it, in a way that is easy to generate
other radial topologies without much effort. This process is
accomplished with a simple but powerful recombination
process that allows two generators configurations share their
characteristics into a radial descendent, and finally, the
diversity of the population is maintained thanks to a local
improvement step
Another characteristic of the algorithm is the few
parameters needed in comparison with a traditional genetic
algorithm.
The result of all this elements together is an efficient
algorithm which can solve easily the distribution network
Fig. 5. Descendent Obtained.
reconfiguration problem in real life networks.
[5] C. Liu, S. Lee, S. Venkata, “An expert system operational aid for restoration
and loss reduction of distribution systems,” IEEE Transactions on Power
Delivery, vol. 3, n. 2, pp. 619–626, 1988.
[12] P.C. Chu, J.E. Beasley: “A genetic algorithm for the generalized
assignment problem”, Computers Operations Research, vol. 24, No 1, pp 17-
23, 1997.
X. BIOGRAPHIES
Edgar Manuel Carreno (S/04) Received his B.S. degree from Universidad
Nacional de Colombia in 2000, the M.S. from Universidade Tecnologica de
Pereira in Colombia in 2003. Currently he is working in his Ph.D. Thesis at
UNESP – Ilha Solteira, SP, (Brazil). His main interests are Mathematical
Optimization, Load Forecasting and Network Planning.
Rubén Romero (M´92) received his B.S. degree in 1978 and P.E. degree in
1984 from National University of Engineering, in Lima, Peru, his M.S. and
Ph.D. degrees from UNICAMP (Brazil) in 1990 and 1993. Currently he is a
Professor of Electrical Engineering Department of UNESP/Ilha Solteira-SP
(Brazil).