Blog

Spotted hyena optimizer algorithm for capacitor allocation in radial distribution system with distributed generation and microgrid operation considering different load types | Scientific Reports

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Scientific Reports volume  11, Article number: 2728 (2021 ) Cite this article high voltage capacitors for grid solutions

In this paper, the optimal allocation of constant and switchable capacitors is presented simultaneously in two operation modes, grid-connected and islanded, for a microgrid. Different load levels are considered by employing non-dispatchable distributed generations. The objective function includes minimising the energy losses cost, the cost of peak power losses, and the cost of the capacitor. The optimization problem is solved using the spotted hyena optimizer (SHO) algorithm to determine the optimal size and location of capacitors, considering different loading levels and the two operation modes. In this study, a three-level load and various types of loads, including constant power, constant current, and constant impedance are considered. The proposed method is implemented on a 24-bus radial distribution network. To evaluate the performance of the SHO, the results are compared with GWO and the genetic algorithm (GA). The simulation results demonstrate the superior performance of the SHO in reducing the cost of losses and improving the voltage profile during injection and non-injection of reactive power by distributed generations in two operation modes. The total cost and net saving values for DGs only with the capability of active power injection is achieved 105,780 $ and 100,560.54 $, respectively and for DGs with the capability of active and reactive power injection is obtained 89,568 $ and 76,850.46 $, respectively using the SHO. The proposed method has achieved more annual net savings due to the lower cost of losses than other optimization methods.

Application of distributed generations (DGs) in distribution systems due to growth in energy demand has many advantages such as reducing power losses and system cost, improving the voltage profile and power quality, and improving reliability1. Different definitions for distributed generations are presented, but the comprehensive definition, without limitation, is "the source of electrical energy directly connected to the distribution network or consumer side"2. The application of DGs in distribution networks has become an important topic in recent years and has influenced the operation and design of these networks3. Installation of DGs in non-optimal locations increases loss, weakens the voltage profile, and increases distribution costs for network users, contrary to expectations4. Therefore, DG resources should be optimally allocated in the distribution network to maximise the benefits5. Studies show that approximately 13% of the power generated in the system is wasted as Ohm’s losses in the distribution network6. In the operation of distribution networks, various methods have been used to improve the network characteristics especially reduction of losses. Also, capacitors in the distribution networks are widely used for reactive power compensation because of their low cost, low losses, minimal need for repair and maintenance, and higher economy than other methods, including reactive power compensators7. Unsuitable capacitor placement in networks that use capacitors increases the losses and the cost of generating and transmitting energy7. Therefore, it is necessary to optimise the location and size of capacitors in the distribution network. A microgrid is a set of loads, DGs, and in some cases generating equipment that operates as a controllable load or generator that can provide power and heat for a local area and operate in either islanding or grid-connected modes8. The reactive power compensation based on optimal capacitors placement in islanding and grid-connected modes in microgrids operation can be one of the attractive fields of distribution network operators9. In recent years, the use of meta-heuristic optimization methods to determine the optimal location and size of reactive sources has been welcomed due to their high efficiency in achieving optimal results. Therefore, optimization methods with different capabilities in terms of convergence power and accuracy are presented.

Several studies have been conducted on optimal capacitor placement in distribution networks, with different objective functions and different optimization methods. In10, capacitor placement is presented by the teaching learning-based optimization (TLBO) method to determine the size of all reactive power sources and is implemented to minimize cost and power losses by considering a constant and effective load model using the modified TLBO (MTLBO) method. In11, multi-objective optimization of locating distributed generation resources and capacitors in the distribution network is presented using modified particle swarm optimization (MPSO) algorithm to reduce losses and improve the voltage stability and load balancing index. In12, the optimal location of distributed generation resources and capacitors in the distribution network is determined using the imperialistic competitive algorithm (ICA) and genetic algorithm (GA) to reduce losses, improve the voltage profile, increase the voltage stability index, and balance the load. In13, a cuckoo search algorithm (CSA) is proposed for optimal placement of shunt static capacitors in distribution networks to minimize the cost of reactive power in different loading conditions and improve the voltage profile. In14, long-term planning was performed to optimally allocate capacitors in radial distribution systems to minimize power losses using the bacterial foraging optimization (BFO) algorithm. In15, optimal placement and sizing of capacitors in the distribution network are presented to reduce losses, improve voltage stability, and reduce the cost of purchasing and installing capacitors using the artificial bee colony (ABC) algorithm. In16, the location of a capacitor in a radial distribution network is presented using the PSO algorithm to reduce the costs of energy losses and of installing and purchasing capacitors. In17, the optimal location of the capacitor and the optimal reconfiguration of the distribution network to reduce distribution network losses by considering different load models is presented using the shrimp straw algorithm. In18, the flower pollination algorithm (FPA) is used to locate and determine the optimal sizing of capacitive banks in the distribution network. In19, the biogeography-based optimization (BBO) method is used to determine the optimal sizing of capacitive banks in a distribution network to reduce the costs of active and reactive power losses and the energy purchased from the upstream network. In20, the optimal location of capacitors to reduce losses and costs is presented using the harmony search algorithm (HSA). In21, the optimal location and sizing of capacitors in a distribution network using the bacterial foraging algorithm (BFO) to reduce power loss is presented. In22, the optimal placement and sizing of parallel capacitors in the distribution network are optimally determined to minimize losses and maximize financial gain due to the use of capacitors using gravitational search slgorithm (GSA). In23, flower pollination algorithm (FPA) is applied for solving the capacitor placement problem in the network with aim of total power loss and capacitor installation cost minimization. In24, allocation of capacitors is studied via the sine–cosine algorithm (SCA) for maximizing the net saving and reliability enhancement. In25, modified cultural algorithm (MCA) is used to reduce the power loss of the distribution networks by capacitor allocation. In14, allocation of capacitors in the networks aimed with minimizing the power loss via bacterial foraging optimization algorithm (BFOA). In26, optimal location and sizing of the capacitor are studied to minimize the power losses and enhancement of voltage profile via cuckoo search algorithm (CSA). In27, allocation of DGs and shunt capacitor in the distribution networks are presented to reduce the power losses using artificial bee colony (ABC) algorithm. In28, autonomous group particle swarm optimization (AGPSO) is applied for optimal allocation and sizing of DGs and capacitors for minimizing the power losses. In29, the thief and police optimization algorithm (TPOA) is developed simultaneous network reconfiguration integrated with the allocation of the capacitor and renewable energy resources with minimizing the power loss and cost as well as voltage stability enhancement. In30, hybrid GA-PSO algorithm is presented to solve the allocation problem of DGs for enhancing the active and reactive loss and also voltage regulation. In31, allocation of the DGs and capacitors in the distribution networks is presented to reduce the losses and voltage deviations and also to improve the voltage stability via PSO. In32, water cycle algorithm (WCA) is developed to allocate the DGs and capacitors in the radial networks with minimizing the losses, voltage deviation, energy cost, emissions and also voltage stability enhancement. In33, an enhanced genetic algorithm (EGA) is applied for allocation of DGs and capacitors in the networks with losses and voltage deviation minimization.

