You are on page 1of 12

Applied Intelligence 24, 3142, 2006


c 2006 Springer Science + Business Media, Inc. Manufactured in The Netherlands.

Adaptive and Dynamic Ant Colony Search Algorithm for Optimal Distribution
Systems Reinforcement Strategy

S. FAVUZZA
Dipartimento di Ingegneria Elettrica, Elettronica e delle Telecomunicazioni, Universita di Palermo, Italia

G. GRADITI
Centro ricerche ENEA, Ente per le Nuove Tecnologie, lEnergia e lAmbiente, Portici, Napoli, Italia

E. RIVA SANSEVERINO
Dipartimento di Ingegneria Elettrica, Elettronica e delle Telecomunicazioni, Universita di Palermo, Italia

Abstract. The metaheuristic technique of Ant Colony Search has been revised here in order to deal with dynamic search
optimization problems having a large search space and mixed integer variables. The problem to which it has been applied is
an electrical distribution systems management problem. This kind of issues is indeed getting increasingly complicated due
to the introduction of new energy trading strategies, new environmental constraints and new technologies. In particular, in
this paper, the problem of finding the optimal reinforcement strategy to provide reliable and economic service to customers
in a given time frame is investigated. Utilities indeed need efficient software tools to take decisions in this new complex
scenario. In past times, utilities project the load growth for several years and then estimate when the capacity limit will
be exceeded. Designers then consider some feasible alternatives and select the optimal one in terms of performance and
costs. In this paper, the Distributed Generation, DG, technology considered in compound solutions with the installation of
feeder and substations is viewed as a new option for solving distribution systems capacity problems, along several years. The
objective to be minimized is therefore the overall cost of distribution systems reinforcement strategy in a given timeframe.
An application on a medium size network is carried out using the proposed technique that allows the identification of optimal
paths in extremely large or non-finite spaces. The proposed algorithm uses an adaptive parameter in order to push exploration
or exploitation as the search procedure stops in a local minimum. The algorithm allows the easy investigation of these kinds
of complex problems, and allows to make useful comparisons as the intervention strategy and type of DG sources vary.

Keywords: ant colony search, dynamic optimization problems, electrical distribution systems

1. Introduction In [3, 4], the Authors use the ACO, Ant Colony Opti-
mization, to solve the generation unit commitment problem.
Metaheuristics and heuristic methods have been extensively They have created a discrete search space, by considering
used in the field of power optimization problems and in gen- a multi-stage scheduling and a suitable transition cost from
eral in electrical engineering. Indeed, these methods allow one stage to the other. In this case, the problem was to iden-
a more accurate formulation of the problem and the attain- tify the output level of a given set of units in a time frame of
ment of results in reasonable computation times. On the 24 h. Test runs have been carried out in both papers to make
other hand, special attention must be paid to the choice of a comparison between the Ant Colony approach and other
the appropriate method, depending on the particular features methods (a dynamic programming approach, a Lagrangian
of the problem at hand. In power systems, heuristic methods relaxation method and a Genetic algorithm). In all cases the
offer a viable alternative to classical optimization techniques Ant Colony approach has given better results. In both papers
to face complicated problems and to attain general guide- a constructive approach is used and the solution is actually
lines for design and management of electrical systems. created by each ant.
In particular the Ant Colony Optimization paradigm, Another power systems problem dealt with by means of
which is a relatively new algorithm [1, 2] for the solution of the same paradigm is that of the switch relocation problem.
combinatorial optimization problems, has been used in the In [5] the Authors minimize the interruption costs for dis-
field of power systems, to solve different problems. tribution feeders by rearranging the existent switches. The
32 Favuzza, Graditi and Riva Sanseverino

