A Hybrid Particle Swarm Optimization Approach For Load-Flow Computation
A Hybrid Particle Swarm Optimization Approach For Load-Flow Computation
A Hybrid Particle Swarm Optimization Approach For Load-Flow Computation
net/publication/279963028
Article in International journal of innovative computing, information & control: IJICIC · November 2013
CITATIONS READS
6 6,445
5 authors, including:
Some of the authors of this publication are also working on these related projects:
Aprimoramento, Fabricação e Aplicação Piloto de Cabeças de Série de Dispositivo Inteligente para Reduzir a Demanda de Ponta em Equipamento de Linha Branca View
project
All content following this page was uploaded by Germano Lambert-Torres on 10 July 2015.
Abstract. This paper presents a hybrid particle swarm based methodology for solving
load flow in electrical power systems. Load flow is an electrical engineering well-known
problem which provides the system status in the steady-state and is required by several
functions performed in power system control centers. The proposed approach for load flow
computation is based on the minimization of the power mismatches in the system buses
and applies a hybrid particle swarm optimization with mutation operation to achieve
this. The presented model searches for a greater convergence and a wider application in
comparison with traditional methods. As the proposed method is not a tangent method, it
is able to solve even non convex problems, unlike traditional methods. Numerical results
of the proposed methodology are presented for two different power system case studies.
Keywords: Particle swarm optimization, Load flow, Artificial intelligence, Electrical
power system, Computational intelligence
1. Introduction. Load flow studies are required by most functions performed in power
system control centers [1]. Load flow is an electrical engineering well-known problem
which provides the power system operation point in the steady-state [2,3]. This problem
is modeled by a set of non-linear equations, which is commonly solved by the application of
numerical methods [4,5]. Newton-Raphson approach – and its variants – is highlighted as a
numerical method to solve load flow, because of its good and quick convergence. However,
this method includes some difficulties or limitations because of the complex Jacobian
matrix calculation and inversion and also the dependence on good initial estimated values
to guarantee the convergence. Moreover, some current changes in the power system
characteristics, such as an occurrence of a higher resistance-to-reactance ratio (R/X),
may complicate the load flow convergence [6,7]. Finally, Newton-Raphson is a tangent
method, so it cannot solve non convex problems. For example, if part of the power
system is lost, because of a contingency, Newton-Raphson method cannot find the load
flow solution properly.
In [8] it is pointed out that the Newton-Raphson based approaches to solve the load flow
problem do not work well when the power system becomes highly stressed and when there
are nonlinear elements in the power network, which may occur because of the employ-
ment of flexible AC transmission systems (FACTS) devices [9]. [10] also highlights that the
Newton-Raphson method is highly sensitive to the initial settings of the variables. Other
problems in convergence are related in [11], which remarks that the Newton-Raphson
4359
4360 C. P. SALOMON, G. LAMBERT-TORRES, L. E. B. DA SILVA ET AL.
based methods do not behave well when the system is heavy loaded and when the Jaco-
bian matrix is ill-conditioned. Moreover, [12] observes that conventional methods have
difficulty to converge if the R/X ratio is high, and they indeed can fail to converge due
to an inappropriate choice of starting values.
Thus, researchers have been attempting new methods to solve the load flow equations,
looking for an easier and a more efficient implementation, as well as overcoming the
aforementioned limitations and convergence problems. Many of these new methods have
applied artificial intelligence techniques.
In the area of artificial intelligence, computational intelligence based algorithms have
been applied successfully to electrical engineering problems, and Particle Swarm Opti-
mization (PSO) is pointed out among these techniques. PSO algorithms are applied in
function optimization and they are based on the behavior of birds’ flocks searching for
food [13]. PSO applications have provided good convergence properties, ease of imple-
mentation and low computational time [14]. The PSO based methodologies have potential
to overcome limitations of the conventional methods for solving load flow because of the
technique nature and the algorithm structure, and they are powerful alternatives when
conventional methods fail to find the load flow solution [4]. An important characteristic
of PSO is that it is not a tangent method, it does not depend on so good initial estimative
values to converge to a best solution and so it is able to solve even non convex problems.
Ref. [15] proposed an adaptive PSO based method for normal and low voltage multiple
load flow solutions, which is important to the purpose of voltage stability assessment,
highlighting the potential of PSO to do this job, while standard methods are not suitable to
do this. In [14,16,17], the authors propose the PSO application to the optimal power flow
problem. In [18], the authors propose a PSO methodology for power system restoration. In
[19], it is presented PSO applied to voltage and reactive power control. Several researches
have also been implementing hybrid models, putting PSO together with other techniques,
for instance the Genetic Algorithm (GA) operators. In [20], it is proposed a Hybrid
PSO with Mutation applied to loss power minimization. In [21], it presents the particle
swarm optimization algorithm for solving the optimal distribution system reconfiguration
problem for power loss minimization, and in [6] it is presented a chaotic PSO algorithm
with local search to the load flow calculation. Finally, in [22], it is proposed a hybrid
algorithm based on combining fuzzy adaptive PSO and Differential Evolution for non-
convex economic dispatch.
This paper proposes the application of a hybrid particle swarm optimization approach
for load flow computation, combining PSO with a mutation operation. This methodology
is based on the minimization of the apparent power mismatches in the system buses. The
variables are continuous and must stay within the specified boundaries defined in the
system input data. Numerical results were obtained for 6-bus and 9-bus power system
case studies [23,24].
2. Load Flow Analysis in Electrical Power Systems. Load flow – or power flow –
provides the system status in the steady-state; it means the determination of the power
system operation point based on the previous knowledge of system parameters and some
variables of the system buses. The purpose of this study is to obtain the system buses
voltages in order to determine later the power adjustments in the generation buses and the
power flow in the system branches. Therefore, it is possible to obtain the amount of power
generation necessary to supply the power demand plus the power losses in the system
branches. Besides, the voltage levels must comply with the predetermined boundaries
and overloaded operations added to those in the stability limit must be prevented [4].
A HYBRID PARTICLE SWARM OPTIMIZATION APPROACH 4361
Each power system bus is associated with four variables, where two of them can be
controlled and the other two are results of the system conditions. These variables are:
real power (P ), reactive power (Q), voltage magnitude (|V |) and voltage phase angle (δ).
The power system buses are classified according to these mentioned variables. Type 1
Bus or PQ Bus: Pi and Qi are specified, and |Vi | and δi are calculated; Type 2 Bus or
PV Bus: Pi and |Vi | are specified, and Qi and δi are calculated; Type 3 Bus or Vδ Bus
(“Slack Bus”): |Vi | and δi are specified, and Pi and Qi are calculated.
The equation general form that represents the system power flow computation is given
by (1).
Pi − jQi − yi1 V1 Vi∗ − yi2 V2 Vi∗ − . . . − yin Vn Vi∗ = 0 (1)
where i = 1, . . . , n, bus number; Pi = real power generated or injected in the bus i; Qi
= reactive power generated or injected in the bus i; |Vi | = voltage magnitude of the bus
i; δi = voltage phase angle of the bus i; Vi = |Vi |ejδi , i.e., the voltage in the polar form;
Vi∗ = |Vi |e−jδi , i.e., the conjugate voltage; yik = element of the nodal admittance matrix
Ybus .
The nodal admittance matrix can be computed as follows: if i = k, yik is the sum of the
admittances that come out from the bus i; else yik is the admittance between the buses i
and k, multiplied by −1.
Equation (1) represents a complex and non-linear equations system, and its solution is
usually obtained through approximations adopting numerical methods.
and after all the particles pass through the described routine, the global best updating
verification is accomplished.
4.3. Particle parameters updating. The velocities as well as the position of the par-
ticles are updated according to (4), (5) and (6) [13,21,22].
v(t + 1) = w.v(t) + c1 .r1 .(p(t) − x(t)) + c2 .r2 .(g(t) − x(t)) (4)
x(t + 1) = x(t) + v(t + 1) (5)
(wmax − wmin ).t
w = wmax − (6)
ni
where i = particle index; t = iterations counter; ni = total number of iterations; v(t) =
particle i velocity at iteration t; x(t) = particle i position at iteration t; r1 , r2 = random
numbers between 0 and 1; c1 , c2 = acceleration coefficients, both set to a value of 2.0;
p(t) = particle i personal best found at iteration t; g(t) = global best found at iteration
t; w = velocity equation’s inertia weight; wmax = inertia weight maximum value, set to a
value of 0.7; wmin = inertia weight minimum value, set to a value of 0.2.
Then the mutation operation is applied to the worst particle of the current iteration,
i.e., the particle which has the biggest score, and because of this principle it is named as
Biased Mutation [30]. The procedure consists in adding a random value to the particle
position, according to (7) [22].
mx(k) = x(k) + 0.1.[(xmax − xmin ).r + xmin ] (7)
where k = mutated particle index; x(k) = particle position before the mutation operation;
mx(k) = particle position after the mutation operation; r = random number between 0
and 1; xmax = maximum value of the position, related to the specified boundary in the
input data; xmin = minimum value of the position, related to the specified boundary in
the input data.
4.4. Problem solution. The stop criterion is defined by iterations groups and by the
required accuracy for the global score. This tolerance was adopted as 10−5 (pu). The
simulation runs a group of a fixed number of iterations. In the end of the iterations
group, if the global score is bigger than the tolerance, so the algorithm runs another
group of iterations. The process continues until a maximum number of iterations groups
it can run. So the final global best is adopted as the load flow solution.
Note that the proposed methodology can provide several acceptable results for the same
load flow study, depending on the simulation. The reason is because each particle has a
random initial estimate value and the HPSOBM equations also employ random values, so
several solutions can be achieved for the same initial estimative [30]. However, numerical
traditional methods, starting with the same initial estimative values, achieve the same
final results, regardless of the program simulation.
Finally, in order to illustrate the proposed methodology and to compare with the con-
ventional one, Figures 1 and 2 present flowcharts of the Newton-Raphson method and the
HPSOBM method, respectively.
Regarding the flowchart presented in Figure 1, it is important to point out that the
mismatches equationing is a matrix equation which relates the voltage mismatches ∆θ’s
and ∆V’s with the power mismatches ∆P’s and ∆Q’s.
Analyzing the flowcharts depicted in Figures 1 and 2, and comparing the techniques
nature, it can be noted the main differences between them. HPSOBM is a stochastic
method based on a population of individuals searching for the global best. Because of
this stochastic nature, HPSOBM does not require gradient information, it utilizes the rule
function information and works in a random oriented way. HPSOBM is not a tangent
4364 C. P. SALOMON, G. LAMBERT-TORRES, L. E. B. DA SILVA ET AL.
method, so it can find the solution for non convex problems. On the other hand, Newton-
Raphson is a deterministic method, based on derivative calculation and provides good
results when the functions are continuous, convex and unimodal. Newton-Raphson also
depends on good initial estimative values to guarantee the convergence to an optimal
solution. In the HPSOBM algorithms, the individuals have the ability to adapt to the
environment in which they are inserted and to learn individually and with their neighbors,
through the rule function assessment and Equations (4)-(7). Moreover, the mutation
operation aids the particles to search along the search space, preventing a convergence
to a local best. These characteristics are not present in conventional numerical methods
and help HPSOBM method to obtain a better convergence and work even when these
conventional methods can fail. Therefore, the aforementioned HPSOBM characteristics
indicate its inherent potential to overcome some limitations found in the conventional
deterministic methods, including Newton-Raphson based algorithms to solve load flow.
As mentioned previously, a practical application for HPSOBM to solve load flow when
traditional methods have difficulty to converge could be when part of the power system is
lost, because of a contingency. In such situation, traditional tangent methods, as Newton-
Raphson and its variants, cannot converge to an optimal solution properly, because the
initial estimative values, normally 1 (pu) for voltage magnitudes and 0 (rad) for voltage
phase angles, are far away from the system current status. On the other hand, because
of the aforementioned characteristics, HPSOBM can find the load flow solution even in
this case.
A HYBRID PARTICLE SWARM OPTIMIZATION APPROACH 4365
5. Numerical Results. In this section, the proposed methodology for load flow com-
putation is evaluated on two case studies: the 6-bus power system case study [23] and
the 9-bus power system case study [24]. A computational procedure has been developed
based on the HPSOBM methodology for solving the load flow. The software simulations
have been run on a 1.66-GHz Intel(R) T1600 PC. Five runs have been performed for each
test system study case. The selected results are the best solution over these five runs. The
obtained results of the proposed methodology for each case study are compared with those
obtained using a Newton-Raphson based computational method, which is a traditional
method applied to find the load flow solution, as mentioned in the last sections.
5.1. 6-bus power system case study. The first test system is a 6-bus power system
proposed in [23], as shown in Figure 3. This test system comprises six buses, including
three generation buses and three load buses, and 11 branches, composed by transmission
lines.
The simulations for this system held a population of 15 particles. The maximum number
of iterations was 4000, arranged into 40 groups of 100 iterations per group. Figure 4 shows
the global score decreasing along the iterations. The global score starts with 0.541057
(pu) at the first iteration and reaches 9.750141E-06 (pu) at the end of the iterations.
Tables 1 and 2 present the load flow results for the six bus power system obtained
through the application of a Newton-Raphson based method. Tables 3 and 4 present the
results obtained with the proposed methodology.
5.2. 9-bus power system case study. The second test system is a 9-bus power system
proposed in [24], as shown in Figure 5. This test system comprises nine buses, including
Figure 4. Simulation with 6-bus power system, global score vs. iterations
Table 1. 6-bus simulation applying a Newton-Raphson based method:
buses parameters results
two generation buses and five load buses, and 10 branches, composed by eight transmission
lines and two power transformers.
The simulations for this system held a population of 15 particles. The maximum number
of iterations was 8000, arranged into 40 groups of 200 iterations per group. Figure 6 shows
the decrease of the global score along the procedure iterations. The global score starts
with 1.405300 (pu) at the first iteration and achieves 8.653121E-04 (pu) at the end of the
iterations.
Tables 5 and 6 present the load flow results for the 9-bus power system obtained through
the application of a Newton-Raphson based method. Tables 7 and 8 present the results
obtained applying the proposed methodology.
A HYBRID PARTICLE SWARM OPTIMIZATION APPROACH 4369
It is possible to verify the effectiveness of the proposed methodology analyzing how small
the obtained power mismatches are. A remark must be made at this point. The 9-bus test
system voltage magnitudes obtained through the Newton-Raphson based method have
accuracy until the third decimal place, smaller than the proposed methodology accuracy,
so it obscures a direct comparison between the power mismatches obtained through these
two techniques. However, one can note that in both of the case studies the proposed
hybrid particle swarm optimization approach provides voltage modules and angles very
similar to those obtained through Newton-Raphson based methods. Moreover, the power
mismatches are properly minimized, most of them are smaller than the tolerance usually
accepted, which is about 10−4 (pu). So the aforementioned facts prove the effectiveness
4370 C. P. SALOMON, G. LAMBERT-TORRES, L. E. B. DA SILVA ET AL.
Figure 6. Simulation with 9-bus power system, global score vs. iterations
of HPSOBM methodology to find optimal solutions for the load flow problem minimizing
the power mismatches on the system buses.
system case studies through the developed computational program. In both of the case
studies, the simulations results indicates that the proposed methodology presents accept-
able solutions for the buses power mismatches and the results are also better or as good
as those obtained through Newton-Raphson based methods.
The main advantages of this presented methodology are the ease and flexibility of
implementation, and its better convergence. The proposed HPSOBM method is not a
tangent method, so it is able to solve even non convex problems, unlike traditional methods
as Newton-Raphson and its variants. It is suggested for future works an improvement in
the procedure in order to achieve lower mismatches in the cases which they are larger
than 10−4 and also to evaluate its applicability in cases where the traditional methods
have limitations or fail to solve load flow.
Acknowledgments. The authors would like to thank CNPq, CAPES and FAPEMIG –
Brazilian research funding agencies, for the research scholarships, which supported this
work.
REFERENCES
[1] V. L. Paucar and M. J. Rider, On the use of artificial neural networks for enhanced convergence of
the load flow problem in power systems, Proc. of Intelligent Systems Applications to Power Systems,
pp.153-158, 2001.
[2] B. Stott, Review of load flow calculation methods, IEEE Proc., vol.62, pp.916-929, 1974.
[3] G. Lambert-Torres, L. E. B. da Silva, B. Valiquette, H. Greiss and D. Mukhedkar, A fuzzy knowledge-
based system for bus load forecasting, Fuzzy Logic Technology and Applications, pp.221-228, 1994.
[4] O. I. Elgerd, Electric Energy Systems Theory: An Introduction, McGraw-Hill Publishing Co. Ltd,
1975.
[5] G. Lambert-Torres, A. P. A. da Silva, V. H. Quintana and L. E. B. da Silva, Classification of power
system operation point using rough sets techniques, Proc. of IEEE International Conference on
Systems, Man and Cybernetics, Beijing, China, vol.3/4, pp.1898-1903, 1996.
[6] P. Acharjee and S. K. Goswami, Chaotic particle swarm optimization based reliable algorithm to
overcome the limitations of conventional power flow methods, Proc. of Power Systems Conference
and Exposition, 2009.
[7] A. P. A. da Silva, C. Ferreira, A. C. Zambroni and G. Lambert-Torres, A new constructive ANN and
its applications to electric load representation, IEEE Trans. on Power Syst., vol.12, no.4, pp.1569-
1575, 1997.
[8] T. O. Ting, K. P. Wong and C. Y. Chung, Hybrid constrained genetic algorithm/particle swarm
optimization load flow algorithm, IET Gener. Transm. Distrib., vol.2, pp.800-812, 2008.
[9] L. E. B. da Silva, L. E. L. de Oliveira, G. Lambert-Torres, V. F. da Silva, J. O. P. Pinto and B.
K. Bose, Improving the dynamic response of active power filters based on the synchronous reference
frame method, Proc. of Applied Power Electronics Conference, Dallas, USA, vol.2, pp.742-748, 2002.
[10] A. G. Bakirtzis, P. N. Biskas, C. E. Zoumas and V. Petridis, Optimal power flow by enhanced genetic
algorithm, IEEE Trans. on Power Syst., vol.17, pp.229-236, 2002.
[11] A. A. El-Dib, H. K. M. Youssef, M. M. El-Metwally and Z. Osman, Load flow solution using hybrid
particle swarm optimization, Proc. of the 2004 International Conference on Electrical, Electronic
and Computing Engineering, pp.742-746, 2004.
[12] M. Syai’in, K. L. Lian, N. C. Yang and T. H. Chen, A distribution power flow using particle swarm
optimization, IEEE Power and Energy Society General Meeting, pp.1-7, 2012.
[13] J. Kennedy and R. Eberhart, Swarm Intelligence, Morgan Kaufmann Publishers, 2001.
[14] K. S. Swarup, Swarm intelligence approach to the solution of optimal power flow, J. Indian Inst.
Sci., vol.86, pp.439-455, 2006.
[15] P. Acharjee and S. K. Goswami, An adaptive particle swarm optimization based method for nor-
mal and low voltage multiple load flow solutions, Joint International Conference on Power System
Technology and IEEE Power India Conference, POWERCON 2008, pp.1-6, 2008.
[16] I. Oumarou, D. Jiang and Y. Cao, Particle swarm optimization applied to optimal power flow
solution, Proc. of the 5th Conference on Natural Computation, pp.284-288, 2009.
4372 C. P. SALOMON, G. LAMBERT-TORRES, L. E. B. DA SILVA ET AL.
[17] C. Kumar and P. Raju, Constrained optimal power flow using particle swarm optimization, Inter-
national Journal of Emerging Technology and Advanced Engineering, vol.2, no.2, pp.235-241, 2012.
[18] G. Lambert-Torres, H. G. Martins, M. P. Coutinho, C. P. Salomon and L. S. Filgueiras, Particle
swarm optimization applied to restoration of electrical energy distribution systems, Lecture Notes in
Computer Science, vol.5370, pp.228-238, 2008.
[19] H. Yoshida, K. Kawata, Y. Fukuyama, S. Takayama and Y. Nakanishi, A particle swarm optimiza-
tion for reactive power and voltage control in electric power systems considering voltage security
assessment, IEEE Trans. on Power Syst., vol.15, pp.1232-1239, 2001.
[20] A. A. A. Esmin, G. Lambert-Torres and A. C. Z. de Souza, A hybrid particle swarm optimization
applied to loss power minimization, IEEE Trans. on Power Syst., vol.20, pp.859-866, 2005.
[21] A. A. A. Esmin and G. Lambert-Torres, Application of particle swarm optimization to optimal power
systems, International Journal of Innovative Computing, Information and Control, vol.8, no.3(A),
pp.1705-1716, 2012.
[22] T. Niknam, H. D. Mojarrad and M. Nayeripour, A new hybrid fuzzy adaptive particle swarm opti-
mization for non-convex economic dispatch, International Journal of Innovative Computing, Infor-
mation and Control, vol.7, no.1, pp.189-202, 2011.
[23] A. J. Wood and B. F. Wollenberg, Power Generation, Operation and Control, 2nd Edition, John
Wiley & Sons Ltd., 1996.
[24] W. F. Alves, Proposition of Test Systems for Power Systems Computational Analysis, Master Thesis,
Fluminense Federal University, Niteroi, Brazil, 2007.
[25] J. Kennedy and R. Eberhart, The particle swarm: Social adaptation of knowledge, Proc. of IEEE
International Evolutionary Computation, pp.303-308, 1997.
[26] L. Davies, Handbook of Genetic Algorithms, Van Nostrand Reinhold, New York, 1991.
[27] D. Beasley, D. Bull and R. Martin, An overview of genetic algorithms: Part 1, fundamentals, Tech-
nical Report, Inter-University Committee on Computing, 1993.
[28] D. E. Goldberg and J. H. Holland, Genetic algorithms and machine learning: Introduction to the
special issue on genetic algorithms, Machine Learning, vol.3, 1988.
[29] G. Lambert-Torres, H. G. Martins, M. P. Coutinho, L. E. B. da Silva, F. M. Matsunaga, R. A.
Carminati and J. C. Neto, Genetic algorithm to system restoration, Proc. of the 2009 World Congress
on Electronics and Electrical Engineering, 2009.
[30] C. P. Salomon, M. P. Coutinho, G. Lambert-Torres and C. Ferreira, Hybrid particle swarm opti-
mization with biased mutation applied to load flow computation in electrical power systems, Lecture
Notes in Computer Science, vol.6728, pp.595-605, 2011.