Next Article in Journal
H Robust Control of an LCL-Type Grid-Connected Inverter with Large-Scale Grid Impedance Perturbation
Previous Article in Journal
Rotor Position Self-Sensing of SRM Using PSO-RVM
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Improved Krill Herd Algorithm with Novel Constraint Handling Method for Solving Optimal Power Flow Problems

1
Key Laboratory of Network Control & Intelligent Instrument, Chongqing University of Posts and Telecommunications, Ministry of Education, Chongqing 400065, China
2
Research Center on Complex Power System Analysis and Control, Chongqing University of Posts and Telecommunications, Chongqing 400065, China
3
Key Laboratory of Communication Network and Testing Technology, Chongqing University of Posts and Telecommunications, Chongqing 400065, China
*
Author to whom correspondence should be addressed.
Energies 2018, 11(1), 76; https://doi.org/10.3390/en11010076
Submission received: 17 October 2017 / Revised: 6 December 2017 / Accepted: 22 December 2017 / Published: 1 January 2018
(This article belongs to the Section F: Electrical Engineering)

Abstract

:
As one of the most important tools used in operation and planning of power systems, the optimal power flow (OPF) problem considering the economy and security is large-scale, complex and hard to solve. In this paper, an improved krill herd algorithm (IKHA) has been proposed. In IKHA, the onlooker search mechanism is introduced to reduce the probability of falling into local optimum; and the parameter values of the proposed algorithm including inertia weight and step-length scale factor are varied according to the iteration of evolutionary process, which improves the exploration and exploitation capabilities. Moreover, a novel constraint handling method is proposed to guide the individual to the feasible space and ensure that the optimal solution satisfies the security constraints. Then, IKHA is combined with the novel constraint handling method to solve the multi-constrained OPF problem, and its performance is tested on the IEEE 30 bus, IEEE 57 bus and IEEE 118 bus systems for 10 different simulation cases containing linear and non-linear objective functions. The simulation results demonstrate that the proposed method can solve the OPF problem successfully and obtain better solutions compared with other methods reported in the recent literatures, which prove the feasibility and effectiveness of the improvements in this work.

1. Introduction

Electricity is the main driving force of national economies and life, so it is particularly important to improve the properties of power systems, such as the safety, the reliability and the economy. Today’s electric power system is a changeable and sophisticated system due to its large scale and complicated components, including the power generation, the substations, the transmission, the power distribution and the consumption of electricity [1]. The whole society, even the whole world, should attach importance to the operation and planning of energy systems for realizing safe, reliable power system economic operation.
The optimal power flow (OPF) problem considering the economy and security is one of the most important tools used in operation and planning for energy systems [2]. The aim of OPF is to provide the optimal settings of control variables for optimizing a specific objective function, such as the generation cost function, transmission real power losses and voltage deviation, while satisfying some equality and inequality constraints. The equality constraints are power flow equations, and the inequality constraints include many limits on power system variables and operating constrains.
Initially, some traditional mathematical methods have been used to solve OPF problem, such as interior-point method [3], linear programming method [4], nonlinear programming method [5] and simplified gradient method [6]. Usually, these methods have fast calculation speed and good convergence characteristics with some restrictions on variables and objective functions. The restrictions refer to convexity, smoothness, continuity and differentiability. In fact, OPF is a large-scale, multi-constrained, non-linear and non-convex problem which contains the discrete and continuous variables. Therefore, to a certain extent, the traditional methods cannot solve the OPF problem successfully. With the development of computers, the intelligent optimization methods based on the combination of computer technology and biological simulation are proposed to overcome many drawbacks of the traditional methods; and these heuristic algorithms include artificial bee colony algorithm (ABC) [7], particle swarm optimization (PSO) [8], differential search algorithm (DSA) [9], differential evolution algorithm (DE) [10], gravitational search algorithm (GSA) [11], etc. Numerous studies indicate that each algorithm has different performance, pros and cons in different cases, so there are more and more modified methods based on intelligent algorithms to solve the OPF problem effectively. For example, the authors in [12] proposed an improved colliding bodies optimization algorithm (ICBO) which considered three mechanisms in parallel-based colliding bodies optimization (CBO), and the proposed ICBO has been proved to yield better optimization efficacy over CBO. In [9], an efficient inspired search method based on differential search algorithm (DSA) could provide better results compared with DSA for handling OPF problem. A particle swarm optimization with an aging leader and challengers (ALC-PSO) was successfully applied for the solution of OPF problem in [13]. Applications of modified methods seem like a good way to solve the OPF problem. However, it is still not an easy task to guarantee the optimal results obtained by these methods meet security constraints in larger systems. Thus, for solving OPF problem, it is greatly significant to improve the current methods and handle constraints on variables well simultaneously. Actually, in order to more efficiently contribute to the power system engineering, the academia contribution should consider the requirements of the overall OPF solution methodology as much as possible [14].
In 2012, Gandomi and Alavi proposed a new bio-inspired intelligent optimization method according to the simulation of Antarctic krill swarms’ living environment and habits, named as krill herd algorithm (KHA) [15]. This method has a strong ability of diversity and few parameters for adjustment, which is suitable for engineering optimization. However, the search precision and convergence speed of KHA can’t be guaranteed due to excessive dependence on random steps, which is easy to fall into local optimal. So far, many modified krill herd algorithms have been proposed to overcome the shortcomings. In [16], Logistic map was considered in chaotic krill herd algorithm (CKHA) to improve the performance of the basic KHA, and the proposed method yielded better optimization efficacy over some other recent popular techniques. The authors in [17] made certain modifications to increase the performance of the standard KHA, and the simulation results of the proposed method (MKHA) considerably outperformed the results obtained in the cited literature. The opposition based learning (OBL) concept was integrated with krill herd algorithm (KHA) for improving the convergence speed and simulation results in [18]. In [19], the proposed approach utilizes opposition-based learning (OBL), position clamping (PC) and Cauchy mutation (CM) to enhance the performance of basic KH. In nature, the survival of the individual is often influenced by the outside world, such as weather, food and natural enemies. Therefore, the individual should be renewed again with a certain probability. For example, in the cuckoo search algorithm, cuckoo birds re-establish new nests according to the probability that the eggs of cuckoo birds are found by other birds [20]. So far, there is no improved algorithm based on KHA that considers the impact of the external environment. In this paper, onlooker search mechanism, which is based on the behavior of onlooker bees of artificial bee colony (ABC) algorithm [21], is proposed to simulate the external factors. A certain number of bees will interfere with the evolution of krill individuals according to a probability value. Furthermore, the improvement of parameters is also considered in the proposed method.
As to the problem of constraints, in many literatures, evolutionary algorithms choose the penalty function method to handle the inequality constraints of dependent variables [12,22,23,24]. However, the method requires many penalty factors, and the setting and adjustment of these parameters may increase the complexity of the algorithm. Besides, in larger systems, the penalty function does not necessarily lead the algorithm to obtain a solution that satisfies the security constraints. Therefore, a novel constraint handling method is proposed to overcome the drawbacks. For state variables constraints, the constraint evaluation value Constraint(Xi) considered as the conditions of selecting optimal individual has fewer parameters to set and adjusted in larger system, and the non-greedy selection is aimed to guide the individual to the feasible space. The constraint method also presents a new mechanism for self-constrained control variables, which makes the variable closer to the optimal direction. Briefly, the contributions of this paper can be summarized as follows:
  • An improved krill herd algorithm is proposed, namely IKHA, which introduces the onlooker search mechanism to reduce the probability of falling into local optimum. Moreover, the parameter values of the proposed algorithm including inertia weight ω and step-length scale factor Ct are varied according to the iteration of evolutionary process.
  • A novel constraint handling method, which contains two parts of control variable constraint and state variable constraint, is proposed to guide the individual to the feasible space and ensure the optimal solutions satisfy the security constraints, especially in larger systems.
  • The OPF problem is successfully implemented on standard IEEE 30 bus, IEEE 57 bus and IEEE 118 bus systems to solve 10 different cases by using the proposed method.
Finally, the KHA and IKHA are tested on standard IEEE 30 bus, IEEE 57 bus and IEEE 118 bus systems; and different objective functions, such as quadratic fuel cost, voltage magnitude deviation, fuel cost emission and quadratic fuel cost considering voltage magnitude deviation, are considered to verify the efficiency of IKHA for solving OPF problem. The simulation results demonstrate that IKHA can solve the OPF problem successfully and obtain better solutions compared with KHA and other methods reported in the recent literatures.
The rest of the paper is organized as follows: Section 2 describes the mathematical formulation of the OPF problem. Section 3 proposes an improved krill herd algorithm. Section 4 introduces a novel constraint method. Section 5 presents simulation cases and results. Finally, the conclusion is drawn in Section 6.

2. OPF Problem Formulation