customer interruption cost indeed depends on the amount of among the set comprising the existing paths and this new
load disconnected during an outage, if there is no possibility set. Another feature that distinguishes the present approach
to supply it from another source point. In this way, the search from the standard ACS is the adoption of an adaptive, in-
space is again arranged in stages and, at each stage, a new stead of fixed, parameter, q0 , which rules the elitism of the
switch is newly positioned. Therefore, the search space is algorithm. Each time the ant has to choose the following
constituted by a number of nodes equivalent to the number node, this can be done either on a deterministic base or on
of switches multiplied by the number of candidate locations a probabilistic base and the choice of the criterion is guided
of the same switches. Each ant will rearrange one switch at by the parameter q0 .
each stage. The approach essentially tries to improve the
starting solution.
Finally in [6] the economic dispatch problem is consid- 2. The Problem of Distribution Systems
ered. The Authors try to minimize the operating cost of the Reinforcement Planning
power system based on the power output of the generation
units and subjected to some technical and economical con- The identification of a good reinforcement strategy in order
straints. The constraints are included into the main objective to supply reliable and economical service to customers is a
function as penalty terms and the optimization is carried out huge problem for distribution utilities. Traditionally plan-
trying to improve a randomly selected but feasible solution. ners start thinking about new capacity only when the load
A parameter allowing to control the scale of the exploration reaches a certain level; then, only a few options is considered
called visibility is introduced. The algorithm also uses el- and these are restricted to substations or feeders reinforce-
ements of neighborhood search and of the Genetic algo- ment. This methodology works when the economic envi-
rithms search and the solution is actually searched by each ronment is stable and the number of technically available
ant which in this case acts like a search agent. So again the options is limited. The new deregulated energy market and
approach tries to improve the solution. the new important issues concerning sustainable develop-
Other papers, such as [7], use the ACO paradigm to carry ment make the environment change rapidly and technology
out the optimization of functions by interesting construc- provides new viable options for the task of expanding the
tive approaches. None of the above cited papers uses a systems capacity. In this paper, the problem of identifying
constructive approach in a non-finite or extremely large the best network reinforcement strategy along a given time-
space at each stage. In the present paper, the authors try frame is dealt using a new formulation. The installation of
to solve a dynamic optimization problem such as the re- Dispersed Generation units, and in particular renewables
inforcement of electrical distribution systems, by dividing (Photovoltaic units), is considered as a viable alternative to
the search space in stages. Each stage, this time, represents traditional network reinforcement methods, such as cables
a possible intervention on the system at a given year. The and substation transformers installation. This is valid under
intervention consists of the installation of one or more ele- the hypothesis that the loading peaks occur during the maxi-
ments in order to increase the electrical systems capacity, mum insulation hours. In this formulation, the reinforcement
namely the ability of the system to supply a larger amount consists in introducing parallel Medium Voltage, MV, cables
of electric load. Thus in this problem it is required to solve and Medium Voltage/Low Voltage, MV/LV, transformers as
an optimization sub-problem at each stage, even though the well as PV, Photovoltaic, units at LV level. Moreover, since
overall optimization requires the search for the minimum cables are installed underground, it has been hypothesized
cost strategy in the considered time-frame. that they cannot be overloaded. Figure 1 shows a generic
Each ant tour represents a strategy that can be followed. MV/LV load node of the considered system. In the figure,
At each stage, the ant itself creates a set of candidate nodes OT is the Old Transformer, whereas RT is the Reinforcement
related to the subsequent stage. The nodes are possible sce- Transformer. Therefore, the problem here dealt with results
narios of new installations, in which the minimum condition in a combinatorial optimization problem, where the main ob-
of supplying the entire load is satisfied. The ant can choose jective is that of minimizing the overall cost while meeting
the next node among the newly created ones and a set of some technical constraints such as the voltage drop limita-
existing nodes, created by ants that had previously gone tion and the elements capacity consideration. The overall
through the same path. Of course, the generation of this set cost can be expressed as the summation of different terms.
is guided by some criteria, in order to guarantee a good ex- Some are installation costs, others are operational costs such
ploration of the search space at that considered stage. During as losses and maintenance costs. In addition, also exter-
its tour, the ant leaves a trace of pheromone on the path it has nal costs such as incentives for the production of energy
gone through. This path is kept in memory using a dynamic from renewables (clean energy) have been considered. In
search tree that keeps track of all the visited routes. The what follows, all the cost terms are described in detail. In
search tree dimension is limited by the branching level of the present formulation of the posed problem, for a given
the tree and the number of stages/interventions considered. load factor increase, L, each node at the LV level can be
Each time an ant has to decide the following node, it cre- equipped with distributed Photovoltaic, PV, systems and the
ates a set of new candidate scenarios and the choice is made capacity of each branch can be multiplied by installing some
Adaptive and Dynamic Ant Colony Search Algorithm 33

Figure 1. A generic MV/LV node of the distribution system, at time t, on the left, and at time t + t, on the right, with a load increase and with all the
possible reinforcement means.

