CS  Vol.7 No.8 , June 2016
Optimal Power Flow Using Firefly Algorithm with Unified Power Flow Controller
ABSTRACT
Firefly algorithm is the new intelligent algorithm used for all complex engineering optimization problems. Power system has many complex optimization problems one of which is the optimal power flow (OPF). Basically, it is minimizing optimization problem and subjected to many complex objective functions and constraints. Hence, firefly algorithm is used to solve OPF in this paper. The aim of the firefly is to optimize the control variables, namely generated real power, voltage magnitude and tap setting of transformers. Flexible AC Transmission system (FACTS) devices may used in the power system to improve the quality of the power supply and to reduce the cost of the generation. FACTS devices are classified into series, shunt, shunt-series and series-series connected devices. Unified power flow controller (UPFC) is shunt-series type device that posses all capabilities to control real, reactive powers, voltage and reactance of the connected line in the power system. Hence, UPFC is included in the considered IEEE 30 bus for the OPF solution.

Received 7 March 2016; accepted 5 April 2016; published 27 June 2016

1. Introduction

In power engineering bus voltage, real, reactive power flow needs to calculate for proper operation and planning. This information may derive from power flow analysis, and that does not include economic operation. “Optimal Power Flow” (OPF) was introduced in 1968 [1] , including economic operation along with information of real, reactive power. The prime objective of OPF is to minimize the fuel cost by optimizing the real power generation.

OPF problem may have multi-objectives and become non-linear and constrained optimization problem. Traditionally, OPF problem has been solved for various types of objectives are converted into one objective problem [2] - [4] . But the result of a solution gives importance to any one objective. OPF problem finds an optimal generating pattern for multi-objectives, and has equality and inequality constraints. Differential evolution (DE), an intelligent algorithm used to find OPF solution that aimed to reduce transmission line loss [5] . The same set of control variables in addition to UPFC control variables is considered for firefly algorithm. P and Q decomposition method was used to find optimal reactive power dispatch. It has the same of an objective of OPF that is to minimization of the generating cost [6] . OPF that was solved by conventional gradient method was inferior in the solution and struck to local minima [7] . From the Recent research, the intelligent algorithms have been found superior to solve many of power systems problems, particularly optimal power flow [8] [9] . The problem of tuning control variables using LP (linear programming) [10] , nonlinear programming [11] and mixed-integer programming [12] is not efficient to find global minima and may strike local minima. FACTS devices are power electronics converters used to process voltage and current waveforms to control power, voltage and impedance. These devices may connect in parallel or series to the power system and hybrid devices have both parallel and series connection as like UPFC [13] . It is a hybrid of STATCOM (Static Compensator)―parallel device and SSSC (static synchronous series compensator)―series device. These two devices are back to back connected to the common DC voltage source. Hence, UPFC has two converters: one connected in parallel and another one in series. Shunt connected converters’ prime objective is to maintain rated DC link voltage and independently control power flow in the connected bus. The main work of UPFC is done by series converter uses DC link voltage and control power, voltage, phase angle and impedance of the series-connected transmission line. UPFC connection reduces the losses, which is equivalent of power generation and hence the power generation cost is reduced [14] . UPFC increases voltage level and further reduces the losses and controls the power flow to aid the objective of OPF. The effective connection of UPFC is decided by an intelligent algorithm to find location and amount of power injection by the UPFC. In genetic algorithm and Differential Evolutionary Algorithms, it is very difficult to find crossover rate and mutation rate for UPFC control variables [15] . UPFC inclusion power flow used NR method [16] was considered for this analysis of power flow. Bacterial Forging algorithm (BFA) is one of the latest intelligent optimization algorithms. This BFA is used for economic load dispatch for generating cost minimization [17] . This algorithm is enhanced and used to solve OPF with FACTS devices [18] . BFA has an inferior selection process that is enhanced with Nelder-Mead method for good optimization. In this paper, multi-objective Optimization for Optimal Power Flow (OPF) along with UPFC is considered, and Firefly Algorithm is used to optimize the multi-objective OPF problem. It is one of the innovative optimization algorithms that will be used for optimizing the objective function. The paper is organized as follows. Problem formulation of the OPF is discussed in Section 2. Section 3 presents about UPFC in the power system, and Section 4 represents a detailed coverage of solving the OPF with UPFC using Firefly algorithm. Section 5 focuses on the test system results. Section 6 gives the conclusion of the work done.