As previously mentioned, the OPF problem can be mathematically formulated as follows:
M i n i m i z e F ( x , u )
Subject to:
{ g ( x , u ) = 0 h ( x , u ) 0
where x and u are the vector of state variables and the vector of control variables, respectively. F(x, u) is the objective function to be minimized. g(x, u) is the set of equality constraints and h(x, u) is the set of inequality constraints. In actual operation of power systems, there are many types of objective function which is non-linear, non-convex or non-differential.

2.1. Control Variable

The control variables of this model include active power generation PG at PV buses except the slack bus, voltage magnitude VG at PV buses, transformer tap settings T and shunt reactive compensation QC, which can be expressed as:
u T = [ P G 2 P GNG , V G 1 V GNG , T 1 T NT , Q C 1 Q CNC ]
where NG, NT and NC represent the number of generator buses, the number of regulating transformers and the number of shunt compensators, respectively. Commonly, the transformer tap settings T and shunt reactive compensation QC have been considered as discrete variables.

2.2. State Variable

The state variables of this model are active power generation PG1 at the slack bus, voltage magnitude VL at PQ buses, reactive power output QG at PV buses and transmission line loadings (or line flow) Sl, which can be represented as:
x T = [ P G 1 , V L 1 V LNL , Q G 1 Q GNG , S l 1 S lNTL ]
where NL is the number of load buses and NTL is the number of transmission lines; PG1 as the state variable is the active power generation at the slack bus.

2.3. Equality Constraint

The power balance are considered as basic equality constraints and reflect the physics of power systems, which are defined as follows:
Q G i Q L i V i j = 1 N i V j ( G i j sin δ i j B i j cos δ i j ) = 0 ( i = 1 , 2 N PQ ) P G i P L i V i j = 1 N i V j ( G i j cos δ i j + B i j sin δ i j ) = 0 ( i = 1 , 2 N S ) }
where δij = δiδj, which are voltage angles at bus i and j, respectively. Ni is the number of buses which are adjacent to bus i, including bus i. NPQ is the number of PQ buses and NS is the number of system buses excluding slack bus. QGi and PGi represent the reactive power output and the active power generation at bus i which belongs PV buses, respectively. QLi and PLi represent the reactive load demand and active load demand at bus i, respectively. Gij and Bij are the conductance and susceptance between bus i and bus j, respectively. Vi is the voltage magnitude at bus i. It is noted that the equality constraints are satisfied because they are considered as the termination conditions when calculating Jacobian matrix in Newton Raphson load flow calculation [11].

2.4. Inequality Constraint

The operating limits of power systems are considered as inequality constraints which guarantee the system security.
  • Generator constraints:
    V G i min V G i V G i max ( i = 1 , , NG )
    P G i min P G i P G i max ( i = 1 , , NG )
    Q G i min Q G i Q G i max ( i = 1 , , NG )
  • Transformer constraints:
    T i min T i T i max ( i = 1 , , NT )
  • Shunt reactive compensator constraints:
    Q C i min Q C i Q C i max ( i = 1 , , NC )
  • Security constraints:
    V L i min V L i V L i max ( i = 1 , , NL )
    S l i S l i max ( i = 1 , , NTL )

3. Improved Krill Herd Algorithm (IKHA)

3.1. Brief on Krill Herd Algorithm (KHA)

As one of the marine species studied by humans, krill swarms have a habit of clustering. When krill swarms encounter natural enemies, some of them will be killed or forced to change the position, resulting in a decrease in population density. In order to restore the original state, krill swarms will be gathered towards two main goals: increasing population density and finding food. Based on the two behaviors in the process of krill clustering, some scholars have proposed a new heuristic algorithm to solve the global optimal problem—krill herd algorithm (KHA).
In KHA, each krill individual represents a feasible solution for the optimization problem. The above two goals are considered as forward direction of the optimization problem, then the process of individual re-aggregation of krill is the process of the algorithm to search for the optimal solution. The location of each krill will change over time and its changes are mainly affected by the following three factors:
  • Movement induced by other krill individuals
  • Foraging motion
  • Random diffusion
For an n dimensional decision problem, the Lagrangian model is used in KHA:
d X i d t = N i + F i + D i
where Ni is the induced motion of other krill individuals; Fi is the Foraging activity and Di is the physical diffusion.

3.1.1. Movement Induced by Other Krill Individuals

In order to achieve the overall migration of the population, each krill individual will interact with each other, making the population remain highly intensive. The direction αi of movement is influenced by the effects of neighboring individuals (local effect), the optimal individual (target effect), and population exclusion (repulsive effect). For a krill, the movement Ni induced by other krill individuals can be defined as:
N i = N max α i + w n N i old
α i = α i local + α i target
where Nmax and Niold are the maximum induced speed and the last motion induced, respectively. ωn ∈ [0, 1] is the inertia weight of the motion. αilocal and αitarget represent the local effect and target effect, respectively. The local effect induced by neighbors can be assumed as an attractive/repulsive tendency and determined as follows:
α i local = j = 1 NN K ^ i , j X ^ i , j
X ^ i , j = X j X i X j X i + ε
K ^ i , j = K i K j K w o r s t K b e s t
where NN is the number of neighbors, X and K represent the related position and fitness, respectively. Kworst and Kbest are the worst and the best value of the krill herds so far; ε is a small positive value to avoid singularities. Furthermore, the sensing distance of krill individuals should be proposed to define the local effect, which determines the neighbors of a krill individual using the following formula:
d i = 1 5 NP j = 1 NP X i X j
where NP represents the population size.
The global optimal solution as target direction will affect the motion of each krill which is defined as:
α i target = C best K ^ i , b e s t X ^ i , b e s t
C best = 2 ( r a n d 1 + g g max )
where rand1 is uniformly distributed random variable between 0 and 1, g and gmax represent the actual iteration and the maximum iteration numbers.

3.1.2. Foraging Motion

In the foraging motion, the “food” searched by the population is estimated according to the fitness distribution of the krill individuals, and its position is determined by the definition of “center of mass” in physics:
X food = i = 1 NP 1 K i X i i = 1 NP 1 K i
The foraging activity of the krill is affected by two main factors: the current and the previous location of the food source which can be expressed as follows:
F i = V f β i + ω f F i old
β i = β i food + β i i best
where Vf is the foraging speed, ωf is the inertia weight between 0 and 1, Fiold is the previous foraging motion, βifood and βiibest represent the food attraction and the effect of the best fitness of the ith krill so far which are defined as:
β i food = C food K ^ i , food X ^ i , food
β i i best = K ^ i , i best X ^ i , i best
where Cfood is the food coefficient and varied by the iteration as:
C food = 2 ( r a n d 2 + g g max )
where rand2 is uniformly distributed random variable between 0 and 1.

3.1.3. Random Diffusion

The physical diffusion of krill individuals can be expressed with the maximum diffusion speed and a random directional vector as:
D i = D max ( 1 g g max ) δ
where Dmax represents the maximum diffusion speed and δ is random vector whose arrays are random values generated according to uniform distribution between −1 and 1.

3.1.4. Position Update

The above three factors will make each krill individual change its position in the optimal direction. The position of the individual during the interval t + ∆t is updated as follows:
X i ( t + Δ t ) = X i ( t ) + Δ t d X i d t
t is one of the most important constants and completely depends on the search space which can be expressed as:
Δ t = C t j = 1 NV ( U B j L B j )
where Ct is a constant number between [0, 2], NV is the total number of control variables, UBj and LBj represent the upper and lower bounds of the jth variable, respectively.

3.1.5. Genetic Operators

