Abstract

Economic dispatch (ED) aims to allocate the generation of units to minimize the total production cost. This dispatch is generally formulated with nonsmooth and nonconvex cost function due to valve-point effects and various constraints, where the conventional methods are inapplicable. An improved social spider optimization algorithm, namely, ISSO, is proposed in this paper to solve the ED problem with valve-point effects. That is, dynamic updating mechanism of the subpopulations, Gaussian mating radius, and multimating strategy are introduced into the ISSO. These mechanisms facilitate a compromise between the global exploration and local exploitation of the search process. Numerical experiments are conducted on benchmark functions and different scale generation units commonly considered in the literature to validate the feasibility of the proposed ISSO. Computational results are analyzed in terms of solution quality by the statistical method, which shows the superiority of the ISSO algorithm in comparison with the state-of-the-art algorithms.

1. Introduction

Economic dispatch (ED) is one of the important issues in the power system. The objective of ED is to save the power generation cost while satisfying all kinds of operational constraints [14]. However, ED has nonsmooth, nonlinear, nonconvex, and nondifferentiable characteristics when valve-point effects of generation units are considered. Classical mathematical optimal approaches, such as Lagrangian relaxation [5], linear programming [6], branch and bound [7], and quadratic programming [8], are infeasible in solving ED problems due to the aforementioned characteristics. With the development of intelligent optimization theory and computer technology, metaheuristics based on natural evolution, as a novel simulated evolutionary computation technology, have shown their outstanding performance in solving complex optimization problems due to the absence of special requirements for the objective function. This condition guarantees the search for an effective solution within a time limit by a large probability. In recent decades, metaheuristic algorithms, which have got fast development [912], are utilized to solve ED problems with valve-point effects, such as genetic algorithm (GA) [13, 14], particle swarm optimization (PSO) [1519], grey wolf optimization (GWO) [20], simulated annealing (SA) [21], bat algorithm (BA) [22], biogeography-based optimization (BBO) [23], differential evolution (DE) [24], whale optimization algorithm (WOA) [25], teaching-learning-based optimization (TLBO) [26], and cuckoo search algorithm (CSA) [27, 28].

Although the progress of the above methods has been made for the applicability to ED problems, the complexity of the ED problem reveals the necessity for the development of efficient algorithms to precisely locate the optimal solution. Within this context, the contribution of this paper is to develop a novel method for solving the ED problem, aiming to provide a workable solution for ED problems. Considering the intelligent behavior of a gregarious colony of spiders, a novel metaheuristic optimization approach called social spider optimization (SSO) is proposed by Cuevas et al. [29], which is simple, easy to realize, and adaptable to a wide range of optimization fields [3033]. However, SSO has the following drawbacks during the evolution process: one is that interactive learning within female subpopulation or male subpopulation makes subpopulation similar; another one is that the fixed mating radius reduces convergence speed; and the last one is that single mating operator decreases the possibility of introducing good genes into offspring. All these drawbacks may lower the diversity of the population and eventually lead to premature convergence. Hence, a variant of SSO, namely, ISSO, including dynamic updating mechanism of the subpopulations, Gaussian mating radius, and multimating strategy, is proposed to solve ED problems with valve-point effects and enhance the performance of the conventional SSO. Furthermore, updating mechanism of the subpopulations and Gaussian mating is different from other references, which is illustrated in detail in Section 4.

The remainder of this paper is organized as follows. Section 2 presents the formulation of the ED problem with valve-point effects. Section 3 describes the conventional SSO, followed by Section 4 where the proposed ISSO for solving the ED problem is proposed in detail. Section 5 evaluates comprehensively the performance of the proposed method on benchmark problems with the comparative study. Finally, the paper ends with conclusions and further research works.

2. Problem Statement

2.1. Objective Function

