Abstract

This research proposes a modified metaheuristic optimization algorithm, named as improved stochastic fractal search (ISFS), which is formed based on the integration of the quasiopposition-based learning (QOBL) and chaotic local search (CLS) schemes into the original SFS algorithm for solving the optimal capacitor placement (OCP) in radial distribution networks (RDNs). The test problem involves the determination of the optimal number, location, and size of fixed and switched capacitors at different loading conditions so that the network total yearly cost is minimized with simultaneous fulfillment of operating constraints. Also, the hourly on/off scheduling plans of switched shunt capacitors (SCs) considering a modified cost objective function are obtained. The proposed ISFS algorithm has been tested on two IEEE 69-bus and 119-bus RDNs and a practical 152-bus RDN. For clarifying the effectiveness and validation of the ISFS, the simulated results have been compared with those of other previously utilized solution approaches in the literature as well as the original SFS. From result comparison, the proposed ISFS outperforms other previous approaches regarding solution quality and statistical performance for the compared cases, especially in the complex and large-scale networks. Notably, compared with the original SFS, the proposed ISFS shows a significantly better performance in all the tested cases.

1. Introduction

Due to the rapidly increasing load demand, the electrical distribution networks are facing excessive burdens, leading to a reduced voltage at remote load points. More seriously, the voltage drops can occur at the end of the radial distribution feeder. Another noteworthy point is that, on average, about 13% of the generated total power is wasted under losses at the distribution level [1]. Accordingly, technical solutions to preserve appropriate voltage levels along the feeder as well as to mitigate distribution losses are extremely necessary for improving power delivery efficiency.

Shunt capacitor banks (SCs) have been widely utilized to compensate for reactive power in radial distribution networks (RDNs) with intent to acquire loss reduction, to enhance the feeder voltage profile and overall power factor, and to release available feeder capacity [2]. The employment of SCs helps in reducing the reactive power demand of network which consequently decreases line current and reactive power flow. To achieve the aforementioned benefits, capacitor placement must be carefully calculated in RDNs. Considering this problem, the parameters related to the number, location, rating, and operation scheduling of SCs need to be optimally determined so that the overall costs of SCs are minimized while fulfilling all the operational constraints. Notably, when examining an RDN with m buses and n available capacitor ratings, the set of candidate solutions will be (n + 1)m, and thus evaluating (n + 1)m solutions is a challenging task, especially for a large-scale RDN. Consequently, there is always a need to search for effective optimization techniques to cope with the optimal capacitor placement (OCP) problem.

Since, in nature, the OCP is a complex combinatorial optimization problem, a huge number of optimization methods have been proposed to solve it. Based on the literature, optimization methods utilized to cope with the problem can be classified into four main groups including analytical, numerical programming, heuristic, and metaheuristic-based optimization methods [3]. Recently, many researchers have tried to employ metaheuristic-based methods for finding the optimal location and rating of SCs such as particle swarm optimization (PSO) algorithm [4, 5]; genetic algorithm (GA) [6, 7]; plant growth algorithm (PGA) [1]; firefly algorithm (FFA) [8]; harmony search algorithm (HAS) [9]; tabu search (TS) [10]; evolutionary algorithm (EA) [11]; teaching learning-based optimization (TLBO) [12]; bacterial foraging algorithm (BFA) [13]; gravitational search algorithm (GSA) [14]; artificial bee colony algorithm (ABC) [15]; cuckoo search optimization algorithm (CSA) [16]; ant-colony optimization algorithm (ACO) [17]; flower pollination algorithm (FPA) [18]; improved harmony algorithm (IHA) [19]; Limaçon inspired spider monkey optimization algorithm (LSMO) [20]; spring search algorithm (SSA) [21]; grasshopper optimization algorithm (GOA) [22]; improved variablesʼ inclusion and interchange algorithm (IVII) [23]; crow search algorithm (CRS) [24]; modified Gbest-guided artificial bee colony (MGABC) [25]; and fuzzy heuristic-based methods [2628]. The common point in metaheuristic-based techniques is the use of stochastic rules to inquire about the search space, and thus they are capable of local minima avoidance. As a result, these techniques can solve the problem more effectively when compared to traditional search methods which require convexity, differentiability, and continuity of the designed problem. However, for complex large-scale instances, metaheuristic-based techniques may reveal some major drawbacks such as not being able to find an optimal solution and suffering from long computational time if they are not modified with an effective searching mechanism.

The integration of SCs into RDNs will accomplish many benefits if the number, location, and rating of SCs are optimally assigned. Previous research attempts in the literature had been made to acquire these benefits by optimal SC allocation for minimizing power losses [7, 913, 18, 20]; minimizing total cost [1, 8, 10, 11, 14, 1618, 29]; maximizing annual net saving [26]; and enhancing network voltage stability [14, 28]. These objectives can be formulated as a single-objective function [710, 14, 16, 27, 29, 30] or as a multiobjective framework [5, 6, 1013, 17, 18, 26, 28, 31]. As realized from the literature, most relevant studies just considered with a predetermined number of SCs for investigations without proposing a specific strategy for determining the optimal number of SCs. Although the penetration of the number of the assumed capacitors may lead to improved network overall performance as revealed in previous reports, the final outcomes may not be optimum. Taking this into account, we have proposed a newly effective scheme for seeking the optimal number of SCs so that the total annual cost is minimized.

Also, it is worth to mention that most of the previous studies examined the OCP under peak loading condition only without including daily continuous load variations, causing undesirable voltage violation at some network buses, particularly for light load levels. In addition, the occurrence of reverse power flow in some situations may result in increased power losses [16, 32]. Besides, only were a few studies in the literature concerned about the switched SCs for optimal placement and scheduling [7, 16, 17, 19, 25, 26, 28, 30], while most previous studies considered the OCP with fixed SCs only [1, 6, 1014, 18, 20, 31]. Selecting capacitors based on fixed reactive power demand only is not suitable for practical and economic viewpoint for which the continuous variation in load demand leads to network voltage change, resulting in reactive power demand change. The proper installation of fixed and switched SCs helps to encumber unwanted voltage violations and achieve daily network loss minimization.

