- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Annual Issues ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents
The Scientific World Journal
Volume 2013 (2013), Article ID 159040, 9 pages
Artificial Bee Colony Algorithm for Solving Optimal Power Flow Problem
1Faculty of Mechanical, Electrical and Electronic Engineering, HCMC University of Technology (HUTECH), Ho Chi Minh City, Vietnam
2Department of Power Systems, HCMC University of Technology (HCMUT), Ho Chi Minh City, Vietnam
3University Technology Petronas, 31750 Tronoh, Perak, Malaysia
Received 31 August 2013; Accepted 1 October 2013
Academic Editors: H. Chen and G. Pajares
Copyright © 2013 Luong Le Dinh et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
This paper proposes an artificial bee colony (ABC) algorithm for solving optimal power flow (OPF) problem. The objective of the OPF problem is to minimize total cost of thermal units while satisfying the unit and system constraints such as generator capacity limits, power balance, line flow limits, bus voltages limits, and transformer tap settings limits. The ABC algorithm is an optimization method inspired from the foraging behavior of honey bees. The proposed algorithm has been tested on the IEEE 30-bus, 57-bus, and 118-bus systems. The numerical results have indicated that the proposed algorithm can find high quality solution for the problem in a fast manner via the result comparisons with other methods in the literature. Therefore, the proposed ABC algorithm can be a favorable method for solving the OPF problem.
Optimal power flow (OPF) problems are the important fundamental issues in power system operation. In essence, they are the optimization problems and their main objective is to reduce the total generation cost of units while satisfying various constraints in the system. The OPF problem has been widely used in power system operation and planning . Many techniques such as linear programming (LP) [2–4], nonlinear programming (NLP) [5–8], and quadratic programming (QP)  have been applied for solving the OPF problem. For implementation of these methods, the problem needs to be convexity and thus there is a fore to simplify the problem to ensure the convexity. However, the OPF is in general a nonconvex problem with many local minima. In addition, the classical optimization methods are highly sensitive to the starting points and frequently converge to local optimum solution or diverge altogether.
The LP methods are fast and reliable for solving optimization problems but the main disadvantage of the LP methods is that both objective and constraints of the problem need to be piecewise linear functions. The NLP methods suffer another problem of convergence and algorithmic complexity. Newton-based algorithm  suffers difficulties in handling large number of inequality constraints. Moreover, this method has also a drawback the convergence characteristics sensitive to the initial conditions. Interior point (IP) methods [11–13] convert the inequality constraints of the problem to equality ones by adding slack variables. In the IP method, if the step size is not properly chosen, the sublinear problem may lead to an infeasible solution in the original nonlinear domain . These methods are usually confined to specific cases of the OPF problem and do not offer great freedom in objective functions or the type of constraints that may be used. Therefore, it is important to develop new and more general and reliable algorithms for dealing with the nonlinear OPF problem. Metaheuristic search techniques such as genetic algorithm (GA) [14–16], gradient projection method , and evolutionary programming (EP)  have been implemented for solving the OPF problem. However, the recent findings have identified some deficiencies in the GA performance. Recently, a new evolutionary computation technique, called artificial bee colony (ABC), has been proposed and introduced by Karaboga in . The ABC algorithm is developed based on inspecting the behaviors of real bees on finding nectar and sharing the information of food sources to the bees in their hive. The main advantages of the ABC algorithm over other optimization methods for solving optimization are simplicity, high flexibility, strong robustness [20, 21], few control parameters , ease of combination with other methods , ability to handle the objective with stochastic nature , fast convergence, and both exploration and exploitation.
In this paper, the ABC algorithm is proposed for solving OPF problem with both continuous and discrete control variables. The continuous controllable system quantities are generator MW, controlled voltage magnitude, and switchable shunt devices while the discrete ones are transformer tap settings. The objective is to minimize the total fuel cost of thermal generators by optimizing the control variables within their limits so that they cause no violation on other quantities (e.g., transmission-circuit loading, load bus voltage magnitude, and generator MVAR) occurring in either the normal or outage case of system operating conditions. The proposed algorithm has been tested on the IEEE 30-bus, 57-bus, and 118-bus systems for both normal and contingent cases. The obtained results from the proposed method are compared to those from EP , particle swarm optimization (PSO) , ant colony optimization (ACO) , self-adaptive DE (SADE_ALM) , modified differential evolution (MDE) , improved EP (IEP) , QN and ACO methods in , hybrid GA (HGA) , and improved PSO (IPSO) .
2. Optimal Power Flow Problem Formulation
The OPF problem can be described as an optimization (minimization) process with nonlinear objective function and nonlinear constraints. In general, the general OPF problem can be expressed as follows: where is the objective function, represents the equality constraints, represents the inequality constraints, and is the vector of the control variables varied by a control center operator (generated active and reactive powers, generation bus voltage magnitudes, transformer taps, etc.).
The essence of the OPF problem resides in minimizing the objective function and simultaneously satisfying the load flow equations (equality constraints) without violating the inequality constraints. The fuel cost function for thermal generators is given by where is the number of generation buses including the slack bus, is the generated active power at bus , and , , and are the unit costs curve for th generator.
The smooth quadratic fuel cost function of the generating units is given by (2), where the valve point effects are neglected. The generating units with multivalve steam turbines exhibit a greater variation in the fuel-cost function. Since the valve point results in the ripples, a cost function contains higher order nonlinearity. Therefore, (2) should be replaced by (3) for taking into consideration the valve point effects. The sinusoidal function is thus added to the quadratic cost functions as follows : where and are the fuel cost coefficients of th unit with valve point effects.
While minimizing the fuel cost function, it is necessary to make sure that the generation still supplies the load demands plus losses in transmission lines. Usually, the power flow equations are used as equality constraints .
Consider the following: where the active and reactive power injection at bus are defined in the following equation:
The inequality constraints of the OPF problem reflect the limits on physical devices in power systems and they also ensure the system security. The usual types of inequality constraints are upper bus voltage limits at generations and load buses, lower bus voltage limits at load buses, reactive power limits at generation buses, maximum active power limits corresponding to lower limits at some generators, maximum line loading limits, and limits on tap settings. The inequality constraints of the problem include the following.
Generation Constraint. Generator voltages, real power outputs, and reactive power outputs are restricted by their upper and lower bounds as follows: Shunt VAR Constraint. Shunt VAR compensations are restricted by their upper and lower bounds as follows: where is the number of shunt compensators.
Transformer Tap Constraint. Transformer tap settings are restricted by their upper and lower bounds as follows: where is the number of transformers with tap.
Security Constraint. Voltages at load bus are restricted by their upper and lower bounds as follows: where is the number of load buses.
3. Artificial Bee Colony Algorithm for OPF Problem
3.1. Artificial Bee Colony Algorithm
Artificial bee colony (ABC) algorithm is introduced by Karaboga in 2005 . The ABC algorithm was formed by observing the activities and behavior of the real bees while they were looking for the nectar resources and sharing the amount of the resources with the other bees.
Data flow creation around the beehive is a behavior of bees which involves the fundamentals of the swarm intelligence. The colony of artificial bees consists of three groups of bees including employed bees, onlookers, and scouts. Each type of bees has a different role in the optimization process. The employed bees wait above the nectar source and keep the neighboring sources in memory while the onlooker bees get that data from the employed bees and make a resource choice to collect the nectar and the scouts are very much accountable for calculation. The algorithm for solving an optimization problem is comprised of three steps. In the first step, the employed bees are sent to scamper for resources and the nectar amount is computed. In the second step, the onlooker bees make a resource choice appropriate to the data they took from the new identified nectar resources. Finally, in the last step, one of the employed bees is chosen at random as a scout bee and it is sent to the sources to identify new sources . A half of the bees in the colony are chosen as employed bees and the rest half are chosen as the onlooker bees in the algorithm. Therefore, the number of the employed bees is equal to the number of nectar sources. The food sources in the approach refer to the probable solutions of the issue to be optimized.
In the first step of the ABC algorithm, the initial solutions are randomly created in the particular range of the variables . Secondly, each employed bee identifies the new sources whose amounts are equal to the half of the total sources. Equation (10) is used to find a new source as follows:
In (10), and are randomly chosen indexes. Although is randomly determined, it has to be different from and is a random number between . This parameter controls the production of the neighbor food sources around and represents the comparison of two food positions visually by a bee. After each candidate source position is produced and then evaluated by the artificial bee, its performance is compared with its previous one. If the new food has equal or better nectar than the old source, it is used to replace the old one in the memory. Otherwise, the old one is retained in the memory.
In the third step, the onlooker bees select a food source with the probability given in (11).
Consider the following: where is the fitness value of the solution which is proportional to the nectar amount of the food source in the position and is the number of food sources which is equal to the number of employed bees.
The scout bees are very much accountable for random researches in each colony. The scout bees do not use any pre-knowledge and facts when they are looking for nectar sources, thus their research is randomly done completely . The scout bees are chosen among the employed bees with respect to the limit parameters. If a solution that denotes a source is not realized with particular number of trials, then this source is discarded. The bee of that source identifies the new source chosen as a scout bee. The number of incomings and outgoings to a source is obtained by the “limit” parameter. Identifying a new source of a scout bee is given in (12).
Consider the following: where and are the minimum and maximum limits of the parameter to be optimized.
In the ABC algorithm, the stopping criterion is usually based on number of iterations. Normally, stopping criteria of an optimization algorithm are based on maximum number of iterations or maximum error between two consecutive iterations. However, the maximum error cannot be applicable for metaheuristic search methods since they usually suffer unimproved result for several iterations during the convergence process. Therefore, the stopping criterion for the proposed ABC is only based on the maximum number of iterations.
3.2. Implementation of ABC for the OPF Problem
The overall algorithm of ABC for solving the OPF problem is as follows.
Step 1. Initialize food sources and select parameters for the ABC algorithm.
Step 2. Calculate power flow using Newton-Raphson algorithm based on the initial values.
Step 3. Calculate fitness function based on the obtained solution of power flow. Set the initial food sources as the best solution. Set the iteration counter to 1.
Step 4. Determine position for employed bees.
Step 5. Solve power flow problem using Newton-Raphson method based on the position of employed bees.
Step 6. Calculate the fitness function corresponding to the new position of the employed bees.
Step 7. Compare the new value of the fitness function and the initialized one to obtain the best one.
Step 8. If not all onlooker bees are distributed to food sources, update the new position for the onlooker bees and return to Step 5.
Step 9. Determine unimproved food sources when the “limit” is exceeded.
Step 10. If any unimproved food sources were found, initialize food source for the scout bees, solve power flow problem, and calculate fitness function value.
Step 11. Update the best food source position and corresponding fitness function values.
Step 12. If the maximum number of iterations is not reached, increase the iteration counter and return to Step 4.
The flowchart of the ABC algorithm for solving an optimization problem is shown in Figure 1.
4. Numerical Results
The proposed ABC algorithm is tested on the IEEE 30-bus, 57-bus, and 118-bus systems and the obtained results are compared to those from other methods available in the literature. The proposed ABC algorithm is coded in Matlab R2009a and run on an Intel Core 2 Duo CPU 1.66 GHz processor with 2.0 GB of RAM. The stopping criterion of the algorithm is the maximum number of iterations. In this paper, the power flow solution for test systems using Newton-Raphson method is obtained from Matpower .
For a fair comparison of computational time among the solutions solving the problem using different computers, we calculate floating-point operations (FLOPs) for each method by multiplying floating-point operations per second (FLOPS) with their computational time. FLOPS can be calculated using the equation in  as follows: where core is the number of cores in computer and clock is the processor speed.
For most microprocessors, they can perform 4 FLOPs per clock cycle . Therefore, different processors can be converted into a common base for comparison. In this paper, we choose the computer used for ABC as a base and other computers will be converted into this base. The adjusted CPU time from other methods by other computers will be calculated as follows:
4.1. The IEEE 30-Bus System
The IEEE 30-bus system consists of 6 generators, 4 transformers, 41 lines, and 2 shunt reactors. All generator active power, generator bus voltages, and transformer tap setting are considered as continuous for simplicity. The generators cost coefficients of the IEEE 30-bus test system are given in .
4.1.1. The OPF Problem with Quadratic Fuel Cost Functions
In this case, the units cost curves are represented by quadratic function. The obtained results using ABC are given in Table 1. Figure 2 shows the convergence characteristic of the ABC algorithm. As observed, there is no change in the fuel cost function value after 20 iterations. That means the optimal solution for the problem can be obtained within 20 iterations. The obtained total cost and computational time from the ABC algorithm for the system are compared to those from EP , PSO , and ACO  as in Table 1. The result comparison has indicated that the proposed ABC algorithm can obtain better total cost than the others. For the computational time, the proposed ABC is slower than EP but faster than PSO. Therefore, the proposed ABC algorithm is effective for the OPF problem for this system. Note the adjusted computational time in Table 1 is given in the appendix.
4.1.2. The OPF Problem for Units with Valve Point Effects
In this case, the generator fuel cost curves of generator at buses 1 and 2 are represented by a quadratic function with rectified sine components as (3). The generator cost coefficients of those two generators are given in . The obtained results by the proposed ABC algorithm are shown in Table 2 and the convergence characteristic of the proposed method for the system in this case is given in Figure 3. The total cost and computational time obtained by the proposed method are also compared to those from IEP , MDE , and SADE_ALM . The result comparison has also indicated that the proposed ABC algorithm can find better total cost than the others with a fast computational manner. Therefore, the proposed ABC algorithm is also very effective for solving the problem for this case.
4.2. The IEEE-57 Bus-System
In this case, the IEEE 57-bus system is considered to investigate the effectiveness of the proposed algorithm. The IEEE 57-bus system consists of 7 generators, 15 transformers, and 80 transmission circuits. The single-line diagram of this system and the detailed data are given in . The total load demand of the system is 1250.8 MW. The obtained result by the proposed method is compared to those from QN and ACO in  and HGA  methods as shown in Table 3. The convergence characteristic of the proposed algorithm for the system is given in Figure 4. In this case, the number of iterations for the proposed method to obtain the optimal solution is less than 30. The result comparison has also revealed that the proposed method can obtain better total cost than the other methods with faster computational time.
4.3. The IEEE-118-Bus System
The proposed ABC algorithm has been tested on large-scale system of 118 buses . The system comprises 54 generators with a total installed capacity of 8190 MW and the system demand is 3668 MW.
Table 4 shows the minimum, mean, and maximum cost achieved by the proposed ABC algorithm for 50 runs. The convergence characteristic of the proposed algorithm for the system is given in Figure 5. As observed, the number of iterations for obtaining the result in this case is higher than the previous ones since this a large-scale system and the algorithm needs more time and iterations for obtaining the result. The result comparison in Table 4 has also indicated that the proposed ABC algorithm can obtain better total cost with faster computational time than the IPSO method. Therefore, the proposed ABC algorithm is also very effective for the large-scale systems.
In this paper, the ABC algorithm is successfully applied for solving the OPF problem. The ABC algorithm is based on the foraging behavior of honey bees for finding global solution for optimization problems. The advantages of the proposed algorithm are robustness, fast calculation, flexibility, and few setting parameters. However, the ABC algorithm also suffers a drawback of search space limited by initial solution. In fact, this drawback can be overcome using normal distribution sample in the initial step. The proposed ABC algorithm has been tested on different systems and the obtained result for each system is compared to other methods in the literature. The result comparisons have shown that the proposed algorithm can obtain better optimal solution than many other methods with a fast computational manner, especially for large-scale systems. Therefore, the proposed ABC algorithm can be a favorable method for solving OPF problems in power systems.
The adjusted CPU times of methods for test systems are given in Table 5.
- J. A. Momoh, R. J. Koessler, M. S. Bond et al., “Challenges to optimal power flow,” IEEE Transactions on Power Systems, vol. 12, no. 1, pp. 444–447, 1997.
- B. Stott and E. Hobson, “Power system security control calculation using linear programming,” IEEE Transactions on Power Apparatus and Systems I, II, vol. 97, no. 5, pp. 1721–1731, 1978.
- B. Stott and J. L. Marinho, “Linear programming for power system network security applications,” IEEE Transactions on Power Apparatus and Systems, vol. 98, no. 3, pp. 837–848, 1979.
- R. Mota-Palomino and V. H. Quintana, “A penalty function-linear programming method for solving power system constrained economic operation problems,” IEEE Transactions on Power Apparatus and Systems, vol. 103, no. 6, pp. 1414–1422, 1984.
- O. Alsac and B. Stott, “Optimal load flow with steady state security,” IEEE Transactions on Power Apparatus Systems, vol. 93, pp. 745–751, 1974.
- R. R. Shoults and D. T. Sun, “Optimal power flow based on P-Q decomposition,” IEEE Transactions on Power Apparatus Systems, vol. 101, pp. 397–405, 1982.
- M. H. Bottero, F. D. Galiana, and A. R. Fahmideh-Vojdani, “Economic dispatch using the reduced hessian,” IEEE Transactions on Power Apparatus and Systems, vol. 101, no. 10, pp. 3679–3688, 1982.
- J. A. Momoh, “A generalized quadratic-based model for optimal power flow,” in Proceedings of the IEEE International Conference on Systems, Man, and Cybernetics, vol. 1, pp. 261–267, Cambridge, Mass, USA, November 1989.
- R. C. Burchett, H. H. Happ, and K. A. Wirgau, “Large-scale optimal power flow,” IEEE Transactions on Power Apparatus and Systems, vol. 101, no. 10, pp. 3722–3732, 1982.
- D. I. Sun, B. Ashley, B. Brewer, A. Hughes, and W. F. Tinney, “Optimal power flow by Newton approach,” IEEE Transactions on Power Apparatus and Systems, vol. 103, no. 10, pp. 2864–2880, 1984.
- G. L. Torres and V. H. Quintana, “AN interior-point method for nonlinear optimal power flow using voltage rectangular coordinates,” IEEE Transactions on Power Systems, vol. 13, no. 4, pp. 1211–1218, 1998.
- J. A. Momoh and J. Z. Zhu, “Improved interior point method for off problems,” IEEE Transactions on Power Systems, vol. 14, no. 3, pp. 1114–1120, 1999.
- H. Wei, H. Sasaki, J. Kubokawa, and R. Yokoyama, “An interior point nonlinear programming for optimal power flow problems with a novel data structure,” IEEE Transactions on Power Systems, vol. 13, no. 3, pp. 870–877, 1998.
- A. G. Bakirtzis, P. N. Biskas, C. E. Zoumas, and V. Petridis, “Optimal power flow by enhanced genetic algorithm,” IEEE Transactions on Power Systems, vol. 17, no. 2, pp. 229–236, 2002.
- L. L. Lai, J. T. Ma, R. Yokoyama, and M. Zhao, “Improved genetic algorithms for optimal power flow under both normal and contingent operation states,” International Journal of Electrical Power and Energy Systems, vol. 19, no. 5, pp. 287–292, 1997.
- S. R. Paranjothi and K. Anburaja, “Optimal power flow using refined genetic algorithm,” Electric Power Components and Systems, vol. 30, no. 10, pp. 1055–1063, 2002.
- K. Y. Lee and Y. M. Park, “A unified approach to optimal real and reactive dispatch,” IEEE Transactions on Power Apparatus and Systems, vol. 104, no. 5, pp. 1147–1153, 1985.
- J. Yuryevich and J. K. Po Wong, “Evolutionary programming based optimal power flow algorithm,” IEEE Transactions on Power Systems, vol. 14, no. 4, pp. 1245–1250, 1999.
- D. Karaboga, “An idea based on honey bee swarm for numerical optimization,” Tech. Rep. TR06, Erciyes University, Engineering Faculty, Computer Engineering Department, Kayseri, Turkey, 2005.
- R. S. Rao, S. V. L. Narasimham, and M. Ramalingaraju, “Optimization of distribution network configuration for loss reduction using artificial bee colony algorithm,” International Journal of Electrical Power and Energy Systems, vol. 1, no. 2, pp. 116–122, 2008.
- A. Singh, “An artificial bee colony algorithm for the leaf-constrained minimum spanning tree problem,” Applied Soft Computing Journal, vol. 9, no. 2, pp. 625–631, 2009.
- D. Karaboga and B. Akay, “A comparative study of artificial bee colony algorithm,” Applied Mathematics and Computation, vol. 214, no. 1, pp. 108–132, 2009.
- D. Karaboga and B. Basturk, “A powerful and efficient algorithm for numerical function optimization: artificial bee colony (ABC) algorithm,” Journal of Global Optimization, vol. 39, no. 3, pp. 459–471, 2007.
- D. Ben Attous and Y. Labbi, “Particle swarm optimization based optimal power flow for units with nonsmooth fuel cost functions,” in Proceedings of the 6th International Conference on Electrical and Electronics Engineering (ELECO '09), pp. 5–8, November 2009.
- B. Allaoua and A. Laoufi, “Optimal power flow solution using ant manners for electrical network,” Advances in Electrical and Computer Engineering, vol. 9, no. 1, pp. 34–40, 2009.
- C. Thittihamrongchai and B. Eua-arporn, “Self-adaptive differential evolution based optimal power flow for units with non-smooth fuel cost functions,” Journal of Electrical Systems, vol. 3, pp. 88–99, 2007.
- S. Sayah and K. Zehar, “Modified differential evolution algorithm for optimal power flow with non-smooth cost functions,” Energy Conversion and Management, vol. 49, no. 11, pp. 3036–3042, 2008.
- W. Ongsakul and T. Tantimaporn, “Optimal power flow by improved evolutionary programming,” Electric Power Components and Systems, vol. 34, no. 1, pp. 79–95, 2006.
- B. Gasbaoui and B. Allaoua, “Ant colony optimization applied on combinatorial problem for optimal power flow solution,” Leonardo Journal of Sciences, no. 14, pp. 1–17, 2009.
- M. Younes, M. Rahli, and L. A. Koridak, “Optimal power flow based on hybrid genetic algorithm,” Journal of Information Science and Engineering, vol. 23, no. 6, pp. 1801–1816, 2007.
- D. Ngoc Vo and P. Schegner, “An improved particle swarm optimization for optimal power flow,” in Book Meta-Heuristics Optimization Algorithms in EngIneerIng, BusIness, Economics and FInance, IGI Publisher, 2012.
- J. Park, Y. Jeong, W. Lee, and J. Shin, “An improved particle swarm optimization for economic dispatch problems with non-smooth cost functions,” in Proceedings of the IEEE Power Engineering Society General Meeting (PES '06), Montreal, Canada, June 2006.
- K. Thanushkodi, S. M. Pandian, R. S. D. Apragash, M. Jothikumar, S. Sriramnivas, and K. Vindoh, “An efficient particle swarm optimization for economic dispatch problems with non-smooth cost functions,” WSEAS Transactions on Power Systems, vol. 3, no. 4, pp. 257–266, 2008.
- H. B. Arabia and H. H. Abdallah, “Multi objectives reactive dispatch optimization of an electrical network,” Leonardo Journal of Sciences, vol. 10, pp. 101–114, 2007.
- S. N. Omkar and J. Senthılnath, “Artificial bee colony for classification of acoustic emission signal,” International Journal of Aerospace Innovations, vol. 1, no. 3, pp. 129–143, 2009.
- R. D. Zimmerman and D. Gan, MATPOWER—A MATLAB Power System Simulation Package, User’s Manual, School of Electrical Engineering, Cornell University, 1997, http://www.pserc.cornell.edu/matpower/.
- M. R. Fernandez, “Nodes, Sockets, Cores and FLOPS, Oh, My,” http://en.community.dell.com/techcenter/high-performance-computing/w/wiki/2329.aspx.
- A. P. Alves da Silva and V. H. Quintana, “Pattern analysis in power system state estimation,” International Journal of Electrical Power and Energy Systems, vol. 17, no. 1, pp. 51–60, 1995.