Abstract

Distributed generators (DGs) are currently extensively used to reduce power losses and voltage deviations in distribution networks. The optimal location and size of DGs achieve the best results. This study presents a novel hybridization of new metaheuristic optimizations in the last two years, namely, salp swarm algorithm (SSA) and whale optimization algorithm (WOA), for optimal placement and size of multi-DG units in radial distribution systems to minimize total real power losses (kW) and solve voltage deviation. This hybrid algorithm is implemented on IEEE 13- and 123-node radial distribution test systems. The OpenDSS engine is used to solve the power flow to find the power system parameters, such power losses, and the voltage profile through the MATLAB coding interface. Results describe the effectiveness of the proposed hybrid WOA-SSA algorithm compared with those of the IEEE standard case (without DG), repeated load flow method, and WOA and SSA algorithms applied independently. The analysis results via the proposed algorithm are more effective for reducing total active power losses and enhancing the voltage profile for various distribution networks and multi-DG units.

1. Introduction

A distributed generator (DG) is a small electricity-generating unit, and it is important in improving the power sector due to its small size, high efficiency, low operation cost, safety, and utilization of renewable energy resources. The increase in population and the progress in science have increased the need for electricity. Thus, the generated power must be increased to meet the demand, which has an important economic impact on countries. An increased load leads to an increase in losses due to poor voltage regulation. Capacitors in distribution systems play a key role in decreasing power losses. Capacitors are normally inserted to supply reactive power reparations in radial distribution systems. At present, DGs are widely applied because they use renewable resources and deliver active and reactive powers. The optimal placement of DG units in the distribution system is important and requires correct planning; otherwise, power losses will increase and voltage instability will occur. Therefore, the analysis and planning of DG units in power distribution systems are important areas of research.

In the current work, a novel hybrid approach is proposed by joining two new metaheuristic algorithms, namely, whale optimization algorithm (WOA) and salp swarm algorithm (SSA). The hybrid optimization algorithm called WOA-SSA aims at minimizing total RPLs (kW) and solve voltage deviation by installing multi-DG units simultaneously in two different radial distribution systems. Three-phase unbalanced IEEE 13- and 123-node systems are used in this work for testing. The IEEE 13-bus system involves six cases: one-, two-, three-, four-, five-, and six-DG units. The IEEE 123-bus system involves eight cases: one-, three-, four-, five-, six-, seven-, eight-, and nine-DG units. The RPLs obtained from the proposed algorithm are compared with those obtained from the IEEE standard case (without DG) and those from WOA and SSA algorithms applied independently. MATLAB and a free power distribution system simulation tool, OpenDSS [1, 2], are used in the simulations.

The rest of the paper is organized as follows: Section 2 presents the related work. Section 3 proposes the mathematical formulation of the problem. Section 4 presents the proposed optimization algorithms. Section 5 presents the repeated load flow (RLF) method. Section 6 discusses the experiments and the simulation results. Section 7 elaborates the conclusions.

