Abstract

Nature-inspired optimization techniques are useful tools in electrical engineering problems to minimize or maximize an objective function. In this paper, we use the firefly algorithm to improve the optimal solution for the problem of directional overcurrent relays (DOCRs). It is a complex and highly nonlinear constrained optimization problem. In this problem, we have two types of design variables, which are variables for plug settings (PSs) and the time dial settings (TDSs) for each relay in the circuit. The objective function is to minimize the total operating time of all the basic relays to avoid unnecessary delays. We have considered four models in this paper which are IEEE (3-bus, 4-bus, 6-bus, and 8-bus) models. From the numerical results, it is obvious that the firefly algorithm with certain parameter settings performs better than the other state-of-the-art algorithms.

1. Introduction

Power systems in electrical engineering function at contrary voltage levels ranging from 415 V to 400 KV or even more. Power systems consist of three parts: production, supply, and usage of the power generated. Moreover, supply lines, which transmit the power, are not insulated. These lines undergo irregularities more often than other domains of the system due to several causes like production of overcurrent due to lightening. These irregularities disrupt the provision of power and often result in the impairment of the other equipment attached to the power system. Thus, it is necessary to take protective measures in case this happens. To overcome this difficulty, overcurrent relays (OCRs) are commonly used as a safety strategy in the power system to avoid disruption in power supply and other technical faults. Hence, directional OCRs are easy to use and are an economic option for the safety of the attached subtransmission power systems and secondary layer of backup protection in transmission systems [1].

During the design of a power system, the coordination of these DOCRs is an important aspect to keep in mind. DOCRs are logical elements and are placed at both ends of a line, which helps the breaker in case any fault arises. Moreover, DOCRs are supplied in electrical power systems to disable the faulted portions of the power systems. The problem of DOCRs is to decide which portions of the system are to function during a fault so that the faulty part is detached and does not stop the whole system, with certain constraints like adequate coordination tolerance and without extra disruptions. This procedure is mainly based on the networking of the system, nature of relays, and other protection measures as in [2]. We have two types of design variables: variables for plug settings (PSs) and the time dial settings (TDSs) for each relay in the circuit. After optimizing the design settings, the faulty lines are isolated, thus ensuring continuous supply of power to the remaining parts of the system.

In this article, the problem of DOCRs in a power system is handled with the firefly algorithm (FA) using the standard benchmark IEEE (3-, 4-, 6-, and 8-bus, resp.) systems [1, 35], as presented in Figures 8, 9, 10, and 11. The two types of decision variables are named PS and TDS. The objective of this problem is to minimize the total operating time taken by primary relays. Primary relays are expected to isolate the faulty lines satisfying the constraints on design variables.

The rest of the paper is organized as follows. In Section 2, we briefly recall different algorithms used in the literature to solve the problem of DOCRs. In Section 3, we elaborate the mathematical formulation of the problem. The firefly algorithm (FA) is recalled in Section 4. Parameter settings and statistical and graphical results are discussed in Section 5. Section 6 concludes the present study.

2. Literature Review

Initially, a trial-and-error approach was used by researchers, which consumed a large number of iterations to reach an optimal relay setting. Thus, many scientists and researchers adopted the setting of DOCRs, depending on experience. In particular, although [1] uses linear programming, however, it also uses a change of variables to convert the nonlinear problem to a linear problem, without any approximation. The problem is solved linearly in terms of the TDS and PS variables, and then after the linear solution is reached, the roots of these nonlinear expressions (TDS and PS) must be found to reach the solution for TDS and PS. In [1], the application of optimization techniques was first reported for this problem. A literature review on this problem can be found in [2]. Previously, the problem of DOCRs was handled with different techniques, like curve fitting, graph theoretical approach, and classical optimization techniques. Furthermore, a version of sparse dual revised simplex algorithm was used to solve the problem assuming nonlinear PS settings to optimize the remaining variables as for TDS settings [6]. Other techniques in linear programming, to solve the problem of DOCRs, used by [710] have optimized the TDS and PS settings using the simplex algorithm and the Rosenbrock hill-climbing algorithm to solve the problem.