other cables in parallel with the existing ones. As a conse- (c1) Installation cost
quence, in the latter case, the capacity of each substation
can be multiplied by installing other transformers in paral- C3 = C Sk (An k ) [ ] (5)
lel with the existing ones. It must be considered that the re-
quired number of interventions depends on the load course. where C Sk [ ] is the cost of the required transformer
In this paper, the load evolves with the following exponential having rated power Ank [kVA].
law: (c2) Maintenance cost per year; for all transformers is
evaluated as:
P(t) = P0 (1 + r )t (1)
Cman TR = cman TR n tr [ ] (6)
where P0 is the rated load required by the customers at year
0, P(t) is the expected load at year t and r is the rate of where n tr is the number of transformers; cman TR is
increase of the loads. here 600 .
In what follows, the different cost terms are described. (d) The losses cost can be expressed as:

(a) The PV systems installation cost: C4 = C P Er [ ] (7)

C1 = C P V PP V [ ] (2) where C P [ /kWh] is the cost of losses per kWh and


Er[kWh] are the total energy losses evaluated in one
where, C P V [ /kW] is the cost per kW and P P V [kW] year. C P is here set to 0.05 /kWh.
is the rated real power of the PV system. (e) Savings due to PV systems installations. Two terms must
(b) The cables cost can be expressed as: be considered:
(e1) Savings from not buying energy from the transmis-
(b1) Installation cost:
sion level; per year:

C2 = CCa (I ) L [ ] (3) R1 = Renergy PPV (8)

where CCa [ /km] is the cost of the cable for a given where Renergy is equal to 6.5 /kW and has been
capacity I [A] and length L [km]. obtained considering that the cost of 1 kg of fuel is
(b2) Maintenance costs per year: 0.02 .
(e2) Incentives for those who produce from renewables:
Cman cables = cman L [ ] (4)

cman is here 70 /km. R2 = Rc PPV (9)

(c) The MV/LV substation transformer cost can be ex- where Rc can range between 43.8 /kW and 820
pressed as: /kW. The variation of this parameter allows the
34 Favuzza, Graditi and Riva Sanseverino

identification of a threshold value above which the This algorithm has been applied to different problems in en-
massive installation of PV units is economically con- gineering, in particular to those applications where a length
venient. measure must be optimized such as in the Traveling Sales-
man Problem, (TSP).1 This algorithm has rarely been ap-
plied for optimization strategy problems. However there are
3. The Objective Function
some papers regarding this aspect for different engineering
fields [4, 10].
The objective function is the overall cost. The overall yearly
The natural metaphor for ant algorithms is ant colonies.
cost can be therefore obtained as the summation of the dif-
Real ants find the shortest path from a food source to their
ferent terms above described:
nest, without using visual cues, by exploiting pheromone
CTOT = (C1 + C2 + C3 ) (e) + C4 + Cman information. While the ants go towards the food, each ant
cables
deposits on the ground a certain quantity of pheromone,
+ Cman TR + C man PV (R1 + R2 ) (10) which can be recognized by the other ants, and continues its
tour. At the beginning all the ants move randomly. When the
where the different cost or saving terms have been defined pheromone evaporates, the traces that can still be recognized
in Section 2 above; e is the rate (7%) for the calculation are those that have been left on the shortest paths since they
of the yearly cost. The constraints concern voltage drop can be followed more rapidly. In this way, the number of
within limits and current below branches capacity. Another ants that choose to go through the shortest paths grows and
constraint requires that all the loads have to be supplied. the pheromone trace gets stronger as more ants follow it [2].
A single solution is coded into a string having two times The ACS algorithm has been presented and first imple-
the number of branches elements (br), so that each couple of mented for the Traveling Salesman Problem, TSP, since
elements is related to one branch and to its ending bus. The there is an explicit similarity between the tour length in
solution string is therefore a vector composed as follows: the problem and the ants path length.
The key to the application of the ACS to a new problem
[S1 , P1 , S2 , P2 , . . . Sbr , Pbr ] (11) is to identify an appropriate representation for the prob-
lem, namely an appropriate spatialization. The latter can be
where Si [mm2 ] is the section of the reinforcement cable at
attained by means of a graph representation (when it is pos-
the i-th branch, Pi [kW] is the sizing power of the PV plants
sible) of the considered engineering problem. Any solution
below the i-th node.
must also be represented by means of a tour through the
Each of these elements can vary in a discrete fashion
edges of the graph.
among a set of possible available sizes.
Besides a suitable expression of the distance between any
The optimisation problem here dealt with is then a com-
two nodes of the graph must also be determined. Then the
binatorial optimization problem; therefore the fitness can be
probabilistic interaction among the artificial ants mediated
expressed as the inverse of the cost function terms (10), cal-
by the pheromone trial deposited on the graph edges will
culated at each intervention in terms of the new installations,
generate good, and often optimal, problem solutions.
actualized at year 0 and summed up.
Some problem may arise when the spatialization is not
In [9] the Authors have focused their attention on the
straightforward, namely, when other physical measures have
definition of the minimum cost reinforcement plan with
to be turned into distances.
a simplified objective function and with an algorithm, the
In the application here proposed, the different reinforced
Evolutionary Parallel Tabu Search, which was suitable for
configurations of the electrical system at different years
static combinatorial optimization. In this paper, the Authors
(with the relevant load factor) represent the nodes of the
propose a dynamic design strategy derived from the ACO
graph, the distances between them are transition costs, suit-
paradigm. It is aimed at the optimisation of the expansion
ably actualized in order to make them comparable at year
strategy of a distribution system through a discrete number
zero. The transition costs are the installation and operating
of interventions within a time frame of 24 years with refer-
costs to expand the system from the current configuration
ence to a given course of load increase in the served area.
to another to be reached in the following time.
The solution of this problem requires the identification of
The problem of identifying the best reinforcement strat-
the optimal expansion strategy for the system. The problem
egy of distribution systems has been here dealt with by look-
is combinatorial and non-linear.
ing for an analogue with the TSP. It is essentially a minimum
cost tour problem but it is different from the TSP problem,
4. The Dynamic Ant Colony Search Algorithm since there is not a unique set of points to be visited for
a single solution, but there may be infinite possible paths
The ACS algorithm, proposed by Dorigo and Gambardella through different points.
[2], is an algorithm simulating the behaviour of natural ant One of the key differences with traditional ACS is that
colonies. The algorithm uses a set of agents which cooper- the algorithm dynamically creates new candidate solutions
ate for the research of new solutions acting simultaneously. and eliminates unpromising search directions.
Adaptive and Dynamic Ant Colony Search Algorithm 35