Another important aspect besides the allocation of SCs is that on/off scheduling scheme of switched SCs according to daily load cycles. However, just a handful of studies in the literature discuss this scheduling scenario [22, 33]. Furthermore, the mentioned research studies solved daily switched SCs on/off scheduling scenarios with the aim of power loss minimization. But in our work, a modified annual cost objective function is introduced for the optimal dispatching schedule of switched SCs considering a practical 24 h load profile. In order to deal with the aforementioned crucial issues, it is imperative to search for a novel powerful optimization algorithm. Stochastic fractal search (SFS) developed by Salimi [34] behaves as a promising robust algorithm, which is modeled based on the growing phenomena of nature by applying the fractal theory. In comparison with other metaheuristic-based algorithms, its original version provided a better searching performance [34]. Nevertheless, due to the stochastic nature of the metaheuristic-based algorithm including SFS, they suffer from premature convergence and local minima problems. It is well known from the literature that the quasiopposition-based learning (QOBL) can be considered as an effective solution to be integrated into original metaheuristic algorithms with the aim of avoiding the situation of local minima. The outstanding instances are the combination of QOBL with DE [35], HS [36], TLBO [37], GWO [38], SIMBO-Q [39], SOS [40], and antlion optimizer (ALO) [41]. Thanks to the QOBL scheme, the capability of the algorithm is enhanced to probe more promising search regions, leading to a higher possibility to obtain a better outcome. Another effective strategy in addition to the QOBL, namely, chaotic local search (CLS), can be applied to prevent being trapped at local minima. This incorporated strategy helps to locally probe the neighborhood of “current best outcome,” which provides better exploitation of the search space. Different CLS patterns had been incorporated in ALO [41], DE [4244], HS [45], PSO [4648], ABC [49], and TLBO [50].

Motivated by the successful application of previous studies to the mentioned strategies, the current research integrated both QOBL and CLS strategies into the framework of the original SFS with intent to enhance computing performance. This modified version is nominated as an improved SFS (ISFS) method. The ISFS employs QOBL for the purpose of group initialization and generation jumping, whereas CLS deals with the current best group. Pertaining to the efficient and feasibility assessment of the proposed ISFS, we adopted it to the poorly-researched issues of OCP. Specifically, the proposed ISFS algorithm was applied to determine the optimal number, location, size and on/off scheduling plan of SCs with the purpose of total annual cost minimization according to daily load demand variations in the 69-, 119-, and 152-bus RDNs. We also applied its original counterpart to solve the problem for comparative purposes.

Our current research contains some highlighted contributions as follows:(1)An improved metaheuristic algorithm (ISFS) is proposed for enhancing the performance and solution quality of the OCP problem.(2)A modified cost objective function is utilized to deal with switched SCs on/off scheduling scenarios considering a practical 24 h load profile.(3)A newly effective framework for determining the optimal quantity of SCs to achieve total annual cost minimization by using the proposed ISFS is represented. More specifically, the outcome by this procedure is the inclusion of the optimum quantity, location and rating of SCs as compared to only optimum location, and rating of SCs from the previously published research studies.(4)A novel initialization process based on only a few adjustments in the original solution algorithm is applied for treating practical discrete capacitor sizes.(5)The proposed ISFS contributes to remarkably improve the solution quality of the OCP problem for the tested instances based on the comparison of the obtained best results and the reported best-so-far results in the literature.

The rest of the paper is arranged as follows. Section 2 presents the mathematical models of the OCP problem. The formation of the proposed technique is described in detail in Section 3. Next, Section 4 introduces the implementation of the proposed ISFS to the OCP problem. Numerical results and discussion are reported in Section 5. Finally, the conclusion is disclosed in Section 6.

2. Mathematical Problem Formulation

The OCP is a constrained nonlinear optimization problem and mathematically stated as follows:in which denotes the objective function which needs to be minimized (i.e., total annual cost); the term Penalties is to penalize solutions violating constraints; and are, respectively, the set of equality and inequality constraints; x stands for the vector of state variables (i.e., voltage and line power flows); and represents the vector of control variables (i.e., reactive power of SCs).

2.1. Objective Function

(1)Conventional cost function:(2)Modified cost function:where , , , and are, respectively, the costs for average energy loss per kWh, capacitor installation, capacitor purchase per kVAr, and relevant operation. In this work, these parameters are, respectively, chosen to be 0.06 $/kWh, 1000 $/location, 3 $/kVAr, and 300 $/year/location. Also, T and Ti are, respectively, the total investigation time within a year (T = 8760 hours) and the investigation time in a year of the ith time of a day (hours/year) in which the values of Ti are given in Table 1 [51]; D is the factor of depreciation; nSC is the considered number of capacitors; and QSC, i indicates the discrete size of capacitor at the ith bus.

2.2. Power Flow Formulation

The study aims to estimate the optimal location and size of SCs in an RDN so that the total annual cost is minimized. Figure 1 illustrates the single-line diagram of a simple radial distribution feeder. Mathematical equations for computing power flow are defined as follows [52]:where Pi and Qi are, respectively, the active and reactive power flowing out of bus i; PDi+1 and QDi+1 are the active and reactive power demands at bus i + 1, respectively; Ri,i+1 and Xi,i+1 are the resistance and reactance of the distribution line section connected between bus i and bus i + 1; and is voltage magnitude of bus i. If the active and reactive power balance equations in equations (4) and (5) are fulfilled, the convergence of power flow will occur. Also, voltage magnitudes at sending and receiving end buses must fulfill equation (6). Newton–Raphson iterative algorithm embedded in Matpower software tool [53] was applied for the computation of power flow. The active power loss (Pl) in the line section connected between bus i and bus i + 1 may be stated as follows:

The total active power loss of the network (Ploss) may be computed by summing up the losses of all the lines as follows:

