Implementation of Firefly Algorithm on Economic Load Dispatch

DOI : 10.17577/IJERTV4IS040551

Download Full-Text PDF Cite this Publication

Text Only Version

Implementation of Firefly Algorithm on Economic Load Dispatch

1Pupul Panigrahi

M. Tech,

School of Electrical Engineering, KIIT UNIVERSITY, Bhubaneswar

2Sanhita Mishra

Assistant Professor, School of Electrical Engineering,

KIIT UNIVERSITY, Bhubaneswar

3Samita Rani Pani

Assistant Professor, School of Electrical Engineering,

KIIT UNIVERSITY, Bhubaneswar

Abstract-The power utility needs to ensure that the electrical power is generated with minimum cost. Hence, for an economic operation of the system, the total demand is to be appropriately shared with an objective to minimize the total generation cost for the system. So, economic load dispatch (ELD) has become one of the major problems of power system operation and control. This total cost is further minimised by the implementation of a nature inspired Firefly Algorithm. ELD problems has been solved with lambda iteration method and firefly Algorithm at different load demands and effectiveness of firefly algorithm is investigated.

Index Terms: Economic Load Dispatch (ELD), Firefly Algorithm(FA), objective function

  1. INTRODUCTION

    WITH large interconnection of power system, the increasing energy crisis and price hikes, it is very essential to reduce the operating cost of electrical energy. Presently the major problem of the power utilities is to deal with both that is satisfaction of the consumer power demand as well as to do it in the most economic way.

    In a typical power system, several generators are implemented to satisfy total consumer demand. Each of these generating units usually has a unique cost-per-hour

    In these, it is difficult to get the optimal solution of problem, hence to get an good optimal solution, advanced computing techniques such as various algorithms are becoming popular in solving complicated problems of ELD.

    In this paper, firefly algorithm (FA) is used to solve the ELD problem. FA is a nature inspired and population based algorithm. It is inspired by the flashing behaviour of fireflies. This paper has been organised as follows. The ELD is discussed in section 2 followed by the concept of FA in section 3. The application of FA into the ELD problem has been discussed in section 4. In section 5, the case study along with result and discussion is presented. Finally the conclusion has been stated.

  2. CLASSIC ECONOMIC LOAD DISPATCH

    ELD aims at finding out the optimal power generation in order to match with the load demand with a minimum cost so that the system load is supplied entirely and most economically subjected to the satisfaction of the constraints [1].

    C=

    The objective of ELD is to minimise the cost of generation which is given by

    characteristic for its output operating range. When

    transmission losses are considered then it becomes much

    =1

    () and is given by

    more complicated for the utilities.

    The main aim of the power utilities is to provide smooth electrical energy to the consumers with an assurance of minimum cost of generation. Hence in order to achieve economic operation of system, total demand must be appropriately shared among all the generators.

    ()=ai+biPGi+c P 2

    i Gi

    where ai,bi ,ci are the coefficients of the ith generator. Subjected to equality and non equality constraints:

    =1

    The equality constraints are the complex power injected by the source into the ith bus of the power system and are given by

    Economic load dispatch is one of the major and challenging issues in power system. It is mainly an optimisation problem with a goal of obtaining generation

    PGi-PGi=Vi

    =1

    QGi-QGi=Vi

    Vj(Gij cos ij + Bij sin ij) Vj(Gij cos ij + Bij sin ij)

    with a minimum cost along with the satisfaction of the constraints. Various conventional methods are used solve the economic load dispatch problem such as Lagrange multiplier method, lambda iteration method etc.

    The inequality constraints are given by

    1. Generator constraints: Pp active power generation Qp reactive power generation

      Ppmin Pp Ppmax

      Ppmin is limited by flame instability of boiler. Ppmax is limited by thermal limit consideration.

      Qpmin Qp Qpmax

      Qpmin is limited by stability limit of machine. Qpmax is limited by the overheating of rotor

    2. Voltage constraints:

      It should be within specified limits otherwise various equipments connected to the system will not operate satisfactorily or additional use of voltage regulating devices will make system uneconomical. It is given by

      Vpmin Vp Vpmax

    3. Running spare capacity constraints:

      These constraints are mainly required to meet the

      1. the forced outages of one or two generators of the system.

      2. the unexpected load on system.

    The total generation of a system should be such that in addition to the meeting of load demand as well as losses in the system ,a minimum spare capacity should be available for an emergency purpose.

    G Pp Ps , where G is the total generation

    Pp is the active power generation Ps is the pre specified power

    In a well planned system, Ps is minimum.

    The objective of the ELD problem is to minimize the generation cost without violating the constraints.

  3. FIREFLY ALGORITHM

    Firefly algorithm is one of the recent swarm intelligence method and is done to optimise power dispatching[5]. It was developed by Dr. Xin-She Yang. FA is based on the flashing behaviour of fireflies mainly found in the summer sky of the tropical temperate regions. The flashing signifies the signal to attract other fireflies, and the objective function is associated with the flashing light or the light intensity which helps the fireflies to move to brighter and more attractive locations to achieve optimal solution.

    There are in random about two thousand fireflies species .The flashes of these fireflies are unique for a particular species. Two fundamental functions of such flashes are to attract mating partners (communication) and to attract potential prey.

    3.1. 3 Ideal Rules For Firefly Algorithm

    1. All fireflies are unisex, so that one firefly should be attracted to other fireflies regardless of their sex.

    2. The intensity of attractiveness is proportional to the brightness of a firefly, which is indirectly proportional to the distance of the firefly.

    3. Brightness of firefly depends on the objective function.

    FA main advantage is that it can find both global and local optima simultaneously and effectively. Also, parameters of FA can be tuned to control the randomness with the increase no. of iteration, so that convergence can be tuned to get the increased number of iteration. As a result, FA proves itself to be more effective in the optimization of ELD problem.

    3.2 Behaviour of Firefly Species

    Near about two thousand species of fireflies are seen in the summer sky and they produce flashes. The rhythm of their flashes, rate of their flashing and observed time of their flashes altogether forms a pattern which attracts both the male and female fireflies to each other.

    We know that the intensity of light(I) at a certain distance (r) from the light source relates to the inverse square law. According to it, the intensity of the light (I) goes on decreasing as the distance ( r) increases that is I 1/r2.

    As the air keeps on absorbing the light, it becomes weaker with the increase in distance. These two combined factors are respnsible for making most visible within a certain range of distance. It becomes quite enough for the fireflies for communicating with each other and this has developed the basics for firefly algorithm. The flashing light of the fireflies is mainly associated with the objective function to be optimised and hence these algorithms are used to optimisation.

    3.3. Characteristics Offirefly Algorithm

    1. Attractiveness

      The attractiveness function is a The attractive function of a firefly is a monotonically decreasing function. It is given by

      ß(r)=ß0exp(- rm) where,

      r is distance between any of the two fireflies,

      0 is the initial attractiveness of fireflies at r = 0

      is the absorption coefficient, it controls the decrease of the light intensity.

      The absorption coefficient () characterizes the variation of the attractiveness and its value is important to determine the speed of the convergence and how the FA behaves.

      Attractive function is associated with brightness which in turn is associated with the objective function.

    2. Distance

      The distance between any two fireflies i and j, at positions xi and xj respectively ans is defined by

      =1

      rij = (xi, k xj, k)1/2

      Where xi,k is the kth component of the coordinate xi of the

      ith firefly and d is the number of dimensions.

    3. Movement

    The movement of a firefly i which is attracted by a brighter firefly j is given by:

    xi= xi + ß0exp(- rm)( xj- xi)+(rand-1/2)

    First term represents the current position of firefly. Second term is used for description of fireflys attractiveness to light intensity. Third term is used for the random movement of the firefly.

    Thus, a change in the FA parameters changes the effectiveness of the algorithm and tuning of these parameters highly affects the performance of FA and finally results in good optimised search results

    3.4 Search Optimality

    Search optimality is essential for an algorithm. It gives the optimal solution of an search.

    The main components of any metaheuristic algorithm are

    :intensification (exploitation) and diversification

    (exploration).

    Calculate light intensity of fireflies using objective function

    Intensification is to search in a local optimal region where as diversification is to explore and search in a global scale. This is done for the selection of the best solutions.

    For i=1:m For j=1:m

    Attractiveness varies with distance r

    If (Ij >Ii) move firefly i towards firefly j Evaluate new solutions and update light intensity

    end

    Tuning of attractiveness parameter

    3.5. PARAMETERS OF FIREFLY ALGORITHM

  4. ECONOMIC LOAD DISPATCH USING FIREFLY ALGORITHM

    START

    Input data load system Pd,n,Pmax,Pmin,ai,bi,ci

    Generate initial population of fireflies,m

    Define =0.2, ß=1.0, Y=1.0(firefly parameters) iteration max

    Iter=1

    Parameter

    Notation in Algorithm

    Brightness

    Objective function

    Beta ()

    Attractiveness parameter

    Alpha ()

    Randomization parameter

    Gamma ()

    Absorption coefficient

    Number of generations

    Iterations

    Number of fireflies

    Population

    Dimension

    Problem dimension

    R

    Radius, time interval etc. (depends on application

    Iter=iter+1

    Rank the fireflies and find the current best

    In firefly algorithm, parameter alpha () controls exploration and parameter gamma () controls exploitation. These parameters describe the variation of the attractiveness and its value is responsible for the speed of firefly algorithm convergence.

    For most of the cases, randomisation parameter () belongs to (0, 1) and attractiveness parameter (ß) equals to 1. The absorption coefficient varies from 0.1 to 1.0.

    The parameters values of the firefly algorithm i.e attractiveness, randomisation and absorption coefficients are tuned in such a manner that the balance between exploration and exploitation is maintained and a desired optimal solution is being obtained. More number of iterations and more number of populations actually provides us a better result of optimisation.

    NO

    If Iter>itermax

    YES

    Post process the result

    STOP

    Figure1: Flowchart showing implementation economic load dispatch using Firefly Algorithm

    4.1. Steps for Eld With Fa

    Step 1: Start of the program

    Step 2: entering of the load system input data

    Step 3: generation of initial population of fireflies xi (i = 1, 2, …, n)

    Step 4: determination of light intensity Ii and xi is determined by f (xi)

    Step 5: to set iteration count iter=1

    Step 6: to calculate the ith firefly for i=1:n for all the n fireflies.

    Step 7: to calculate the jth firefly for j=1:n for all the n fireflies.

    Step 8:To check if (Ij> Ii), Move firefly i towards j in dimensions.

    end if

    Step 9: To calculate attractiveness, when attractiveness varies with distance r.

    Step10: To evaluate new solution and update light intensity.

    Step11: end for j Step12: end for i

    Step13: Ranking of the fireflies and finding the current best.

    Step14: To evaluate Iter =Iter+1

    Step15: Checking if Iter > Itermax; the condition no means goto step 4.

    Step16: Print the results Step17: Stop the program.

    By using MATLAB or any other programming tools, FA can be implemented based on the objective function.

  5. RESULTS AND DISCUSSION

    Total load demand(Pd)

    Thermal units(MW)

    Fuel cost FC(Rs/hr)

    P1

    P2

    P3

    P4

    P5

    P6

    259.2

    134.142

    48.506

    18.71

    4

    18.10

    0

    27.73

    8

    12.000

    705.118

    249.2

    157.657

    54.543

    15.00

    0

    10.00

    0

    10.00

    0

    12.000

    689.284

    239.2

    153.279

    20.000

    23.27

    1

    15.93

    0

    10.67

    1

    16.094

    635.930

    TABLE I: Solving economic load dispatch using classical method.

    TABLE II: Solving economic load dispatch using firefly algorithm

    Total load demand(

    Pd)

    Thermal units(MW)

    Fuel cost FC(Rs/

    hr)

    P1

    P2

    P3

    P4

    P5

    P6

    259.2

    164.

    99

    30.00

    0

    20.4

    55

    15.7

    35

    10.0

    00

    18.0

    31

    693.42

    8

    249.2

    159.

    51

    20.00

    00

    15.0

    0

    10.0

    0

    28.0

    6

    16.6

    1

    678.21

    8

    239.2

    172.

    2

    20.00

    0

    15.0

    00

    10.0

    00

    10.0

    00

    12.0

    00

    630.60

    8

    From Table I and II it is been found that fuel cost for various load demand in iteration method of economic load dispatch is moe than that of the economic load dispatch using firefly algorithm for different load demands, hence the Firefly algorithm is proved to be more economical, convergent and gives optimal values than that of the normal solving iteration method of economic load dispatch.

    Firefly algorithm proved has itself to be efficient in cost minimisation of thermal generators and thus a strong tool for economic load dispatch.

  6. CONCLUSION

    The new meta-heuristic and swarm based firefly algorithm is a very effective and powerful technique and is used for the optimisation of the cost of economic load dispatch problems. It is a simple method and is easy for implementation. In this work we have demonstrated and tested this algorithm to optimise the problem of minimisation of cost function. The parameters of firefly algorithm such as the absorption coefficient, the population of fireflies and the number of iterations depend on the optimized problem.

  7. REFERENCES

    1. Chen. P.H and Chang.H.C, Large-scale economic dispatch approach by genetic algorithm,IEEE Trans. on Power Systems,vol 8,no.8 pp.1325-1331,1993

    2. Jayabarathi.T, Jayaprakash.T, Raghunathan T,Evolutionary programming techniques for different kinds of economic dispatch problemsElect.Power Syst.Res.73,pp 169-176,2005

    3. A.J. Wood and B.F. Wollenberg,Power Generation,Operation and Control,2nd ed. New York:Wiley,1996

    4. Niknam.T,Azizipanah.R,,Abarghooee,and Roosta.A, Reserve constrained dynamic economic dispatch :A new self-fast adaptive modified firefly

      algorithmIEEESystemsJournal,Issue:4,Page(s):635-646,Publication Year:2012

    5. Yang,X.-S.,Firefly algorithm stochastic test functions and design optimisations, International

      JournalofBioInspiredComputation,Vol.2,No.2,2010

    6. Lukasik,S. and Zak.S, Lukasik, Firefly algorithm for continuous constrained optimisation tasks,Springer,Vol. 5796,2009.

    7. Thenmalar K;Allirani A; Solution of firefly algorithm for the economic thermal dispatch with emission constraint in various generating plants Fourth International Conference on Computing, Communications and Networking Technologies(ICCCNT), IEEE Conference Publications ,Page(s):1-7,PublicationYear:2013

    8. Yang X.S., Firefly algorithm stochastic test functions and design optimisation,Int. J. Bio-Inspired Computation,Vol. 2,no. 2,2010,pp- 78-84.

    9. Yang X.S., Firefly algorithm,levy flights and global optimisation, Research and Development in Intelligent Systems XXVI, Springer London, 2010,pp:209-218.

    10. Yang X.S., Nature-inspired meta-heuristic algorithmsLuniver Press,Beckington,UK,2008.

    11. Sulaiman,M.H,MustafaM.W.,Zakaria Z.N,Aliman O.,Abdul Rahim S.R., Firefly Algorithm for solving Economic Dispatch problem,2012 IEEE International Power Engineering and Optimisation conference,2012.

    12. Abedinia O., Amjady N.,Mohammad , Naderi S., Multi-objective Environmental/economic dispatch using firefly technique,2012 11th international conference on Environment and Electrical Engineering,2012.

    13. Yang X.S., Firefly algorithm for multimodal optimisationin:Stochastic Algorithms:Foundation and Applications (Eds O.WAtansbeand T.eugmenn),SAGA 2009,Lecture Notes in Computerscience,5792,Springer-Verlag,Berlin, pp:169-178,2009.

  8. BIOGRAPHIES

Pupul Panigrahi is a research scholar of power and energy system in the school of Electrical Engineering ,in KIIT University, Bhubaneswar. Her research area includes Solar PV, Hybrid renewable system, power system engineering.

Sanhita Mishra is an Assistant Professor in the School of Electrical Engineering, in KIIT University, Bhubaneswar. She has received her M.Tech degree from VSSUT, Burla. Her area of research includes the field of power system and renewable energy system.

Samita Rani Pani is an Assistant Proessor in the School of Electrical Engineering in KIIT university, Bhubaneswar. She has received her M.Tech degree from VSSUT, Burla. Her area of research includes the field of power system and renewable energy system.

Leave a Reply