In this way, at each year a number of candidate solutions is The probability that the k-th ant moves towards a configu-
identified. It is realistic to assume that utilities do not operate ration of the same year must be zero, whereas a biased law
each year but they carry out interventions only every n years has been used to select the solution towards which the ant
years. A solution strategy is therefore a tour comprising shall move.
all the systems configurations between year zero and year In this paper, parameter q0 varies adaptively with the con-
24 with T intervals of n years years; the cost of a strategy is dition of flattening on the currently found best solution. The
the summation of the transition costs in the considered time law with which it varies is reported below:
horizon. These costs have all been actualized in order to
make different strategies comparable. The distance between q0 = qbase + (flat + y)1 (15)
two solutions, namely between configuration r, related to
year i (jn years) and configuration s related to year j, is where qbase is the lowest value that the parameter q0 can
given by d(r,s) defined as follows: reach, flat is the number of iterations without improvement
and y sets the maximum value for q0 .

j j
CTOT ni (r, s) The parameter flat is limited and when it reaches a certain
d(r, s) = (12) maximum value the algorithm can be stopped. When this
k= jn years
(1 + a)k
parameter is high, the parameter q0 gets the lowest possible
j
value, whereas when flat is zero it takes the maximum value.
where CTOT ni (r, s) is the new installations, external, main- The maximum possible value for q0 also depends on y. If this
tenance and losses costs for configuration s at year j, when is set to 1, and qbase is necessarily set to zero, the maximum
it evolves from configuration r at year jn years and a is the value for q0 is 1.
actualization rate. As it can be noted, as the number of iterations without
The following quantities are used in the algorithm: improvement, flat, grows, the parameter q0 controlling the
elitism of the algorithm decays, thus allowing a larger ex-
(r, s) is the pheromone amount between configurations ploration of the search space.
r and s; The local updating of the pheromone is applied to the
Mk is the set of configurations that have been identified traveled paths. This mechanism is used to prevent prema-
for the year configuration r belongs to; ture convergence and simulate the natural phenomenon of
is the parameter weighting the importance of the tran- evaporation; it is executed by means of the function:
sition cost from configuration r to configuration s;
is the pheromone updating parameter, ruling its decay (r, s) = (1 ) (r, s) + a0 (16)
and its reinforcement; where the symbols have been above defined.
0 is the pheromone initialization value which is given Global updating is executed when all ants have completed
to any possible tuple such as (r, s); an entire tour for exploration and it is aimed at the reinforce-
n ants is the number of ants constituting the artificial ment of the pheromone of those transitions (r, s) belonging
colony. to the best tour, namely to the minimum cost strategy. It is
performed using the function:
Configuration s that follows the starting configuration r
is identified by means of the following law, if q q0 : 1
(1 ) (r, s) + L gb if (r, s) global
(r, s) = best tour
s = arg max ( (r, s) (r, s) ) (13)
(1 ) (r, s)
u M
/ k
otherwise
(17)
where q [0, 1] is a random number and q0 [0, 1] is a
parameter allowing to regulate the elitism of the algorithm, where Lgb is the length or the cost of the best strategy
namely to establish a compromise between exploration and which has been identified at the end of one iteration.
exploitation of the search space. Indeed, if q0 is very close n
edges
to the unity it is highly possible that the random parameter L gb = min
q is lower than q0 and therefore that configuration s is the k=1,...n ants
l=1
maximum of the function ( (r, s) (r, s) ).  
Ctot(l) Ctot(l1) (1 + a)l1 (18)
If q > q0 configuration s is chosen following the proba- k k