Many metaheuristic approaches have been developed for placing DG units optimally in the network. El-Fergany [3] proposed a backtracking search optimization algorithm (BSA) to assign DGs along radial distribution networks (RDNs). The objective function is adopted with a weighting factor to reduce the real losses of the network and enhance the voltage profile for improving the operating performance. The proposed methodology is applied to 33- and 94-bus RDNs to examine its viability. Nguyen and Truong [4] proposed a reconfiguration methodology based on a cuckoo search algorithm (CSA) to minimize active power losses and maximize voltage magnitude. The CSA method is a new metaheuristic algorithm inspired from the obligate brood parasitism of some cuckoo species that lay their eggs in the nests of other host birds of other species for solving optimization problems. The effectiveness of the proposed CSA is tested on three different distribution network systems: 33-, 69-, and 119-node systems. Kansal et al. [5] proposed the optimal placement of DGs and capacitors for power compensation by maintaining the concept of distribution generation against centralized generation. The optimal location and size of DGs and capacitors are determined by minimizing the power distribution loss. The analytical approach is used to solve optimal placement problems. The proposed approach is tested on 33- and 69-bus test systems. Mahmoud et al. [6] proposed an efficient analytical method for optimally allocating DGs in electrical distribution systems to minimize power losses. The proposed analytical method can be used to obtain the optimal combination of different DG types in a distribution system for loss minimization. The analytical method for DG allocation is performed using two IEEE test systems, namely, a 33-bus system and a 69-bus system. Prabha and Jayabarathi [7] proposed a multiobjective technique for optimally determining the location and size of multi-DG units in a distribution network with different load models. The loss sensitivity factor (LSF) determines the optimal placement of DGs. Invasive weed optimization (IWO) is a population-based metaheuristic algorithm inspired by the behavior of weeds. This algorithm is used to find the optimal size of DGs. The proposed method is tested for different load models on IEEE 33- and 69-bus radial distribution systems. Prakash and Lakshminarayana [8] proposed a particle swarm optimization (PSO) algorithm to determine the optimal location and size of DGs. Complete analysis is carried out on IEEE 33- and 69-bus radial distribution systems. Each system is considered for two different cases, and comparative results obtained demonstrate the effectiveness of the proposed method in terms of placement and sizing of DG and minimization of power losses. Srinivasan and Visalakshi [9] presented an application of autonomous group particle swarm optimization (AGPSO) to solve power loss minimization in an RDN using the optimal allocation and sizing of DG units and capacitors with and without network reconfiguration to improve the efficiency of the RDN under seven cases (except the base case). The proposed technique is tested on a standard IEEE 69-bus RDN. Ceylan et al. [10] proposed an optimization model based on a recently developed heuristic search method, that is, gray wolf optimization (GWO), to coordinate various distribution controllers. Various case studies on IEEE 33- and 69-bus test systems modified by including tap changing transformers, capacitors, and photovoltaic solar panels are conducted. Mohan and Albert [11] proposed a hybrid GA-PSO algorithm to minimize losses and maintain acceptable voltage profiles in a radial distribution system simultaneously. The objective function is to optimally size and place DGs in appropriate buses in the system to reduce real power losses (RPLs) and operating cost and enhance voltage stability. The proposed algorithm is applied and demonstrated on IEEE 33- and 69-bus distribution systems. Jegadeesan and Venkatasubbu [12] proposed the hybridization of GA and artificial bee colony algorithm (ABC) for finding the optimal location and size of multiple DGs and capacitors in radial distribution systems. The main objective is to reduce the cost of the system by the optimal placement of multiple DGs and capacitors for decreasing RPLs. This hybrid algorithm is tested on IEEE 33- and 69-bus radial distribution systems. Javidtash et al. [13] proposed a novel combination of nondominated sorting GA and fuzzy method to minimize four objective functions, namely, cost, emission, power losses, and voltage deviation, on a typical 34-bus test microgrid. Grisales-Noreña et al. [14] proposed a population-based incremental learning (PBIL) algorithm to determine the optimal location of DGs and PSO to define the size those devices. The main objective is to reduce the computation time and active power losses and improve the nodal voltage profiles. The proposed algorithms are tested on IEEE 33- and 69-bus radial distribution systems. Khaled et al. [15] proposed a PSO to study the optimal power flow (OPF) of a power system integrated with a renewable DG. The hybrid DG wind and photovoltaic (PV) system is applied as a renewable DG on an IEEE 30-bus RDN. The main objective is to minimize the transmission losses. Swief et al. [16] proposed a cuckoo search optimization (CSO) technique for optimally determining the locations and sizes of photovoltaic (PV) and wind turbine (WT) DGs. The main objective is to maximize the reliability in the system. The proposed approach is tested on IEEE 69-bus test systems. El-Fergany [17] proposed a backtracking search algorithm (BSA) to study the effect of different load models on determining sizes and optimal locations of the DGs. The main objective is to improve the network voltage profile and reduce power loss in RDNs. The proposed algorithm is tested on 136-bus and 69-bus radial distribution networks with four load models. El-Fergany [18] proposed a backtracking search algorithm multiobjective method and fuzzy expert rules for the optimal allocation of multitype DGs in radial distribution systems. The main aims were to minimize the network power losses, improve the bus’s voltage profile, and consolidate the static voltage stability indices. The proposed method is tested on 94- and 33-node radial distribution systems with different scenarios. Table 1 presents a taxonomy of the reviewed optimal placement of DG unit models.