2. Problem Formulations for OPF

OPF is the minimization problem to find the optimal fuel cost and subjected to equality constraints, and inequality constraints. The Objective function is given by the Equations (1) and (2). Generating cost is the fuel cost for the thermal power plant obeys quadratic function given in $/Hr [19] . The generating cost of all generators in the power system is summed and need to be minimized. The reactive and real power generation should be equal to corresponding power demand and their loss in the system form the equality constraint as given in Equations (3) and (4). Limits on control and dependent variables form the inequality constraints as given in Equations (5) to (9).

$/hr (1)

(2)

Subject to

Equality Constraints (3) and (4)

(3)

(4)

Inequality Constraints (5)-(9)

for i = 1 to NG (5)

for i = 1 to NG (6)

for i = 1 to NB (7)

for i = 1 to NT (8)

for i = 1 to Nbr (9)

where,

Ct = Total generation cost; α, β, γ = Cost coefficients of the generator;

PGi, QGi = Active and Reactive power generation ith generator;

PD, QD = Active and Reactive power Demand; PL, QL = Active and Reactive power Loss;

Vi = Voltage at ith bus; ti = Transformer tap position; MVAi = MVA flow in ith branch;

NB = Number of buses; NG = Number of generators; NT = Number of transformers;

Nbr =Number of branches;

This constraint minimization of generating cost is achieved by tuning the set of control variables. The set of control variables are generator real power, voltage, transformer tap position and UPFC location and power injection. Considered Firefly algorithm explores the solution space bounded by equality and inequality constraint and find better values for all these control variables. Loss minimization and generating cost minimization combined and the objective problem become multi- objective optimization problem.

3. Flexible AC Transmission Systems (FACTS)

The existing transmission system is laid for AC transmission and has a limitation of power transfer due to thermal constraint and its impedance. To increase the power transfer capability of the transmission system requires the new installation and huge money and time. To solve this bottleneck problem, FACTS devices are introduced which are power electronic devices. By connecting this FACTS device, an impedance of the transmission line may alter and loss thereby temperature of the transmission line. This gives new way for using the existing transmission infrastructure but with enhanced power transfer capability. Based on the connection of these FACTS devices, they are classified as series, parallel, and hybrid FACTS devices. UPFC is one hybrid FACTS device having parallel and series connection [20] as explained in the following section.

Unified Power Flow Controller (UPFC)

It consists of two power electronic converters. These converters are connected back to back to the common DC link. This power electronic converter has three arm bridge thyristors controlled by the control unit. DC link is the capacitor used to store the DC voltage needed for the converter. The first converter is connected in parallel to the transmission line at the sending end. The second converter is connected in series with the transmission line and the injection effect the receiving end bus. UPFC converters are designed to work in medium voltage hence insertion transformers are required to connect high voltage transmission line as shown in Figure 1. At sending end first converter takes power that is used to charge the DC link capacitor. Between converters, only real power may exchange since it is a DC link. The second converter takes real power stored in the DC capacitor, and it converted into 3 phase voltage that is injected at receiving end bus. This Vpq injected voltage is added with line voltage V0 the vector sum of these become V01 at receiving end. By changing injected voltage Vpq magnitude and phase angle it is possible to control real, reactive power, voltage regulation and phase angle. To

Figure 1. Unified power flow controller block diagram.

control the converter one (shunt converter) control signals VVR and ӨVR are used and for converter two (series converter) control signals VCR and ӨCR are used. These control signals are derived from the control unit that which takes the feedback signals of transmission line voltage, current and reference values of control variables.