bilistic law: where:



 (r, s) (r, s) n edges is the total number of edges of the k-th path
if s
/ Mk
pk (r, s) = / k (r, u) (r, u)
(ant);
u M
0 otherwise l1 is the year in which new installations related to the
(14) configuration l have been executed;
36 Favuzza, Graditi and Riva Sanseverino

n ants is the number of ants constituting the artificial


colony.

Note that, when l equals the total number of edges of the


considered path, the ant has reached the target configuration
and the strategy is complete, therefore expression (18) gives
the cost of the entire strategy actualized at the starting year.
In this way, the pheromone of the transitions belonging
to the best tour is increased whereas the pheromone of other
transitions is decreased. The local updating encourages the
exploration of the search space because it prevents prema-
ture convergence, whereas global updating encourages the
exploitation of the most promising solutions, namely the
overall less costly solutions. Figure 2. Dynamic tree representing the different strategies, p ranges
In traditional ACS algorithm a number of ants start explor- from 0 to T.
ing the search space which is constituted by a finite number
of points. Then they gradually converge towards the best
path. When the search space of the faced problem is intrin- tovoltaic plants. In this way, in the first solution, a value
sically of finite type, as in the TSP, the algorithm works quite randomly chosen between 0 and the 100/N % of the load in-
well. When instead a spatialization (discretization or the crease will be covered with PV plants, in the second solution
reduction of the search space dimension) of the problem is a value randomly chosen between 100/N % and 200/N%,
required, the above cited approach may be no more valuable. and so on.
Indeed, it is well known that in these cases, the attempts of Then the ant performs a choice among the candidate so-
reducing the search space dimensions may bring to mislead- lutions using expressions (13) and (14).
ing results. Real ants indeed move randomly before finding The local pheromone updating is performed using expres-
the optimal way from their nest to the food. They do not have sion (16), and the solutions that have not been chosen are
discrete points in the search space through which they move. abandoned. A new set of solutions hypothesizing a different
This happens especially at the beginning. After some time, penetration of PV plants is again considered and so on, till
the ants go one after the other towards the food, because of the last year. Then the second ant starts again from year zero
the mechanism of the pheromone release. This is the idea and finds a pheromone trace of the ant that has just passed.
behind the proposed algorithm, called Dynamic Ant Colony So it generates again N new solutions, different from the
Search, DACS, algorithm. From the programming point of previous one, and the choice is made among N + 1 candi-
view, it has been implemented using dynamic data struc- date solutions, because of the existing path. In the following
tures, such as a dynamic tree, representing the ideal paths years the second ant will find N candidate solutions, if the
over which the ants have moved. The pheromone release node from which it comes is newly created, otherwise, it
mechanism allows the identification of good traces and in finds N + 1 candidate solutions, N newly generated and 1
the end an increasing number of ants will tend to go through belonging to the path chosen by the first ant. At the end of
these paths. In this representation of the problem, the depth the iteration, all the ants have gone through the 24 years
of the tree is the timing at which the interventions over the and probably have generated a number of new nodes. The
distribution system are carried out, see Fig. 2. So the maxi- maximum possible number of nodes of the dynamic tree
mum depth of the tree is fixed by the user. Since the overall containing the traces is of order NT , where T is the number
time frame in which the strategy is designed is also fixed, of intervals of n years.
the number of years between one intervention and the other Of course N is variable and can be set by the user. It
is also known. defines the precision with which the algorithm can work out
The basic hypothesis is that components are installed in a solution. But on the other hand, the opportunity to generate
order to face the load increase relevant to the following time a new set of solutions at each step gives some confidence
interval and at the beginning of the same time interval. More- about finding the solution with appropriate diversification.
over expenses are amortized in 24 years. Each branch of the Also T is variable and can be set by the user, but it is a
tree represents the move from one year to n years later; it design variable since the timing with which interventions
is weighted with the operational costs and with the cost of can be carried out on the system is also a design choice.
possible installations of new components or with the cost When the ant finds N existing paths it can still generate
of the yearly amortization expense of components already N new solutions with different PV penetrations and it will
installed. again activate the selection using expressions (13) and (14).
The algorithm starts with the generation of a given number If an existing path is selected, the pheromone trace is mod-
of candidate solutions, N, each of which is created accord- ified according to equation (16), if instead a new trace is
ingly with a given percentage of penetration of the Pho- selected; the worst, in terms of pheromone and cost, among
Adaptive and Dynamic Ant Colony Search Algorithm 37