3. Mathematical Problem Formulation

3.1. Objective Function

The problem of optimal placement and size of DG units in the radial distribution system aims to improve a specific objective function such as minimizing RPLs and enhancing the voltage profile. The objective function in this article can be written as follows: where is the aim of optimal placement and size of DGs, is the number of branches, is the number of buses, is the active power loss on branch (kW), and is the voltage magnitude of bus (p.u.).

3.2. Constraints

The problem of optimal placement and size of DG units in the radial distribution system has the following constraints: (i)The bus voltage magnitude is the first constraint. It must be kept within the given limits at each bus as follows:where is the voltage magnitude at bus (p.u.) (ii)The capacity limits of DGs in the test system are obtained bywhere is the real power capacity of the DG at bus . and represent the minimum and maximum real power capacities of DGs, respectively (iii)The optimal location of DGs must be greater than 1 and less than or equal to the number of buses in the test system. The first bus is a stack bus:where represents the location of the DG in bus and represents the maximum location of the bus

4. Hybrid WOA-SSA Algorithm

4.1. WOA

WOA is a new metaheuristic algorithm that was refined in 2016 by Mirjalili and Lewis; the basic inspiration of this algorithm is the social behavior of humpback whales and the bubble-net hunting strategy [19]. Whales are considered the largest mammals in the world. A whale can be 30 m long and weigh 180 tons. Seven major kinds of whales exist, namely, Minke, killer, Sei, humpback, finback, right, and blue. Whales generally look similar to predators. Whales live in groups or alone. However, they are generally spotted in groups. Humpback whales have a special hunting method called the bubble-net feeding method [20]. Humpback whales choose to hunt small fishes or schools of krill near the surface. They create special bubbles over a circle or a “9”-shaped path to hunt. Humpback whales can locate their victims and surround them. The WOA algorithm supposes that the current best candidate solution is the goal prey or is near the optimal. After the best search agent is identified, the other search agents will try to update their positions to the best search agent. Figure 1 represents a flowchart of the WOA algorithm. This algorithm is tested with 6 structural design problems and 29 mathematical optimization problems; it has been proven more successful compared to conventional methods and modern metaheuristic algorithms [19]. Additionally, it is used by many researchers in different optimization areas. Mostafa et al. [21] proposed an approach for liver segmentation in MRI images based on WOA. Sayed et al. [22] proposed a novel optimization algorithm called chaotic whale optimization algorithm (CWOA) for feature selection based on the chaos theory and WOA. Hassan and Hassanien [23] proposed a novel automated approach for extracting the vasculature of retinal fundus images based on WOA. For more information around this algorithm, see Reference [19].

4.2. SSA