Nature-inspired algorithms (NIAs) and artificial intelligence (AI) based techniques have been gaining the attention of researchers recently [12, 13]. The NIAs which have been used to tackle the problem of DOCRs include, but are not limited to, particle swarm optimization (PSO) [14, 15], genetic algorithm (GA) [4, 16], modified evolutionary programming, and evolutionary programming. Expert systems [1720] and fuzzy logic [21] are applications of AI algorithms to tackle the problem of DOCRs. A random search algorithm (RST-2) was applied to tackle the problem of DOCRs using IEEE 6-, 4-, and 3-bus models, respectively [2].

Firefly algorithm (FA) is a well-known and reliable nature-inspired algorithm for solving complex and highly nonlinear constrained optimization problems, and as far as the authors know FA is not implemented for optimization of DOCR settings using IEEE 3-, 4-, 6-, and 8-bus systems which are presented in this paper. We have implemented FA to solve the problem of DOCR settings and the outcomes of our simulations are compared with other state-of-the-art algorithms.

3. Problem Formulation

Determining the direction of flow of current in an electrical circuit is the job of a protection system placed in a circuit. In case a fault arises, the protection system passes the signals to the associated switch. DOCRs are useful tools to handle the situation when there are fault currents flowing in both directions. These relays operate when current flow is detected in the opposite direction. Loop systems and parallel feeders include DOCRs, because these feeders have current flowing from both ends.

There are two units of a DOCR; the first unit, which is known as the instantaneous current settings, is activated when the current is above a defined threshold. On the other hand, when the current is below a defined limit, time-delay unit is operated. This unit is activated when a fault happens with a time delay. These are two types of settings associated with the delay unit, which are named as follows:(i)Time dialing settings (TDSs)(ii)Plug settings (PSs) (e.g., tap setting)

The TDS points out the delayed relay, whenever the value of fault current either reaches or exceeds the picking current value. PS represents a value of the picking current for a relay [2].

3.1. Problem Formulation and Explanation

The mathematical formulation of the problem is the same as given in [4]. We have tackled the problem with the firefly algorithm. The relay working time is a nonlinear relation of the dependent variables TDS and PS and the fault current denoted by observed by the corresponding relay. So, the equation for the relay operating time is given byand the variables TDS and PS are to be determined. , , and take the values 0.14, 0.02, and 1.0, respectively, as per [IEEE Std. (1997)]. These constants define the behavior of DOCR in terms of operating time. The value of CT keeps a level of current which is suitable for a relay. And defines the number of windings in a current transformer (CT). Each relay is attached to a “CT,” which makes a known value. The fault current represented by is continuously measured by instruments. The line in the system is directly proportional to the number of constraints. Details of lines involved in different systems are furnished in Table 6. It is worth noting that, in real power systems, several types of relays operate besides DOCRs. The involvement of other types of relays along with DOCRs further complicates the problem by imposing more constraints as shown in Table 6.

3.2. The Objective and Limitations of the Problem

DOCRs need to be coordinated optimally, where optimization techniques, like firefly algorithm, minimize the corresponding objective function according to boundary and coordination limitations. The primary relay is used to clear the fault. The close-in fault is a fault which is close to the relay while a fault occurring at a far end is called a far-bus fault. By convention, the objective function is the summation of the operation time of all initial relays which clears any close-in and far-bus faults. The objective function is given byIn (2), represent close-in fault relays, while denotes the number of far-bus fault relays. Also, shows the working time of the primary close-in fault for the relay. is the working time of the primary far-bus fault for the relay.

The following are the constraints.

(1) Limits on Decision Variables TDSs.where varies from 1 to . The lowest value for is which is 0.05 and the highest value is which is 1.1.

(2) Limits on Decision Variables PSs.where varies from 1 to . is the lowest value which is 1.25 and is the highest value of which is 1.50.

(3) Bounds on Initial Working Times. According to this constraint, each term of the objective is bounded in the interval .

(4) Constraints on the Selection of Pairs of the Relays.where is the working time of backup relay, is the working time of primary relay, and CTI is the coordinating time interval.

3.3. The IEEE 3-Bus System

In this problem, the values of and are taken as 6 which is twice the number of lines involved. There are 12 decision variables, namely, to and to . Figure 8 represents the model for the 3-bus system. The objective (objftn) to be minimized is given inwhere

The rest of the constants , , , and are given in Table 7; see the Appendix.

Descriptions of different constraints for the model are given below.