the old paths is selected and eliminated, together with the The usefulness of the proposed approach has been
branches and nodes downstream, and replaced with the new tested by running the algorithm with fixed q0 and with
chosen trace. The pheromone trace is then modified accord- variable q0 . In the latter case, the algorithm has proved
ing to Eq. (16). in all the performed executions, an improved capac-
In Fig. 3 the flowchart of the DACS is reported. ity of exploring and of exploiting the search space,
by finding lower values of the objective function. The
differences in the objective function value, for Rc =
5. Applications 43.8 /kW, have been evaluated and range between 0.74%
and 8.7%, the latter value being referred to the hardest pos-
The studied system is a radial power distribution network sible problem, namely T = 12 and n years = 2 (12 2
with 20 kV of rated voltage. strategy) strategy. With the fixed q0 , the algorithm showed
It has 23 branches and 23 load nodes as depicted in Fig. 4. all times premature convergence in a few iterations, whereas
Each load node is represented in Fig. 1. The distribution with variable q0 it was able to improve the optimal solution
system loads are supplied by one High Voltage/Medium till the end of the run. Moreover, the effect of a lower value
Voltage, HV/MV, substation and two main feeders. The re- of q0 on the convergence property of the algorithm consists
inforcement strategy is carried out in a time frame of 24 years in the ability to find better solutions and is justified by the
and with interventions that can be executed every n years possibility to explore in a wider sense.
years. The yearly rate of increase of the loads, r, is 0.03. The Another interesting issue concerns the ability of the al-
used load model is with constant power and the algorithm gorithm to overcome local minima and find out a low cost
to solve the network is a backward-forward algorithm. strategy. This characteristic must be attained by an accu-
The runs have been carried out using the parameters re- rate calibration of the algorithms parameters. Indeed, a too
ported in Table 1. strong reinforcement of the pheromone trace at local level,
In Table 1 is the pheromone updating parameter, ruling may give out misleading results in overall terms. The local
its decay and its reinforcement, is the parameter weighting reinforcement of the pheronome trace is guided by the al-
the importance of the transition cost from one configuration pha parameter, as well as by the number of ants. Indeed, a
to another, q0 is the parameter which varies according to larger number of ants in the same iteration, making choices
Equation (15), 0 is the pheromone initialization value and about the paths to be followed and implementing Eq. (16)
the parameter flat counts the number of iterations for which over the trace, means a stronger pheromone information at
the algorithm does not find better solution. The parameter q0 local level. A comparison between an optimization algo-
controlling the elitism property has an adaptive behaviour rithm that treats the entire strategy as optimization variable
since its course depends on the value of flat. It is important to and the proposed DACS algorithm which is a constructive
underline that for each setting of the electrical and strategy method has been carried out. On purpose a Genetic Algo-
parameters (Rc , T, n years) the Authors have carried out a rithm [11], suitably adapted in order to handle the considered
tuning of the above reported parameters, which, neverthe- problem, has been implemented. In the GA implementation,
less, remain confined in a small neighbourhood. Parameter the optimization variable is composed of T substrings each
y, which rules the course of q0 using Eq. (15), in all ap- indicating the state of the installations at the n years jth
plications ranges between 2 and 3 according to the desired year ( j [0, T ]). The Genetic Algorithm uses a Roulette
course of q0 . As an example, it has been observed that, as Wheel Selection and a two points crossover. Both crossover
the number of required interventions decreases, it is more and mutation operators are performed in order to prevent
important to have higher values of q0 , namely higher values the generation of unfeasible solutions. It is indeed possible
of qbase and smaller values of y. that the variation of one bit randomly results in the removal
In Fig. 5, the course of the best-so-far solution strategy of one or more PV modules, thing which is not allowed in
is reported, together with the course of q0 reported for a the considered formulation. Considering one solution as the
generic run with T = 8 and n years = 3 (8 3 strategy) entire strategy string allows to take fully into account the
and a value of Rc of 760 /kW per year. Parameter y has mutual influence between substrings. In this way, a wide
been set to 2 and parameter qbase to 0.5. exploration of the search space has been carried out even
though the GA proves to be unable to identify better solu-
tions than the proposed search technique.
Table 1. In Fig. 6 the results obtained with the GA and with the
proposed DACS technique (Rc = 43.8 /kW) are re-
Branching Number Termination
(N ) of ants criterion q0 0
ported. The figure clearly indicates that as much as the
problem gets similar to a static optimization problem, the
10 50 Flattening on 0.00001 2 variable 0.2 GA performs better, this is also motivated by the fact that
one solution in this case the search space is smaller. On the other hand,
for 20 iterations
(flat = 20)
the savings that can be attained using as optimization tech-
nique the DACS algorithm instead of a GA range between
38 Favuzza, Graditi and Riva Sanseverino