If a SC which has a size of QSC is connected to bus i, the inductive load in that bus changes from QD,i to (QD,iQsc,i).

2.3. Constraints
2.3.1. Bus Voltage Constraint

where Vi,min and Vi,max are the lower and upper limits of the voltage magnitude at the ith bus and n is the total number of buses of the network.

2.3.2. Line Current Constraint

where Ik represents the current in the kth line and is the maximum loading of the kth line.

2.3.3. Shunt Capacitor Rating Constraint

where and are the minimum and maximum reactive power limits, respectively, of SC at the ith bus.

2.3.4. Total Compensation Constraint

where nl is the number of load buses of the network.

2.3.5. System Power Factor Constraint

where PFoverall is the network overall power factor and PFmin and PFmax are the lower and upper limits of the network power factor, respectively.

3. Formation of Proposed Technique

3.1. Overview of SFS

Stochastic fractal search (SFS) is a relatively new metaheuristic optimization algorithm, which is inspired by the growing phenomenon of nature [34]. It uses the mathematical idea of well-known fractal theory for imitating this phenomenon. Like other population-based algorithms, SFS adopts a group of searching points, which is randomly initialized into the search region, for seeking the optimum solution. An X matrix defined as in equation (14) represents the searching group. Each point is referred to as a candidate solution to the designed optimization problem and involves a specific fitness value. New points are created by performing two phases, i.e., diffusion and update phases. New points are assessed, in each phase, and updated according to their fitness function values. In addition, the best point in the group is also determined after the execution per phase. The searching phases of SFS can be generally described as follows:where D is the dimension of the designed problem and NP is the number of points in the group.

3.1.1. Diffusion Phase

To improve the probability of achieving the global optimum and avoid being trapped in local optima, each point is forced to diffuse into its vicinity. For creating new points, the diffusion process can be mathematically modeled with the application of the Gaussian distribution as the two following equations:where W is optional factor helping to choose the Gaussian walks for solving the problem; is the newly amended location of Xi at the dth diffusion; Xi and Xbest correspond to the locations of the point Xi and the best point in the group; and are the random numbers belonging to [0, 1]; are parameters related to the Gaussian distribution, in which ; and the standard deviation can be computed aswhere indicates the generation number.

3.1.2. Updating Phase

The SFS uses two statistical procedures for the updating phase. The first statistical procedure impacts on each point vector index while the influence of the second one is on all points.(1)The first statistical procedure: first, all points are ranked by using the following equation:where rank (Xi) manifests the rank of the searching point Xi in the group. Considering each point Xi, the jth component of Xi is only updated according to equation (18), if the term Pai <  () is met. Otherwise, no action is taken.where implies the newly amended location of Xi and Xj and Xh are points randomly picked in the group.(2)The second statistical procedure: ranking all points from the first procedure according to equation (17) is firstly made. The term Pai <  is then checked. If the term is met, the present location of will be updated based on equation (19). Otherwise, there will be no update on .where points out the newly amended location of and are points randomly picked among the points from the first procedure. Obviously, will be replaced by , if its fitness value is better.

3.2. Quasiopposition-Based Learning (QOBL)

The theory of opposition-based learning (OBL) was first proposed for machine intelligence by Tizhoosh in 2005 [54]. Three years later, Rahnamayan et al. [55] successfully applied this theory to the differential evolution algorithm, which became an important prerequisite for further research studies on improving the performance of soft computing techniques, specifically in computation efficient and convergence speed. The strategy of OBL is to consider simultaneously existing guess and its opposite guess so that a better approximation for an existing candidate solution can be achieved. The study in [56] proved that a candidate solution with an OBL scheme has a better chance of being closer to the global optimum than that with random a scheme. Furthermore, the theory of OBL has been further extended to QOBL [57], which exposes that a quasiopposite point is more likely to be closer to the global optimum than an opposite point. So, QOBL is more capable of improving the convergence speed. Notably, in very recent research studies, QOBL has been utilized to enhance the performance of different metaheuristic algorithms such as quasioppositional chaotic grey wolf optimizer (QOCGWO) [58] and quasioppositional chaotic symbiotic organism search (QOCSOS) [59].

Some mathematical definitions utilized in QOBL can be described as follows.

3.2.1. Opposite Number and Opposite Point

Let be a real number in a one-dimensional space, and then its opposite number ro is defined by equation (20). Similarly, let R = (r1, r2, …, rm) be a point in a m-dimension space, where and . Its opposite point may be defined by equation (21):

3.2.2. Quasiopposite Number and Quasiopposite Point

The quasiopposite number rqo defined as the number between the center of the search space c and the opposite number ro can be determined by equation (22). In the case of m-dimension space, the quasiopposite point , where and , is expressed by equation (23).

3.3. Implementation of QOBL

According to our literature survey, QOBL has been commonly utilized to improve the overall performance of population-based metaheuristic search algorithms in two aspects, namely, population initialization and generation jumping. Regarding population initialization, the initial group with NP points is randomly generated within the search space. Afterward, quasiopposite group Rqo is obtained using equation (23), and the NP fittest points are selected as the initial group from the union of X and Rqo. Following the evolutionary process of the algorithm, a new candidate solution with a better fitness value can be acquired thanks to QOBL-based generation jumping. The QOBL-based generation jumping is related to a parameter jr (named as jumping rate), which determines whether to retain an existing candidate solution or jump over to a quasiopposite solution.

The initialization of quasiopposite group is illustrated by the pseudocode in Algorithm 1.

(1)for i = 1: NP
(2)  for j = 1: D
(3)    ; % is opposite point of Xi,j
(4)    ;
(5)    if
(6)     ; % is quasiopposite point of Xi,j
(7)    else
(8)     ;
(9)    end if
(10)  end for
(11)end for
3.4. Chaotic Local Search