SSA is a new metaheuristic algorithm that was refined in 2017 by Mirjalili et al.; the basic inspiration of this algorithm is the swarming behavior of salps in oceans when traveling and foraging [24]. In vast oceans, salps often create a salp chain swarm. The body shape of a salp is similar to a transparent barrel, and salps belong to the Salpidae family. Salp tissues are similar to those of a jellyfish. Their locomotion is also similar to that of a jellyfish, that is, water is pumped by the body to push and shift forward. The main cause of swarming behavior is unclear yet, but several researchers believe that swarming is done to obtain the best move using fast harmonic alterations and foraging. Few biological studies on this creature exist because the living environments are difficult to access, and salps are difficult to save in lab environments [24]. Figure 2 represents a flowchart of the SSA algorithm. This algorithm is tested to solve several challenging and computationally expensive engineering design problems (e.g., marine propeller design and airfoil design); it has been proven more successful compared to conventional methods and modern metaheuristic algorithms [24]. Additionally, it is used by many researchers in different optimization areas. El-Fergany [25] proposed an approach to define the best values of unknown parameters of the PEMFC model based on SSO. Sayed et al. [26] proposed a novel optimization algorithm called Chaotic Salp Swarm Algorithm (CSSA) for global optimization and feature selection based on the chaos theory and SSA. Ibrahim et al. [27] proposed a segmentation model for fish image segmentation and recognition based on the Simple Linear Iterative Clustering (SLIC) method for segmentation formulated with initial parameters optimized by the SSA. For more information around this algorithm, see Reference [24].

4.3. WOA-SSA for Solving the Optimal Location and Size of DG Units

SSA and WOA have not been used in the power optimization field. WOA-SSA is a hybridization of two algorithms, WOA and SSA, where the algorithms work simultaneously. A random number between 0 and 1 that represents the threshold value determines which algorithm to execute. If the value is less than 0.5, then WOA is executed; otherwise, SSA is executed. The proposed algorithm for improving the power distribution system needs some update to deal with the specific problem and to implement OpenDSS. Figure 3 presents a flowchart of the hybrid WOA-SSA algorithm. This hybrid optimization algorithm is implemented as follows: (1)Initialize the set constants, such as population size (number of salps or whales), number of variables (dimension), maximum number of repetitions , upper bound , and lower bound . Set the voltage magnitude limits, the possible DG locations, and the DG size limits(2)Randomly create the location and size of the DG units depending on the population size, number of variables, and upper and lower bounds. Location represents discrete numbers, and size represents continuous numbers. The initial population is as follows:where is the initial random population, is the position of the salps or whales in the th population and th variable, is the population size, and represents the number of variables (3)Execute OpenDSS by using the specified load profile to run a load flow, perform power flow to calculate total active power losses (kW) and bus voltage magnitude (p.u.) using the solution candidates, and calculate the corresponding fitness values of each search agent of the test system using equation (1) as follows:where is the vector of fitness values, is the th population fitness value, and represents the search agent number (4)Save the best search agent as the target prey or source food in variable ; = the better search agent(5)Select a random number in as the threshold value (Thv); if the value is greater than 0.5, then go to 10(6)Update WOA coefficients , , , , and as follows:where linearly decreases from 2 to 0 over the course of iterations, is the current iteration, and is the maximum iteration

The vectors and are calculated as follows: where linearly decreases from 2 to 0 over the course of iterations, and is a random vector in (7)Calculate the distance between the th whale and the prey depending on coefficients and as follows:where is the distance between the th whale and the prey, is the coefficient vector, is a random whale, is the whale in position , is the target prey, is the current iteration, and is a random number in (8)Update the position of each whale depending on coefficients and as follows, then go to 12:where is a random whale, is the distance between the th whale and the prey, is the current iteration, is a random number in , is the constant for defining the shape of the logarithmic spiral , and is a random number (9)Update SSA coefficient as follows:where represents the current iteration and is the maximum number of iterations (10)Update the position of each salp using equation (12) for the leader and equation (13) for the follower:where represents the position of the leader in the th dimension; is the position of the food source; and are random numbers between ; and and represent the lower and upper bounds, respectively (11)Modify the solution candidate’s values outside the search agent into lower and upper bounds(12)Repeat steps 3–11 until the stopping condition is met(13)Print the optimal results, such as total active power losses (kW), location and size of the DG, and the minimum and maximum magnitudes of the bus voltage (p.u.)

5. Repeated Load Flow (RLF) Method