Figure 3. Flowchart of DACS.

the 5% and 30%, stopping both algorithms after 20 iter- As far as the computing cost is concerned, five runs per
ations without improvement. These differences range be- algorithm have been carried out in order to detect the sta-
tween 5% and 10% if the GA is let run for a much greater tistical behaviour of the two algorithms. Figure 7 reports a
number of iterations, but with an extremely high computa- comparison of the two algorithms in terms of the number
tional effort. The following figure reports results about this of objective function evaluations necessary to get the best
issue. solution they could attain. Again Rc has been set to 43.8
Adaptive and Dynamic Ant Colony Search Algorithm 39

Figure 4. Test system.

Figure 5. Course of q0 and of the overall cost of the strategy, the effect of the adaptive q0 is that to allow a larger exploration of the search space.

/kW. It must be noted that using a PC with a pentium 4 From the electrical engineering point of view, other re-
processor, 1.5 GHz, the GA took, in the best case, almost sults can be observed. Several runs have been carried out
one hour to get a solution 5% worst than that attained by with different values of Rc . In particular, ranging from 43.8
the DACS in 29 seconds. The proposed DACS algorithm is /kW up to 820 /kW. More robust installations of PV
quite efficient also in this dimension, since it reduces the modules can be observed only after a value of Rc of 700
calculation time up to 98%. /kW, even though solutions with PV modules can be ob-
In order to test robustness 50 runs of the DACS algorithm served starting from the minimum proposed value of 43.8
have been carried out, with the same settings, and a small /kW, which is a realistic value.
dispersion of the results has been observed. Figure 8 indeed Other runs have been carried out varying the number of
shows the frequency distribution of results for the lowest years between one intervention and the other (parameter
cost strategy outputted by the algorithm in the 50 runs (38 n years), keeping the same timeframe (24 years). In partic-
strategy, Rc = 43.8 /kW). ular, the Authors have considered the parameter T ranging
In Fig. 9, a portion of the search tree created by the from 12 to 2 and accordingly the parameter n years rang-
ants during the DACS algorithm is reported. In the figure, ing from 2 to 12 years. In this way, in what follows, for
the lines widths indicate the pheromone intensity, therefore example strategy 6 4 indicates a strategy with n years
paths with low pheronome (about 0.2) are represented by equal to 4 and T equal to 6. In this case, the tests have been
light lines, whereas higher values of pheromone are repre- carried out varying the frequency of interventions (type of
sented by wider lines. As it can be noted, the paths with strategy) and varying the parameter Rc . The costs of the
higher value of the pheronomone have a higher branching strategy have been considered reporting them at the year
as compared to those having a low pheromone value. This zero.
means that the algorithm actually searches in the neigh- In Fig. 10, the course of the strategy costs as the environ-
bourhood of the best solutions in a more intensive way as mental benefit, Rc, varies and the different modes of inter-
the iterations proceed. vention in the considered time frame. As it can be observed,
40 Favuzza, Graditi and Riva Sanseverino

Figure 6. Comparison of performance GA vs. DACS, minimization of the objective function.

Figure 7. Comparison of performance GA vs. DACS, number of objective function evaluations.

the 2 12 and 3 8 strategies are the most interesting in 6. Future Developments and Conclusions
economic terms. This means that for the considered load
growth, a small number of interventions on the electrical In this paper, a new heuristic cooperative algorithm based
system is advisable. on the ACO paradigm, suitable for dynamic optimization
Adaptive and Dynamic Ant Colony Search Algorithm 41

Figure 8. Frequency distribution of results of the DACS algorithm for a 3 8 strategy and Rc = 43.8 /kW.