In this study, the CLS strategy has been further applied to the current best group of the proposed ISFS with the intent to explore the region around the current best solutions. The chaotic variables obtained by logistic map can be mapped back to the search space using the following equation:where is the newly generated point at the (i + 1)th iteration; Xbest is the best point of the proposed ISFS; cui+1 is a chaotic number between 0 and 1 at (i + 1)th iteration; and Xj and Xk are two points randomly picked up from the existing best group. Notably, the initial value of the chaotic variable is assigned by using a random function rand (0, 1) as suggested by Xiang et al. [60]. In each iteration of CLS, the fitness value is computed for the new point , and it is updated only if it offers better fitness than the current best point. The stopping condition of CLS occurs when the K limit is reached.

There are many categories of chaotic maps reported in the literature [42, 4648]. In the current research, we have adopted the well-known logistic map to generate a chaotic number in CLS. The mathematical formula of the logistic map is described as follows:where . The parameter in equation (25) helps to control the behavior of the logistic map as simulated in Figure 2. Observing Figure 2, at the value , the logistic function reveals overall chaotic behavior and so we have chosen this value for the parameter . Generation of chaotic numbers via the logistic map is depicted in Figure 3.

3.5. Proposed ISFS

To establish the proposed ISFS algorithm, two strategies, namely, QOBL and CLS, are integrated into the structure of the original SFS algorithm. Pertaining to the search process, ISFS adopts a randomly generated group of points X. Then, the quasiopposite points of the initial group are produced using the QOBL strategies. The NP of best points with corresponding best fitness values is elected from the union of X and as an initial group. Next, the two iterative procedures of diffusing and updating of the SFS algorithm are performed. Afterward, the QOBL strategy is applied again based on the jumping probability jr. Finally, the CLS is activated to acquire the best point. The process repeats until the maximum number of generations is reached (Algorithm 2).

(1)Define control parameters (D, NP, max_iter, MDN, jr, K);
(2)Initialize uniformly distributed random group X;
 % %
(3)Execute Algorithm 1 to acquire quasiopposite group ;
(4)Compute fitness value for the combined group Xc = ;
(5)Elect NP fittest points from Xc as initial group;
(6)Set the iteration counter iter = 1;
(7)while (iter < max_ter)
% %
(8)for i = 1: NP
(9)  for j = 1: MDN
(10)   New point is created via the Gaussian walk using equation (15);
(11) end for
(12) Compute fitness value for ;
(13) Update if its fitness is better;
(14)end for
(15)Identify Xbest; % Xbest is the best point of group;
% %
(16)Rank all the points;
(17)Assign each point with a probability of ;
(18)for i = 1: NP
(19)  for j = 1: size (Xinew, 2)
(20)   if rand (0, 1) > 
(21)    Calculate new point according to equation (18);
(22)   else
(23)    Do nothing
(24)   end if
(25)  end for
(26)end for
(27)Compute fitness value for ;
(28)Update if its fitness value is better;
(29)Update Xbest;
% %
(30)Rank all the points from the first process;
(31) Assign each point with a probability of ;
(32)for i = 1: NP
(33)  if rand (0, 1) > 
(34)   Calculate new point using equation (19);
(35)   Compute fitness value for ;
(36)   Update if its fitness value is better;
(37)  else
(38)   Do nothing;
(39)  end if
(40)end for
(41)Update Xbest;
% %
(42)   if rand (0, 1) < jr
(43)    Execute QOBL using Algorithm 1 to acquire Rqo;
(44)    Compute fitness value for ;
(45)    Elect NP fittest points from the union as a current group;
(46)    Identify Xbest;
(47)   end if
% %
(48)Randomly initialize chaotic variable cu0 = rand (0, 1);
(49)for i = 1: K
(50) Calculate cui+1 based on logistic map using equation (25);
(51) Select two random points from current group;
(52) Compute new point using equation (24);
(53) Compute fitness value for ;
(54) Update it its fitness is better;
(55)end for
(56)iter = iter + 1;
(57)end while

4. Implementation of ISFS to OCP Problem

In this research, the proposed ISFS has been applied to the OCP problem solving in two different scenarios. Specifically, in scenario I, we have investigated the problem with a traditional cost objective function like most previous studies to make a performance comparison analysis. Meanwhile, for the proposed scenario II, a modified cost objective function considering a practical 24-hour load profile has been adopted for investigations.

4.1. Initialization of Search Group

A group of NP points is represented by a matrix , in which each point Xd (d = 1, …, NP) represents a solution vector of variables of locations and sizes of SCs. Considering the OCP problem, solution vectors for scenarios I and II are formulated as in equations (26) and (27), respectively.where nSiC denotes the number of the switched SCs previously determined in scenario I and l implies the number of load levels in a representative day as presented in Table 1. It is noted that the dimension of the solution vector Xd for examining scenario II will be defined as the product of nSiC and l.

In the ISFS, each point of the group is randomly initialized. The solution for the number of buses (loSC,i) is initialized using equation (28).

To treat the actual discrete capacitor size (QSC,i), we have proposed a new initialization process as follows: considering the actual discrete size of capacitor belongs to the range with an increase step of . Therefore, the dimension of vector containing the discrete size values will be . Firstly, we sort the discrete size values in ascending order and then we number the arranged discrete sizes from IndCmin to IndCmax, which corresponds to a range of values from 1 to Nmax. Clearly, each component of discrete size vector can be determined via an index IndSC. For ensuring randomization in the initialization process of discrete size variable, equation (31) below must be applied. After initialization with equation (31), equation (32) can be used for estimating the actual discrete capacitor size values (QSC,i). A group of relevant mathematical equations can be listed as follows:where rand1 indicates a uniformly distributed random number belonging to [0, 1]; IndSC,i is an index representing the discrete size of the ith capacitor; and IndSCmin,i and IndSCmax,i are, respectively, the lower and upper limits of the index that deputizes the available discrete size value of the ith capacitor.

4.2. Fitness Function Formulation