The ED is a complicated optimal decision problem in power systems that allocates the generation of units to minimize the total fuel cost under a given load demand. Additionally, the ED problem in this work must satisfy operation constraints, which can be generally defined by a polynomial function as follows:where , , and are the total fuel cost for all generation units, the power output of the ith generation unit, and the number of generation units, respectively. is the fuel cost of the ith generation unit and usually expressed as a quadratic function:

The valve-point effect is a problem that generally cannot be ignored for thermal power generation units. Thus, the ED problem becomes nonsmooth and nonconvex. The valve-point effect, which is generally equivalent to a sinusoidal term, must be involved in modeling the ED problem to solve the practical ED problem accurately. Therefore, the fuel cost function considering the valve-point effects of the generating units is given bywhere , , , , and are the generation cost coefficients of the ith generation unit and is the minimum power output.

2.2. Constraints

The main constraints related to the ED problem are as follows:(i)Power balance constraintswhere and are the total power demand and the total transmission loss, respectively. While power network is concentrated, thus is ignored.(ii)Power output limitswhere and are the minimum and the maximum power outputs of the ith generation unit, respectively.

3. Conventional SSO

A new swarm intelligence algorithm called SSO was proposed by Cuevas et al. [29] considering the predation behavior of the spiders. Herein, the position of spiders corresponds to the solution of optimization problem. Meanwhile, the spider web, which is associated with the search space of optimization problems, is employed to facilitate interaction among spiders through the vibrations of spiders. Furthermore, the mating behavior of the female and male spiders, which is considered to be coevolution, serves to obtain the optimal or quasioptimal of the objective function. The basic principles of conventional SSO can be summarized as follows.

3.1. Initialization of the Population

The most prominent characteristic that differentiates the spiders from all other species is highly female-biased. The number of females accounts for 65%–90% of the entire population N, which is defined as follows:where is a random number. In the spider population comprising female and male spiders, the number of males can be calculated as follows:

The population of N spiders is randomly initialized, for any spider , and its position is presented by a vector as the parameter values to be optimized, which represents one solution of the optimization problem. Herein, female and male spiders can be initialized according to the following equation:where rand2 and rand3, which are uniformly distributed between 0 and 1, are random numbers. and are the jth dimension of the position of the ith female spider and the jth dimension of the kth male spider, respectively. and correspond to the minimum and maximum values of the jth dimension of the spider.

3.2. Female Cooperative Operator

The positions of female spiders are updated in accordance with the vibration on the communal web generated by the superior spiders. Such vibration denotes an attraction or repulsion over other spiders, which is determined by probability factor PF. That is, for a random number , if is smaller than PF, then an attraction operation is performed; otherwise, a repulsion operation is executed. Considering the minimization problem in this paper, the mathematical models of such cooperative operator are defined as follows:where indicates the position of the ith female spider in tth iteration. , , and are random numbers between 0 and 1. The weight represents the solution quality of the ith spider. is the Euclidian distance between the spiders i and j. and denote the closest members, which have a high weight to the female spider i and the best spider in the population S, respectively. is the vibration perceived by the ith spider generated by the jth spider. In the end, is the fitness value of the ith spider position with respect to the objective function.

3.3. Male Cooperative Operator

From a biological viewpoint, male spiders M comprise dominant and nondominant individuals. Herein, dominant individuals are those that have better weight than the median male spider. All the male spiders are sorted in descending order of weights in advance to obtain the median male spider , and the individual located in the middle is considered the median male member. By contrast, other male spiders are nondominant individuals. The dominant individuals can attract the closest female spider. However, nondominant individuals gather around the median male member. Thus, the position of the male spider can be updated using the following equation:where and represent the female spider closest to male spider i and the mean weight of all the male spiders, respectively.

3.4. Mating Operator