Investigating the literature review cleared that the meta-heuristic method is very effective in determining the best location and capacity of reactive resources as well as distributed generation resources to achieve the best performance of the distribution network. Therefore, it is necessary to use the meta-heuristic methods with high optimization power and also the low computational cost to achieve the best network performance. One of the most powerful optimization methods that have been presented recently is called the spotted hyena optimizer (SHO) based swarm‐based algorithm. The SHO is inspired by hunting and social behaviours of the spotted hyenas for solving realistic engineering problem with constraint and unconstrained challenges. In34, the SHO is suggested to solve two real-life design problems named optical buffer and airfoil design. The obtained results showed that the SHO is an effective optimizer method for solving these problems and produce near-optimal designs. In35, the SHO is presented for solving matching of a complication image problem. The results cleared that the SHO is more superior in the matching of complication image than the PSO, ABC, ICA and GWO. In36, the SHO is developed to solve convex and non-convex economic dispatch. The optimization results showed that the SHO is capable to solve the economic dispatch problems and this method can converge to global optimal with lower computational cost and better performance of the SHO in problem solution is proved compared with CSA and BBO. In37, deterministic and probabilistic allocation of wind energy resources in the distribution networks is presented with the aim of losses and voltage deviation reduction and also voltage stability enhancement using the SHO. The superiority of the suggested method is proved given better losses, voltage profile and stability with faster convergence speed and lower computational cost compared with PSO. In38, the SHO is applied for travelling salesman problems. The results indicated that the SHO provided the optimal solutions for travelling salesman problems and its superiority is confirmed compared with well-known GA, ACO, and PSO algorithms. In39, the SHO is developed for optimization of proportional integral derivative (PID) parameter in automatic voltage regulator (AVR) system. The obtained results showed the better performance of the SHO than the PSO, SCA, FPA and GWO algorithms given better convergence speed and accuracy. In40, the optimal power flow in microgrid based on renewable energy resources is presented using the SHO. The SHO is applied to the optimal determination of controller parameters due to voltage variations. The result cleared that the method based SHO is more effective than the other results especially the PSO. In41, the allocation of DGs with network reconfiguration is implemented in the distribution networks aimed with minimizing the losses and voltage deviations and the achieved results are compared with PSO and DE methods which the effectiveness of the SHO is confirmed. In42, the SHO is applied to resolve complicated nonlinear physical world tasks and the superiority of the SHO is confirmed with explorative strength compared to the other algorithms. In43, as can be seen from recent studies on the use of the SHO method to solve the optimization problems, it is a meta-heuristic algorithm with high power and rate of convergence compared with well-known algorithms. Moreover, the comparisons between the SHO and of other meta-heuristic methods showed that the SHO can handle different types of constraints and offer better solutions than the other optimizers. So, these advantages are main reasons for using the SHO to solve the optimization problem in this study. Moreover, the focus of capacitor allocation in a literature review is based on the objective function type and the use of new optimization methods. The literature review showed that the problem of capacitors placement and sizing along with the optimal allocation of distributed generation resources with the capability to be exploited as microgrids due to islanding is not well addressed in the literature review. In most studies, the effect of locating these two devices has been done integrated with the whole network. Also, in the actual operation of the network, it is better to consider the effect of load changes as a light load, normal load and heavy load periods and to avoid considering the load as a constant. It is also more desirable to evaluate the effect of different types of load including constant power load, constant current load and also constant impedance load. A review of previous studies has shown that the effect of changes in load levels as well as load types together is not well addressed well.

In this paper, the optimal allocation of capacitors in distribution networks is presented to minimize the cost using spotted hyena optimizer (SHO)44 considering different levels and types of loads. The proposed method is implemented on the 24-bus network that the part of the network is disconnected from the network due to islanding state, which is supplied in the form of microgrids using the distributed generation resources. The system cost is considered as minimization of the energy losses cost, power losses cost in peak load conditions as well as installation, purchase and maintenance costs of the capacitor. DGs utilization is incorporated in two cases including with only active power injection and active and reactive power injection. In this study, three levels load including light, normal, and heavy loads and also different load types as constant power, constant current, and constant impedance are selected in the problem solution for the realistic operation of the network. The performance of the SHO in capacitor allocation is evaluated in two grid-connected and microgrid modes compared with the well-known GWO algorithm.

The highlights of the paper are presented as follows:

Optimal allocation of capacitors in distribution networks with the presence of distributed generations

Multi-criteria objective function as minimizing the costs of energy losses cost, power losses, and capacitor application

Distribution network operation in grid-connected and microgrid (islanding) modes

Problem solution incorporating three levels of the load and also different load types

Using of spotted hyena optimizer (SHO) for optimal allocation of capacitors in distribution networks

The superiority of the SHO compared to well-known GWO algorithm

In “Problem formulation” section of this paper, the problem formulation, including load modelling, objective function, and optimization problem constraints, is presented. In “Proposed optimization method” section, the proposed optimization method and its implementation in problem solution are described. The simulation results are presented in “Simulation results and discussion” section, and the conclusion is presented in “Conclusion” section.

In this section, the formulation of the optimal capacitor placement problem in DG-embedded distribution networks is presented. Also, the objective function and problem constraints are described.

In this study, three types of load are considered. The mathematical representation of active and reactive power loads is as follows45:

where (a1, b1), (a2, b2), and (a3, b3) are the components of constant power, constant current, and constant impedance, respectively. For a constant power load, a1 = b1 = 1 and a2 = b2 = a3 = b3 = 0; for a constant current load, a2 = b2 = 1 and a1 = b1 = a3 = b3 = 0; and for a constant impedance load, a3 = b3 = 1 and a1 = b1 = a2 = b2 = 0.

The objective function in this study is the cost, which has three terms. The first term is the cost of energy losses. The second term is the cost of losses in heavy loading condition, and the third term is the cost of installation and maintenance of the capacitor. This objective function can be represented as follows.

This section contains the total daily losses of energy at all three levels of loading and in two network performances or two scenarios i.e. connected to grid and islanding mode, which is shown below.

where, Ce is energy cost ($/kWh), M is the number of load levels, NGC and NIs are the number of buses in grid-connected and islanded modes respectively, \({P}_{loss}^{j,GC}\) and \({P}_{{loss}_{i }}^{j,Is}\) are the ith line losses in jth load level in grid-connected and islanded modes respectively (kW), \({\Delta \mathrm{T}}_{j}\) is the period of load level j for 1 year (h) and \({P}_{i,j}\) is the probability of operation in islanded mode at the load level j.

In peak conditions, the capacity of the lines is close to their maximum value and most of the equipment works at its maximum capacity. Hence, reducing peak losses can be very beneficial causing some parts of the equipment capacity to be empty and increase their lifespan. This section can be expressed as follows.

where the annual cost of energy is at the load peak ($/kWh-year), \({P}_{{loss}_{i }}^{peak,GC}\) and \({P}_{{loss}_{i }}^{peak,Is}\) are the number of losses at heavy load level in a network-connected and islanded mode.

In this study, both fixed and switchable capacitors are applied. These two types of capacitors include installation, purchase, and maintenance costs. The total cost of the capacitors is formulated as below:

where Mf and Ms are the numbers of constant and switchable capacitors, \({C}_{if}\) and \({C}_{is}\) are the cost of purchasing and installing of constant and switchable capacitors ($),\({C}_{vf}\) and \({C}_{vs}\) are the repair and maintenance cost of constant and switchable capacitors ($/kVAR-year), \({Q}_{fi}\) and \({Q}_{si}\) refer to the amount of constant and switchable reactive power (kVAR) respectively.

The capacitor placement problem must be optimized subject to operational constraints. The most important constraints regarding this problem are the voltage magnitude of buses, transmitted power bylines, the amount of reactive power installed on the network and capacitor installation rates according to the available budget. These four constraints are listed below:

where \({V}_{i}\) , \({V}_{i,min}\) and \({V}_{i,max}\) are the voltage of bus i, the minimum and maximum of allowed voltages, \({I}_{i}\) and \({I}_{i,max}\) are line current and the thermal limit of line i, \({Q}_{{capacitor}_{i }}^{j}\) and \({Q}_{{Load}_{i }}^{j}\) are the installed reactive power and consumed in the bus i and the load level j respectively, N refers to the number of buses, k represents the allowed percentage of installed reactive power, \({C}_{capacitor}\) is capacitor placement cost and AB is the total available budget of capacitor placement.

In this section, the overview of spotted hyena optimizer (SHO) algorithm and its implementation in problem solution are described.

The behaviour of spotted hyena is sometimes similar to human social behaviour. They can fight tirelessly for food and life and usually live in tribes. Male hyena leaves their tribe when reaching puberty and join another tribe for an extended period. Interestingly, they use several sensory generators to recognise familiar people. Hyena informs each other by generating alarm sounds when reaching a new food source. The SHO method used in the present study is based on the hunting and social behaviours of these animals. The SHO can handle various types of constraints and offer better solutions than other powerful optimizers and also Does not get caught up in local optimal by increasing the number of problem variables as well as the complexity of the optimization problem and has high convergence speed and accuracy44.

Other searching factors can be considered their best position related to the prey or target as the best response and update it. The mathematical model of this behaviour is expressed as follows44:

where Dh represents the distance between the spotted hyena and the prey, PP represents the position vector related to the prey, P represents the position vector of the spotted hyena, X represents the current iteration, and B and E represent the coefficient factor vectors44.

where rd1 and rd2 are random vectors in the range of [0, 1], and h can be linearly reduced from 5 to 0.

The proposed SHO algorithm hunting strategy is described as follows44.

Here, Ph represents the best position of the spotted hyena related to the prey, and Pk represents another position of the spotted hyena. N represents the total number of spotted hyena and is calculated as follows.

Here, M represents a random vector in the range of [0.5, 1], nos represents the number of answers (the reference answers are counted), and Ch represents a group of N optimal answers.

The mathematical formula for attacking prey can be defined as follows44.

Here P (x + 1) saves the best pass and updates the positions of other factors relative to the position of the best search factor.

To identify the correct answer, E must be > 1 or < 1, according to Eq. (19). The other part of the SHO algorithm, which makes exploration possible, is B. Vector B contains random values that provide the prey’s random weights according to Eq. (20). Suppose that the B > 1 vector has priority over the B < 1 vector to show more random behaviour of the SHO algorithm and the effect of the distance44.

The steps of implementing the SHO in problem solution are presented:

Step 1. Set optimization parameters such as population size, number of maximum iterations and repetition, number of variables (location and size of capacitors) and the variables constraint.

Step 2. The initial population matrix is then generated. Each row represents a member of the population, and each column represents the bus number in which the capacitor is installed (The priority is to install the capacitor in the bus with higher loss sensitivity, which is detected by the optimization program).

Step 3. Calculate the objective function (Total cost) considering the constraints per member Step 2 and the hyena with the lowest cost is selected as the representative in this step.

Step 4. The SHO population is updated to achieve the next position using a continuous variable.

Step 5. Round all members for moving to discrete search space to the nearest integer and also recalculate the objective function considering the constraints for all members. If the value of the new member's objective function is better than the value obtained in Step 3, replace with it.

Step 6. In this step (termination criterion) if the number of iterations exceeds the maximum iterations number, the SHO will be stopped and otherwise it will return to step 4.

Finally, the results include the location and size of fixed and switchable capacitors, power loss and minimum network voltage at each load level in both islanding and grid-connected operation and the cost before and after capacitor installation are provided.

In this section, simulation results of optimal allocation of capacitors in distribution networks with non-dispatchable distributed generations are presented with operation capability as a microgrid to minimize cost using the gray wolf optimizer algorithm, considering the levels and types of load. The objective function of simulation is considered as minimization of energy losses costs, peak power losses and capacitor utilization and the proposed method is implemented on a 24-bus network. The basic objective of the capacitor allocation is power losses minimization in the distribution network. This objective determines the best locations for capacitors to be installed to obtain the minimum losses while the other places may not achieve this objective. This objective can be defined as the sensitivity of active power loss to reactive power injection at a bus. So the buses with higher sensitivities are selected as candidate bus for capacitor installation by the optimization program in this study. Further explanation of this is given in detail in Ref.18. The simulation results are presented in two operation modes of grid-connected and islanded (for microgrid), and the results before and after the optimization are investigated. Also, to verify the SHO method, the results were compared with GWO and also the results have been compared with the reference45 which the GA is employed to problem solution. The single-line diagram of the 24-bus network is shown in Fig. 1.

The single line diagram of 24-bus network20.

According to Fig. 1, a part of the 24-bus test case has distributed generation resources, which is called the microgrid section due to islanding state. The distributed generations are applied in two modes with unit power factor without the capability of reactive power injection and non-unit power factor with reactive power injection capability. Economic data of the network, distributed generations and its generation values and transformers, load and line data are presented in Tables 1, 2 and 3. Also, in this study, a light loading period is 1000 h with 2.175 MW and 1.875 MVAR, a normal loading period is 6760 h with 6.335 MW and 4.375 MVAR and heavy loading period with 1000 h, 9.05 MW and 6.25 MVAR during a year.

In this section, it is assumed that distributed generation sources operate with a unit power factor and generate only active power. The convergence curve of SHO and GWO methods is presented in Fig. 2.

The convergence process of optimization methods for the 24-bus network with cosφ = 1.

As shown in Fig. 2, the SHO method has a lower cost than the GWO for capacitor placement. Also, statistic analysis of different algorithms performance with cosφ = 1 due to 25 repetition is presented in Table 4. According to the obtained results, the SHO is achieved to lower-cost given Best, Mean, Worst and standard deviation (STD) values compared with the GWO.

The optimal location and sizing results of the capacitors by various methods of optimization in the 24-bus network are presented in Table 5. The SHO methods installed 2100 kVAR capacitors, at the second level (normal loading) and at the third level (heavy loading) too and also 1650 kVAR placed in normal and heavy loading by GWO. At the first level (light loading), SHO placed 1650 kVAR and GWO installed 1950 kVAR capacitor. In contrast, the GA method20 also installed 1650, 1500, and 2100 kVAR capacitors, at the first to third levels, respectively. So, the SHO has a value of 5850 kVAR, and GWO and GA methods each have a total of 5250 kVAR capacitor placement in the network. Various values of cost in the 24-bus network before and after the capacitor placement are given in Table 6. Before capacitor placement, the cost of network losses is 150,425.5 $ which after capacitor placement the amount of this cost in SHO, GWO, and GA14 methods is 59,447 $, 61,120 $, and 61,422.222 $, respectively. Total cost amount before capacitor placement is 206,340.54 $, which was reduced to 105,780, 106,310, and 107,228.51 after applying the capacitor by SHO, GWO and GA method20 respectively. Also, annual savings by SHO method are more than the other methods. Therefore, the SHO has better performance on reducing the cost of losses than the other methods.

According to Table 6, spending $ 24,886 annually for SHO's capacitor utilization has led to saving and reducing costs up to approximately 100,560.54 $. The existence of capacitors in the network will reduce losses and improve the voltage profile, and this loss reduction will be accompanied by a reduction in the cost of purchasing power from the upstream network. On the other hand, the cost of installing and maintaining of capacitors compared to a reduction of losses cost is much less. It should also be noted that the lifetime of the capacitors is relatively high and the cost of installing these capacitors will only be in the first year, which could be another reason for the proper operation of this equipment in reducing network costs. To better see the results and performance of the presence of capacitors in the network, the losses amounts, as well as the minimum network voltage before and after the presence of capacitors at different load levels in Tables 7 and 8, are presented in scenarios of connected to the network and islanding mode, respectively. According to Tables 7 and 8, in both scenarios, the presence of capacitors in the network has had a significant positive effect on the reduction of losses, as well as the improvement of the minimum voltage. In Table 8, the performance of the SHO method was compared with the GA method, which confirmed the performance of the proposed method in reducing the losses and improving the minimum voltage of the grid compared to the GA method.

The voltage profiles of the 24-bus network in the grid-connected mode and at the heavy load with cosφ = 1, before and after the capacitor placement are compared in Fig. 3. As it is clear that, the voltage profile is better after the capacitor placement in the network than the base state.

Voltage profile of 24-bus network in the grid-connected mode for the heavy load before and after capacitor placement, with cosφ = 1.

In the second case, it is assumed that distributed generation sources also can generate reactive power and operate under the power factor of 0.95 lag. The convergence curve in this case is also given in Fig. 4, which indicates the achievement of a lower cost value by the SHO method than the GWO method. The value of the cost objective function is obtained by the SHO proposed method equal to 89,568 $ and by the GWO method is 90,423 $ which is obtained by the GA in45 equal to 103,098.5$. Therefore, the results indicate that the SHO method is superior to the GWO and GA methods. Also, statistic analysis of different algorithms performance with cosφ#1 due to 25 repetitions is presented in Table 9. According to the obtained results, the SHO is achieved to lower cost in view of Best, Mean, Worst and standard deviation (STD) values compared with the GWO.

Convergence process optimization methods for the 24-bus network in mode of cosφ#1.

It is clear that due to reactive power injection, in this case, the cost of the capacitor placement is greatly reduced. Also, in this case, the total cost of the system, including the cost of losses and peak losses is severely reduced. Therefore, it can be concluded that the participation of distributed generation resources in the production of reactive power can greatly reduce network costs. The optimal placement of the capacitors in the 24-bus network is presented in Table 10. All three optimization methods have placed the 1650 kV fixed capacitor in the network. At Level 2, the SHO, GWO, and GA45 have placed 600, 300 and 1500 kVAR capacitors respectively on the network, and at the third level, have respectively placed, 600, 300 and 2100 kVAR capacitors in the network. In Table 11, the cost of losses, peak losses, cost of capacitor placement, the total cost as well the amount of annual saving is presented. The results show that the cost of losses and cost of peak losses in SHO method decreased more than GA and GWO methods and in total, the annual amount of savings by the SHO was 76,850.46 $. According to Tables 12 and 13, it is observed that in grid-connected and islanded modes the network losses are reduced considerably in different loads using SHO. Also, the network minimum voltage is improved in different loading condition. Also, the SHO method is better in both the network connection scenario and the islanding scenario than the GWO method for reducing losses, as well as the minimum voltage levels at different load levels.

The losses and the minimum voltage before and after the capacitor placement in the mode of connected to the network in the second mode at different load levels are given in Table 12.

The voltage profiles of the 24-bus network in the grid-connected mode and at the heavy load with cosφ#1, before and after the capacitor placement are compared in Fig. 5. As it is clear that, the voltage profile is better after the capacitor placement in the network than the base state.

Voltage profile of 24-bus network in the grid-connected mode for the heavy load before and after capacitor placement, with cosφ#1.

In this section, the effect of different types of loads including constant power, constant current and constant impedance on the cost of losses, cost of energy losses and total annual cost using the SHO method has been studied. In addition to considering the three-level load, different types of load are also included in the problem. Different amounts of cost in a network obtained for different types of loads in the mode of cosφ = 1 and cosφ#1 in Tables 14 and 15 are presented, respectively. According to the results obtained in both cases, the amount of annual cost of the system, the cost of losses of power, energy losses and the cost of the capacitor placement in the constant power load is less than the other types of load. Also by comparing the results in two modes cosφ = 1and cosφ#1, it can be observed that the cost of annual losses, the cost of losses of power, the cost of peak losses, as well as the cost of the capacitor due to the injection of reactive power in the case of cosφ#1 has been reduced. The annual cost reduction in constant power loads, constant current and constant impedance loads was 15.32, 15.92 and 10.79%, respectively.

The optimal allocation of capacitors for distribution network operation is studied in researches to compensate the reactive power. Of course, due to the occurrence of the islanding state in distribution networks, capacitors allocation requires more care and consideration. Therefore, the islanding state of the network can be one of the limitations in the problem solution, which in this study is well addressed and the optimization program must be able to manage the provision of the microgrid load demand in islanding state. In addition, changing of the network load level, as well as observing the voltage range of the buses and the current of the network lines are the other limitations of the study in islanding state. Therefore, using an intelligent and flexible methodology in islanding conditions is critical for problem solution as well as microgrid load supply based on distributed generation sources. In this paper, the optimal allocation of the capacitor for a distribution network in the presence of a microgrid including DG resources is presented using SHO algorithm. Optimal placement of fixed and switchable capacitors is implemented to minimize energy losses, peak losses, and capacitor costs in two grid-connected and islanded modes, considering different load levels. Non-dispatchable distributed generations are considered in two modes: generation and non-generation of reactive power. To solve the optimization problem, the grey wolf algorithm is employed to solve the problem and its implementation on a 24-bus test network. Simulation results are presented in two grid-connected and islanded modes. The simulation results showed that the SHO is a powerful method with high convergence speed for achieving the optimal solution to the problem with the lowest total cost compared to the GWO and GA methods. The total cost value for DGs only with the capability of active power injection is achieved 105,780 $ and 106,310 $ using the SHO and GWO, respectively. Also, this cost for DGs with the capability of active and reactive power injection is obtained 89,568 $ and 90,423 $ using the SHO and GWO, respectively. Moreover, the annual net savings are higher with the SHO method than with the other methods. Furthermore, the results showed that in the case of reactive power injection by distributed generations, the cost of the capacitor placement dropped sharply, and the total cost of the system decreased significantly. Therefore, we conclude that the participation of distributed generations capable of reactive power injection can reduce network costs. The results also cleared that the total cost, loss cost, and peak loss of power in constant power load are less than in the other types of loads. According to the study conducted in this paper, evaluation of power quality indices in islanding conditions is suggested for future work.

Facchini, A. Distributed energy resources: planning for the future. Nat. Energy 2, 1–2 (2017).

Ji, Y., He, W., Cheng, S., Kurths, J. & Zhan, M. Dynamic network characteristics of power-electronics-based power systems. Sci. Rep. 10, 1–16 (2020).

Khokhar, S., Mohd Zin, A. A., Mokhtar, A. S., Bhayo, M. A. & Naderipour, A. Automatic classification of single and hybrid power quality disturbances using Wavelet Transform and Modular Probabilistic Neural Network. in 2015 IEEE Conference on Energy Conversion, CENCON 2015 457–462 (2015). https://doi.org/10.1109/CENCON.2015.7409588

Naderipour, A. et al. A new compensation control strategy for grid-connected wind turbine and fuel cell inverters in a microgrid. Int. J. Power Electron. Drive Syst. 8, 272–278 (2017).

Jahannoosh, M. et al. New hybrid meta-heuristic algorithm for reliable and cost-effective designing of photovoltaic/wind/fuel cell energy system considering load interruption probability. J. Clean. Prod. 123406 (2020).

Sedghi, M., Aliakbar-Golkar, M. & Haghifam, M.-R. Distribution network expansion considering distributed generation and storage units using modified PSO algorithm. Int. J. Electr. Power Energy Syst. 52, 221–230 (2013).

Naderipour, A. et al. Comparative evaluation of hybrid photovoltaic, wind, tidal and fuel cell clean system design for different regions with remote application considering cost. J. Clean. Prod. https://doi.org/10.1016/j.jclepro.2020.124207 (2020).

Baghaee, H. R., Mirsalim, M., Gharehpetian, G. B. & Talebi, H. A. Reliability/cost-based multi-objective Pareto optimal design of stand-alone wind/PV/FC generation microgrid system. Energy 115, 1022–1041 (2016).

Baghaee, H. R., Mirsalim, M., Gharehpetan, G. B. & Talebi, H. A. Nonlinear load sharing and voltage compensation of microgrids based on harmonic power-flow calculations using radial basis function neural networks. IEEE Syst. J. 12, 2749–2759 (2017).

Bhattacharyya, B. & Babu, R. Teaching learning based optimization algorithm for reactive power planning. Int. J. Electr. Power Energy Syst. 81, 248–253 (2016).

Zeinalzadeh, A., Mohammadi, Y. & Moradi, M. H. Optimal multi objective placement and sizing of multiple DGs and shunt capacitor banks simultaneously considering load uncertainty via MOPSO approach. Int. J. Electr. Power Energy Syst. 67, 336–349 (2015).

Moradi, M. H., Zeinalzadeh, A., Mohammadi, Y. & Abedini, M. An efficient hybrid method for solving the optimal sitting and sizing problem of DG and shunt capacitor banks simultaneously based on imperialist competitive algorithm and genetic algorithm. Int. J. Electr. Power Energy Syst. 54, 101–111 (2014).

El-Fergany, A. A. & Abdelaziz, A. Y. Capacitor allocations in radial distribution networks using cuckoo search algorithm. IET Gener. Transm. Distrib. 8, 223–232 (2014).

Devabalaji, K. R., Ravi, K. & Kothari, D. P. Optimal location and sizing of capacitor placement in radial distribution system using bacterial foraging optimization algorithm. Int. J. Electr. Power Energy Syst. 71, 383–390 (2015).

El-Fergany, A. A. & Abdelaziz, A. Y. Capacitor placement for net saving maximization and system stability enhancement in distribution networks using artificial bee colony-based approach. Int. J. Electr. Power Energy Syst. 54, 235–243 (2014).

Ramadan, H. S., Bendary, A. F. & Nagy, S. Particle swarm optimization algorithm for capacitor allocation problem in distribution systems with wind turbine generators. Int. J. Electr. Power Energy Syst. 84, 143–152 (2017).

Sultana, S. & Roy, P. K. Oppositional krill herd algorithm for optimal location of distributed generator in radial distribution system. Int. J. Electr. Power Energy Syst. 73, 182–191 (2015).

Abdelaziz, A. Y., Ali, E. S. & Elazim, S. M. A. Flower pollination algorithm and loss sensitivity factors for optimal sizing and placement of capacitors in radial distribution systems. Int. J. Electr. Power Energy Syst. 78, 207–214 (2016).

Ghaffarzadeh, N. & Sadeghi, H. A new efficient BBO based method for simultaneous placement of inverter-based DG units and capacitors considering harmonic limits. Int. J. Electr. Power Energy Syst. 80, 37–45 (2016).

Ali, E. S., Elazim, S. M. A. & Abdelaziz, A. Y. Improved harmony algorithm and power loss index for optimal locations and sizing of capacitors in radial distribution systems. Int. J. Electr. Power Energy Syst. 80, 252–263 (2016).

Mohammadi, M., Rozbahani, A. M. & Bahmanyar, S. Power loss reduction of distribution systems using BFO based optimal reconfiguration along with DG and shunt capacitor placement simultaneously in fuzzy framework. J. Cent. South Univ. 24, 90–103 (2017).

Shuaib, Y. M., Kalavathi, M. S. & Rajan, C. C. A. Optimal capacitor placement in radial distribution system using gravitational search algorithm. Int. J. Electr. Power Energy Syst. 64, 384–397 (2015).

Tamilselvan, V., Jayabarathi, T., Raghunathan, T. & Yang, X.-S. Optimal capacitor placement in radial distribution systems using flower pollination algorithm. Alex Eng. J. 57, 2775–2786 (2018).

Abdelsalam, A. A. & Mansour, H. S. E. Optimal allocation and hourly scheduling of capacitor banks using sine cosine algorithm for maximizing technical and economic benefits. Electr. Power Components Syst. 47, 1025–1039 (2019).

Haldar, V. & Chakraborty, N. Power loss minimization by optimal capacitor placement in radial distribution system using modified cultural algorithm. Int. Trans. Electr. Energy Syst. 25, 54–71 (2015).

Devabalaji, K. R., Yuvaraj, T. & Ravi, K. An efficient method for solving the optimal sitting and sizing problem of capacitor banks based on cuckoo search algorithm. Ain Shams Eng. J. 9, 589–597 (2018).

Dixit, M., Kundu, P. & Jariwala, H. R. Incorporation of distributed generation and shunt capacitor in radial distribution system for techno-economic benefits. Eng. Sci. Technol. an Int. J. 20, 482–493 (2017).

Srinivasan, G. & Visalakshi, S. Application of AGPSO for power loss minimization in radial distribution network via DG units, capacitors and NR. Energy Proc. 117, 190–200 (2017).

Tolabi, H. B., Ara, A. L. & Hosseini, R. A new thief and police algorithm and its application in simultaneous reconfiguration with optimal allocation of capacitor and distributed generation units. Energy 117911 (2020).

HA, M. P., Nazari-Heris, M., Mohammadi-Ivatloo, B. & Seyedi, H. A hybrid genetic particle swarm optimization for distributed generation allocation in power distribution networks. Energy 209, 118218 (2020).

Balu, K. & Mukherjee, V. Siting and sizing of distributed generation and shunt capacitor banks in radial distribution system using constriction factor particle swarm optimization. Electr. Power Components Syst. 48, 697–710 (2020).

Abou El-Ela, A. A., El-Sehiemy, R. A. & Abbas, A. S. Optimal placement and sizing of distributed generation and capacitor banks in distribution systems using water cycle algorithm. IEEE Syst. J. 12, 3629–3636 (2018).

Almabsout, E. A., El-Sehiemy, R. A., An, O. N. U. & Bayat, O. A hybrid local search-genetic algorithm for simultaneous placement of DG units and shunt capacitors in radial distribution systems. IEEE Access 8, 54465–54481 (2020).

Dhiman, G. & Kaur, A. Optimizing the design of airfoil and optical buffer problems using spotted hyena optimizer. Designs 2, 28 (2018).

Luo, Q., Li, J. & Zhou, Y. Spotted hyena optimizer with lateral inhibition for image matching. Multimed. Tools Appl. 78, 34277–34296 (2019).

Dhiman, G., Guo, S. & Kaur, S. ED-SHO: a framework for solving nonlinear economic load power dispatch problem using spotted hyena optimizer. Mod. Phys. Lett. A 33, 1850239 (2018).

Naderipour, A. et al. Deterministic and probabilistic multi-objective placement and sizing of wind renewable energy sources using improved spotted hyena optimizer. J. Clean. Prod. 124941 (2020).

Nguyen, T., Nguyen, T. L., Tran, V. C. & Truong, H. B. Spotted hyena optimizer: an approach to travelling salesman problems. in International Conference on Computational Collective Intelligence 217–228 (Springer, 2020).

Zhou, G., Li, J., Tang, Z., Luo, Q. & Zhou, Y. An improved spotted hyena optimizer for PID parameters in an AVR system. Math. Biosci. Eng. 17, 3767 (2020).

Annapandi, P., Banumathi, R., Pratheeba, N. S. & Manuela, A. A. An efficient optimal power flow management based microgrid in hybrid renewable energy system using hybrid technique. Trans. Inst. Meas. Control 0142331220961687 (2020).

El Ela, A. A., El Sehiemy, R., Shaheen, A. M. & Kotb, N. Optimal allocation of DGs with network reconfiguration using improved spotted hyena algorithm. WSEAS Trans. Power Syst. 15, 60–67 (2020).

Panda, N. & Majhi, S. K. Improved spotted hyena optimizer with space transformational search for training pi-sigma higher order neural network. Comput. Intell. 36, 320–350 (2020).

Panda, N., Majhi, S. K., Singh, S. & Khanna, A. Oppositional spotted hyena optimizer with mutation operator for global optimization and application in training wavelet neural network. J. Intell. Fuzzy Syst. 1–14 (2020).

Dhiman, G. & Kumar, V. Spotted hyena optimizer: a novel bio-inspired based metaheuristic technique for engineering applications. Adv. Eng. Softw. 114, 48–70 (2017).

Gholami, R., Shahabi, M. & Haghifam, M.-R. An efficient optimal capacitor allocation in DG embedded distribution networks with islanding operation capability of micro-grid using a new genetic based algorithm. Int. J. Electr. Power Energy Syst. 71, 335–343 (2015).

This research was funded by the Universiti Teknologi Malaysia (Post-Doctoral Fellowship Scheme Grant 05E09, RUG Grants 4B482, 01M44, 02M18, 05G88).

Institute of High Voltage and High Current, School of Electrical Engineering, Faculty of Engineering, Universiti Teknologi Malaysia, 81310, Johor Bahru, Malaysia

Amirreza Naderipour & Zulkurnain Abdul-Malek

Young Researchers and Elite Club, Borujerd Branch, Islamic Azad University, Borujerd, Iran

Aerospace Research Institute, Ministry of Science, Research and Technology, Tehran, Iran

Mohammad Hajivand & Mohammad Ali Farsi

Science and Research, Tehran Branch, Islamic Azad University, Tehran, Iran

Golestan Technical and Vocational Training Center, Gorgan, Iran

Department of Electrical Engineering, Islamic Azad University, Khalkhal Branch, Khalkhal, Iran

You can also search for this author in PubMed  Google Scholar

You can also search for this author in PubMed  Google Scholar

You can also search for this author in PubMed  Google Scholar

You can also search for this author in PubMed  Google Scholar

You can also search for this author in PubMed  Google Scholar

You can also search for this author in PubMed  Google Scholar

You can also search for this author in PubMed  Google Scholar

All authors participated in the discussion and wrote the manuscript. A.N. Conceptualization, Methodology. Z.A.M. Supervision, Project administration. M.H. Resources, Data curation. Z.M.S. Software, Formal analysis. M.A.F. Writing—review & editing. S.A N. Writing—original draft. I. F. D. Software.

The authors declare no competing interests.

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Naderipour, A., Abdul-Malek, Z., Hajivand, M. et al. Spotted hyena optimizer algorithm for capacitor allocation in radial distribution system with distributed generation and microgrid operation considering different load types. Sci Rep 11, 2728 (2021). https://doi.org/10.1038/s41598-021-82440-9

DOI: https://doi.org/10.1038/s41598-021-82440-9

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Scientific Reports (Sci Rep) ISSN 2045-2322 (online)

foil induction heating capacitor Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.