4. OPF with UPFC Using Firefly Algorithm

The Firefly optimization technique is used by Yang. X. S in 2008 [21] then it become popular. It mimics flashing characteristic of fireflies to find it mating partner or prey. This paper uses firefly algorithm to solve non-linear constraint OPF problem. This technique used to reduce generating cost, power losses and improve the magnitude of voltage. By controlling transformer turns ratio and VAR outputs UPFC are the control parameters. Firefly algorithm finds global minima in the solution space and gives a best multi-objective solution.

4.1. OPF with UPFC Using Firefly Algorithm

Step 1: Read bus data and line data

Step 2: Select the control variables

Step 3: Create the initial population

Step 4: Find the light intensity or objective of each firefly

Step 5: For the all firefly find the attractive with other firefly based on the light intensity

Step 6: Find distance between the fireflies to move towards brighter one

Step 7: Move the less intensity firefly towards the brighter firefly

Step 8: Repeat the steps 4 to 7 until convergence criterion satisfied

Step 9: Maximum iteration is considered as the convergence and iteration stopped after maximum iteration

Step10: After the convergence print the results

Step11: Stop

4.2. Implementation of Firefly Algorithm

The following are the steps used in the implementation of Firefly Algorithm for Optimal Power Flow is explained as follows. Flowchart for Firefly Algorithm is shown in Figure 2.

The fireflies characteristics are the following three rules are given below [22] .

1) Fireflies are assumed to be unisex which attracts another one without considering its sex.

2) Less light intensity Firefly move towards brighter Firefly, this attractiveness is inversely proportional to the

Figure 2. Flowchart of firefly algorithm.

distance between them. If the brighter Firefly could not found, then the firefly moves in the random direction.

3) Brightness of Firefly also subjected to the nature environment, based on this environment the brightness is affected.

5. Results and Discussion

Test case IEEE 30 bus considered to validates the developed algorithm; the parameters considered to evaluate the performance are reactive power, voltage and losses. MATLAB environment is used to develop and implement the program. The IEEE 30 bus system has six generator bus, 24 load bus and 41 transmission lines [23] . For UPFC, three control variables are included in the control variables for the position, shunt and series injection. The optimal real power loss has been identified using the Firefly algorithm. Firefly algorithm finds the minimized power loss of the bus system and corresponding reactive power limits of the generators. The proposed system also analyzes the voltage stability of the system, which is given in the following. The proposed IEEE 30 system structure is given in the following Figure 3.

Minimization of Generating Cost and Power Loss

For the economical operation, generating cost has to be minimized as far as possible. This obeys the quadratic cost function. The coefficient of the cost function is given in Table 1. Real power generation limits of generators also given in Table 1. Transmission line real power loss minimization is the major component of reactive power optimization and it needs more attention [22] . This case takes only the real power loss minimization, voltage improvement and loss minimization lead to minimum generating cost. The problem is solved in the baseline scenario and then it is optimized using firefly algorithm then UPFC is included in the system to get a better optimized result.

The optimal allocation of UPFC in buses and Lines are represented in Table 2. In this case, the FFA algorithm better optimizes both real power loss and fuel cost as given in Table 3. It shows the comparison results between existing methods and proposed method results. From the results it is clear that UPFC placement given best optimal power flow. The reduction in loss indicated by FFA algorithm is highly encouraging and it is only 4.65 MW. And another important objective of proposed method is fuel cost and it is also reduced to 803.15 $/Hr.

Figure 3. IEEE 30 bus system.

Table 1. Cost coefficients of generator.

Table 2. Optimal location and of power injection of UPFC.

UPFC has shunt and series power injection; Firefly algorithm optimizes the location and value of reactive power injection. STATCOM has shunt power injection and support voltage control there by losses in the transmission line. UPFC has shunt and series power injection and superior to STATCOM. The best location of UPFC is given in the table that is connected between the buses 6 and 7. The corresponding reactive power injection is also given in Table 2. To prove the superiority of UPFC the same firefly algorithm and same control variables are used. For the same number of iteration, UPFC provides the better result as compared to STATCOM.