For scenario I, each point in the initialized group is evaluated by using a fitness function as defined in equation (33a); meanwhile, equation (33b) is utilized to evaluate the points of the group when considering scenario II.in whichwhere Cost and MC are, respectively, the traditional and modified cost objective functions and Penalties is the penalty function that is burdened to the objective function with purpose to prevent a search point from the infeasible solution region. Consequently, the optimal solution is established when there are no constraints violated and the objective function is minimized. The terms , , , and are, respectively, penalty factors for bus voltages, system overall power factor, branch currents, and SC penetration. In this study, we set the penalty factors at 106 based on the repeated trials.

In order to calculate the fitness value of each point, the solutions of the power flow problem are needed, and therefore Matpower toolbox 6.0 [53] is applied for the power flow problem.

4.3. Overall Procedure

The flowchart of the proposed ISFS algorithm for dealing with the OCP problem is provided in Figure 4.

4.4. Scheme for Daily Operation Scheduling of Switched Capacitor

The continuous variation of load demand causes a change in bus voltage, leading to a change in reactive power demand, and thus the solution of fixed reactive compensation cannot meet this situation. Compensating variable reactive power demand according to the daily load variation can be implemented by employing switched capacitors. A suitable choice of fixed and switched SCs enables us to prevent unwanted voltage values and to mitigate the daily network losses. In contrast, an inappropriate dispatching plan of switched capacitors after the variation of load demand may result in power loss increase and voltage limit violation. For economic analysis, the network might suffer from significant energy loss costs due to increased power losses. Thus, with the available load forecast data for the next 24-hour cycle, the on/off operations at each hour of the following day can be estimated in anticipation of keeping power losses at the lowest possible level so that the minimum energy loss costs are achieved. In this scenario, we proposed a modified cost function for investigating the on/off scheduling plans of switched SCs with a practical 24-hour load profile. Our proposed cost function includes the annual energy loss cost, in which load level duration data as well as the installation, operation, and maintenance costs of SCs are provided in Table 1. The variation of load demand within a 24-hour cycle is illustrated in Figure 5. The scheme for the daily on/off scheduling of the switched SCs is described in Algorithm 3.

(1)Determine the optimum sites and sizes of the fixed and switched SCs by applying the proposed method for each of three loading levels: 50, 75, and 100% of the base peak loads. The obtained sites of the switched SCs are used for the following analysis;
(2)Read the load profiles from the forecasted data of the 24-hour load demand. Table 1 provides the detailed data of the forecasted load demand;
(3)Perform a 24-hour load flow analysis by using the proposed load flow technique to compute the total annual cost for the uncompensated case;
(4)Randomly initialize the switched SCs discrete sizes at the respective sites obtained from Step 1 by using equations (27) and (29)–(32);
(5)Compute the fitness value for each candidate solution using equation (33b) and determine the fittest solution based on their fitness values;
(6)while (iter < max_iter)
(7)    Execute the diffusion process for new candidate solutions creation. Compute fitness value for new solutions by using equation (33b) and update the best solution;
(8)    Execute the first update procedure. Compute fitness values by using equation (33b) and update the best solution;
(9)    Execute the second update procedure. Compute fitness values by using equation (33b) and update the best solution;
(10)    if rand () < jr
(11)    Create the new solutions based on the QOBL strategy in Algorithm 1;
(12)    Compute fitness values by using equation (33b) and update the best solution;
(13)   end if
(14)  Execute the CLS strategy to acquire the best solution;
(15)  iter = iter + 1;
(16)end while
(17)The optimum on/off operations of the switched SCs according to variable load demand with intent to total annual cost minimization are achieved by the proposed ISFS.

5. Numerical Results and Discussion

The performance of the proposed ISFS algorithm was tested on three IEEE benchmark RDNs including one medium-scale 69-bus network and two large-scale 119- and 152-bus networks with two examined scenarios. To evaluate the effectiveness of the proposed ISFS algorithm, we also applied the original SFS algorithm to solve the OCP problem for result comparison. For each test scenario, both SFS and ISFS were run for 50 independent trials to obtain the best outcome. The proposed method was implemented on MATLAB R2016a platform installed on an Intel core i5-3337U, 1.80 GHz processor, and 8 GB RAM.

To assess the computing performance of the different algorithms, we propose a new index named as enhancement index—EI (%)—for estimating the improvement level of the best solution reported from a new algorithm as compared with the best solution found so far (best-so-far).where BSF ($/year) is the best-so-far cost reported and BC ($/year) is the best cost obtained by other algorithms.

5.1. Assumptions, Control Parameters, and Constraints

This study considers some assumptions for tackling the OCP as follows.

The test RDN is examined under balance operating conditions. Constant active and reactive load model is used for investigations. We neglect the effect of harmonics on the test network.

Regarding the parameter setting, the SFS has three main parameters, namely, the number of points NP; the maximum number of generations max_iter; and the maximum number of diffusions MDN as well as one additional parameter W that needs to be predetermined. They can be fixed depending on the complexity of the designed problems. More specifically, the information for the setting of parameters for the SFS and the inequality constraints setting for the OCP problem are given in Table 2. Besides the mentioned algorithm parameters, the proposed ISFS algorithm has two more parameters related to the integrated enhancement tools, including jumping rate jr and local search limit K. They also need to be estimated in advance for the ISFS.

Notably, jr is known as an important parameter, controlling the convergence speed of ISFS. With a higher value of jr chosen, it provokes the algorithm to jump to a new outcome at a faster speed, thus causing premature convergence situation. Realizing this, a trial on the 119-bus network with the location and size examination of the fixed number of SCs of 9 was conducted with the intent to obtain a proper jr value. For this experiment, we first fixed K at 1 and then varied jr from 0.1 to 0.9 with a step of 0.1. The ISFS was run for 50 independent trials for each jr value. Figure 6 reveals mean fitness and standard deviation values for all 50 trials. Clearly, the proposed ISFS settled at the lowest mean fitness value at jr = 0.3 with the smallest standard deviation. Thus, the jumping rate jr was set at 0.3 for all the test scenarios of the paper.

