Abstract—In this paper, we present an ant colony optimization colonies how they quest food from nest to food source.Our
algorithm for load shedding minimization in smart grids. Smart algorithm uses artificial ants to navigate through the network
grid technologies offer efficient solutions to the supply and and satisfy the demands at various nodes or demand sites.
distribution of power. However, its a great challenge to maintain
the proper flow in the grid and minimize the load shedding. In Successive local search phases optimize based on the ant
reality, the situation might change dynamically and the behavior based constructions. In each epoch, the successor ants follow
of the grid network is also stochastic. We applied our algorithm to the pheromone trail left by the ants in the earlier epochs.
solve the load shedding minimization problem in a deterministic The experiments are being performed on artificially generated
setting. Our algorithm is a hybrid ant colony optimization with datasets and the effectiveness of various components of this
a constructive ant-based method followed by a local search
phase. We have tested the performance of our algorithm on algorithm is tested. The main contribution of this paper are as
datasets generated using statistical data. Moreover our algorithm follows:
shows potentials for exploration in terms of the runtime and the • A deterministic model for load shedding minimization in
significantly better solutions have been found. power grids.
Keywords-power grid, local search, tabu-list, optimization. • Application of ant colony optimization to solve this hard
combinatorial optimization problem.
I. I NTRODUCTION
• A novel perturbation local search procedure to improve
Power transmission is one of the most important issues in over the solutions found by the constructive search.
smart grid networks. Even with higher production of energy, The rest of the paper is designed as follows: Section II
the failure to ensure the flow in the correct transmission lines presents our deterministic model for load shedding minimiza-
might occur in power shortage and load shedding. Minimizing tion problem and the necessary background; Section III de-
load shedding is an important logistics problem [1]. Mini- scribes some related work in the literature; Section V describes
mizing load shedding ensures efficient supply of power in the algorithm being used; Section VI discusses and analyzes
every point of grid network. Power flow optimization is done the experimental results; and finally, Section VII presents our
by either using optimizing source side management (SSM) conclusions and outlines our future work.
or Demand side management (DSM). DSM is a an option
where demand is being optimized by the modification of II. P RELIMINARIES
consumer demand for energy through various methods like Smart grid means the application of digital processing and
power shifting [2], peak load reduction [3] and consumer communication to the power grid, making data flow and
demand shifting for using appliances [4]. In case of SSM, information management central to the smart grid. At present,
least number of sources can be used to supply more demand the modern world’s demand form electricity is rapidly increas-
so that some of the power can be saved for future purpose. The ing due to industrialization. An electric grid is not a single
demand is selected according to most desired one, means the entity but aggregate of multiple network and multiple power
source will be supplying those demands which have highest generation. In smart grid system, electricity distributed among
need for power [5]. The source will keep few residues within the electric grids based on demand. Smart grid optimization is
themselves, the sources will be not being kept null. While an efficient technology to distribute power among the electric
transmission, there is always loss and these increases with grids. We use Ant Colony Optimization to get good quality
distance and overload, an optimized path need to be chosen solution within a very short time.
that all the demand get the required power and less loss. A key constrain of electric power is that, with minor excep-
Even after transmission, there is enough power so that it can tions, electrical energy cannot be stored, and therefore must be
supply if more power is needed during any necessity. Various generated as needed. A sophisticated control system is required
algorithms are being used to solve power flow optimization to ensure electric generation very closely matches the demand.
problem [6], [5]. If the demand for power exceeds the supply, generation plant
In this paper, we present a novel ant colony optimization and transmission equipment can shut down, which in the worst
(ACO) algorithm [7]. ACO simulate the behavior of ant case may lead to a major regional blackout. Transmitting
Fig. 1. Connections between different source and demand sites. Now, there is a load shedding li associated with each
demand site negative in sign defined as following:
X
li = di + xij ≤ 0, ∀i ∈ D
electricity at high voltage reduces the fraction of energy lost to
resistance, which varies depending on the specific conductors, Our main objective is to meet the demand, due to shortage of
the current flowing, and the length of the transmission line. source capacity or leakage in transmission lines the demand
Electricity is transmitted at high voltages (120 kV or above) is greater than transmitted power.
to reduce the energy losses in long-distance transmission. So 3) Objective: The objective function is to minimize the
for generation of high electricity, we need powerful cables total load shedding in the grid defined by the following
so it increases the transmission cost.The transmission flow is equation: X
heterogeneous as it needs to consider the cost, power loss, L= li , ∀i ∈ D (1)
need to supply the nearby demand as well the demand which
has more consumption. Provided, all the demand should be B. Ant Colony Optimization(ACO)
connected to the source so that there is no black out for Ant colony optimization is a stochastic optimization ap-
any consumer. In Bangladesh, two season changes are being proach inspired from ants in nature. In real life, ants are
focused like summer and winter.In summer, consumption is searching food and returning to their nest in a shortest path by
high where as in winter its less. So the remaining power using pheromone trail. The ACO algorithm creates artificial
which is not being used during winter, will be used when ants and pheromone to search for good quality path from
the consumption level is high during summer. graphs. Pheromone is an evaporative element and thus the
paths with more pheromone content the more explored by the
A. A Deterministic Model successive ants. The first phase of the ACO algorithm is a
In this model, there are two types of nodes: demand and constructive algorithm that builds an initial solution from a
supply. The supply nodes may represent the power generating finite set of solution components. Like any other constructive
sites and the demand nodes are residential locality or industrial algorithms it starts from an initial empty partial solution,
area. These nodes are connected to each other by power lines S = φ, and at each step the computational ant selects one
with varying capacity depending on the connection types. of the solutions components and expands the partial solution.
Supply of a node i is indicated as si and demand is indicated The ant performs a walk on the construction graph, where
as di . However these quantities are in the same units and each vertex in the graph corresponds to a solution component.
only varies in the sign. The grid is given a weighted graph, A state is denoted by the partial solution constructed by the
G ≡ hV, Ei. Each edge, (i, j) ∈ E indicates links between two ant. Each ant k at state x computes a set Ak (x) of feasible
nodes, i ∈ V, j ∈ V . The set of vertices V = S ∪ D, where S expansions possible from its current state x. For the ant k,
is the set of supply nodes and D is the set of demand nodes. the probability pkxy of moving from state x to state y depends
The flow capacity of each of the edges are given as a matrix on the pheromone level τxy . The probability is defined as the
C. Each element, cij ∈ C denotes the flow capacity of the following:
link between node i and j. α β
τxy ηxy
1) Variables: A set of flow variables in matrix X where pkxy = P (2)
α β
each individual flow from node i to j is indicated as xij . This z∈Ak (x) τxz ηxz
variable is used to identify the power flow of the model. The Pheromones are also updated in each iteration in two ways:
flow is unidirectional. A flow in a particular direction means uniform evaporation followed by deposit of pheromone by the
a negative flow in the reverse direction. ant that found the best solution.
2) Constraints: Flow in each link must not exceed the
associated capacity of the links. III. R ELATED W ORK
Different optimization techniques have been proposed to
|xij | ≤ cij
solve the smart grid related problem [8]. During load cuts
The power flow within the transmission lines is less than or communication [9] and self heal is necessary so that there
equal to the capacity of transmission lines so that there is no is no black out. Demand side management and optimal load
eddy current loss within the lines. shedding with minimum load cuts are proposed using self
X healing and preventive methods [6]. Self healing is done
xij ≤ si , ∀i ∈ S through demand side where optimal power flow determined
178
through load shedding scheme by Bacterial particle swarm nothing and simply select the next node. Ant has to carry the
optimization [10]. Demand side management along with flow power less than or equals to the link capacity between current
control and cost management is being analyzed previously node to next selected node. So the rest of the power that is
with combination of Fuzzy Logic and Genetic Algorithm [11]. not carried by the ant is left in the current node. That is the
To balance the power flow from supplier to consumer, the residual in that current node. This same ant will place those
mechanism of power shiftable and time shiftable appliances is nodes which has residual. If there are 10 ants then that 10
being used [4]. Load management is done using Integer Linear ants will distribute the electricity to the graph in 10 different
Programming where hourly peak load is being reduced [4]. In ways. Note that the every ant will place to the source vertex
this case, the customers can take decisions regarding energy every time randomly, so that it will ensure that there will be
consumption, reduce peak load demand and reshape profile. no predetermined sequence. After getting the result from those
Heuristic based evolutionary algorithm is used for solving 10 ants separately we calculate which ant has the graph that
minimization problem dividing into three sectors: residential, has minimum quality. In our method quality is total residual
commercial and industrial area [5]. Evolutionary algorithm and load shedding in the graph. Then the pheromone trail will
allows implementation of features that model load demand be updated according to the path that the ant has made.
pattern based on customer needs [5]. Some devices have high The artificial ant will start exploring nodes from sources.
priorities that are taken consideration by using evolutionary It will choose a link randomly to visit neighbour node. Ant
algorithm where load shifting according to time steps are used. will choose a link based on probability of load shedding and
Integer linear programming (ILP) models designed to identify pheromone. Load shedding will be a heuristic value controlled
optimal combinations of supply sources, demand sites for them by β. Pheromone will be controlled by α. An ant will use a
to serve, and the pathways along which the reallocated power link only once. Artificial ant will carry electricity based on
should flow [1]. Stochastic search algorithms are applied to link capacity. First it will count all the unused links of the
solve a related problem finding optimal power flow, minimiz- selected next node. We assume that half of unused link will
ing load shedding and cost management [5]. be incoming link rest of them are outgoing link .After that
For data collection in real time from remote locations, it will calculate the average of selected next nodes demand
SCADA (supervisory control and data acquisition) is a cat- by incoming links. Then the selected outgoing link will carry
egory of software application program for process control in flow between minimum of chosen link capacity, the assume
order to control equipment and conditions [12], [13]. average flow of the next node, and the ant’s current power. So
that the minimum value from those will be the ant’s power
IV. W HY C HOSE A NT C OLONY O PTIMIZATION that the ant will carry to the next selected node. Rest of the
It has been proofed that ACO algorithm better perform power of that ant add to the current node’s residual. Artificial
in hard combinatorial problem like in TSP and VRP. And ant will save the path in its memory. It will try to explore as
even the hard combinatorial problem where constraints are much node as possible using total sources power. If there is
too many like VRPTW this algorithm shows very good result any residue in any node ant will try to distribute that power
in a very good time limit. So, minimizing load shedding too.
in a graph with many constraints is similar kind of hard Probability of choosing next node is given in Equation 2.
combinatorial problem as mentioned earlier. We tried our Pheromone evaporation: After all the ants complete mak-
problem to solve with Monte Carlo and Gibbs algorithm. ing their solution, the pheromone trail are updated based on
Where this algorithm won’t work relatively large graph(grater the quality. Before update pheromone trail first lowering the
than 20 nodes). Whereas, ACO algorithm works in a large pheromone value in all link by a constant factor. This is called
graph smoothly and converge a suboptimal result in a very pheromone evaporation. This method helps to avoid to take
good time. And combination with local search this algorithm bad decision that has previously been taken. Ant will think
shows much better result. Therefore to solve a very large graph that it is a bad link to travel. Equation [7] of pheromone
we use ACO algorithm. evaporation is given in the following:
V. O UR A PPROACH
In this section, we present our ant colony optimization τxy = (1 − )τxy (3)
(ACO) for solving smart grid optimization problem.
Pheromone Update: When all ants make their solution,
A. Tour Construction then those solutions are compared with their quality. This
In our method, an artificial ant starts from a supply node happens after the pheromone evaporation is done. The quality
with the electricity or power that the node generated. It will of a solution is total load shedding and residual. Which ant
traverse the graph and give the electricity to the demand node make the graph minimum quality that we are considering the
until the electricity or power that the ant carried runs out or ant that make good solution. Then the ant that has good quality
there is no way to move another node. This same ant placed in will update pheromone trail using its corresponding traveling
every supply node and distribute the electricity to the demand path. The following equation defines the amount of pheromone
node. Note that if the ant reach in a supply node then the ant do deposit in a particular step or edge taken by the ant.
179
TABLE II
C OMPARISON OF LOAD SHEDDING VALUES ACHIEVED BY DIFFERENT
ALGORITHMS FOR VARIOUS DATASETS WITH DIFFERENT.
VII. C ONCLUSION
R EFERENCES