Table 3 gives the comparison of the result, the generating cost and real power losses are less as compared to STATCOM as given in the reference [22] . Voltages in all buses are within its minimum and maximum limit and satisfy the inequality constraint as shown in Figure 6. The total power Generation and real power loss of firefly algorithm is compared with other algorithms as shown in Figure 4 and Figure 5 respectively. The convergence characteristics of Firefly Algorithm for the multi-objectives of real power loss minimization and cost minimization are plotted in Figure 6 and Figure 7. Figure 6 gives convergence curve of real power optimization and Figure 7 gives convergence curve for generating cost optimization.

Table 3. Comparison of objective terms.

Figure 4. Total power generation.

Figure 5. Real power loss, MW.

Figure 6. Real power loss.

Figure 7. Fuel cost.

6. Conclusion

Firefly Algorithm is implemented to solve OPF with UPFC. The implemented FACTS devices UPFC results are compared to STATCOM, and it is clear that the UPFC outperforms well. Firefly algorithm is used for the both FACTS device to prove the performance of the UPFC. The losses and prime objective of cost minimization of OPF problem are minimized very well when UPFC is included in the system. Voltage profile of all the generator and load buses is within the limit and satisfies constraints that are required for the practical implementation of the developed algorithm.

Cite this paper
Hariharan, T. and Sundaram, K. (2016) Optimal Power Flow Using Firefly Algorithm with Unified Power Flow Controller. Circuits and Systems, 7, 1934-1942. doi: 10.4236/cs.2016.78168.
References
[1]   Deb, K. (2001) Multi-Objective Optimization Using Evolutionary Algorithms. Wiley, UK.

[2]   Momoh, J.A., El-Hawary, M.E. and Adapa, R. (1999) A Review of Selected Optimal Power Flow Literature to 1993. I. Nonlinear and Quadratic Programming Approaches. IEEE Transactions on Power Systems, 14, 96-104.
http://dx.doi.org/10.1109/59.744492

[3]   Momoh, J.A., El-Hawary, M.E. and Adapa, R. (1999) A Review of Selected Optimal Power Flow Literature to 1993. II. Newton, Linear Programming and Interior Point Methods. IEEE Transactions on Power Systems, 14, 105-111.
http://dx.doi.org/10.1109/59.744495

[4]   Alrashidi, M. and El-Hawary, M. (2009) Applications of Computational Intelligence Techniques for Solving the Revived Optimal Power Flow Problem. Electric Power Systems Research, 79, 694-702.
http://dx.doi.org/10.1016/j.epsr.2008.10.004

[5]   Varadarajan, M. and Swarup, K.S. (2008) Differential Evolution Approach for Optimal Reactive Power Dispatch Differential Evolution Approach for Optimal Reactive Power Dispatch. Applied Soft Computing, 8, 1549-1561.
http://dx.doi.org/10.1016/j.asoc.2007.12.002

[6]   Lee, K.Y., Park, Y.M. and Ortiz, J.L. (1985) A United Approach to Optimal Real and Reactive Power Dispatch. IEEE Transactions on Power Apparatus and Systems, 104, 1147-1153.
http://dx.doi.org/10.1109/TPAS.1985.323466

[7]   Wu, Q.H. and Ma, J.T. (1995) Power System Optimal Reactive Power Dispatch Using Evolutionary Programming. IEEE Transactions on Power Systems, 10, 1243-1249.
http://dx.doi.org/10.1109/59.466531

[8]   Iba, K. (1994) Reactive Power Optimization by Genetic Algorithm. IEEE Transactions on Power Systems, 9, 685-692.
http://dx.doi.org/10.1109/59.317674

[9]   Alsac, O., Bright, J., Prais, M. and Stott, B. (1990) Further Developments in LP-Based Optimal Power Flow. IEEE Transactions on Power Systems, 5, 697-711.
http://dx.doi.org/10.1109/59.65896