For the next experiment, we also utilized the tested case in the 119-bus network for selecting the value of the parameter K. Similarly, the parameter jr remained fixed at 0.3 and the value of K was varied from 2 to 30 for step 2. We experimented with the ISFS by solving the test case for each value of K for 50 separate trials. Mean fitness and standard deviation results for all 50 trials are shown in Figure 7. From the figure, it is observed that the ISFS is capable of finding the minimum mean fitness value at five different K values, i.e., K = 10, 16, 20, 26, 30. However, K = 20 results in obtaining the smallest standard deviation. Therefore, we set K at 20 for all investigations in this study.

5.2. IEEE 69-Bus Network

The first test network is a medium-scale standard 69-bus RDN including 69 buses and 68 branches with data given in [61]. This network is operated at a rated voltage level of 12.66 kV with 100 MVA base. It provides a total load demand of 3.8 MW and 2.69 MVAr. Before SC placement, the network suffers from a total loss of 225 kW and 102.16 kVAr at 100% loading.

5.2.1. Scenario 1: Traditional Cost Objective Function

Once the OCP problem is examined, a controversial issue is that how many SCs connected will achieve an optimal level of penetration pertaining to reactive compensation, meaning that this penetration will lead to a minimum total annual cost while satisfying all relevant constraints. This has not been well addressed in previous studies when the considered number of SCs is often assumed for test networks.

Our study has conducted an extensive experiment to cope with this issue. By implementing the experiment for this test instance, the change in the percentage of annual cost saving induced by the different SC numbers as well as the corresponding penetration level of these SC numbers is shown in Figure 8 with the aid of the ISFS optimization algorithm. From Figure 8, it can be observed that the connection of two SCs with a total size of 1.4 MVAr results in the highest percentage of saving corresponding to the minimum total cost as compared to the different numbers of SC connection. Thus, only 2 SC placements have been considered for the 69-bus network.

The optimal placements and reactive powers of SCs along with the network performance indexes at different load levels acquired by the ISFS are provided and compared with IHA [19] as shown in Table 3. Fixed and switched capacitors’ ratings and placements according to load demand variation are given in Table 3 as well. It can be observed from the table that in the 100% load level, the ISFS suggests the optimal set of buses for SC installation is {20, 61} and the corresponding optimal sizes of SCs on these buses are {250, 1150} kVAr. Notably, the proposed ISFS algorithm nominates the IHA [19] algorithm in terms of computational performance at all test load levels due to the gain of lower annual costs.

The obtained numerical results pertaining to the optimal number of SCs by employing the proposed ISFS algorithm are provided in Table 4, and they are compared with other well-established optimization algorithms such as fuzzy GA [26], DE [11], FA [8], PSO [4], heuristic method (HM) [62], IHA [19], DSA [29], TLBO [12], and SFS for proving its effectiveness and robustness. It can be seen from Table 4 that in the 100% loading case, before optimal compensation, the network has a total active power loss of 225.0006 kW, a minimum bus voltage of 0.9092 p.u. at bus number 65, and network overall power factor of 0.821 lagging. For cost analysis, total active power loss causes an annual energy loss cost of $118,260.3. After SC placement by the proposed ISFS method, the power loss is reduced to 147.7621 kW, the minimum voltage is enhanced to 0.9289 p.u., and the network overall power factor is corrected to 0.9453 lagging. Besides, the total annual cost including SC installation, operation, and maintenance costs declines to $85,903.75. So, the net saving for this case is $32,356.5, i.e., 27.3% yearly economic benefit can be accomplished by reactive power compensation. Although yearly cost objective values yielded by the proposed ISFS and original SFS methods are the same, the ISFS requires fewer number of iterations than the SFS to achieve this solution, as illustrated in Figure 9. Clearly, ISFS shows a faster convergence speed as compared to SFS in this case. Furthermore, most performance statistics obtained from ISFS are better than those from SFS, except for the average execution time. The average execution time of ISFS is longer than that of SFS due to the time for the extensive search process of integrated enhancement strategies. However, this reported time is the time for the entire search procedure, i.e., execution time for all the predefined loops for a comparative analysis. Indeed, ISFS finds the optimal solution with much fewer iterations than SFS; thus, its time to reach the best solution is faster than that of SFS.

Regarding performance comparison, the ISFS yields the best yearly cost of $85903.75, which is the lowest cost among the previously reported costs from fuzzy GA [26] ($92,179.5), DE [11] ($89,913.4), FA [8] ($86,210), PSO [4] ($90,108.5), HM [62] ($88,901.1), IHA [19] ($86,122.1), DSA [29] ($88,123.2), and TLBO [12] ($87,781.56). For further analysis, we utilized an EI to evaluate the improvement level of the reported best solutions from the different methods in comparison with the best-so-far solution. In this case, the best-so-far solution is provided by the authors in [19] using the IHA. As seen from Table 4, only our two ISFS and SFS algorithms receive the EIs with positive values, whereas the remaining algorithms get the negative EIs. This means that the final solutions obtained by ISFS and SFS are better than the best-so-far solution from the IHA. A schematic view of the comparison of the minimum annual costs obtained by different algorithms is demonstrated in Figure 10. Notably, the proposed ISFS algorithm is more robust than the IHA due to the gain of smaller standard deviation and faster average CPU time. Moreover, after SC allocation, the voltage profiles at buses are significantly improved as shown in Figure 11. Finally, Figure 12 portrays the current change in lines before and after compensation. From Figure 12, it is realized that the current magnitude on most lines is mitigated because of reactive power injection.

5.2.2. Scenario 2: Modified Cost Objective Function

To deal with scenario 2, the obtained locations of switched SCs in scenario 1 are retained and the corresponding sizes of these switched SCs according to the load variations are determined by implementing the proposed ISFS algorithm. Considering scenario 2 in the 69-bus RDN, there are two switched capacitor locations at buses 20 and 61 yielded by the previous scenario. The simulation results of the on/off scheduling of these switched SCs with the 24-hour load variation taking into account achieved by the ISFS and SFS methods are presented in Table 5. It is seen that the ISFS’s optimum outcome is to install two fixed SCs at buses 20 and 61 with respective sizes of 50 and 500 kVAr for compensating the reactive demand of the base loads. Also, the switched SCs at the same buses having respective sizes of 250 and 550 kVAr with a step of 50 kVAr are connected to compensate for the variable reactive power demand of the load.