The crossover and mutation strategies of Genetic algorithm are incorporated into KH to improve the performance of the algorithm. The crossover is formulated as [15]:
X i , j = { X r 1 , j    r a n d 3 < C R X i , j    else j = 1 , , D i = 1 , , NP
C R = 0.2 K ^ i , best
where D is the dimension of the optimal problem, rand3 is uniformly distributed random variable between 0 and 1, Xr1 (r1 ≠ i) is randomly chosen from the current population, CR is the crossover probability which is equal to zero for the global best solution. The mutation is defined as [15]:
X i , j = { X best , j + μ ( X r 2 , j X r 3 , j )    r a n d 4 < Mu X i , j    else j = 1 , , D i = 1 , , NP
Mu = 0.05 / K ^ i , best
where Xbest is the global best position of the whole swarm, μ ∈ [0, 1] is the mutant factor, rand4 is uniformly distributed random variable between 0 and 1, Xr2 and Xr3 (r2 ≠ r3 ≠ i) are randomly chosen from the current population, Mu is the mutant probability which is also equal to zero for the global best solution.

3.1.6. The Process of Krill Herd Algorithm

Generally, the KHA can be described by the following steps:
Step 1:
Initialization: The algorithm parameters, the power system data, limits of variables.
Step 2:
The generation of initial population: The individual is randomly generated in the search space of the optimization problem. Random values are assigned to each D-dimensional individual according to:
X j , i | g = 0 = X j , min + r a n d 5 × ( X j , max X j , min ) j = 1 , , D i = 1 , , NP
where Xj,min and Xj,max represent the lower and upper bounds of the jth decision variable, NP is the population size, rand5 is uniformly distributed random variable between 0 and 1.
Step 3:
Fitness evaluation: Evaluate each krill individual according to its position and memorise the global best solution.
Step 4:
Motion calculation:
  • Movement induced by other krill individuals
  • Foraging motion
  • Random diffusion
Step 5:
Perform the genetic operators including crossover and mutation.
Step 6:
Update the population and repeat the Step 3.
Step 7:
Stop and display the final solution if the stop criteria is reached, else go back to Step 4.

3.2. Onlooker Search Mechanism

The above three factors will make each krill individual to change the direction of own position according krill swarms. In the evolutionary process, the difference among individuals will gradually decrease as the number of iterations increases, which makes KHA is prone to fall into local optimum. Therefore, the onlooker search mechanism based on the behavior of onlooker bees of artificial bee colony (ABC) algorithm [21] is introduced to overcome this shortcoming. All onlookers select individuals to be updated again according to the probability (Pi) value which is based on the roulette method [25]:
P i = f i t i j NP f i t j
where i ∈ {1, 2, …, NP}, NP represents the number of the population size. fiti is associated with the fitness value fi of the ith krill calculated as follows:
f i t i = { 1 1 + f i , f i 0 1 + | f i | , f i < 0
The individual with better fitness will attract more onlooker bees and be updated by the following formula:
X i = X i + r a n d 1 × ( X b e s t X i ) + ( 1 r a n d 1 ) × ( X r 1 , g X r 2 , g )
where Xr1,g and Xr2,g (r1 ≠ r2 ≠ i) are randomly chosen from the current population, Xbest is the global best position of the whole swarm, rand1 is uniformly distributed random variable between 0 and 1. Then the selection combined with novel constraint method is utilized to choose a better vector between the trial vector Xi and the target vector Xi which is explained in detail in Section 4. Moreover, the number of onlooker bees influences the convergence speed and it is usually to be 1/3 of the number of the population size.

3.3. Parameter Improvement

Generally, ωn and ωf are defined as ω called inertia weight. When ω takes bigger value, the algorithm can perform better globally and diversify the solution. Smaller ω is aimed to perform the local search. An excellent algorithm should have the two capabilities: exploration and exploitation. The former is the ability to avoid the possibility of finding the global optimal solution quickly by falling into local minimum. The latter refers to the ability to explore potential better solutions near the existing optimal value. Ct is step-length scale factor. The larger the value of Ct is, the stronger the exploration capability will be, which may lead to slower convergence. On the contrary, the exploitation capability will be stronger, which may lead to premature convergence. Therefore, the improvement of the parameters should be implemented, which directly affects the search precision and convergence speed.
In the proposed method, inertia weight ω is gradually decreased as:
ω = 0.1 + 0.8 × ( 1 g g max ) 2
where g and gmax represent the number of the iteration and maximum iteration number, respectively. The way of non-linear decline is to ensure that the motion can get a greater range of exploration in the early and accelerate the convergence of particles in the later.
The step-length scale factor Ct is changed according to the number of iterations of the algorithm:
C t = { 0.7 0.4 if   g < 0.4 × g max o t h e r w i s e

3.4. Implementation of IKHA Algorithm

Some steps involved to solve the OPF problem by IKHA algorithm are presented in the flowchart shown in Figure 1.

4. Novel Constraint Handling Method

The non-linear, non-convex constrained optimization problem can be solved by indirect and direct methods. The indirect method means that constraints are incorporated in an explicit manner and the direct method means that constrained optimization problem is converted into unconstrained optimization problem [26]. In this paper, an indirect method combined with a non-greedy selection is proposed, which is divided into two parts as follows.

4.1. State Variable Constraint

In this method, the inequality constraints of state variables which contain real power generation at slack bus PG1, reactive power generation at PV buses QG, load bus voltage magnitude VL and line loading Sl are considered as the conditions of selecting optimal individual and mathematically formulated as:
Constraint ( X i ) = C V i = 1 NL C o s ( V L i ) + C Q i = 1 NG C o s ( Q G i ) + C P C o s ( P G 1 ) + C S i = 1 NTL C o s ( S l i )
where Constraint(Xi) is the constraint evaluation value of Xi. CVCQCP and CS are constraint coefficients of state variables, respectively. Cos(VLi), Cos(QGi), Cos(PG1) and Cos(Sli) respect the constraint value of the state variable VL, QG, PG1, Sl at the current operating state Xi, and each one can be expressed as follows:
C o s ( x i ) = = { | x i min x i | 0 | x i max x i | x i < x i min x i min x i x i max x i > x i max
where xi represents ith state variable of VL, QG, PG1 and Sl. ximin and ximax are lower and upper bounds of the state variable, respectively. Constraint coefficients are usually 1, but in large systems, if some state variable is easy to violate constraints, the value of its corresponding constraint coefficient can be increased.
A non-greedy selection based on constraint evaluation value Constraint(Xi) is introduced to pick out qualified solutions, mathematically formulated as:
X i = { X 1 Constraint ( X 1 ) = 0 , Constraint ( X 2 ) 0 X 2 Constraint ( X 2 ) = 0 , Constraint ( X 1 ) 0 min ( Constraint ( X 1 ) , Constraint ( X 2 ) ) o t h e r w i s e
The selection is applied in the algorithm to guide the individual to the feasible space.

4.2. Control Variable Constraint

On the other hand, the control variable is self-constrained. When the independent variable violates limits then the position of it will be adjusted as follows:
X j = { r 1 × X j , max + ( 1 r 1 ) × X j , best r 2 × X j , min + ( 1 r 2 ) × X j , best i f X j > X j max i f X j < X j , min j = 1 , , D
where Xj,best is the corresponding variable of the best individual, r1 and r2 are uniformly distributed random variables between 0 and 1.

5. Application and Simulation Results

To verify the efficiency of the proposed algorithm, 3 different types of test system and 10 different cases are considered for simulation, which are summarized in Table 1. For each case, 30 runs are conducted to get the solution quality. In addition, Table 2 shows some parameter values of IKHA and KHA. The choices of these values which are obtained from multiple experiments can make the method have better search efficiency.
The simulations were performed in Matlab 2014 on a 3.30 GHz personal computer with 8.00 GB for random access memory (RAM) and the optimization results obtained by IKHA are compared with the results of KHA and other methods presented in the recent literatures. All of constraint coefficients of the novel constraint method are set to be 1 in IEEE 30 bus system, but CV and CQ are set to be 500 in IEEE 57 bus and IEEE 118 bus systems. Besides, KHA employs the penalty function to handle the constraints on state variables, and all of the penalty factors are set to be 500.

5.1. IEEE 30 Bus System

The system has 6 generators, 41 branches, 9 shunt reactive compensations and 4 transformers, which also has 2.834 p.u. for the active power demand and 1.262 p.u. for the reactive power demand on base of 100 MVA. In addition, the detailed line date, the bus date and the cost coefficients are given in [27,28]. The transformer tap settings are divided into 20 discrete steps. The minimum and maximum limits are 0.9 p.u. and 1.1 p.u., and the step size is 0.01 p.u. The shunt reactive compensation is divided into 50 discrete steps with a step of 0.001 p.u.; and the lower and upper limits are 0.0 p.u. and 0.05 p.u., respectively. Furthermore, the voltage magnitudes of generator buses are assumed to vary in the range [0.95, 1.1] p.u., and the lower and upper limits of load buses are considered to be 0.95 p.u. and 1.05 p.u., respectively.

5.1.1. Case 1: Minimization of Quadratic Fuel Cost Function

The objective of the total fuel cost is widely used and it can be formulated by a quadratic curve as follows:
f Cost = i = 1 NG f i ( $ / h )
f i = a i + b i P G i + c i P G i 2
where ai, bi and ci are the cost coefficients of the ith generator.
In actual operation of power systems, the fuel cost of generators is affected by some factors. Therefore, two other general formulas for calculating the fuel cost are also considered in this paper: Case 1-a and Case 1-b.
Case 1-a considers the situation where the generators use multiple fuel sources like natural gas, oil and coal. The mathematical formulation of these generators is described as a set of piecewise quadratic cost functions for different fuel types, which can be defined as:
f i = { a i 1 + b i 1 P G i + c i 1 P G i 2 P G i min P G i < P G i 1 a i 2 + b i 2 P G i + c i 2 P G i 2 P G i 1 P G i < P G i 2 a i k + b i k P G i + c i k P G i 2 P G i k 1 P G i < P G i max
where aik, bik and cik are the cost coefficients of the ith generator for fuel type k. In this case, the generators at buses 1 and 2 have two different types of fuel cost sources, and their cost coefficients are presented in [12]. The cost functions of other generators have the same presentations as Case 1. Clearly, the problem becomes non-continuous which may result in local optimum and the total objective function can be described as:
f Cost a = ( i = 1 2 a i k + b i k P G i + c i k P G i 2 ) + ( i = 3 NG a i + b i P G i + c i P G i 2 ) ( $ / h )
Case 1-b considers the valve point effect which is described as an absolute sinusoidal function [29]. In this case, the valve point effect is added to the basic quadratic cost functions of generators at buses 1 and 2, and the non-differential objective function is calculated as follows:
f Cost b = ( i = 1 2 a i + b i P G i + c i P G i 2 + | d i sin ( e i ( P G i min P G i ) ) | ) + ( i = 3 NG a i + b i P G i + c i P G i 2 )   ( $ / h )
where ai, bi, ci, di and ei are cost coefficients of the ith generator, and the cost coefficients of buses 1 and 2 are given in [23]. The cost coefficients of other generators remain the same values as Case 1.
For Case 1, the optimal control variables and objective function value of IKHA are shown in Table 3, and the comparison of the results obtained by IKHA and other methods reported in recent literatures is shown in Table 4. The computation time is a vital issue in power system operation which depends on the algorithm’s search efficiency, maximum iteration number and population size. In recent literatures, the maximum iteration number and population size which are related to time complexity are usually not the same. The average computation time of the single iteration is considered to reflect the algorithm efficiency in this paper. Thus, the simulation time and maximum iteration number of methods are recorded which can be seen in Table 4. It is worth noting that the result with ‘a’ represents an infeasible solution. NA means that the datum is not reported in the referred literature. From the tables, it is clear that the minimization of quadratic fuel cost obtained by IKHA is better than KHA, modified shuffle frog leaping algorithm (MSLFA) [30], ABC [31], moth swarm algorithm (MSA) [22], modified Gaussian bare-bones imperialist competitive algorithm (MGBICA) [32], Jaya [33] and adaptive real coded biogeography-based optimization (ARCBBO) [34]. The single iteration computation times of ABC [31] and Jaya [33] are longer than IKHA, which shows the search efficiency of IKHA. The result of IKHA is greatly reduced to 800.4143 $/h comparing with 801.4675 $/h obtained by KHA, and the difference of the simulation time is small which proves the effectiveness of the proposed method. Although the results obtained by GSA [35] and biogeography based optimization (BBO) [36] are less than IKHA, the optimal solutions are regarded as unqualified solutions for violating system security constraints mentioned before. Meanwhile, Figure 2 shows the optimal convergence curves over the iterations and Figure 3 shows the results in 30 independent simulations of IKHA and KH for case 1. As shown in Figure 2, the initial value of IKHA is smaller than KHA due to the novel constraint method; and IKHA has smooth curve with a better convergence than KHA. Moreover, the distribution range of results of IKHA is smaller than KHA according to Figure 3, which demonstrates that IKHA has a stronger robustness.
For Case 1-a and Case 1-b, the optimal control variables and objective function values of IKHA are shown in Table 3, and the comparison of the results is shown in Table 5. It can be seen that the results of IKHA are 646.5126 $/h and 929.9010 $/h for Case 1-a and Case 1-b, which are both less than KHA and MSA [22]. Furthermore, the optimal convergence curves of IKHA for Case 1-a and Case 1-b are shown in Figure 4 which demonstrates the convergence characteristic. According to the experimental data of the three situations, the proposed method can successfully solve the non-differential and non-continuous OPF problem which contains the discrete and continuous variables.

5.1.2. Case 2: Minimization of Voltage Magnitude Deviation

The function which is an important safety quality index aims to minimize the deviation of the PQ buses voltages from 1.0, and it can be formulated as follows:
f Deviation = i = 1 NL | V i 1 |
where NL is the number of load buses and Vi represents the voltage magnitude of ith load bus. For case 2, Table 3 shows the optimal solutions of IKHA and Table 6 shows the comparison of the results obtained by IKHA and other methods. It can be seen that the minimization of voltage magnitude deviation of IKHA is 0.0892 p.u., which is less by 0.0137, 0.0347, 0.0082 and 0.0059 p.u. comparing with KHA, MGBICA [32], lévy teaching–learning-based optimization (LTLBO) [23] and BBO [36], respectively. Moreover, the voltage magnitude deviation in this case is decreasing from 0.9215 p.u. obtained by case 1 to 0.0892 p.u., which is equivalent to 90% reduction. In order to make the result of case 2 clearer, the comparison of voltage profiles between case1 and case 2 is shown in Figure 5, and the optimal convergence curves of IKHA and KH is shown in Figure 6. It is noted that the initial value of KHA is not shown in Figure 6 for making the convergence curve better clear. The reason for this is that the difference between the initial values of IKHA and KHA is larger due to the difference of the novel constraint method and the penalty function method. Obviously, the proposed method can guide the individual to find the better location in the viable domain.

5.1.3. Case 3: Minimization of Fuel Cost Emission

Aimed to minimize the harmful gas amount, such as SOx and NOx, the objective for the generators can be defined as bellow [37]:
f E = i = 1 NG α i + β i P G i + γ i P G i 2 + ξ i exp ( λ i P G i ) ton / h
where αi, βi, γi, ξi and λi are the emission coefficients of the ith generator. NG represents the number of generator buses. The setting of optimal control variables of IKHA are presented in Table 3, which shows that the minimum of fuel cost emission obtained by IKHA is 0.204818 ton/h. The simulation result is compared with other methods in Table 7, and better than KHA, differential search algorithm (DSA) [9] ABC [31], MSA [22], MGBICA [32] and MSLFA [30]. Compared with the above cases, this objective function is non-linear. The result of IKHA, which is less 0.001002 than KHA, proves that the proposed method can get not only the better optimal solution but also better convergence curve when solving non-linear problem as shown in Figure 7. Besides, Figure 8 shows the results in 30 independent simulations of IKHA and KH for case 3, which indicates the robustness of IKHA.

5.1.4. Case 4: Minimization of Transmission Real Power Losses

The function determined by the bus voltage magnitude and angle is the total active power losses of all transmission lines, and can be formulated as follows:
f Loss = k = 1 NTL G k [ V i 2 + V j 2 2 V i V j cos ( δ i δ j ) ]
where Gk is the conductance between bus i and bus j, and NTL is the number of transmission lines. It can be seen in Table 3 that the minimization of transmission real power losses obtained by IKHA is 3.0850 MW, and the result is less than KHA, ABC [31] Combined approach [28], DSA [9] MSA [22], MGBICA [32], Proposed efficient evolutionary algorithm (EEA) [38], Jaya [33] and ALC-PSO [13] reported in Table 8. But the single iteration computation times of Proposed EEA [38] and ALC-PSO [13] are shorter than IKHA. As shown in Figure 9 and Figure 10, to a certain extent, the onlooker search mechanism reduces the probability of falling into the local optimal and makes the IKHA obtain a better solution compared with the basic KHA.

5.1.5. Case 5: Minimization of Quadratic Cost and Voltage Magnitude Deviation

Generally, the weighted sum method is used to make multi-objective into a single objective problem. This case is aimed to simultaneously minimize the quadratic cost and voltage magnitude deviation, which can be expressed as:
f CD = f Cost + λ D f Deviation
where λD selected by the user is a weighting factor and it is selected as 100 in this study [23]. Table 3 shows that the quadratic fuel cost and voltage magnitude deviation for case 5 of IKHA are 803.5879 $/h and 0.0984 p.u, respectively. It is also shows 0.3965% increase in the quadratic fuel cost and 89.32% reduction in the voltage magnitude deviation compared with case 1. Additionally, the results are compared with other methods, and the comparison is shown in Table 9. According to the value of the weighted sum, IKHA is better than KHA, particle swarm optimization and gravitational search algorithm (PSOGSA) [29], The proposed KHA [39], adaptive biogeography based predator–prey optimization (ABPPO) [40], MSA [22], LTLBO [23], Gbest guided artificial bee colony algorithm (GABC) [24] and ICBO [12] Looking at the two goals separately, the results of IKHA are lower than those of KHA and the proposed KHA For the results of the other methods in Table 8, such as the PSOGSA [29], only one of the two goals is better than IKHA. As the individual evaluation criteria are different, the optimal solution is different. The optimal convergence curves of quadratic fuel cost and voltage magnitude deviation of IKHA are shown in The Figure 11.

5.1.6. Case 6: Minimization of Quadratic Cost and Transmission Real Power Losses

Similarly, this case minimizes the quadratic cost and transmission real power losses at the same time through the weighted sum method, which is calculated as:
f CL = f Cost + λ L f Loss
where λL selected by the user is a weighting factor and it is selected as 40 in this study [22]. From Table 3, the quadratic fuel cost and transmission real power losses for case 6 obtained by IKHA are 859.0579 $/h and 4.5291 MW, respectively. It is also shows 7.3266% increase in the quadratic fuel cost and 49.661% reduction in the transmission real power losses compared with case 1. The simulation results are compared with other methods in Table 10, and the value of the weighted sum is better than KHA, MSA [22], modified differential evolution (MDE) [22], PSOGSA [29] and ABPPO [40]. The analysis of current case is similar to Case 5 because that the different criteria make different choices. The Figure 12 shows the optimal convergence curves of quadratic fuel cost and transmission real power losses over the iterations, which is very different from Figure 11 due to the differences between nonlinear and linear objective functions. This case proves that IKHA can handle the OPF problem successfully.

5.2. IEEE 57 Bus System

The system has seven generators, three shunt reactive compensations and 15 transformers, which also has 12.508 p.u. for the active power demand and 3.364 p.u. for the reactive power demand on base of 100 MVA. All detailed line date, the bus date and the cost coefficients are given in [41]. The transformer tap settings are divided into 2000 discrete steps. The minimum and maximum limits are 0.9 p.u. and 1.1 p.u., and the step size is 0.0001 p.u. The shunt reactive compensation is divided into 3000 discrete steps with a step of 0.0001 p.u.; and the lower and upper limits are 0.0 p.u. and 0.3 p.u., respectively. Furthermore, the voltage magnitudes of generator buses are assumed to vary in the range [0.9, 1.1] p.u. and the lower and upper limits of load buses are considered to be 0.94 p.u. and 1.06 p.u., respectively.

5.2.1. Case 7: Minimization of Quadratic Fuel Cost Function

The objective function in this case is the minimization of quadratic cost which is given by Equations (45) and (46). The setting of optimal control variables for case 7 of IKHA are presented in Table 11, which shows that the minimum of quadratic fuel cost obtained by IKHA is 41,663.391 $/h. The simulation result is compared with other methods in Table 12, and less than the results of KHA, MSA [22], LTLBO [23], ICBO [12], DSA [9], ARCBBO [34] and GABC [42]. Figure 13 shows the optimal convergence curves over the iterations and Figure 14 shows the results in 30 independent simulations of IKHA and KH for case 7. From Figure 13, it is clear that the convergence characteristic is not as good as case 1 in the same maximum iteration number, and the reason is that the system becomes bigger which means that the problem is more complicated. Besides, the initial value of KHA is also not shown in Figure 13 and the reason is described in case 2. Moreover, the distribution range of results of IKHA is smaller than KHA according to Figure 14, which demonstrates that IKHA also has a stronger robustness in larger systems.

5.2.2. Case 8: Minimization of Voltage Magnitude Deviation

The goal of this case is to minimize the voltage magnitude deviation which is given by Equation (50). The setting of optimal control variables of IKHA for case 8 are presented in Table 11. Apparently, the solution in this case is decreasing from 1.5494 p.u. obtained by case 7 to 0.552 p.u., which is equivalent to 64.3733% reduction. In order to make the result of case 8 clearer, the comparison of voltage profiles between case7 and case 8 is shown in Figure 15.

5.2.3. Case 9: Minimization of Quadratic Cost and Voltage Magnitude Deviation

In this case, the objective function is to minimize the quadratic cost and voltage magnitude deviation simultaneously, which is given by Equation (53). It can be seen in Table 11 that the quadratic fuel cost, voltage magnitude deviation and the value of the weighted sum are 41,697.5456 $/h, 0.7233 p.u. and 41,769.8815, respectively. And the results both are less than DSA [9].The optimal solution of MSA [22] shows 0.0418% increase in the quadratic fuel cost and 6.2381% reduction in the voltage magnitude deviation compared with IKHA. Additionally, the optimal convergence curves of quadratic fuel cost and voltage magnitude deviation over the iterations of IKHA for case 9 are shown in Figure 16.

5.3. IEEE 118 Bus System

The IEEE 118 bus system has 54 generators, 186 lines, nine transformers and 14 shunts reactive compensations which contain 2 reactors and 12 capacitors. The active and reactive power demands of the large system are 42.42 p.u and 14.39 p.u. on base of 100 MVA, respectively. Furthermore, the detailed data and cost coefficients of the system are taken form [41]. The transformer tap settings are divided into 200 discrete steps. The minimum and maximum limits are 0.9 p.u. and 1.1 p.u., and the step size is 0.001 p.u. The shunt reactive compensation is divided into different discrete steps and has different minimum and maximum limits which can be seen in [41]. The larger the system is, the harder the convergence of OPF problem will be. So, in this system, the maximum iteration number gmax is set as 1000.

Case 10: Minimization of Quadratic Fuel Cost Function

The objective function in this case is the minimization of quadratic fuel cost which is given by Equations (45) and (46). The setting of optimal control variables of IKHA is presented in Table 13, and the comparison of the results obtained by IKHA and other methods is shown in Table 14. From the tables, it is clear that the minimization of quadratic fuel cost obtained by IKHA is better than KHA, backtracking search algorithm (BSA) [43] and ICBO [12]. In addition, the difference of single iteration computation time between IKHA and KHA is small, which proves the efficiency of the proposed method. The best result given in MSA [22] is an infeasible solution because the voltage magnitudes at some buses (25, 26, 49, 59, 61, 65, 66, 69, 70, 77, 80 and 100) violate their upper limits. From the point of economic, the result of IKHA is really good, which is less 4624.7028 $/h than KHA. Meanwhile, Figure 17 illustrates the convergence characteristic and Figure 18 shows the results in 30 independent simulations of IKHA and KH for case 10. In Figure 17, the initial value of KHA is not shown and the reason is described in case 2. It is noted that the black ‘×’ in Figure 18 represents the optimal result which doesn’t satisfy the security constraints, namely infeasible solution.
Apparently, KHA with the penalty function method performs 13 invalid optimizations in 30 independent simulations. This illustrates that the optimization algorithm and constraint method are both worthy to be improved. According to the experimental data, the proposed method can solve the constraints successfully while getting a better result in larger systems.

6. Conclusions

For solving the optimal power flow (OPF) problem, which is a large-scale, multi-constrained, non-linear and non-convex problem, an improved krill herd algorithm (IKHA) with novel constraint handling method has been proposed in this paper. In order to show the practicability of the proposed method, three systems (IEEE 30 bus system, IEEE 57 bus system and IEEE 118 bus system) and 10 different cases containing linear and non-linear objective functions are considered for the OPF problem. Then, the results obtained from the IKHA are compared with KHA and other methods reported in the recent literatures. As the simulation results indicated, the proposed method can solve the OPF problem successfully whether the objective function is linear or non-linear, and outperform many other methods in terms of solution quality. Apparently, the proposed method has better robustness and convergence characteristics than KHA, and the improvement of IKHA is feasible and effective. It means that the onlooker search mechanism added to the basic KHA is useful to reduce the probability of falling into local optimum and the parameters varied according to the iteration of evolutionary process can improve the exploration and exploitation capabilities of KHA. Furthermore, the result of case 10 in IEEE 118 bus system shows that the novel constraint handling method which consists of two parts, control variable constraint and state variable constraint, overcomes the drawback of the traditional penalty function method and ensures the optimal solutions satisfy the security constraints, especially in larger systems. In a word, the proposed method successfully improves the current method and does well in dealing with variables constraints simultaneously.

Acknowledgments

This work is supported by Chongqing University Innovation Team under Grant KJTD201312 and the National Natural Science Foundation of China (Nos. 51207064 and 61463014).

Author Contributions

All the authors have contributed significantly. Gonggui Chen and Zhengmei Lu proposed the original ideas; Gonggui Chen designed the experiments and revised the paper; Zhengmei Lu performed the experiments and wrote the paper; Zhizhong Zhang analyzed the data, and provided language and financial support.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Daryani, N.; Hagh, M.T.; Teimourzadeh, S. Adaptive Group Search Optimization Algorithm for Multi-Objective Optimal Power Flow Problem. Appl. Soft Comput. 2016, 38, 1012–1024. [Google Scholar] [CrossRef]
  2. Sanseverino, E.R.; di Silvestre, M.L.; Badalamenti, R.; Nguyen, N.Q.; Guerrero, J.M.; Meng, L. Optimal Power Flow in Islanded Microgrids Using a Simple Distributed Algorithm. Energies 2015, 8, 11493–11514. [Google Scholar] [CrossRef] [Green Version]
  3. Capitanescu, F.; Glavic, M.; Ernst, D.; Wehenkel, L. Interior-point based algorithms for the solution of optimal power flow problems. Electr. Power Syst. Res. 2007, 77, 508–817. [Google Scholar] [CrossRef]
  4. Mota-Palomino, B.; Quintana, V.H. Sparse Reactive Power Scheduling by a Penalty Function—Linear Programming Technique. IEEE Trans. Power Syst. 1986, 1, 31–39. [Google Scholar] [CrossRef]
  5. Shoults, R.; Sun, D. Optimal Power Flow Based Upon P-Q Decomposition. IEEE Trans. Power Appar. Syst. 1982, PAS-101, 397–405. [Google Scholar] [CrossRef]
  6. Carpentier, J. Contribution a l’Etude du Dispatching Economique. Bulletin de la Societe Francaise des Electriciens 1962, 3, 431–474. [Google Scholar]
  7. Oliva, D.; Ewees, A.A.; Aziz, M.A.E.; Hassanien, A.E.; Cisneros, M.P. A Chaotic Improved Artificial Bee Colony for Parameter Estimation of Photovoltaic Cells. Energies 2017, 10, 865. [Google Scholar] [CrossRef]
  8. Khaled, U.; Eltamaly, A.; Beroual, A. Optimal Power Flow Using Particle Swarm Optimization of Renewable Hybrid Distributed Generation. Energies 2017, 10, 1013. [Google Scholar] [CrossRef]
  9. Abaci, K.; Yamacli, V. Differential search algorithm for solving multi-objective optimal power flow problem. Electr. Power Energy Syst. 2016, 79, 1–10. [Google Scholar] [CrossRef]
  10. Zhao, Z.; Yang, J.; Hu, Z.; Che, H. A differential evolution algorithm with self-adaptive strategy and control parameters based on symmetric Latin hypercube design for unconstrained optimization problems. Eur. J. Oper. Res. 2016, 250, 30–45. [Google Scholar] [CrossRef]
  11. Chen, G.; Liu, L.; Zhang, Z.; Huang, S. Optimal reactive power dispatch by improved GSA-based algorithm with the novel strategies to handle constraints. Appl. Soft Comput. 2017, 50, 58–70. [Google Scholar] [CrossRef]
  12. Bouchekara, H.R.E.H.; Chaib, A.E.; Abido, M.A.; El-Sehiemy, R.A. Optimal power flow using an Improved Colliding Bodies Optimizationalgorithm. Appl. Soft Comput. 2016, 42, 119–131. [Google Scholar] [CrossRef]
  13. Singh, R.P.; Mukherjee, V.; Ghoshal, S.P. Particle swarm optimization with an aging leader and challengers algorithm for the solution of optimal power flow problem. Appl. Soft Comput. 2016, 40, 161–177. [Google Scholar] [CrossRef]
  14. Capitanescu, F. Critical review of recent advances and further developments needed in AC optimal power flow. Electr. Power Syst. Res. 2016, 136, 57–68. [Google Scholar] [CrossRef]
  15. Gandomi, A.H.; Alavi, A.H. Krill herd: A new bio-inspired optimization algorithm. Commun. Nonlinear Sci. Numer. Simul. 2012, 12, 4831–4845. [Google Scholar] [CrossRef]
  16. Mukherjee, A.; Mukherjee, V. Chaos embedded krill herd algorithm for optimal VAR dispatch problem of power system. Electr. Power Energy Syst. 2016, 82, 37–48. [Google Scholar] [CrossRef]
  17. Bulatović, R.R.; Miodragović, G.; Bošković, M.S. Modified Krill Herd (MKH) algorithm and its application in dimensional synthesis of a four-bar linkage. Mech. Mach. Theory 2016, 95, 1–21. [Google Scholar] [CrossRef]
  18. Sultana, S.; Roy, P.K. Oppositional krill herd algorithm for optimal location of capacitor with reconfiguration in radial distribution system. Electr. Power Energy Syst. 2016, 74, 78–90. [Google Scholar] [CrossRef]
  19. Wang, G.; Deb, S.; Gandomi, A.H.; Abaci, K. Opposition-based krill herd algorithm with Cauchy mutation and position clamping. Neurocomputing 2016, 177, 147–157. [Google Scholar] [CrossRef]
  20. Wang, H.; Wang, W.; Sun, H.; Cui, Z.; Rahnamayan, S.; Zeng, S. A new cuckoo search algorithm with hybrid strategies for flow shop scheduling problems. Soft Comput. 2017, 21, 4297–4307. [Google Scholar] [CrossRef]
  21. Cui, L.; Li, G.; Zhua, Z.; Lin, Q.; Wen, Z. A novel artificial bee colony algorithm with an adaptive population size for numerical function optimization. Inf. Sci. 2017, 414, 53–67. [Google Scholar] [CrossRef]
  22. Mohamed, A.A.; Mohamed, Y.S.; El-Gaafary, A.A.M. Optimal power flow using moth swarm algorithm. Electr. Power Syst. Res. 2017, 142, 190–206. [Google Scholar] [CrossRef]
  23. Ghasemi, M.; Ghavidel, S.; Gitizadeh, M.; Akbari, E. An improved teaching–learning-based optimization algorithm using Lévy mutation strategy for non-smooth optimal power flow. Electr. Power Energy Syst. 2015, 65, 375–384. [Google Scholar] [CrossRef]
  24. Roy, R.; Jadhav, H.T. Optimal power flow solution of power system incorporating stochastic wind power using Gbest guided artificial bee colony algorithm. Electr. Power Energy Syst. 2015, 64, 562–578. [Google Scholar] [CrossRef]
  25. Xia, X. Particle Swarm Optimization Method Based on Chaotic Local Search and Roulette Wheel Mechanism. Phys. Procedia 2012, 24, 269–275. [Google Scholar] [CrossRef]
  26. Singh, M.; Dhillon, J.S. Multiobjective thermal power dispatch using opposition-based greedy heuristic search. Electr. Power Energy Syst. 2016, 82, 339–353. [Google Scholar] [CrossRef]
  27. Alsac, O.; Stott, B. Optimal Load Flow with Steady-State Security. IEEE Trans. Power Appar. Syst. 1974, 93, 745–751. [Google Scholar] [CrossRef]
  28. Reddy, S.S.; Bijwe, P.R. Efficiency improvements in meta-heuristic algorithms to solve the optimal power flow problem. Electr. Power Energy Syst. 2016, 82, 288–302. [Google Scholar] [CrossRef]
  29. Radosavljević, R.; Klimenta, D. Optimal Power Flow Using a Hybrid Optimization Algorithm of Particle Swarm Optimization and Gravitational Search Algorithm. Electr. Power Compon. Syst. 2015, 17, 1958–1970. [Google Scholar] [CrossRef]
  30. Niknam, T.; Narimani, M.R. A modified shuffle frog leaping algorithm for multi-objective optimal power flow. Energy 2011, 36, 6420–6432. [Google Scholar] [CrossRef]
  31. Adaryani, M.R.; Karami, A. Artificial bee colony algorithm for solving multi-objective optimal power flow problem. Electr. Power Energy Syst. 2013, 53, 219–230. [Google Scholar] [CrossRef]
  32. Ghasemi, M.; Ghavidel, S.; Ghanbarian, M.M.; Gitizadeh, M. Multi-objective optimal electric power planning in the power system using Gaussian bare-bones imperialist competitive algorithm. Inf. Sci. 2015, 294, 286–304. [Google Scholar] [CrossRef]
  33. Warid, W.; Hizam, H.; Mariun, N.; Abdul-Wahab, N.I. Optimal Power Flow Using the Jaya Algorithm. Energies 2016, 9, 678. [Google Scholar] [CrossRef]
  34. Kumar, A.R.; Premalatha, L. Optimal power flow for a deregulated power system using adaptive real coded biogeography-based optimization. Electr. Power Energy Syst. 2015, 73, 393–399. [Google Scholar] [CrossRef]
  35. Duman, S.; Güvenç, U.U.; Sönmez, Y.; Yörükeren, N. Optimal power flow using gravitational search algorithm. Energy Convers. Manag. 2012, 59, 86–95. [Google Scholar] [CrossRef]
  36. Bhattacharya, A.; Chattopadhyay, P.K. Application of biogeography-based optimisation to solve different optimal power flow problems. IET Gener. Trans. Distrib. 2011, 5, 70–80. [Google Scholar] [CrossRef]
  37. Abdelaziz, A.Y.; Ali, E.S.; Elazim, S.M.A. Combined economic and emission dispatch solution using Flower Pollination Algorithm. Electr. Power Energy Syst. 2016, 80, 264–274. [Google Scholar] [CrossRef]
  38. Reddy, S.S.; Bijwe, P.R.; Abhyankar, A.R. Faster evolutionary algorithm based optimal power flow using incremental variables. Electr. Power Energy Syst. 2014, 54, 198–210. [Google Scholar] [CrossRef]
  39. Roy, P.K.; Paul, C.C. Optimal power flow using krill herd algorithm. Int. Trans. Electr. Energy Syst. 2015, 8, 1397–1419. [Google Scholar] [CrossRef]
  40. Christy, A.A.; Raj, P.A.D.V. Adaptive biogeography based predator–prey optimization technique for optimal power flow. Electr. Power Energy Syst. 2014, 62, 344–352. [Google Scholar] [CrossRef]
  41. Matpower MATLAB Toolbox. Available online: http://www.pserc.cornell.edu//matpower/ (accessed on 8 May 2016).
  42. Jadhav, H.T.; Bamane, P.D. Temperature dependent optimal power flow using g-best guided artificial bee colony algorithm. Electr. Power Energy Syst. 2016, 77, 77–90. [Google Scholar] [CrossRef]
  43. Chaib, A.E.; Bouchekara, H.R.E.H.; Mehasni, R.; Abido, M.A. Optimal power flow with emission and non-smooth cost functions using backtracking search optimization algorithm. Electr. Power Energy Syst. 2016, 81, 64–77. [Google Scholar] [CrossRef]
Figure 1. Flowchart of the improved krill herd algorithm (IKHA) algorithm with novel constraint method for optimal power flow (OPF) problem.
Figure 1. Flowchart of the improved krill herd algorithm (IKHA) algorithm with novel constraint method for optimal power flow (OPF) problem.
Energies 11 00076 g001
Figure 2. The optimal convergence curves for Case 1 of IEEE 30 bus system.
Figure 2. The optimal convergence curves for Case 1 of IEEE 30 bus system.
Energies 11 00076 g002
Figure 3. The results’ distribution for Case 1 of IEEE 30 bus system.
Figure 3. The results’ distribution for Case 1 of IEEE 30 bus system.
Energies 11 00076 g003
Figure 4. The optimal convergence curves for Case 1-a and Case 1-b.
Figure 4. The optimal convergence curves for Case 1-a and Case 1-b.
Energies 11 00076 g004
Figure 5. Comparison of voltage profiles between Case 1 and Case 2.
Figure 5. Comparison of voltage profiles between Case 1 and Case 2.
Energies 11 00076 g005
Figure 6. The optimal convergence curves for Case 2 of IEEE 30 bus system.
Figure 6. The optimal convergence curves for Case 2 of IEEE 30 bus system.
Energies 11 00076 g006
Figure 7. The optimal convergence curves for Case 3 of IEEE 30 bus system.
Figure 7. The optimal convergence curves for Case 3 of IEEE 30 bus system.
Energies 11 00076 g007
Figure 8. The results’ distribution for Case 3 of IEEE 30 bus system.
Figure 8. The results’ distribution for Case 3 of IEEE 30 bus system.
Energies 11 00076 g008
Figure 9. The optimal convergence curves for Case 4 of IEEE 30 bus system.
Figure 9. The optimal convergence curves for Case 4 of IEEE 30 bus system.
Energies 11 00076 g009
Figure 10. The results’ distribution for Case 4 of IEEE 30 bus system.
Figure 10. The results’ distribution for Case 4 of IEEE 30 bus system.
Energies 11 00076 g010
Figure 11. The optimal convergence curves of fuel cost and voltage magnitude deviation for Case 5.
Figure 11. The optimal convergence curves of fuel cost and voltage magnitude deviation for Case 5.
Energies 11 00076 g011
Figure 12. The optimal convergence curves of fuel cost and transmission real power losses for Case 6.
Figure 12. The optimal convergence curves of fuel cost and transmission real power losses for Case 6.
Energies 11 00076 g012
Figure 13. The optimal convergence curves for Case 7 of IEEE 57 bus system.
Figure 13. The optimal convergence curves for Case 7 of IEEE 57 bus system.
Energies 11 00076 g013
Figure 14. The results’ distribution for Case 7 of IEEE 57 bus system.
Figure 14. The results’ distribution for Case 7 of IEEE 57 bus system.
Energies 11 00076 g014
Figure 15. Comparison of voltage profiles between Case 7 and Case 8.
Figure 15. Comparison of voltage profiles between Case 7 and Case 8.
Energies 11 00076 g015
Figure 16. The optimal convergence curves of fuel cost and voltage magnitude deviation for Case 9.
Figure 16. The optimal convergence curves of fuel cost and voltage magnitude deviation for Case 9.
Energies 11 00076 g016
Figure 17. The optimal convergence curves for Case 10 of IEEE 118 bus system.
Figure 17. The optimal convergence curves for Case 10 of IEEE 118 bus system.
Energies 11 00076 g017
Figure 18. The results’ distribution for Case 10 of IEEE 118 bus system.
Figure 18. The results’ distribution for Case 10 of IEEE 118 bus system.
Energies 11 00076 g018
Table 1. Summary of the studied cases.
Table 1. Summary of the studied cases.
Test SystemNameObjective FunctionConstraints
IEEE 30Case 1Quadratic fuel cost functionEquality/non-equality
Case 1-aFuel cost function with multiple fuel sourcesEquality/non-equality
Case 1-bFuel cost function with valve point effectEquality/non-equality
Case 2Voltage magnitude deviationEquality/non-equality
Case 3Fuel cost emissionEquality/non-equality
Case 4Transmission real power lossesEquality/non-equality
Case 5Quadratic cost considering voltage deviationEquality/non-equality
Case 6Quadratic cost considering power lossesEquality/non-equality
IEEE 57Case 7Quadratic fuel cost functionEquality/non-equality
Case 8Voltage magnitude deviationEquality/non-equality
Case 9Quadratic cost considering voltage deviationEquality/non-equality
IEEE 118Case 10Quadratic fuel cost functionEquality/non-equality
Table 2. Parameter values of improved krill herd algorithm (IKHA) and krill herd algorithm (KHA).
Table 2. Parameter values of improved krill herd algorithm (IKHA) and krill herd algorithm (KHA).
AlgorithmNPgmaxNmaxVfDmaxCt
IKHA305000.010.020.0050.4/0.7
KHA305000.010.020.0050.4
Table 3. Optimal solutions obtained by IKHA on IEEE 30 system.
Table 3. Optimal solutions obtained by IKHA on IEEE 30 system.
Control VariablesCase 1Case 1-aCase 1-bCase 2Case 3Case 4Case 5Case 6
P1 (MW)177.0460139.9931199.230753.786264.058051.4880176.4745102.5066
P2 (MW)48.742354.998751.9824 79.842167.561279.997348.834155.6717
P5 (MW)21.378224.105115.0001 49.807050.000050.000021.635738.0835
P8 (MW)21.308434.988310.0001 34.770535.000035.000022.072334.9998
P11 (MW)11.920318.410810.0002 30.000030.000029.999812.212729.9980
P13 (MW)12.002017.648012.0002 39.073340.000040.000012.000526.6695
V1 (p.u.)1.08271.07340.9784 1.00541.06361.06091.04091.0675
V2 (p.u.)1.06351.05930.9607 1.00701.05751.05691.02441.0571
V5 (p.u.)1.03251.03410.9799 1.01891.03811.03771.01271.0338
V8 (p.u.)1.03741.04010.9631 1.01141.04441.04411.00101.0421
V11 (p.u.)1.08971.09721.0992 0.98801.08771.08051.04281.0773
V13 (p.u.)1.04701.04110.9831 1.00491.04871.05640.99201.0511
T11 (p.u.)1.04001.03000.90001.00001.08001.08001.06001.0500
T12 (p.u.)0.93000.98000.90000.90000.90000.90000.90000.9100
T15 (p.u.)0.97000.97001.10000.97000.98000.99000.95000.9900
T36 (p.u.)0.97000.97000.92000.95000.97000.98000.96000.9800
QC10 (p.u.)0.00200.04400.04800.05000.00000.00600.05000.0010
QC12 (p.u.)0.01300.04400.04300.00000.00700.00000.01300.0430
QC15 (p.u.)0.04100.04600.00500.05000.04400.04300.05000.0460
QC17 (p.u.)0.05000.03500.04500.00000.05000.05000.00000.0500
QC20 (p.u.)0.03900.04000.01200.05000.03900.04000.05000.0390
QC21 (p.u.)0.05000.04600.00000.05000.05000.05000.05000.0500
QC23 (p.u.)0.02800.04100.04700.05000.02800.02900.05000.0280
QC24 (p.u.)0.05000.04800.01000.05000.05000.05000.05000.0500
QC29 (p.u.)0.02200.01900.00400.00700.01900.02400.01700.0260
Fuel cost800.4143646.5126929.901965.5317944.3314967.6201803.5879859.0579
Voltage deviations0.92150.92560.68260.08920.92260.88140.09840.9083
Emission0.36600.28350.44100.20770.2048180.20730.36420.2287
Power loss8.99726.743914.81363.87923.21923.08509.82974.5291
Table 4. Comparison of the simulation results for Case 1 on IEEE 30 system.
Table 4. Comparison of the simulation results for Case 1 on IEEE 30 system.
AlgorithmsMin ($/h)Simulation Time (s)/gmax
IKHA800.414375.11/500
KHA801.467574.06/500
MSLFA [30]802.2870NA/100
ABC [31]800.6600130.16/200
MSA [22]800.5099NA/100
MGBICA [32]801.1409NA/NA
ARCBBO [34]800.5159NA/200
Jaya [33]800.47972.4/100
GSA [35]798.6751 a10.7582/200
BBO [36]799.1116 aNA/200
a Infeasible solution.
Table 5. Comparison of the simulation results for Case 1-a and Case 1-b on IEEE 30 system.
Table 5. Comparison of the simulation results for Case 1-a and Case 1-b on IEEE 30 system.
AlgorithmsCase 1-a Min ($/h)Case 1-b Min ($/h)Average Time (s)/gmax
IKHA646.5126929.901080.75/500
KHA647.0264932.178478.22/500
MSA [22]646.8364930.7441NA/100
Table 6. Comparison of the simulation results for Case 2 on IEEE 30 system.
Table 6. Comparison of the simulation results for Case 2 on IEEE 30 system.
AlgorithmsMinSimulation Time (s)/gmax
IKHA0.089270.40/500
KHA0.102968.02/500
MGBICA [32]0.1239NA/NA
LTLBO [23]0.097420.17/100
BBO [36]0.0951NA/200
Table 7. Comparison of the simulation results for Case 3 on IEEE 30 system.
Table 7. Comparison of the simulation results for Case 3 on IEEE 30 system.
AlgorithmsMin (ton/h)Simulation Time (s)/gmax
IKHA0.20481876.68/500
KHA0.20508274.89/500
DSA [9]0.2058255NA/500
ABC [31]0.204826NA/200
MSA [22]0.20482NA/100
MGBICA [32]0.2048NA/NA
MSLFA [30]0.2056NA/100
Table 8. Comparison of the simulation results for Case 4 on IEEE 30 system.
Table 8. Comparison of the simulation results for Case 4 on IEEE 30 system.
AlgorithmsMin (MW)Simulation Time (s)/gmax
IKHA3.080572.32/500
KHA3.140970.64/500
ABC [31]3.1078NA/200
Combined approach [28]3.26013.3109/NA
DSA [9]3.0945NA/500
MSA [22]3.1005NA/100
MGBICA [32]4.937NA/NA
Proposed EEA [38]3.28235.7167/94
ALC-PSO [13]3.170010.2345/500
Jaya [33]3.1035NA/100
Table 9. Comparison of the simulation results for Case 5 on IEEE 30 system.
Table 9. Comparison of the simulation results for Case 5 on IEEE 30 system.
AlgorithmsFuel Cost ($/h)Voltage DeviationsTotalTime (s)/gmax
IKHA803.58790.0984813.427978.36/500
KHA803.88890.0987813.758975.68/500
PSOGSA [29]804.431230.09638814.06923NA/200
The proposed KHA [39]804.63370.0996814.5937NA/100
ABPPO [40]804.73390.09232813.9659NA/300
MSA [22]803.31250.10842814.1545NA/100
LTLBO [23]803.74310.0974813.483120.17/100
GABC [24]803.57850.1007813.64852.98/100
ICBO [12]803.39780.1014813.5378NA/500
Table 10. Comparison of the simulation results for Case 6 on IEEE 30 system.
Table 10. Comparison of the simulation results for Case 6 on IEEE 30 system.
AlgorithmsFuel Cost ($/h)Power Loss (MW)TotalSimulation Time (s)/gmax
IKHA859.05794.52911040.221977.29/500
KHA859.49614.52461040.480175.04/500
MSA [22]859.19154.54041040.8075NA/100
MDE [22]868.71384.38911044.2778NA/100
PSOGSA [29]822.406315.468161041.13271NA/200
ABPPO [40]822.76935.4521040.8493NA/300
Table 11. Optimal solutions obtained on IEEE 57 system.
Table 11. Optimal solutions obtained on IEEE 57 system.
Control VariablesCase7Case8Case9
IKHAIKHAIKHADSA [9]MSA [22]
P1 (MW)143.0334355.4995142.8777142.6780143.8661
P2 (MW)85.32992.383188.583589.645085.34818
P3 (MW)44.8387124.449245.174145.679545.85493
P6 (MW)75.138786.952070.355873.139471.30797
P8 (MW)461.8476212.7213460.6468461.7316462.4092
P9 (MW)95.096099.191496.756592.110694.08068
P12 (MW)360.3747387.2737361.9443361.4796363.8543
V1 (p.u.)1.05281.00821.02691.02121.022121
V2 (p.u.)1.04941.00011.02461.07401.019646
V3 (p.u.)1.04551.01251.01851.06461.013444
V6 (p.u.)1.05811.00321.03130.99131.025691
V8 (p.u.)1.07481.00861.05051.05191.044968
V9 (p.u.)1.05871.01921.03121.08081.014033
V12 (p.u.)1.03971.02321.01151.01031.010858
T4-18 (p.u.)1.04490.99350.96900.96880.9101725
T4-18 (p.u.)0.94950.94720.99010.99521.075124
T21-20 (p.u.)1.02230.97650.99331.02480.9854176
T24-25 (p.u.)0.95771.05040.96401.00100.9872317
T24-25 (p.u.)1.07981.04651.06651.00251.053424
T24-26 (p.u.)1.01900.99851.01790.94521.016568
T7-29 (p.u.)0.99700.99851.00590.90001.00709
T34-32 (p.u.)0.96720.92370.94050.94430.9348021
T11-41 (p.u.)0.90280.90000.90050.95420.900021
T15-45 (p.u.)0.97120.93170.96240.97720.9479471
T14-46 (p.u.)0.96160.97400.96110.92520.9608689
T10-51 (p.u.)0.97951.00970.97990.96650.9781408
T13-49 (p.u.)0.93550.90130.93431.01160.9182851
T11-43 (p.u.)0.98330.96480.96100.93430.9509346
T40-56 (p.u.)0.99451.01881.02101.01300.9941227
T39-57 (p.u.)0.96050.90100.92740.98610.9361633
T9-55 (p.u.)1.00931.01861.00981.02140.998129
QC18 (p.u.)0.10370.00250.06670.10950.1188253
QC25 (p.u.)0.14370.18900.16480.13700.1678665
QC53 (p.u.)0.12430.28890.14820.13260.1828455
Fuel cost ($/h)41,663.391048,834.029341,697.545641,699.441,714.9851
V-deviatios1.54940.55200.72330.76200.67818
Total41,818.331048,889.2293041,769.881541,775.641,782.8031
Table 12. Comparison of the simulation results for Case 7 on IEEE 57 system.
Table 12. Comparison of the simulation results for Case 7 on IEEE 57 system.
AlgorithmsMin ($/h)Simulation Time (s)/gmax
IKHA41,663.3910136.34/500
KHA41,687.8183130.85/500
MSA [22]41,673.7231NA/NA
LTLBO [23]41,679.5451NA/150
ICBO [12]41,697.3324NA/1500
DSA [9]41,686.82NA/500
ARCBBO [34]41,686NA/500
GABC [42]41,684.2011NA/100
Table 13. Optimal solutions obtained by IKHA for Case 10 on IEEE 118 system.
Table 13. Optimal solutions obtained by IKHA for Case 10 on IEEE 118 system.
VariablesValueVar.ValueVar.ValueVar.ValueVar.Value
PG475.5892PG651.1061PG1162.6329V611.0136 V1121.0220
PG62.3944PG66346.5375V10.9873V621.0103 V1130.9817
PG813.2117PG69311.5309V41.0092V651.0497 V1161.0243
PG101.8752PG702.5131V60.9970V661.0292 T8-50.0960
PG12350.2058PG720.3332V80.9740V690.9943 T26-250.1070
PG182.1866PG732.9797V100.9918V701.0007 T30-170.1000
PG185.6590PG7479.1184V120.9949V721.0113 T38-370.1010
PG1955.9071PG7626.5457V150.9646V731.0440 T63-590.1010
PG246.0264PG7747.3801V180.9688V740.9738 T64-610.1020
PG252.9631PG80410.2660V190.9628V760.9415 T65-660.1020
PG26182.0172PG8553.3588V241.0099V770.9617 T68-690.1080
PG27253.7070PG877.1808V251.0084V800.9765 T81-800.1040
PG3124.5511PG89440.0013V261.0130V850.9786 QC50.4000
PG328.1844PG900.5161V271.0219V870.9654QC340.0000
PG344.8480PG910.1538V310.9965V891.0127 QC370.0500
PG3612.1483PG9235.7542V321.0063V900.9842 QC440.0000
PG400.3641PG990.6210V340.9659V910.9894 QC450.1000
PG4222.5623PG100182.5943V360.9593V920.9893 QC460.0500
PG4645.1902PG10334.1980V400.9612V990.9465 QC480.1500
PG4918.9517PG10424.3619V420.9970V1000.9761 QC740.1200
PG54187.8779PG10574.1968V461.0045V1030.9798 QC790.1000
PG5549.2065PG1070.8261V491.0119V1040.9770 QC820.1500
PG5648.1089PG11055.5449V541.0201V1050.9818 QC830.1000
PG5926.1531PG11132.5718V551.0154V1071.0051 QC1050.0000
PG6194.0442PG1120.4718V561.0152V1101.0039 QC1070.0000
PG62135.9548PG1130.2558V591.0106V1111.0078 QC1100.0600
Fuel cost ($/h)131,427.2636
PG1(MW)442.1525
Table 14. Comparison of the simulation results for Case 10 on IEEE 118 system.
Table 14. Comparison of the simulation results for Case 10 on IEEE 118 system.
AlgorithmsMin ($/h)Simulation Time (s)/gmax
IKHA131,427.26361108.06/1000
KHA136,051.96641095.39/1000
BSA [43]135,333.4743NA/2500
ICBO [12]135,121.5704NA/2500
MSA [22]129,640.7191 aNA/NA
a Infeasible solution.

Share and Cite

MDPI and ACS Style

Chen, G.; Lu, Z.; Zhang, Z. Improved Krill Herd Algorithm with Novel Constraint Handling Method for Solving Optimal Power Flow Problems. Energies 2018, 11, 76. https://doi.org/10.3390/en11010076

AMA Style

Chen G, Lu Z, Zhang Z. Improved Krill Herd Algorithm with Novel Constraint Handling Method for Solving Optimal Power Flow Problems. Energies. 2018; 11(1):76. https://doi.org/10.3390/en11010076

Chicago/Turabian Style

Chen, Gonggui, Zhengmei Lu, and Zhizhong Zhang. 2018. "Improved Krill Herd Algorithm with Novel Constraint Handling Method for Solving Optimal Power Flow Problems" Energies 11, no. 1: 76. https://doi.org/10.3390/en11010076

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop