1. Introduction
The issue of improving the performance of distribution networks has attracted a lot of attention, from researchers to distribution network operators. This improvement implies an adequate management of the devices involved, such as load tap changing at the substation transformer and switched shunt compensators to regulate the voltage profiles and support reactive power. These approaches aim to enhance the operating conditions of distribution networks, e.g., reducing the energy losses costs [
1,
2,
3]. Furthermore, this improvement can also include upgrading the networks by installing new devices, such as fixed-step capacitor banks and distribution static compensators (D-STATCOMs) [
2,
4,
5]. One of the cheapest ways to compensate for reactive power in distribution grids is through the installation of fixed-step capacitor banks, which allows for reducing costs due to energy losses by around 13% [
4,
6].
Fixed-step capacitor banks and D-STATCOMs must be appropriately located in distribution networks, preventing an inadequate operation of the network (i.e., an increase in power losses). An adequate size must also be selected so as to not generate overvoltage (or a voltage decrease) [
7]. Thus, the problem regarding the optimal location and sizing of fixed-step capacitor banks in distribution grids has been widely analyzed in the scientific literature. Some of these analyses are presented below.
In specialized literature, the optimal location and sizing of fixed-step capacitor banks in distribution systems has been widely addressed using classical mathematical models and metaheuristic strategies. Combinatorial algorithms such as a discrete version of the vortex search algorithm [
7], fuzzy logic [
8], the whale optimization algorithm [
2], genetic algorithms [
9,
10], artificial neural networks [
11], the spring search algorithm [
12], simulated annealing [
11], and the particle swarm optimization algorithm [
13,
14] have been proposed for solving this problem. In Ref. [
15], a genetic algorithm combined with mathematical optimization was used to optimally locate and size fixed-step capacitor banks in distribution networks. The objective function involved minimizing the power losses and operating costs of the network. In Ref. [
16], a heuristic methodology for the optimal sizing and placement of capacitor banks was proposed. This work considered the reduction of the total harmonic distortion, demonstrating that this methodology could minimize network costs to a greater extent than classical genetic algorithms. Other works have focused on improving voltage stability and, simultaneously, reducing the network power losses, as shown in [
17,
18]. The authors of [
19] included a reconfiguration of distribution networks for the optimal allocation of capacitor banks via a fuzzy-based strategy. The study by [
20] considered balanced and unbalanced distribution grids, as well as network reconfiguration and the optimal location of capacitor banks. The authors reduced total active power losses and bus voltage violation indices by employing a hybrid Big Bang-Big Crunch algorithm. The research by [
21] presented a hybrid mathematical formulation for the optimal selection and placement of fixed-step capacitor banks in electrical distribution networks, focusing on minimizing the annual operating costs. The authors of [
22] transformed the mixed-integer non-convex nonlinear model for the problem under study into a mixed-integer convex one using second-order cone relaxations. Numerical results demonstrated that the convex model found a better solution than the General Algebraic Modeling System (GAMS) software and the Chu and Beasley genetic algorithm.
Multi-objective formulations for the optimal location and sizing of fixed-step capacitor banks have also been proposed, which have usually implemented the Pareto front strategy. This method solves the problem using a set of trade-off solutions, and is known as the Pareto optimality of solutions. The main works in this regard are a multi-objective adaptive algorithm based on decomposition and differential evolution [
23], a multi-objective formulation busing a two-stage immune algorithm [
24], a hybrid configuration using weight-improved particle swarm optimization and the gravitational search algorithm [
25], a multi-objective salp swarm optimizer [
26], and multi-objective particle swarm optimization [
1], among others. However, these works focus on optimizing technical and economic objectives for a short period of time and do not include the costs of the fixed-step capacitor banks, i.e., regarding their acquisition, operation, and maintenance, along with their useful life.
Similarly, the problem of the optimal location and sizing of D-STATCOMs in distribution systems has been widely studied. The authors of [
27] used an artificial rabbits’ optimization algorithm for the optimal allocation of PV systems plus D-STATCOM in order to reduce the voltage regulation profile and the energy losses during the day, considering a load curve of 24 h. Similarly to previous authors, the researchers in [
28] allocated PV systems plus D-STATCOM in distribution systems to minimize their energy losses and improve their voltage profile using hunter-prey-based algorithm. The authors of [
29] located and dimensioned the D-STATCOMs optimally in the electrical distribution grids to minimize their operative costs based on a discrete-continuous version of the vortex search algorithm. The authors of [
30] used a discrete-continuous version of the genetic algorithm in order to locate-size of the D-STATCOM in radial and meshed distribution networks for minimizing their annual operative costs. These costs involved energy losses and installation investment costs annually. The study by [
5] tackled sizing and locating D-STATCOMs optimally in electrical distribution networks and implemented a stochastic mixed-integer convex model. This model was performed in a complex domain and included the stochastic nature of renewable energy and demand via multiple scenarios, defining different levels of generation/demand. Although all the previous works can find good solutions, none have considered the expected return rate of the distribution company, as well as the anticipated interest of the increase in energy losses costs in their objective functions. Therefore, in light of the state of the art, this research presents the following contributions:
- i.
A general formulation of the problem regarding the optimal placement and sizing of fixed-step capacitor banks and D-STATCOM while considering a planning period different from one year, which includes the expected return rate of the distribution company, the anticipated interest of the increase in energy losses costs, and the increase in the operating expenses of the fixed-step capacitor banks. These aspects are formulated using the net present value as an objective function subjected to a set of mixed-integer nonlinear constraints, thus generating a general mixed-integer nonlinear programming (MINLP) model to represent the studied problem.
- ii.
The application of the generalized normal distribution optimizer (GNDO) approach and the successive approximations power flow method within master–slave strategy to solve the proposed MINLP model, with the main advantage that different sets of candidate nodes are explored to identify the best solution regarding the final net present value. These simulations found that, as expected, an excessive injection of reactive power is not always adequate in distribution networks. Numerical results confirmed that the radial grid configuration of the IEEE 33-bus grid with two packs of capacitors reached the lowest objective function value. In contrast, for the meshed configuration, only one set of capacitor banks was enough to find the lowest value.
Within the scope of this research, it is worth mentioning that the expected active and reactive power consumptions correspond to the information provided by the distribution company for the terminals of the grid substation, which was obtained after multiple measuring and filtering processes. In addition, the selected objective function is the summation of the purchasing, installing, and operating costs of fixed-step capacitor banks and the annual costs of energy losses, using a net present value analysis for a planning horizon of five years, given that all of the required investments regarding capacitor banks are not recovered with a traditional one-year planning scenario [
31].
Note that, in order to validate the effectiveness and robustness of the proposed GNDO approach in locating shunt reactive power compensators, additional simulation scenarios included the peak operating conditions of the IEEE 69-bus grid, the optimal placement and sizing of static distribution compensators in the IEEE 33- and 69-bus grids, and the optimal selection and location of fixed-step capacitor banks in the IEEE 85-bus grid with a radial configuration. These simulations include comparisons with combinatorial optimization methods available in the current literature and the exact MINLP tools of the GAMS software.
This study is organized as follows.
Section 2 presents the exact formulation of the optimal location and sizing of fixed-step capacitor banks in electrical distribution networks.
Section 3 presents the proposed master–slave optimization model.
Section 4 describes the radial and meshed test systems implemented, along with their daily operation curves.
Section 5 shows the proposed optimizer model’s primary results and analysis. Finally, the main conclusions of this research, as well as some future works, are presented in
Section 6.
4. Test Feeder Characterization
To validate the proposed GNDO approach in combination with the successive approximations power flow method to locate and size fixed-step capacitor banks while aiming to reduce the expected annual operating costs associated with energy losses and including the purchasing, installing, and operating costs of reactive power compensators, the IEEE 33-bus grid with radial and meshed configurations was employed.
Figure 2 depicts the electrical configurations of this test feeder.
Data regarding branches and peak load conditions for the IEEE 33-bus grid are presented in
Table 1.
In addition, to evaluate the effect of load variations,
Figure 3 presents the daily variations regarding the active and reactive power profiles.
To evaluate the objective function regarding expected energy losses costs during the planning period, as well as the purchasing, installation, and operating costs of the fixed-step capacitor banks, the parameters listed in
Table 2 are considered.
Note that the step-size per capacitor is 100 kvar, and the maximum reactive power injection per node is 1000 kvar, i.e., from 0 to 10 banks in parallel per node.
5. Numerical Results
For the computational implementation of the proposed master–slave optimization approach, the MATLAB software (version 2021b) was employed on a PC with an AMD Ryzen 7 3700 GHz processor and 16.0 GB RAM, running a 64-bit version of Microsoft Windows 10 Single Language. The GNDO and the successive approximations power flow method were implemented with our developed scripts. For the simulations, the possibility of installing 0 to 5 sets of capacitor banks is tested by assuming that only a pack can be installed per node.
Note that the parametrization of the GNDO approach considered a population size of 10 individuals, 100 consecutive repetitions, and 1000 iterations, with a local stopper of 100 iterations without improvements in the objective function value.
5.1. Results Obtained for the Radial Grid Configuration
Table 3 presents the numerical simulations for the IEEE 33-bus grid with a radial topology. In this simulation, each node selected to locate a reactive power compensator must have at least one pack of capacitors installed.
The numerical results in
Table 3 show that:
- i.
An increase in the number of capacitors does not guarantee that the objective function will continue to decrease; for the radial version of the IEEE 33-bus grid with the available set of capacitors (steps of about 100 kvar), it is observed that the option with two capacitors at nodes 13 and 30 with sizes of about 200 and 500 kvar allows for the best reduction concerning the benchmark case (i.e., ). In contrast, all the other options report lower impacts in the final objective function value.
- ii.
Note that from three to five sets of capacitor banks, the objective function deteriorates with the increase in capacitors, which confirms that, depending on the electrical characteristics (i.e., grid topology and total active and reactive power consumptions), each distribution network has an optimal number regarding compensation devices, and, if this number is exceeded, the final solution becomes sub-optimal. Note that the expected improvement in the objective function is
when five capacitors are installed, showing that the expected gain has deteriorated about
concerning the best solution reported in
Table 3.
- iii.
The main characteristic of the list of solutions in
Table 3 is that the most interesting node to install capacitor banks is node 30, which appears in all of the solutions, with sizes between 400 and 600 kvar (thus being the node with the highest penetration regarding reactive power in all solutions). In addition, the expected penetration regarding reactive power varies from 600 to 700 kvar.
Regarding processing times, it is worth mentioning that the last column in
Table 3 evidences that the processing times required for solving the MINLP model via the proposed GNDO approach range between 45 and 69 s to reach a solution, depending on the number of nodes analyzed. However, it is noted that these times can be considered minimal due to the enormous dimensions of the solution space for this optimization problem.
5.2. Results Obtained for the Meshed Grid Configuration
Table 4 presents the numerical simulations for the IEEE 33-bus grid with a meshed topology.
The numerical results in
Table 4 show that:
- i.
In the case of the meshed version of the IEEE 33-bus grid, the best solution is reached by only installing a capacitor bank of 600 kvar at node 30, which allows for a reduction of about concerning the benchmark case. However, this solution is very closely followed by the solution with two capacitor banks at nodes 30 and 32, with sizes of 400 and 200 kvar, which allows for a reduction of about with respect to the benchmark case, i.e., a slight variation of between both solutions.
- ii.
As in the radial version of the IEEE 33-bus grid, node 30 seems to be the most attractive node to install a set of capacitor banks; in all solutions, this node appears with the highest value of reactive power injection, which implies that, for this test feeder, node 30 is key for optimal reactive power compensation, regardless of the grid topology under analysis.
- iii.
The difference between the best solution with one pack of capacitors at node 30 and the solution with five capacitors is about USD , which confirms that an increase in the number of fixed-step capacitor banks is not necessarily the most economical solution, since it depends exclusively on the grid topology, the number of nodes, and the demand behavior.
Regarding processing times, it is observed that, on average, the solution times required by the GNDO approach in the meshed configuration are lower than 48 s, and lower than the times taken by the radial topology. However, this is an expected behavior, given that, for meshed grid configurations, the successive approximations power flow method takes fewer iterations in comparison with the radial topology, which finally translates into reduced processing times.
5.3. Complementary Analysis
This subsection presents additional numerical validations to demonstrate the efficiency of the proposed GNDO approach for selecting and installing reactive power compensators in distribution networks. These analyses include the following:
- i.
Illustrating the energy losses behavior in the IEEE 33-bus grid with radial and meshed configurations.
- ii.
A comparative analysis of the GNDO approach in the IEEE 69-bus grid with different combinatorial optimizers regarding the optimal selection and location of fixed-step capacitor banks for power losses minimization while considering peak load operating conditions.
- iii.
A comparative analysis in the radial versions of the IEEE 33-and 69-bus grids considering static distribution compensators (D-STATCOMs) with respect to literature reports.
- iv.
An evaluation of the proposed master–slave approach in the IEEE 85-node test feeder with zero to five capacitors. These will be considered as new reference results in medium-size distribution networks for future optimization algorithms.
5.3.1. Energy Losses Behavior in the Radial and Meshed Versions of the IEEE 33-bus Grid
To illustrate the positive effect of the optimal integration of fixed-step capacitor banks in radial and meshed distribution networks,
Figure 4a,b present the initial daily energy losses without capacitor banks, as well as the best solutions reported in
Table 3 and
Table 4.
The main characteristic of the daily energy losses behavior in
Figure 4 is that the fixed reactive power injection effectively reduces the total grid power losses throughout the day, as observed in the difference between the benchmark curve and the optimal solution curves.
5.3.2. Optimal Selection and Location of Fixed-Step Capacitor Banks in the IEEE 69-bus Grid
To demonstrate that the proposed GNDO approach is an efficient optimization technique for integrating fixed-step capacitor banks, a comparative analysis with different combinatorial methods and exact optimization method is presented, using the IEEE 69-bus grid as a test feeder. The electrical configuration of this system and its branch load parameters are depicted in
Figure 5 and
Table 5, respectively.
Table 6 presents all of the numerical comparisons with the IEEE 69-bus grid for locating and sizing fixed-step capacitor banks in radial distribution grids. Note that this comparison is made while considering peak load conditions, as well as with the primary objective of minimizing the expected power losses.
In
Table 6, the metaheuristic algorithms used for comparison are the gravitational search algorithm (GSA) [
45], the two-stage method (TSM) [
46], the teaching-based learning optimizer (TBLO) [
47], and the flower pollination algorithm (FPA) [
48], and the convex optimization method corresponds to the mixed-integer second-order cone programming (MI-SOCP) approach [
22]. Only the GNDO and the MI-SOCP approaches found the best possible solution in the IEEE 69-bus grid when power losses were minimized under peak load conditions. Both methods found the same set of nodes (11, 18, and 31), with capacitor sizes of 300 kvar in the first two and 1200 kvar in the last one. Note that the remainder of metaheuristic algorithms are stuck in locally optimal solutions, which can be attributed to the large dimensions of the solution space, confirming that the GNDO approach based on a statistical formulation (Gaussian distributions) is an efficient tool to deal with complex MINLP models; as demonstrated in the previous sections, it is an excellent alternative to locate and size fixed-step capacitor banks in radial and meshed distribution grids.
5.3.3. Optimal Location and Sizing of D-STATCOMs in the IEEE 33- and 69-bus Grids
To confirm the effectiveness and efficiency of the proposed GNDO approach in defining the optimal location and sizing of reactive power compensators in electrical distribution networks, this subsection presents the application of this algorithm to the problem regarding the optimal placement and sizing of D-STATCOMs in the IEEE 33- and 69-bus grids with radial configurations.
For this comparison, the objective function considers the investment costs of D-STATCOMs (
) and the operating costs associated with the energy losses (
), considering a one-year period of study. Both functions are algebraically summed, as defined by
. The structure of the studied objective functions is presented below.
where
and
are positive constant parameters associated with the annualization of the investment costs of the shunt compensators, considering a planning period of 10 years [
3]
is the nominal size of the shunt reactive power compensator located at node
k; and
,
, and
are the cubic, quadratic, and linear coefficients regarding the investment costs in shunt reactive power compensators.
The parameters used for evaluating the objective functions in (
27) and (
28) are listed in
Table 7 [
49]. Note that the remaining parameters were previously defined in
Table 2.
For comparison, the optimization algorithms reported by the authors of [
49] are used to validate the efficiency of the proposed GNDO approach for installing D-STATCOMs in distribution grids. These are the genetic algorithm combined with a particle swarm optimizer (GA/PSO), the vortex search algorithm (VSA), and two solvers available in the GAMS software: COUENNE and BONMIN.
Table 8 lists the comparative results for the proposed GNDO approach and the literature reports regarding the optimal location and sizing of D-STATCOMs in distribution grids.
The numerical results in
Table 8 show that:
- i.
The proposed GNDO and the VSA approaches reach the exact solution value for the D-STATCOMs in both test feeders, with a final objective function value of about USD 98,497.90 for the IEEE 33-bus grid and USD 102,990.79 in the case of the IEEE 69-bus grid. On the other hand, the GA/PSO approach fails to find the optimal solution in the case of the IEEE 33-bus grid, with an additional investment of about USD 13.73. In contrast, for the IEEE 69-bus grid, the exact solution value is found by the GNDO and the VSA approaches.
- ii.
The GAMS solvers confirm the nonlinearity and non-convexity of the exact MINLP model, and both solvers are stuck in locally optimal solutions for the IEEE 33-bus grid. The COUENNE solver finds a reduction of about in the annual grid operating costs with respect to the benchmark case, while the BONMIN solver reaches a reduction of approximately . However, the main problem with these MINLP solvers is that they did not find a feasible solution for the optimal placement and sizing of D-STATCOMs in the IEEE 69-bus grid simulation scenario.
- iii.
The processing times in the IEEE 33- and 69-bus grids with the proposed GNDO approach showed that, even though it has the same numerical behavior as the VSA, it reports better average processing times, being s faster in the IEEE 33 bus grid and s faster in the IEEE 69-bus grid. However, it is important to mention that both methods take less than 4 min to locate and size D-STATCOMs in radial distribution networks, whereas the GA/PSO approach takes more than 100 min in both cases. These long simulation times are associated with the fact that the GA selects the nodes where the D-STATCOMS must be located, while the PSO approach determines their optimal sizes. At the same time, the GNDO and VSA methodologies solve both problems using a continuous-discrete codification that allows for drastically reducing the required power flow solutions.
After locating and sizing D-STATCOMs in the IEEE 33- and 69-bus grids, the proposed GNDO approach confirmed its robustness and efficiency in solving problems regarding reactive power compensation in distribution networks, with notable numerical performance when compared to recent literature developments.
5.3.4. Optimal Location of Fixed-Step Capacitor Banks in the IEEE 85-bus Grid
The IEEE 85-bus grid is a medium-voltage distribution network with a radial configuration, operated with 11 kV in the substation located at bus 1. The electrical topology of this test feeder is depicted in
Figure 6, and its electrical parameters are listed in
Table 9.
Table 10 presents the numerical simulations for the IEEE 85-bus grid, considering the possibility of selecting zero to six nodes with shunt capacitors. In this simulation, each node selected to locate a reactive power compensator must have at least one pack of capacitors installed.
The numerical results in
Table 10 reveal that:
- i.
The maximum reduction in the expected net present value (NPV) is reached when five capacitor banks are installed in the distribution network. These are installed at nodes 12 (200 kvar), 29 (300 kvar), 48 (200 kvar), 60 (200 kvar), and 68 (200 kvar), which summarizes a total of 100 kvar of reactive power injection in the IEEE 85-bus grid, and thus allows for a reduction of about , i.e., USD 181,871.6061.
- ii.
Solutions containing three and four capacitors show a similar reduction in the expected NPV, both installing 1000 kvar in the form of fixed-step capacitor bank compensators. For three capacitors, these were installed at nodes 12 (200 kvar), 34 (400 kvar), and 60 (400 kvar), which allowed for a reduction of about in the objective function value with respect to the benchmark case. In the case involving four capacitors, these were assigned to nodes 12 (200 kvar), 35 (200 kvar), 40 (200 kvar), and 64 (400 kvar), which allowed for a reduction in the objective function value of about with respect to the benchmark case.
- iii.
Solutions involving six shunt capacitor banks show that, for the IEEE 85-bus grid, the objective function tends towards saturation after five capacitors, given that, with six devices, the objective function starts to increase again. The reduction with six capacitors was about with respect to the benchmark case (i.e., USD 1093.0829), which is more expensive than the best solution found with five fixed-step capacitor banks. This is a significant result, as it shows that, for the IEEE 85-bus grid, after three shunt capacitors, the expected reduction in the NPV varies by less than 1%, which implies that the distribution company has a variety of reactive power compensation options to improve their NPV with similar reductions, i.e., between and .
Regarding processing times, it is worth mentioning that implementing the GNDO approach took between s and s to solve the studied problem. This is a reduced processing time considering that only the solution space associated with the nodal selection varies from 84 (for one capacitor package) to 406,481,544 (for six capacitor packages) possible nodal options. In addition, the number of capacitor options per node varies from 10 (for one capacitor package) to 1,000,000 (for six capacitor packages), which implies that the dimensions of the integer part of the MINLP model change from a few hundred to trillions of options.
6. Conclusions and Future Work
The problem regarding the optimal placement and sizing of fixed-step capacitor banks in radial and meshed distribution networks was addressed in this study by applying a master–slave optimization technique. The master stage defined the nodes and the sizes of the fixed-step capacitor banks to be installed, employing the discrete version of the GNDO approach. This discrete configuration determines the purchasing, installing, and operating costs of the fixed-step capacitor banks. The slave stage evaluated each capacitor configuration provided by the master stage in order to determine the expected costs of the energy losses for the planning period. Numerical results in the IEEE 33-bus grid with radial and meshed configurations demonstrated that:
- i.
For the radial configuration, the best solution reached by the proposed optimization approach involves two packs of capacitor banks at nodes 13 and 30 with sizes of 200, and 500 kvar, allowing for a reduction of about USD 64,937.8319 with respect to the benchmark case, i.e., a net improvement of about . When the optimal solution (two capacitor banks) was compared with the solution involving five capacitor banks, a deterioration of about was observed in the objective function, which confirmed that the increase in number of fixed-step capacitor banks installed did not necessarily improve the expected net present value of the project.
- ii.
In the case of the meshed configuration for the IEEE 33-bus grid, for only one set of capacitor banks installed at node 30, with an equivalent size of 600 kvar, the best reduction in the objective function value was found, i.e., . However, when the system was forced to install five sets of capacitors, the objective function was deteriorated by about with respect to the optimal solution. This confirmed that each distribution network topology could have a different number of capacitor banks which will allow for a better minimization of the objective function.
- iii.
Regarding processing times, it was observed that, for the radial simulation, less than 69 s were needed to solve the studied problem with a different number of capacitor banks, whereas, in the meshed configuration, less than 48 s were required. The difference between both processing times is mainly attributable to the fact that, in radial configurations, more iterations are required to ensure the power flow convergence. This is in comparison with a meshed grid structure.
A comparative analysis between the proposed master–slave approach with combinatorial and exact optimization methods in the IEEE 69-bus grid with a radial configuration and peak load conditions confirmed that the GNDO algorithm is an efficient combinatorial optimization method supported by normal distributions to solve hard MINLP models, which opens the possibility of its extension to multiple engineering problems.
Numerical simulations employing the proposed GNDO approach to locate and size D-STATCOMs in the IEEE 33- and 69-bus grids with a radial structure confirmed the effectiveness of this algorithm compared to the GA/PSO and the VSA approaches, where less processing times were required. The exact solution of the VSA approach was found by the GNDO approach in both test feeders. In contrast, the GA/PSO approach, as well as the COUENNE and BONMIN solvers of the GAMS software, exhibited a locally optimal convergence in the IEEE 33-bus grid.
The application of the proposed master–slave approach to locate and select fixed-step capacitor banks in the IEEE 85-bus grid showed that, after three reactive power compensators were installed, the objective function was reduced by less than 1%. The best solution was found when five capacitors were installed, allowing for a reduction of about with respect to the benchmark case. In addition, the solution with six reactive power compensators showed that the objective function started to deteriorate, which confirmed that the best number of shunt capacitor banks for installation is five. However, due to the large dimensions of the solution space, more research will be required to confirm or disprove these results for the IEEE 85-bus grid.
Future works derived from this research could include the following: (i) a sensitivity analysis regarding the interest rates applied to the investment returns, energy losses, and operation costs, as well as with respect to capacitor bank sizes, allowing to find better solutions for each distribution network under analysis; (ii) the inclusion of uncertainties in the demand behavior, as well as the distinction between residential, industrial, and commercial users in the studied problem, by transforming the exact MINLP model into a mixed-integer convex model; and (iii) the combination between reactive power compensators with fixed and variable injection characteristics and active power compensators, i.e., dispersed generation for planning and operation studies in distribution networks that involve the GNDO approach.