With the optimal compensation solution by the ISFS, the total annual cost of the network has been reduced from $164,792.27 to $119,263.96, leading to a saving percentage of 27.62%, which is higher than a value of 27.16% from the SFS. In addition, Figure 13 portrays the convergence trajectories of the ISFS and SFS methods for test scenario 2. It is quite obvious from Figure 13 that the ISFS performs better than the SFS regarding search quality and convergence speed. Moreover, the comparison of network performances related to minimum bus voltage and line power loss before and after compensation with daily load variations is demonstrated in Figures 14 and 15, respectively. From these figures, it is clear that after optimal compensation, the overall performances of the network are significantly improved, especially in the case compensated by ISFS.

5.3. IEEE 119-Bus Network

The second test network is the standard IEEE large-scale RDN having 119 buses and 118 branches. This network supplies for active and reactive power demands of 22.709 MW and 17.041 MVAr, respectively, at the base values of 100 MVA and 11 kV. It is observed that before compensation, the network active and reactive power losses are, respectively, 1298.091 kW and 978.736 kVAr. The load and line data of the test network are provided in [63].

5.3.1. Scenario 1: Traditional Cost Objective Function

For determination of the optimum number of SCs in the 100% load level, the simulation results relating to the impact of different SC numbers on the percentage in cost saving are represented in Figure 16. As observed from the figure, there are two trends for variations in the percentage of cost saving with the number of SCs increasing from 1 to 17. Specifically, an increase in the saving percentage is observed with the SC number from 1 to 13; however, when the number of SCs is changed from 14 to 17, a downward trend in the saving percentage occurs. Obviously, the highest saving percentage is achieved at the number of 13 SCs. In other words, 13 SC placements result in the lowest total yearly cost as compared to the remaining number of SCs. Hence, the number of 13 SCs are chosen for the 119-bus network.

Table 6 provides the obtained results of the optimum number, locations, and sizes of SCs for different loading conditions by the proposed ISFS and the result comparisons with the other metaheuristic optimization algorithms. The relevant information on fixed and switched SCs is also given in Table 6. Based on the result comparisons, it can be seen that in all tested load levels, the ISFS acquires significantly lower annual cost objective values than other metaheuristic algorithms, showing the superior searching performance of ISFS. Moreover, the optimum parameters of SCs for the 100% loading level obtained by the ISFS and other algorithms can be found in Table 7. Specifically, the ISFS suggests candidate buses for 13 SC placements including {70, 32, 54, 74, 111, 50, 59, 107, 24, 80, 109, 96, 42} with respective ratings {700, 850, 450, 950, 1350, 1500, 450, 800, 400, 1200, 300, 850, 550} kVAr.

For further analysis on the performance of ISFS, the simulated results for the connection cases of the fixed and optimal SCs numbers to the 119-bus network, in the full load level, are tabulated and compared with the previously reported optimization algorithms such as ABC [15], APSO [5], CSA [16], HSA [9], IHA [19], FPA [18], MGABC [25], and the original SFS, as shown in Table 8. As realized from the table that in the test case of the fixed number of 9 SCs, the ISFS results in a significant improvement of network performance after SCs connection. Compared with other algorithms, the final solution by ISFS is appreciably better. It is worth mentioning that with the connection of the optimal SCs number, the performance of the network is even better improved as compared to the fixed number of SCs. Particularly, after compensation by the optimal number of 13 SCs with the help of ISFS, the network losses are reduced from 1298.09 kW to 812.5046 kW, overall power factor is enhanced from 0.7998 to 0.9550, minimum bus voltage is increased from 0.869 p.u. to 0.9076 p.u. and the total annual cost is mitigated from $682,276.104 to $486,862.4 corresponding to the saving percentage of 28.64%, which is the highest among the compared results.

The comparison of the minimum total annual costs achieved by other solution methods is depicted in Figure 17. In addition, the final solutions for the test cases obtained by both the ISFS and SFS involve positive EIs, proving that the solution quality yielded by the ISFS and SFS is better than that of IHA [19], which is related to the best solution reported so far for the network. Meanwhile, the remaining algorithms do not contribute to improving the solution to the test network because the negative EIs are obtained. Notably, the EIs of solutions by ISFS are higher than those by SFS in both test cases, which means that the ISFS acquires the solutions with better quality. Moreover, the statistical results after 50 runs of the ISFS and SFS for the test cases comprising of the average cost, best cost, worst cost, variance, standard deviation, and average CPU time are presented and compared with those of ABC [15], CSA [16], and IHA [19] as shown in Table 8. In comparison with IHA [19] in the 9 SCs case, although the average execution time of both ISFS and SFS is longer, the best cost and standard deviation obtained by them are remarkably lower. Also, to achieve a desirable penetration of SCs, the ABC [15] and CSA [16] require longer average execution time than the ISFS and SFS. Furthermore, the convergence characteristics of the ISFS and SFS algorithms for the determination of locations and ratings of the optimal SCs number for the 119-bus network are also depicted in Figure 18. From the figure, it is clear that the ISFS has effective search mechanisms that help to better explore promising search regions and to approach the optimal solution in the last iterations; meanwhile, the SFS’s search mechanisms seem to be ineffective in this case because the obtained final solution can be further improved. Another noteworthy impact on network performance is that with the presence of the optimal SC number, the bus voltage profile and the current magnitude of lines in the network are significantly improved as shown in Figures 19 and 20, respectively.

5.3.2. Scenario 2: Modified Cost Objective Function