[10]   Chebbo, A.M. and Irving, M.R. (1995) Combined Active and Reactive Power Dispatch. Part 1. Problem Formulation and Solution Algorithm. IEE Proceedings—Generation, Transmission and Distribution, 142, 393-400.
http://dx.doi.org/10.1049/ip-gtd:19951976

[11]   Sun, D.I., Ashley, B., Brewer, B., Hughes, A. and Tinney, W.F. (1984) Optimal Power Flow by Newton Approach. IEEE Transactions on Power Apparatus and Systems, 103, 2864-2878.
http://dx.doi.org/10.1109/TPAS.1984.318284

[12]   Aoki, K., Fan, M. and Nishikori, A. (1988) Optimal VAR Planning by Approximation Method for Recursive Mixed-Integer Linear Programming. IEEE Transactions on Power Systems, 3, 1741-1747.
http://dx.doi.org/10.1109/59.192990

[13]   Song,Y.H. and John, A.T. (1999) Flexible AC Transmission Systems. IEEE Press, London.
http://dx.doi.org/10.1049/PBPO030E

[14]   Taher, S.A. and Amooshahi, M.K. (2011) Optimal Placement of UPFC in Power Systems Using Immune Algorithm. Simulation Modeling Practice and Theory, 19, 1399-1412.
http://dx.doi.org/10.1016/j.simpat.2011.03.001

[15]   Ayan, K. and K1l1Ç, U. (2012) Artificial Bee Colony Algorithm Solution for Optimal Reactive Power Flow. Applied Soft Computing, 12, 1477-1482. http://dx.doi.org/10.1016/j.asoc.2012.01.006

[16]   Noroozian, M., Angquist, L., Ghandhari, M. and Anderson, G. (1997) Use of UPFC for Optimal Power Flow Control. IEEE Transactions on Power Delivery, 12, 1629-1634.
http://dx.doi.org/10.1109/61.634183

[17]   Panigrahi, B.K., et al. (2008) Bacterial Foraging Optimization: Nelder-Mead Hybrid Algorithm for Economic Load Dispatch. IET Generation, Transmission & Distribution, 2, 556-565.
http://dx.doi.org/10.1049/iet-gtd:20070422

[18]   Belwinedward, J., Rajasekar, N., Sathiyasekar, K., Senthilnathan, N. and Sarjila, R. (2013) An Enhanced Bacterial Foraging Algorithm Approach for Optimal Power Flow Problem Including FACTS Devices Considering System Loadability. ISA Transactions, 52, 622-628.
http://dx.doi.org/10.1016/j.isatra.2013.04.002

[19]   Niknam, T., Narimani, M.R., Aghaei, J., Tabatabaei, S. and Nayeripour, M. (2011) Modified Honey Bee Mating Optimisation to Solve Dynamic Optimal Power Flow Considering Generator Constraints. IET Generation Transmission & Distribution, 5, 989-1002.
http://dx.doi.org/10.1049/iet-gtd.2011.0055

[20]   Gyugyi, L., Schauder, C.D., Williams, S.L., Rietman, T.R., Torgerson, D.R. and Edris, A. (1995) The Unified Power Flow Controller: A New Approach to Power Transmission Control. IEEE Transactions on Power Delivery, 10, 1085-1097.
http://dx.doi.org/10.1109/61.400878

[21]   Yang, X.S. (2008) Nature-Inspired Meta-Heuristic Algorithms. Luniver Press, Beckington.

[22]   Ponnin Thilagar, P. and Harikrishnan, R. (2015) Application of Intelligent Firefly Algorithm to Solve OPF with STATCOM. Indian Journal of Science and Technology, 8, IPL0254.
http://dx.doi.org/10.17485/ijst/2015/v8i22/79100

[23]   Alsac, O. and Stott, B. (1974) Optimal Load Flow with Steady State Security. IEEE Transactions on Power Apparatus and Systems, 93, 745-751.
http://dx.doi.org/10.1109/TPAS.1974.293

 
 
Top