DG units greatly influence the power distribution system. Specifically, the addition of any size of DG in any location will increase or decrease total power losses in the distribution network. The RLF method is used to calculate the optimal location and size of DGs for obtaining the minimum total power loss in the distribution network. Although this algorithm produces exact results, it requires a large amount of load flow calculation; therefore, the method is inefficient and “exhaustive.” The total power losses in the distribution system are decreased when the DG size is increased until a certain extent, and then losses start to arise, as shown in Figure 4. The size and location of DGs with the minimum total power loss in the distribution system are the optimal.

As shown in Figure 4, PDG2 represents the optimal DG size. Using this method, the optimal location and size of DGs for the 13-bus test system are 675 and 1913.217 kW, respectively, and those are 67 and 1978.595 kW for the 123-bus test system. Figure 5 shows the trend of power loss with the variation of DG size of the 13-bus test system, at bus number 675. The steps of this algorithm are presented as follows:

Step 1. Set the maximum DG size (kW, PDGmax = 5000), the maximum possible DG locations (Lmax), the current total power losses (TPl = large number), the current location (Cl = 2), the current DG size (DGp = 0), and the voltage magnitude limits.

Step 2. Execute OpenDSS to calculate the total active power losses (kW) and the bus voltage magnitude (p.u.) by using the specified load profile.

Step 3. If the voltage magnitude is without limits, then go to Step 6.

Step 4. If the total active power , then go to Step 6.

Step 5. active power losses.

Step 6. If DGp > PDGmax, then go to Step 8.

Step 7. DGp = DGp + 0.001.

Step 8. If Cl > Lmax, then go to Step 10.

Step 9. If Cl = Cl + 1, then go to Step 2.

Step 10. Print the optimal DG size (DGp) and location (Cl) and total power losses.

6. Experiments and Simulation Results

The proposed optimization model for the location and size (kW) of multi-DG units has been implemented on IEEE 13- and 123-bus test systems. The node maps of the circuits are shown in Figures 6 and 7 [28, 29]. A fixed-power (FP) load is used in the simulation for different test systems. Tables 2 and 3 represent the FP load values on the IEEE 13- and 123-node test systems, respectively [28, 29]. The population is set to 30 in the simulation for different test systems, and the numbers of iterations are 1000 and 100 in the simulation on the IEEE 13- and 123-node test systems, respectively. The best results for all simulations in this study are achieved in 10 iterations. All DG units in this study have a unity power factor. Therefore, only the active power (kW) is injected in the different simulations in the IEEE test system without reactive power (kVAr).

6.1. IEEE 13-Bus Test System

This small test system is highly loaded, including 13 buses, 12 lines, and most of the features used in a real network, such as shunt capacitor banks, voltage regulators, overhead, unbalanced loads, and underground lines. The simulation constant load profile of the IEEE 13-bus test system is presented in Table 2. All information about this case study such as line data, bus data, and load profile has been explained in [28]. The total active power load (kW) and reactive power load (kVAr) of this test system are 3466 kW and 2102 kVAr, respectively. The optimal results of WOA-SSA are compared with those of the standard IEEE case without DG installation, RLF method, and WOA and SSA algorithms applied independently for a single DG unit, as shown in Table 4.

The numerical results in the table below reflect a similarity between the proposed algorithm and the RLF method, but WOA-SSA is faster. Table 5 indicates that the efficiency of the proposed algorithm with multi-DG units is better than those of the standard IEEE case and WOA and SSA algorithms applied independently.

Table 5 shows that the results of the proposed algorithm are better than those of other algorithms. The best case is when four-DG units are used. Figures 8, 9, and 10, respectively, represent a comparison of the active power losses (kW) on lines, the voltage profile, and the convergence on the IEEE 13-bus test system after adding four-DG units by the proposed WOA-SSA, SSA, and WOA algorithms. The comparison of the WOA-SSA, SSA, and WOA running times on six cases of the IEEE 13-bus test system is shown in Figure 11.

6.2. IEEE 123-Bus Test System