Any dominant male spider can possibly mate with the female spiders. Under such circumstances, when the female spiders within a mating radius r, which is calculated by equation (14), form the set of mating members (that is, must not be empty), then the mating operation can be performed between dominant males and . Furthermore, the roulette method is adopted to generate offspring. This method guarantees that the bigger the weight of the spider is, the more chance it will have to reproduce. Therefore, the probability by which each spider is selected to mate is described by equation (15):where is the dimension size of the problem. After mating, the acceptance of new spider depends on its weight. If the weight of the new spider is larger than the weight of the worst spider of the entire spider population, then the worst spider will be replaced with the new one; otherwise, the new spider is discarded. Once the replacement has occurred, the new spider will have the same gender as the replaced one to maintain the population. The flowchart of the SSO algorithm is described in Figure 1.

4. Proposed ISSO

4.1. Subpopulation Dynamically Updating Strategy

According to the principle of SSO, cooperative operators, which are all used within the female and male spiders, contribute to learning from each other within subpopulations. Hence, the difference among individuals gradually decreases with evolution. This reduction lowers the convergence rate and even results in prematurely getting stuck in the local optimal. Updating subpopulations is essential to overcome such shortcomings and mitigate their negative influence. Subpopulation strategy, which equates to multipopulation to some extent, has been applied in many swarm intelligence evolutionary algorithms before. However, the updating strategy of subpopulations, which is based on the subpopulation similarity, has been rarely considered during the evolution process in [3436]. Nevertheless, improved subpopulation diversity for the entire population can guarantee that the search spaces from each subpopulation have relatively small overlaps. Thus, subpopulation separately evolves in each region, which is comparatively independent of the others. As previously mentioned, it can further help SSO to search toward the global optimal solution, and the global searching capability is considerably strengthened. To this end, a subpopulation dynamically updating strategy, which is utilized to improve the optimization capability of the subpopulation, is proposed in this paper. In this strategy, an index , which can reflect the diversity of the population, is defined as equation (17) and employed to determine how each subpopulation fulfills the update requirement. This index mainly realizes information exchange between subpopulations through an evolution operator called migration operator. Specifically, the migration operator indicates that a better spider from the best subpopulation diversity, which is furthest from the best spider from the worst subpopulation diversity, migrates and replaces the worst spider. Considering the emigrating operation, the subpopulation is where a new spider is randomly generated to maintain the size of the subpopulation constant. For clarity, the subpopulation dynamically updating strategy during the evolution process is illustrated in Figure 2.

Definition 1. Suppose the ith spider is the best solution of the subpopulation thus far. The Euclidian distance between and is adopted and mathematically modeled as shown below to measure the distance from to other spider :where and are the kth decision variables in the solutions and , respectively, and n is the number of solution dimensions.

Definition 2. Designing an index of population diversity measuring the quality of the structure of subpopulation is necessary to address the challenging issue of effectively updating the operation of subpopulations. This index , which includes total distance and total fitness , can be formulated as follows:where and are the weight coefficients of and , respectively, which represent the importance of and to the population diversity index . A large indicates a wide solution space. That is, provides a remarkable contribution to the population diversity compared with . Based on the above consideration, and are set to 2 and 1, respectively. Moreover, the detailed description of the subpopulation dynamically updating strategy is presented in Algorithm 1.

(1)for each subpopulation SPi belonging to male subpopulation or female subpopulation
(2)for each individual in SPi
(3) Calculate for each according to the opposite of equation (1).
(4) Calculate for each according to the opposite of equation (1), where is the best individual.
(5)end for Si
(6) Calculate for SPi according to equation (17).
(7)end for SPi
(8)Determine the updated subpopulation denoted as based on the small . Another one denoted as . Then, all the spiders in in descending order of the fitness and the top 20% of spiders are selected to form a set of candidate migrator .
(9)for each individual in
(10)Calculate for each according to the opposite of equation (1), where is the best individual.
(11)end for Si
(12)Select the spider with the largest , which is used to replace the spider with the worst fitness in . Meanwhile, is replaced by new spider randomly generated in .
4.2. Gaussian Mating Radius