Limits on Variables TDSs., where starts from 1 and varies to 6 ().

Limits on Variables PSs., where starts from 1 and varies to 6 ().

Bounds on Initial Working Time. According to this constraint, each term of the objective is bounded in the interval .

Constraints on the Selection of Pairs of the Relays.where is the working time of the backup relay and is the working time of the primary relay. The value of CTI is 0.3. Here,Table 8 represents the values of constants , and .

3.4. The IEEE 4-Bus System

In this problem, the values of and are taken as 8 which is twice the number of lines involved. There are 16 decision variables, namely, to and to . Figure 9 represents the model for the 4-bus system. The value of CTI for this system is 0.3. There are 9 selectivity constraints. The mathematical form for this model will be as in (6) with . The rest of the constants , , , and and for the 4-bus system are given in Tables 9 and 10; see the Appendix.

3.5. The IEEE 6-Bus System

This problem of coordination of DOCRs is named the IEEE 6-bus system; both and take a value equal to 14. Basically, this problem is comprised of 28 design variables (two for each relay), that is, to and to . Figure 10 represents the model for the 6-bus system. CTI takes the value 0.2. For the current sample of the 6-bus system, there are 38 selectivity constraints for all faults detected by the corresponding relay. Considering the observations given in [2], 10 constraints are relaxed. The mathematical form for this model will be as in (6). The rest of the constants , , , and and for the 6-bus system are given in Tables 11 and 12; see the Appendix.

3.6. The IEEE 8-Bus System

The last model investigated in this study is the 8-bus system as shown in Figure 11. The mathematical form of this model will be as in (6). It consists of 8 buses, 14 relays, 7 lines, 2 transformers, and 2 generators. The main characteristics of this system are given in Tables 13 and 14. Therefore, this 8-bus system has 28 design variables and 40 constraints [3].

4. Firefly Algorithm

The firefly algorithm was introduced by Yang in [11], and it simulates the flashing phenomena of fireflies. To simulate the idea, the following assumptions are made [9, 11].

All fireflies are of the same gender. Brighter fireflies have greater attraction than others with less brightness. The attraction will decrease with the increase in distance between fireflies. If none of the fireflies is brighter than a specific one, then it will move randomly.

The landscape of the given objective function affects the brightness of a firefly [11]. For a maximization problem, the relation of brightness and the objective function can be represented as . The second assumption can be represented mathematically as in (10) and (11).where is the actual intensity of light and is called the light absorption coefficient. The attractiveness can be related as follows:where represents the distance between two fireflies and is their actual attractiveness at . The distance between two fireflies at positions and can be calculated as follows:where is the th component of the spatial coordinate of the th firefly. The movement of a firefly which is attracted to another more attractive (brighter) firefly is determined byHere, is a random parameter in the interval . And rand is a random number drawn from a uniform Gaussian distribution in . A pseudocode for the firefly algorithm is given in Algorithm 1.

(1) Objective function ,  
(2) Initialize a population of fireflies ,  
(3) Calculate the light intensity at by
(4) Define light absorption coefficient
(5) While (< MaxGeneration)
(6) for : all fireflies
(7) for : all fireflies
(8) Calculate the distance between and using Cartesian distance equation
(9) if  
(10) Attractiveness varies with distance via
(11) Move firefly towards in all dimensions
(12) end if
(14) Evaluate new solutions and update light intensity
(15) end for
(16) end for
(17) Rank the fireflies and find the current best
(18) end while

5. Simulation Settings and Discussion on Results

For a fair comparison, the population size is fixed. We have executed FA a fixed number of times to get better values for the decision variables. Based on the analysis given in [2], the size of the population is fixed as 50, the constant CR is taken as 0.5, and the scaling factor (F) is set as 0.5 for differential evolution. The stopping criterion is either that the algorithm completes 1000 generations or that we get an optimal value which satisfies the following condition: . Here, is the objective value. Constraints are handled using the penalty function approach. All experiments are repeated 30 times and a global optimum solution is recorded for each algorithm.