The length (km) of this test system is 12, including 123 buses, 126 lines, and the most common components found in actual networks, such shunt capacitor banks and voltage regulators. The system contains several close and open switches that enable researchers to test the reconfiguration strategies in this test system. The simulation constant load profile of the IEEE 123-bus test system is presented in Table 3. All information about this case study such as line data, load profile, and bus data has been explained in [29]. The total active power load (kW) and reactive power load (kVAr) of this test system are 3490 kW and 1920 kVAr, respectively. The optimal results of WOA-SSA are compared with those of the standard IEEE case without DG installation, RLF method, and WOA and SSA algorithms applied independently for a single DG unit, as shown in Table 6.

The results from the proposed algorithm are similar to the results from the RLF method but with a better execution time and are better than those of the WOA and SSA algorithms. Table 7 illustrates that the efficiency of the proposed algorithm with multi-DG units is better than those of the WOA and SSA algorithms and IEEE case without DG.

The best results shown in Table 7 are obtained using the proposed algorithm. Figures 12, 13, and 14, respectively, illustrate a comparison of the active power losses (kW) on lines, the voltage profile, and the convergence on the IEEE 123-bus test system after adding five-DG units by the proposed WOA-SSA, SSA, and WOA algorithms. Figure 15 shows the comparison of WOA-SSA, SSA, and WOA running times on eight cases of the IEEE 123-bus test system.

7. Conclusion

Two metaheuristic algorithms, namely, WOA and SSA, are combined to develop a novel hybrid algorithm called WOA-SSA for reducing power losses in radial distribution systems. The proposed algorithm is applied to minimize total RPLs (kW) and solve voltage deviation by installing multi-DG units simultaneously in three-phase unbalanced IEEE 13- and 123-node radial distribution systems. The proposed algorithm succeeds in finding the best location and size of DG units compared with WOA and SSA implemented independently. This algorithm also succeeds in finding the exact solution in a single DG compared with the RLF method. The analysis of the numeric results show that the total RPLs (kW) are close to one another in different test systems and cases. In the IEEE 13-bus test system, the best results are obtained when four-DG units are used. A single-DG unit can be used when aiming for minimum penetration, whereas six-DG units can be used for maximum penetration. In the IEEE 123-bus test system, the best results are obtained when a one-DG unit is utilized. This case can be used when aiming for minimum penetration, whereas eight-DG units can be adopted for maximum penetration. The best results are obtained when a five-DG unit is utilized for multiple DGs. The practical results show how successful this algorithm is in finding the best location and size for the placement of various numbers of DG units, as well as better execution times compared with other algorithms. Economically, the total real power losses were decreased by 34.4% and 26.5% in the simulation on the IEEE 13- and 123-node test systems, respectively.

Abbreviations

DGs:Distributed generators
SSA:Salp swarm algorithm
WOA:Whale optimization algorithm
kW:Kilowatt
RPL:Real power losses
RDNs:Radial distribution networks
CSA:Cuckoo search algorithm
PSO:Particle swarm optimization
GA:Genetic algorithm
OpenDSS:Free power distribution system simulation tool
:Number of branches
:Number of buses
:Active power loss at the th branch
:Voltage magnitude at the th bus
:Real power capacity of DG at the th bus
and :Minimum and maximum real power capacities of DGs
DGLi:Location of the DG at the th bus
:Maximum location of the bus
t:Current iteration
a:Linearly decreases from 2 to 0 over the course of iterations
:Maximum iteration
D:Distance between the whale and the prey
:Position of food source at the th dimension
and :Lower and upper bounds at the th dimension
p.u.:Per unit
RLF:Repeated load flow method
FP:Fixed power
kVAr:Kilo volt ampere reactive
BSA:Backtracking search optimization algorithm
LSF:Loss sensitivity factor
IWO:Invasive weed optimization
AGPSO:Autonomous group particle swarm optimization
GWO:Gray wolf optimization
ABC:Artificial bee colony algorithm.

Data Availability

The load profile data used to support the findings of this study are included within the article. Other data such as line data and bus data have been explained in References [20, 21].

Conflicts of Interest

The authors declare no conflict of interest.