To the best of our knowledge, the spiders get close to one another with evolution generations. However, the evolution process of SSO shows that the mating radius always remains unchanged, leading to more female spiders within the mating radius. Thus, the quantity of the worse female spiders, which are mated with the dominant male spiders, gradually increases. This condition means that the fixed mating radius will result in the poor quality of mating. That is to say, SSO will spend some time searching for the optimal solution meaninglessly, making SSO less efficient and competitive. Introducing the adaptive mating radius is necessary to overcome such defects; that is, a large mating radius of the previous generation facilitates global optimization, while a small mating radius of the later generation improves the local optimal capability. In view of this, the oscillation decay strategy that combines negative exponential and Gaussian functions is proposed to guide the change in the mating radius. This strategy is comprehensively described as follows. The large mating radius, which corresponds to the large solution space, can rapidly guide the ISSO to approach the optimal or suboptimal solution in the previous period of search. Instead, ISSO will exploit the optimum by mating with high-quality female spiders in the later evolution stage. Furthermore, the overall mating radius decreases despite such oscillation. Owing to such characteristics, ISSO can provide a good balance between the exploration and the exploitation capabilities. Therefore, equation (14) can be modified by the following expression:where is a random number of Gaussian distribution in [0, 1], and the mean and standard deviation are 0.5 and 0.16, respectively. t is the tth generation of the evolution process, and MaxGen is the maximal number of generations.

4.3. Multimating Operator

The mating operator of SSO is an effective tool for ensuring high-quality offspring. Nevertheless, the genes from the dominant male spiders, which have not been fully inherited by the children, inevitably affect the solution quality of the next generation. Hence, modifications of original mating technology will be necessary to pass good genes from generation to generation. This technology can guide evolution toward promising areas. Based on the aforementioned analysis, the multimating strategy, which takes full advantage of the neighborhoods of parents, is presented to accelerate the solving process. Suppose two spiders and are two mating partners in the tth generation. The improved multimating operator described above can be depicted as follows:(a)Weighted mating operator(b)Average mating operator(c)Extreme mating operator(d)Bound mating operator

In equations (21)–(24), rand7, rand8, and rand9 are all random numbers in the range [0, 1]. The symbol is an operator through which fractions are rounded down. and are the upper and lower bounds of the ith dimension of the spider, respectively. Notably, the proposed multimating operators provide remarkable efforts to compromise with the local and the global explorations by utilizing the neighborhood of the two mating spiders and the bound of the solution space. Thus, the chance of producing good solutions is significantly increased. The proposed mating approach can help overcome the limitations introduced by the origin mating operator. Considering the efficiency of the ISSO, one of the four proposed mating operators is randomly selected during mating operation. After the new offspring individual is produced, the new child is compared with the worst individual of the entire population. If this offspring is better in terms of fitness, then this offspring will replace the worst individual; otherwise, this offspring is discarded.

The pseudocode is summarized in Algorithm 2 to understand the principle of the proposed ISSO.

(1)Initialize the parameters: N, , , and PF.
(2)Initialize a subpopulation S of female spiders and male spiders with random positions.
(3)Define the maximal number of iterations MaxGen and set t = 1.
(4)while (t < MaxGen)
(5)for i = 1 : N
(6)Evaluate the weight of each spider in the population S using equation (11).
(7)end for i
(8)Record the best individual.
(9)for j = 1 : Nf
(10)Compute Vibci and Vibbi by equation (10) and generate a random
(11)if
(12)
(13)else
(14)
(15)end if
(16)end for j
(17) Calculate the weight of the median male spider from M.
(18)for k = 1 : Nm
(19)if
(20) Determine the closest female Sf, and compute Vibfi by equation (10).
(21)
(22)else
(23)
(24)end if
(25)end for k
(26) Calculate the weights of the spiders, and the self-adaptive mating radius r by equation (20).
(27)for l = 1 : Nm
(28)if (Ml is the dominant male spider)
(29)if (TG is not empty)
(30)for m = 1 : n
(31)Select each dimension smf of the female spider based on the roulette method.
(32)end for m
(33)All the dimensions selected, such as s1f, s2f, …, and snf, form the female spider Sf.
(34)Randomly select one of the multimating operators among weighted, average, extreme, and bound mating operator.
(35)Generate the new spider Snew by mating Ml with Sf based on the mating operator selected.
(36)if
(37)
(38)end if
(39)end if
(40)end if
(41)end for l
(42)Perform the subpopulation dynamically update strategy using Algorithm 1.
(43)t = t + 1
(44)end while
(45)Output the best solution