In this scenario, the optimal placements of the switched SCs found in scenario 1, namely, in buses {70, 32, 54, 74, 111, 50, 59, 107, 24, 80, 109, 96, 42}, are used for investigating the modified cost objective function. The on/off scheduling schemes of the switched SCs for the 119-bus network with practical 24-hour load pattern given in Tables 9 and 10 are optimized by using the SFS and ISFS algorithms, respectively. To meet the daily load variation, the ISFS offers a solution considering the installation of fixed SCs at buses {70, 54, 74, 111, 50, 59, 107, 24, 80, 109, 96, 42} with the corresponding sizes of {350, 150, 400, 300, 250, 100, 200, 100, 300, 200, 50, 150} kVAr for base load as well as the optimal locations and sizes of switched SCs of {70, 32, 54, 74, 111, 50, 59, 107, 24, 80, 109, 96, 42} and{600, 900, 800, 500, 900, 1200, 550, 750, 550, 700, 850, 650, 400} kVAr for variable load demand.

The compensation solution of the ISFS leads to an annual cost reduction from $950,263.63 to $670,661.70, which is slightly lower than a reduced annual cost of $671,523.90 from the solution of the SFS. In addition, the convergence trajectories of the ISFS and SFS when dealing with this scenario are illustrated in Figure 21. Once again, the ISFS shows a faster convergence rate than the SFS in this scenario. Moreover, the improvements in the minimum bus voltage and the line power loss at a 24-hour interval can be observed in Figures 22 and 23, respectively.

5.4. Practical 152-Bus Network

To further evaluate the performance of ISFS, another practical large-scale RDN with 152 buses and 151 branches is examined. This network supplies a total power demand of 9.5893 + j 5.9429 MVA at the base voltage of 20 kV. In the initial condition, the network involves a total power loss of 576.1616 + j 428.9281 kVA. The load and line data of the network are provided in [64].

5.4.1. Scenario 1: Traditional Objective Function

For this network, in the full load level, the effect of the different numbers of SCs on the cost saving percentage obtained by implementing the proposed ISFS algorithm is depicted in Figure 24. Observing this figure, it is clear that the penetration of three SCs leads to the highest percentage in cost saving among the penetration of the remaining number of SCs. In order words, the minimum total annual cost is achieved with the integration of three SC placements. Therefore, the number of three SCs is considered as the optimal number of SCs for the 152-bus network in the 100% loading.

By applying the proposed ISFS, the optimum locations, and ratings of SCs for different loadings are given in Table 11. In addition, the parameters of fixed and switched SCs, losses, minimum bus voltage, overall power factor, total yearly cost, net saving, and percentage in saving are acquired. For the 100% loading, the ISFS assigns 3 SCs at buses 110, 116, and 147 with the same reactive power injection of 1500 kVAr.

For performance comparison analysis, the original SFS has been also applied for solving the problem in the full load case. The simulation results including network performance indexes and statistical analysis are tabulated in Table 12. It is obvious that the ISFS and SFS achieve the same final solution for this network. However, the ISFS is more robust than the SFS due to the gain of a lower standard deviation. The average execution time of the ISFS is longer than the SFS because of the extensive searching time of the integrated strategies as analyzed before. Importantly, the proposed ISFS requires fewer iterations than SFS to settle at the optimal solution, which is 67 iterations as compared to 86 iterations of SFS as shown in Figure 25. Moreover, the positive impacts of three SC placements on bus voltage and line current are shown in Figures 26 and 27, respectively.

5.4.2. Scenario 2: Modified Cost Objective Function

For solving this scenario, the switched SC locations obtained from scenario 1, namely, buses 110 and 116, are utilized. The results of the on/off scheduling plans of the switched SCs according to reactive power demand variations acquired by using the ISFS and SFS algorithms are disposed of in Table 13. It can be seen from the table that the proposed ISFS suggests the optimal locations and reactive powers of fixed SCs {(110, 300); (116, 250)} for base load compensation and the optimal parameters of switched SCs {(110, 900); (116, 1050)} for compensating the variable load demands. After compensation with the ISFS, the total yearly cost is reduced to $331,586.05 as compared to a value of $423,718.04 in the uncompensated case. Moreover, the annual cost acquired by the ISFS is slightly more reduced than that obtained by the SFS, which is $331,586.05 in comparison with $331,586.65. In addition, the proposed ISFS manifests superiority over the original SFS in terms of convergence speed for solving this scenario as shown in Figure 28. Finally, the positive changes related to the minimum bus voltage and the power losses in lines followed by the switching operation schemes from the ISFS and SFS can be seen in Figures 29 and 30, respectively.

6. Conclusion

In this research, experiments are performed for optimum number, placement, and rating of SCs at different load levels to minimize the traditional objective function of total annual cost as well as for the on/off operation plans of switched SCs according to practical 24-hour load pattern to achieve the modified cost function minimization. The proposed ISFS algorithm is used as an effective optimization tool for extracting the optimal solution of the problem while fulfilling all the operational constraints. The computational performance of ISFS has been verified on three well-known RDNs including the 69, 119, and 152-bus networks. The experimented results reveal that the proposed ISFS contributes to remarkably improve the solution quality of the problem for the traditional cost function investigation as compared to other reported optimization algorithms. Notably, the proposed ISFS has been successfully applied for examining a complex scenario of capacitor switching operation with load variations. Moreover, the ISFS also outperforms the SFS regarding solution accuracy, convergence rate, and computational robustness in all the compared cases, especially in large-scale networks with high computing complexity. Consequently, ISFS can be a very promising approach for coping with the OCP problem.

Data Availability

No data were used to support this study.

Conflicts of Interest

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

Authors’ Contributions

Tri Nguyen Phuoc was responsible for software, validation, investigation, and original draft preparation. Thi Nguyen Anh contributed to review and editing. Dieu Vo Ngoc was responsible for conceptualization, methodology, review and editing, and supervision.

Acknowledgments

The authors acknowledge the support of time and facilities from Ho Chi Minh City University of Technology (HCMUT), VNU-HCM, for this study.