The minimum cost strategy has been therefore attained


for different values of some parameter taking into account
environmental issues. The problem, of course, results in
a non-linear, dynamic optimization problem with mixed-
integer variables. The Authors have set up an optimization
algorithm which derives from the Ant Colony Search al-
gorithm suitably adapted to treat large search spaces and
mixed integer variables. Traditional ACS algorithm was in-
deed devoted to the solution of minimum path length prob-
lems and therefore able to treat problems with a discrete
search space made of a finite number of points. In this paper,
the discretization of the search space is made step-by-step
by the ants themselves. They locally choose the best way
to follow among a given number of candidate sites that are
updated at each iteration. The authors have also introduced
an adaptive parameter q0 which suitably controls the elitism
during the search.
The algorithm has proved to be robust and to work quite
well with the proposed problem of finding the optimal rein-
forcement strategy for a distribution system.
The proposed algorithm is also a valuable tool to carry
out further studies with different renewable sources such
as biomass, wind power and fuel cells, or also a combina-
Figure 9. Portion of the search tree outputted after one run with a 3 8
tion of these. It is also easily possible to change the times
strategy and Rc = 43.8 /kW. of interventions or even make this parameter an optimiza-
tion variable. The algorithm can easily be modified to push
problems, is proposed. The problem dealt with is an electri- the research towards exploration or towards exploitation by
cal engineering problem, namely that of the reinforcement of tuning the parameters and in a possible future development
distribution systems using renewable sources (PhotoVoltaic may be the possibility to change the criterion with which
systems) together with traditional means, such as cables and it chooses the candidate solutions. Moreover, the algorithm
transformers. can be modified in order to better keep track of the best path
42 Favuzza, Graditi and Riva Sanseverino

Figure 10. Comparison of different strategies.

found and to let the ants explore the neighbourhood of the mal units Power System Technology, in POWERCON 98, Interna-
best path. In this way, it would be possible to improve the tional Conference, vol. 1, pp. 552556, 1998.
precision of the best solution found. 5. Jen-Hao Teng and Yi-Hwa Liu, A novel ACS-based optimum switch
relocation method, IEEE Transactions on Power Systems, vol. 18, no.
1, pp. 113120, 2003.
Note 6. Yun-He Hou, Yao-Wu Wu, Li-Juan Lu, and Xin-Yin Xiong, Gen-
eralized ant colony optimization for Economic dispatch of power
1. The TSP is the problem of finding, given a finite number of cities systems, in International Conference on Power System Technology,
along with the cost of travel between each pair of them, the cheapest 2002, Proceedings of PowerCon 2002, Vol. 1, Oct. 2002, pp. 225
way of visiting all the cities and returning to the starting point. 229.
7. Yanjun Li, Tie-Jun Wu, and Daviv J. Hill, An accelerated
ant colony algorithm for complex non-linear system optimiza-
References tion, Proc. of the 2003 IEEE Symposium on Intelligent Control,
Houston Texas. Oct. 2003, pp. 709713.
1. M. Dorigo and G. Di Caro, Ant Colony Optimization: A new meta- 8. International Energy Agency, Photovoltaic Power Systems (PVPS)
heuristic, Proceedings of the Congress on Evolutionary Computation Agreement.
CEC 99, vol. 2, pp. 14701477, 1999. 9. Augugliaro, L. Dusonchet, M.G. Ippolito, and E. Riva Sanseverino,
2. M. Dorigo and L.M. Gambardella, Ant Colony System, A coop- An Optimal Reinforcement Strategy For Distribution Utilities With
erative learning approach to the Traveling salesman problem, IEEE Distributed Generation using an Evolutionary Parallel Tabu Search
Transactions on Evolutionary Computation, vol. 1, no. 1, pp. 5366, approach, in Int. Conf. PMAPS 2002 Naples, June 2002.
1997. 10. Shyh-Jier Huang, Enhancement of hydroelectric generation
3. N.S. Sisworahadijo and A.A. El-Keib, Unit commitment using the scheduling using ant colony system based optimisation ap-
ACS algorithm, Power Engineering 2002 Proc. of LESCOPE 2002, proaches Energy Conversion, IEEE Transaction on Energy
June 2002, pp. 26. Conversion, vol. 16, no. 3, pp. 29630, 2001.
4. In-Keun Yu, C.S Chou, and Y.H. Song, Application of the ant colony 11. D.E. Goldberg, Genetic Algorithm in Search, Optimization and Ma-
search algorithm to short-term generation scheduling problem of ther- chine Learning, Addison Wesley, 1989.

You might also like