The best solutions obtained by FA and other versions of DE for the IEEE 3-bus model in terms of best decision features, minimum objective function value, and number of function evaluations taken to complete each simulation are given in Table 1 and Figures 1 and 2. Here, it is evident that, in terms of the objective function value, DE gave the worse objective value (4.8422) and all the other versions of the DE algorithm gave almost similar values. On the other hand, FA gave us an objective value of 4.6557, which is much better than other algorithms. However, if we compare the number of function evaluations (NFE), then the performance of DE and its variants is worse as compared to the FA algorithm as it took only 25200 NFE to complete the simulations. Thus, FA is significantly better than all the other algorithms under consideration.

The simulation results of the IEEE 4-bus model are given in Table 2 and Figures 3 and 4. It is observed for the IEEE 4-bus model that DE algorithm and all the variants of the DE algorithm performed in a similar manner in terms of objective function values with MDE-4 giving a slightly better value than other variant algorithms of DE. But FA outperformed the algorithms under consideration in terms of the number of function evaluations (NFE). Better performance was shown by FA, which took 35500 NFE to converge to a solution 3.5624.

Furthermore, the results for the IEEE 6-bus model as in Table 3 and Figures 5 and 6, in terms of the best objective function value, are again slightly different from each other with MDE-4 and MDE-5 giving slightly improved solutions than other variant algorithms of DE. On the other hand, FA gave us an objective value of 10.3232, which is much better than other results in the table. However, in terms of NFE, the worst convergence rate was shown by DE while FA took 49980 NFE to get the best solution presented in the table.

The last problem in this study is the 8-bus model. The results for the IEEE 8-bus model as in Table 4 and Figure 7, in terms of the best objective function values, are again in favor of FA. It is observed that, according to the quoted results obtained by the electromagnetic field optimization (EFO) algorithm, differential evolution (DE) algorithm, particle swarm optimization (PSO) algorithm, black hole (BH) algorithm, electromagnetism-like mechanism (EM), biogeography-based optimization (BBO), and harmony search (HS) [3] are slightly different from each other with EM, HS, BH, and PSO giving the worst results, while EFO, DE, and BBO gave improved solutions. On the other hand, FA gave us an objective value of 6.6463 which is much better than other results in the table.

Moreover, results obtained by FA are compared to previously quoted results of DE and MDE versions, RST-2, GA, SOMA, SOM-GA, LX-POL, and LX-PM [2, 4, 14]. The experimental outcomes are recorded in Tables 15 in terms of the best objective value and total number of function evaluations. Graphical analyses are presented, for each system, in shape of bar graphs given in Figures 17. Concise data is recorded in Table 5 which compares FA to other state-of-the-art algorithms. All experimental results suggest that FA can tackle all the three problems efficiently and optimally. It is noted that FA consumes a smaller number of function evaluations as compared to other methods.

6. Conclusion

In electrical engineering, the problem of optimal coordination of several directional overcurrent relays is NP-hard with many constraints. The mathematical nature of the problem is highly complex, with several constraints imposed on the objective function. The problem of DOCRs requires suitable and robust optimization algorithms to tackle it. Experimental results obtained by FA are compared to previously quoted results of DE, RST-2, GA, SOMA, SOM-GA, LXPOL, LXPM, EFO, PSO, BH, EM, BBO, and HS. In order to summarize the achievements of the research, we present the following key aspects:(i)In this paper, we implemented the firefly algorithm (FA) to improve the solutions for four optimization problems, namely, the IEEE (3-, 4-, 6-, and 8-bus) systems.(ii)To tackle the DOCR problems, the use of a suitable and efficient metaheuristic is needed.(iii)The outcome of our simulations shows that FA can efficiently minimize all the four models of the problem.(iv)The efficiency of FA can be observed from the minimum function evaluations required by the algorithm to reach the optimum as compared to other state-of-the-art algorithms.(v)The outcome suggests that FA is overall better and more efficient than the other optimization techniques considered in this research.(vi)In the future, one can extend this work to solve problems of higher buses and complex power systems. Moreover, extensive statistical analysis and parameters tuning can further highlight and improve the efficiency of FA.

Appendix

Tables 614 for IEEE 3-, 4-, 6-, and 8-bus systems.

Nomenclature

AI:Artificial intelligence
CT:Current transformer
DOCR:Directional overcurrent relay
FA:Firefly algorithm
GA:Genetic algorithm
NIA:Nature-inspired algorithm
PS:Plug setting
PSO:Particle swarm optimization
TDS:Time dial setting.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding this publication.