Professional Documents
Culture Documents
International Jornal of Emerging Electric Power Systems 2006
International Jornal of Emerging Electric Power Systems 2006
∗
Dayalbagh Educational Institute (Deemed University), ashish 711@rediffmail.com
†
Dayalbagh Educational Institute (Deemed University), dkc.foe@gmail.com
‡
Dayalbagh Educational Insitute (Deemed University), aksaxena61@hotmail.com
Copyright
2006
c The Berkeley Electronic Press. All rights reserved.
Optimal Power Flow Solution: a GA-Fuzzy
System Approach∗
Ashish Saini, Devendra K. Chaturvedi, and A. K. Saxena
Abstract
Optimal power flow (OPF) is one of the nonlinear problems of power system. The various
algorithms for solving optimal power flow problem are found in the literature. The genetic al-
gorithm (GA) based solution techniques are found to be most suitable because of their ability of
simultaneous multidimensional search for optimal solution. This paper presents a novel GA-Fuzzy
based approach for solving OPF. The GA parameters e.g. crossover and mutation probabilities are
governed by fuzzy rule base. Algorithms for GA-OPF and GA-Fuzzy (GAF) OPF are developed
and compared. The results obtained for these systems demonstrate that the GAF-OPF has faster
convergence and lesser generation costs as compared to various methods tested for above systems.
∗
Authors are thankful to the reviewers for their valuable comments.
Saini et al.: Optimal Power Flow Solution: a GA-Fuzzy System Approach
1. Introduction
The present day power system is a very large and integrated system comprising of
several generators and thousands of buses. Recent trends of deregulation of power
system have resulted in increased competition in the area of generation, transmission
and distribution of power. The problem of economic operation in power system had
emerged when it was required to operate two or more units to meet the demand when
net generation exceeds the demand [1]. Earlier the utilities were mainly concerned
about the optimal dispatch of active power only, but evolvement of competition has
resulted in the optimal dispatch of reactive power also. When only total cost is
minimized by real power scheduling of available generator in a system the optimal
power flow (OPF) corresponds to Active Power Dispatch. Some of the solution
techniques successfully used for active power dispatch, include classical co-
ordination methods based on Lagrangian multiplier approach [2,3], Linear
Programming (LP) based methods [4,5], Quadratic Programming (QP) approach [6],
Gradient method using steepest descent technique [7] and Newton’s methods [8,9]. A
comprehensive review of various optimization techniques available in the literature is
reported in references [1,2,10,11]. The classical method of optimization is relatively
simple, fast and requires less memory space but sometimes it is unable to handle the
system constraints effectively and sometimes it could not convergence to the desired
level. The LP based method involves approximation in linearizing the objective
function and constraints and may result in zigzagging of the solution. Gradient based
methods compute the derivative of the function at each step and require a close initial
guess and in general suffer from convergence difficulties and may stuck to local
minima.
In the recent past methods using Genetic Algorithms (GAs) [12] have become
popular to solve the optimization problems mainly because of its robustness in
finding optimal solution and ability to provide near optimal solutions close to global
minima. GAs are search algorithms based on the mechanics of natural selection and
natural genetics. GAs are different from other optimization methods in the following
ways:
GAs search from population of several points, not a single individual point in
the population is independent of the others.
GAs has inherent parallel computation ability.
GAs use pay off information (objective function) and not derivatives or
auxiliary knowledge.
GAs use probabilistic transition rules, so they can search a complicated and
uncertain area to find the global optimum.
The GAs have been applied to solve unit commitment problem [13], Optimal
Reactive Power Dispatch (ORPD) [14-16] and for economic load dispatch [17-21].
Miranda et.al. [22]have provid ed a survey of three branches of Evolutionary
Programming (EP) and the Genetic Algorithms (GAs) and their relative merits and
2. OPF Problem
The optimal power flow problem is concerned with optimization of steady state
power system performance with respect an objective f while subject to numerous
constraints. For optimal active power dispatch, the objective function f is total
generation cost as expressed follows:
Ng
Inequality constraints as
Pgimin Pgi Pgimax …………(4)
Qgimin Qgi Qgimax …………(5)
Vimin Vi Vimax …………(6)
min max
gi gi gi …………(7)
tkmin
tk tk max
…………(8)
line_flowl line_flowlmax …………(9)
where, N = Total number of buses
NT = Total number of tap changing transformers
Nl = Total number of lines,
http://www.bepress.com/ijeeps/vol5/iss2/art1 2
10.2202/1553-779X.1091
Saini et al.: Optimal Power Flow Solution: a GA-Fuzzy System Approach
Start
Crossover
Mutation
No
Gen>Max. no. of
generations
Yes
Stop
three primary operations: Parent reproduction, Crossover and Mutation. The details
of important operations during solution of GA-OPF are as follows:
(i) Encoding
The randomly generated chromosomes represent binary coded values of controllable
variables e.g. power generation at all generator (PV) buses other than slack bus, the
voltage magnitude at all PV buses and tap settings of variable tap transformers. The
bits of each chromosome are separated out for different control variables and convert
into equivalent decimal values by the following formula:
http://www.bepress.com/ijeeps/vol5/iss2/art1 4
10.2202/1553-779X.1091
Saini et al.: Optimal Power Flow Solution: a GA-Fuzzy System Approach
(iii) GA Operators
As a next step in solution finding process, GA operators- Reproduction, Crossover
and Mutation are applied in above sequence for each generation. In the reproduction
operator a stochastic remainder selection is used. The crossover operator works in
conjunction with selection. Crossover selects a locus position within two parent
strings and swaps the given information from that position to the end of string as
shown in figure 2.
Child A 00101001
Child B 11000101 New Child A 0111101
4. GA-Fuzzy(GAF) Approach
It has been observed that after few generations, the fitness value of each chromosome
becomes almost equal to other chromosomes from the same population. The effect of
crossover beyond this stage becomes insignificant due to very small variation in the
chromosomes in a particular population. Therefore, increasing the mutation rate of
the chromosomes to inculcate new characteristics in the existing population can
diversify the population.
Schuster [23] proposed heuristics for optimal setting of the mutation probability (Pc).
Fogarty [24] and Bookers [25] investigated time dependencies on the mutation and
crossover probabilities respectively. Grefenstette [27] and Schaffer [28] found
optimal settings for all these parameters of the GA by experiment. Chaturvedi et.al.
Mutation Low
Probability Medium
( Pm ) High
0.005 0.01 0.02 0.03 0.1
Best Low
Fitness Medium
( BF ) High
0 0.5 0.7 0.9 1
Number of generations Low
for unchanged Medium
BF ( UN ) High
0 3 6 9 12
Variance of Low
Fitness ( VF ) Medium
High
0 0.1 0.12 0.14 0.2
The fitness function values are determined by equation (12). GA parameters (Pc and
Pm) are varied based on the fitness function values as per following logic:
(1) The value of best fitness for each generation (BF) is expected to change over a
number of generations, but if it does not change significantly over a number of
generations (UN) then this information is considered to cause changes in both Pc and
Pm.
(2) The diversity of a population is one of the factors, which influences the search for
a true optimum. The variance of the fitness values of objective function (VF) of a
population is a measure of its diversity. Hence, it is considered as another factor on
which both Pc and Pm may be changed.
http://www.bepress.com/ijeeps/vol5/iss2/art1 6
10.2202/1553-779X.1091
Saini et al.: Optimal Power Flow Solution: a GA-Fuzzy System Approach
The membership functions and membership values for these three variables (BF, UN
and VF) are selected after several trials to get optimum results. Fig. 4 is a
diagrammatic representation of an approach to incorporate fuzzy logic to find GA
based OPF solution.
BF
Pc Yes
Fitness
UN Fuzzy Rule Gen>Maxgen
GA-OPF
Base Pm
+ Gen.
VF Cost
Stop
No
i) For controlling Pc
1. If BF is LOW then Pc is HIGH.
2. If BF is MEDIUM or HIGH and UN is LOW then Pc is HIGH.
3. If BF is MEDIUM or HIGH and UN is MEDIUM then Pc is MEDIUM.
4. If UN is HIGH and VF is LOW or MEDIUM then Pc is LOW.
5. If UN is HIGH and VF is HIGH then Pc is MEDIUM.
A. 26 bus System
The 26 bus system has 46 branches, 6 generators and 7 variable tap transformers [32].
The OPF problem has been solved by Sadaat [32], GA-OPF and GAF-OPF and since
testing of a 26-bus system is not found in the literature collected; hence performance
of the method proposed by Sadaat [32] and GA-OPF are compared with GAF-OPF.
GA-OPF and GAF-OPF are compared for same initial population and following
parameters:
Population size – 30
Maximum Generation – 100
Selection operator – Stochastic Remainder
Initial crossover probability - 0.9
Initial Mutation probability- 0.01
Fig. 5(a) Convergence of generation cost and max. fitness for GA-OPF & GAF-OPF for
26 Bus system
http://www.bepress.com/ijeeps/vol5/iss2/art1 8
10.2202/1553-779X.1091
Saini et al.: Optimal Power Flow Solution: a GA-Fuzzy System Approach
Fig. 5(b) Crossover and Mutation Probabilities variations for GA-OPF & GAF-OPF for
26 bus system
For GA-OPF and GAF-OPF, transformers tap settings are assumed to range within
±10%. The lower voltage magnitude limits for all buses are 0.9 p.u., the upper limits
are 1.1 p.u. for PV buses and 1.025 p.u. for remaining buses including the slack bus.
As shown in fig.5(b), the changes in values of Pc and Pm in GAF-OPF start from 8th
generation and remain constant after 14th generation (Pc. 0.56759 and Pm
0.06654882). It is evident from fig. 5(a) and comparison of methods tabulated in
table 2, that GAF-OPF has better convergence rate and results lesser generation cost
amongst three methods. Transformer tapings and voltage magnitudes (table 3) are
also within limits.
Table 2. Comparison of different OPF methods for 26 bus system
Generation
Sadaat-OPF GA-OPF GAF-OPF
(In MW) (In MW) (In MW)
Bus no. 1 447.611 444.703 449.642
Bus no. 2 173.087 170.968 162.317
Bus no. 3 263.363 258.495 264.086
Bus no. 4 138.716 135.239 139.932
Bus no. 5 166.099 181.525 173.9
Bus no. 26 86.939 83.939 85.924
Gen.Cost ($/h) 15447.72 15434.67 15431.69
Losses (MW) 12.8 11.869 12.8
Table 3. Load flow solution and transformer tap settings of 26 bus system using GAF
OPF
B. 6 bus System
Osman et.al. [29] have developed a Modified Co-Evolutionary Genetic Algorithm
(M-COGA) and compared the results with classical economic dispatch and standard
flow (ED+LF), Weber [30] and Simulated annealing (OPFSA) [31] on 6-bus system.
GA-OPF and GAF-OPF are tested on system, for same initial population and
parameters as used in 26-bus system except the following:
Population size – 50 and maximum number of generations - 200.
http://www.bepress.com/ijeeps/vol5/iss2/art1 10
10.2202/1553-779X.1091
Saini et al.: Optimal Power Flow Solution: a GA-Fuzzy System Approach
The voltage magnitude limits, active and reactive power limits and line flows
limits are same as references [29,30]. All the lines have power flow limit of 100
MVA, except line 4-5 whose limits of 50 MVA. The changes in values of Pc and Pm
start from 35th generation and remain constant after 71st generation (Pc. 0.5676 and
Pm 0.0665), as shown in fig.6(b). The convergence of GAF-OPF is better than GA-
OPF as clear from fig.6(a). The comparison of results is tabulated in table 4. The
results highlight the goodness of this solution techniques having minimum generation
cost while satisfying all constraints. Load flow solution and lines flows are given in
table 5.
Table 5. Load flow solution and lines flows of 6-bus system using GAF-OPF
From To Line
Bus Voltage Angle Load Generation
Bus Bus flow
(pu) (degrees)
(MVA)
MW MVAr MW MVAr 1 2 32.176
1 1.001 0.000 100 20 140.856 8.357 2 4 56.43
2 1.017 1.338 100 20 188.025 15.495 1 5 72.725
3 1.01 -5.495 100 20 100.244 95.456 3 5 52.314
4 1.00 -1.300 100 20 180.205 11.556 4 5 49.347
5 0.977 -3.489 100 20 0.0 0.0 3 6 31.607
6 0.981 -5.664 100 20 0.0 0.0 4 6 87.413
Fig. 6(a) Convergence of generation cost & max. fitness for GA-OPF & GAF-OPF for 6-
bus
Fig 6(b) Crossover and Mutation Probabilities variations for GA-OPF & GAF-OPF for
6 bus system
http://www.bepress.com/ijeeps/vol5/iss2/art1 12
10.2202/1553-779X.1091
Saini et al.: Optimal Power Flow Solution: a GA-Fuzzy System Approach
Fig 7(a) Convergence of generation cost and max. fitness for GA-OPF & GAF-OPF for
IEEE 30 bus system
Fig 7(b) Crossover and Mutation Probabilities variations for GA-OPF & GAF-OPF for
IEEE 30 bus system
http://www.bepress.com/ijeeps/vol5/iss2/art1 14
10.2202/1553-779X.1091
Saini et al.: Optimal Power Flow Solution: a GA-Fuzzy System Approach
In this case, a sine component is added to the cost curves of the generators at buses 1
and 2 to reflect the valve-point loading effects [17]. The values of cost coefficients
are given in table 8 [36].
The cost curves of other generators are the same as in case (i). The algorithm is
tested for 100 different runs. The generation costs of the worst and best solutions are
924.3387 $/h and 921.3506 $/h respectively, (0.323% difference). As per table 9,
percentage difference between respective worst and best solution for GAF-OPF is
less than Evolutionary Programming (EP) based OPF [36]. Therefore, GA-Fuzzy
approach holds good in solving OPF for cost curve with sine components for same
number of runs.
Table 9. Best and worst solutions for GAF-OPF for IEEE 30 bus (quadratic cost curves
with sine components)
Worst solution ($/h) Best solution ($/h) % Difference
EP [36] 926.68 919.89 0.7327
GA-Fuzzy 924.336729 921.350629 0.323
The changes in values of Pc and Pm start from 4th generation and remain upto 50th
generation (Pc. 0.57292 and Pm 0.06392) for best solution as clear from fig.8(b).
The solution details including load flow, transformer tap settings and line flows are
provided for best solution in table 10.
The line flows obtained in this case are well under limits [30] with other constraints
also satisfied. Again GAF-OPF proves to be consistently superior to GA-OPF due to
faster convergence and lesser generation cost, shown in fig. 8(a).
Table10. Load flow solution and transformer tap settings of IEEE 30 bus system using
GAF-OPF
Bus Voltage in p.u. Angle in degrees Generation Load
Case (i) Case (ii) Case (i) Case (ii) MW MW MVAr MVAr MW MVAr
Case (i) Case (ii) Case (i) Case (ii)
1 1.05 1.05 0 0 175.137 199.672 -6.562 -9.126 0 0
2 1.034 1.034 -3.608 -4.335 50.353 20 22.356 39.212 21.7 12.7
3 1.022 1.016 -5.675 -5.875 0 0 0 0 2.4 1.2
4 1.016 1.008 -6.817 -7.062 0 0 0 0 7.6 1.6
5 1.006 1.006 -10.509 -11.007 21.451 22.275 30.372 31.548 94.2 19
6 1.008 1.005 -7.944 -8.232 0 0 0 0 0 0
7 0.999 0.998 -9.529 -9.904 0 0 0 0 22.8 10.9
8 1.003 1.003 -8.154 -8.431 21.176 23.725 18.89 25.987 30 30
9 1.029 1.018 -10.152 -10.121 0 0 0 0 0 0
10 1.021 1.027 -12.059 -11.951 0 0 0 0 5.8 2
11 1.071 1.051 -8.783 -8.483 12.667 14.706 21.737 16.89 0 0
12 1.018 1.038 -11.139 -11.135 0 0 0 0 11.2 7.5
13 1.048 1.048 -10.228 -10.144 12.11 13.427 22.635 8.075 0 0
14 1.005 1.023 -12.096 -12.07 0 0 0 0 6.2 1.6
15 1.002 1.019 -12.242 -12.188 0 0 0 0 8.2 2.5
16 1.012 1.026 -11.832 -11.764 0 0 0 0 3.5 1.8
17 1.013 1.021 -12.214 -12.111 0 0 0 0 9 5.8
18 0.997 1.009 -12.917 -12.825 0 0 0 0 3.2 0.9
19 0.996 1.007 -13.113 -13.005 0 0 0 0 9.5 3.4
20 1.002 1.011 -12.911 -12.801 0 0 0 0 2.2 0.7
21 1.009 1.015 -12.535 -12.43 0 0 0 0 17.5 11.2
22 1.009 1.016 -12.524 -12.422 0 0 0 0 0 0
23 0.996 1.01 -12.707 -12.652 0 0 0 0 3.2 1.6
24 0.997 1.008 -12.956 -12.913 0 0 0 0 8.7 6.7
25 1.001 1.015 -12.759 -12.826 0 0 0 0 0 0
26 0.983 0.997 -13.193 -13.248 0 0 0 0 3.5 2.3
27 1.012 1.028 -12.361 -12.5 0 0 0 0 0 0
28 1.002 0.999 -8.433 -8.71 0 0 0 0 0 0
29 0.992 1.008 -13.619 -13.72 0 0 0 0 2.4 0.9
30 0.98 0.996 -14.522 -14.595 0 0 0 0 10.6 1.9
Total 292.894 293.806 109.43 112.585 283.4 126.20
http://www.bepress.com/ijeeps/vol5/iss2/art1 16
10.2202/1553-779X.1091
Saini et al.: Optimal Power Flow Solution: a GA-Fuzzy System Approach
Fig 8(a) Convergence of generation cost and Max. fitness for GA-OPF & GAF-OPF for
IEEE 30 bus system
Fig 8(b) Crossover and Mutation Probabilities variations for GA-OPF & GAF-OPF for
IEEE 30 bus system
http://www.bepress.com/ijeeps/vol5/iss2/art1 18
10.2202/1553-779X.1091
Saini et al.: Optimal Power Flow Solution: a GA-Fuzzy System Approach
6. Conclusions
A GA-Fuzzy approach to solve OPF problem has been presented and applied to 26-
bus, 6-bus and IEEE 30 bus systems. The proposed algorithm has shown better results
in terms of convergence, consistency in different runs and lesser generation cost as
compared to simple GA-OPF and the other techniques. These advantages are mainly
due to the changes in crossover and mutation probabilities values which are governed
by a set of fuzzy rule base, although they are stochastic in nature. In order to
demonstrate the real potential of such technique, the proposed GAF-OPF is
successfully tested on IEEE 30 bus system for quadratic cost curve with sine
components also. The results obtained are compared with EP based OPF with greater
satisfaction.
References
[1] Happ H.H., ‘Optimal Power Dispatch- A Comprehensive Survey’, IEEE Trans.
on Power Apparatus and Systems, Vol. 96, pp. 841-854, May/June 1977.
[2] Chowdhury B.H. and Rahman S., ‘A Review of Recent Advances in Economic
Dispatch’, IEEE Trans. on Power Apparatus and Systems, Vol. 5, No. 4, pp.
1248-1257, 1990.
[3] B.F. Woolenberg and A.J. Wood, ‘Power Generation, Operation and Control’,
John Wiley and Sons, 1996.
[4] Stott B. and Hibson E., ‘Power System Security Control Calculations Using
Linear Programming, Parts I and II’, IEEE Trans. on Power Apparatus and
Systems, Vol., PAS-97, pp. 1713-1731, Sept./Oct. 1978.
[5] Stott B. and Marinho J.L., ‘Linear Programming for Power System Network
Security Applications’, IEEE Trans. on Power Apparatus and Systems, Vol. 98,
No. 3, pp. 837-848, May/June 1979.
[6] Nanda J., Kothari D.P. and Srivastava S.C., ‘A New Optimal Power Dispatch
Algorithm using Quadratic Programming Method’, IEE Proceeding, Part ‘C’,
Vol. 136, No. 3, p.p. 153-161, May 1989.
[7] Dommel H.W. and. Tinney W.F, ‘Optimal Power Solutions’, IEEE Transactions
on Power Systems, Vol. 87, pp. 1866-1876, Oct. 1968.
[8] Sun D.I., Ashley B., Brewer B., Hughes A. and. Tinney W.F, ‘Optimal Power
Flow by Newton Approach’, IEEE Trans. on Power Apparatus and Systems, Vol.
103, No. 10, pp. 2864-2880, Oct. 1984.
[9] Maria G.A. and Findlay J.A., ‘A Newton Optimal Power Flow Program for
Ontario Hydro EMS’, IEEE Trans. on Power Apparatus and Systems, Vol. 2, No.
3, pp. 576-584, Aug. 1987.
[10] Sasson A.M. and Merril H.M., ‘Some Applications of Optimization Technique
to Power System problem’, Proc. IEEE, Vol-62, No. 7, July 1974, pp. 954-972.
[11] J.L. Carpantier, ‘Optimal Power Flows: Uses, Methods and Developments’,
IFAC, Electric Energy System, pp 11-21, Brazil 1985.
[12] D.E. Goldberg, ‘Genetic Algorithms in Search, Optimization and Machine
Learning’, Addison Wesley, 1969.
[13] Kazarlis S.A., Bakirtzis A.G. and Petridis V., ‘A Genetic Algorithm Solution to
the Unit Commitment Problem’, IEEE Trans. on Power Systems, Vol. 11, No. 1,
Feb 1996, pp. 83-92.
[14] Singh S.N., Chandramouli A., Kalra P.K., Srivastava S.C. and Mishra D.K.,
‘Optimal Reactive Power Dispatch using Genetic Algorithms’, Proc. Int. Symp.
On Electricity Distribution and Energy Management (ISEDEM 93), Singapore,
1993, pp. 464-469.
[15] Swarup K.S., Yoshimi M., Shimano S. and Izni Y., ‘Optimization Methods
using Genetic Algorithms for Reactive Power Planning in Power Systems’,
Proceedings of 12th PSCC, Dresden, Germeny, Augest 17-23, 1996, Vol. 1, pp.
483-491.
[16] Lee S.K., Son K.M. and Park J.K., ‘Voltage Profile Optimization using a
Pyramid Genetic Algorithm’, Proc. ISAP 97, Seoul, Korea, July 6-10, 1997, pp.
407-414.
[17] Walters D.C and Sheble G.B., ‘GeneticAlgorithm Solution of Economic
Dispatch with Valve Point Loading’, IEEE Trans. On Power Systems, Vol. 8, No.
3, 1993, pp.1325-1332.
[18] Sheble G.B. and Britigg K., ‘Refined Genetic Algorithm-Economic Dispatch
Example’, IEEE Transactions on Power Systems, Vol. 10, No. 1, Feb. 1995, pp.
117-124.
[19] Chen Po-Hung and Chang Hong-Chan, ‘Large–Scale Economic Dispatch by
Genetic Algorithm’, IEEE Transactions on Power Systems, Vol. 10, No. 4, Nov.
1995, pp. 1919-1926.
[20] Orero S.O. and Irving M.R., ‘A Genetic Algorithm for Generator Scheduling in
Power Systems’, International Journal on Electric Power and Energy Systems,
Vol. 18, No. 1, Jan 1996, pp. 19-26.
[21] Chira Achyuthakan, ‘Genetic Algorithms Applications to Economic Load
Dispatch’, Master Thesis, AIT Bangkok, Thailand, August 1997.
[22] Miranda V., Srinivasan D. and Proenca L.M., ‘Evolutionary Computation in
Power Systems’, A Survey paper, Proc. Of 12th PSCC, Dresden, Germeny, 19-23,
August 1996, pp.25-40.
[23] Schuster P., ‘Effect of Finite Population Size and other Stochastic Phenomenon
in Molecular Evolution’, Complex System Operational Approaches,
Neurobiology, Physics and Computers, Springer, 1985.
[24] Fogarty T.C.,’ Varying the Probability of Mutation in the Genetic Algorithm’,
Proceedings of 3rd International Conference in Genetic Algorithms and
Applications, Arlington, VA, 1981, pp 104-109.
http://www.bepress.com/ijeeps/vol5/iss2/art1 20
10.2202/1553-779X.1091
Saini et al.: Optimal Power Flow Solution: a GA-Fuzzy System Approach