5. Simulation Results

In this section, the performance of the ISSO is tested by comparison with other variants of SSO, such as SSO [29], NISSO [37], MSSO [38], and OBSSO [39]. Comparisons with some state-of-the-art algorithms, which are the variants of PSO (CLPSO) [40] and DE (JADE) [41], are also conducted. The above experiments are performed by conducting a set of well-known benchmark functions [42], where functions f1f4 and f5f8 are unimodal and multimodal functions, respectively, as listed in Table 1. The unimodal function is easily solved due to only one optimum. By contrast, the number of local minimum increases with the dimension of problems in multimodal function, thus making it difficult to obtain optimal solutions. Therefore, considering the above analysis, the selected benchmark functions can effectively evaluate the performance of the algorithm in terms of escaping from the local optimum and convergence speed. Eventually, the ISSO is applied to the ED problem with valve-point effects.

All experiments in this study are conducted in a PC with Windows 10 system, 3.7 GHz Intel Core, 4 GB RAM, and MATLAB R2014b. For the parameters of each algorithm, the parameter N follows the recommendation in [29] and is set to 50, and the parameters of other algorithms are the same as those of the corresponding references, such as SSO in [29], NISSO in [37], MSSO in [38], OBSSO in [39], CLPSO in [40], and JADE [41]. For fairness, each algorithm, which evaluates the function with D dimension, terminates after reaching the maximum number of function evaluations (MaxFES). Herein, the benchmark functions with 50 dimensions are employed to examine the performance of the algorithms, of which MaxFES are set to 500,000. Simultaneously, each algorithm has 30 independent runs for each trial.

5.1. Sensitivity Analysis of the Probability factor PF

For the proposed ISSO, the female spider decides whether or not to approach the superior spider based on the probability factor PF during the female cooperative stage. Thus, PF is an important parameter influencing the performance of the ISSO, and tuning the probability factor PF is crucial. Without loss of generality, three kinds of different test functions are selected to investigate the impact of the parameter PF. These test functions include Sphere, Schwefel2.22, and Ackley, with 50 dimensions as listed in Table 1. The mean values of the 30 runs of the ISSO are presented in Table 2. As seen in Table 2, the variance of the PF has a powerful effect on the performance of the ISSO, and two out of three functions can obtain the best mean results with the PF 0.6. Thus, the PF should be set to 0.6, where the performance of the ISSO is satisfactory.

5.2. Performance Evaluation

Table 3 shows the comparison results in terms of the minimum “Min,” the mean “Mean,” the standard deviation “Std” of the best-so-far solution, and the average computing time “At,” where the best results are highlighted in boldface.

Table 3 shows that the proposed ISSO is better than any other SSO variants according to the statistical results. Meanwhile, CLPSO and JADE are also better behaved than SSO variants, such as SSO, NISSO, MSSO, and OBSSO. More importantly, the optimization performance of ISSO is superior to that of CLPSO and JADE for all benchmark functions, except the functions SumSquare, Rosenbrock, and Levy. Specifically, the small mean and standard deviation to different kinds of functions indicate the high solution precision and stability of ISSO. Furthermore, compared with other methods, ISSO significantly reduces the time of computing. Such improvements are related to these strategies, such as subpopulation dynamically updating strategy, Gaussian mating radius, and multimating operator, which are introduced into ISSO. These results fully demonstrate that the proposed ISSO is promising and competitive.

5.3. Application to ED Problem with Valve-Point Effects

Three cases from the reference [1], which are 3-unit, 13-unit, and 40-unit system ED problems with valve-point effects, are considered to verify the validity and feasibility of the proposed method ISSO for solving these problems. The detailed data on the three cases are provided in [1]. The results obtained by ISSO are compared with the aforementioned algorithms, including SSO [29], NISSO [37], MSSO [38], OBSSO [39], CLPSO [40], and JADE [41]. The maximum evolution generations of each case remain the same as [1] to realize a fair comparison. Thus, 3-unit, 13-unit, and 40-unit systems are, respectively, set to 50, 800, and 1000, and other parameters are the same as those in Section 5.2. The comparison results are summarized as the minimum cost “Min,” the mean cost “Mean,” the maximum cost “Max,” and the average computing time “At” in Tables 46, respectively. The best dispatch schemes corresponding to 3-unit, 13-unit, and 40-unit systems, which are achieved by utilizing ISSO, are, respectively, listed in Tables 79. The mean values of 30 trials and the convergence performance curves are, respectively, illustrated in Figures 3 and 4 to provide an intuitive comparison of the 40-unit system ED problems.

Tables 46 show that the solutions obtained by the ISSO are almost better than those by any other methods in terms of minimum cost, mean cost, maximum cost, and average computing time regardless of the ED problem (i.e., 3-unit, 13-unit, and 40-unit). As for small-scale ED problem, almost all the compared algorithms can obtain the optimal solutions; nevertheless, only ISSO and/or CLPSO can achieve them as the scale of the units increases, which demonstrates a remarkable advantage of ISSO. Moreover, Figure 3 shows that the mean value is closer to each other among 30 trials compared with other algorithms. This finding adequately demonstrates that ISSO not only has high precision but also has strong stability. Figure 4 intuitively indicates that the convergence curve of ISSO is the steepest, which indicates that ISSO has an overwhelming advantage on convergence speed. Therefore, the improvement in standard SSO is effective, as presented in the following three aspects. First, subpopulation dynamically updating strategy is good for improving the diversity and quality of the subpopulation, and prematuration is prevented. Second, Gaussian mating radius ensures that the mating radius approaches a certain value with oscillation, which improves the efficiency of mating in a very clear way. Third, multimating operators, which refer to a large number of neighboring information of spiders, further increase the search depth and beneficial to ameliorate the accuracy of the solution to some extent. In summary, the abovementioned improvements on ISSO better balance exploration and exploitation.

6. Conclusion

A modified version of the conventional SSO, called ISSO, is presented in this paper to solve the ED problem with valve-point effects efficiently. Specifically, ISSO improves the subpopulation, mating radius, and mating operator of the SSO, remarkably enhances searching efficiency, and effectively avoids premature convergence. The comparison results of benchmark functions with some popular approaches demonstrate that high-quality solutions can be obtained by using the ISSO. Finally, three different scale ED problems with valve-point effects, which include 3-unit, 13-unit, and 40-unit, are solved with ISSO. The computational results show that ISSO has satisfactory solution precision and robustness, especially in large-scale problems. Moreover, the improvements in SSO are valid and reasonable. These improvements are also suitable for ED problems with valve-point effects, which are characterized as nonsmooth, nonlinear, nonconvex, and nondifferentiable.

Considering the flexibility of the ED problem, future work will be addressed on dynamic ED problems, which are close to ED problems in real life. More importantly, ISSO can be effectively applied to ED problems in practical engineering.

Data Availability

The data used to support the findings of this study are supplied by the Henan Institute of Science and Technology under license and so cannot be made freely available. Requests for access to these data should be made to Wenqiang Yang at [email protected].

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported by the National Natural Science Foundation of China (nos. 61773156, 52077213, and 62003332), Scientific and Technological Project of Henan Province (nos. 202102110281 and 202102110282), Natural Science Foundation of Anhui Province (no. 2008085QE239), National Natural Science Foundation of Guangdong (nos. 2018A030310671 and 2016A030313177), and Outstanding Young Researcher Innovation Fund of Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences (no. 201822).