1 Introduction

Optimal reactive power dispatch (ORPD) is one of the most popular optimization problems in engineering field in aim to operate power systems stably and effectively. ORPD is mathematically formulated as a nonlinear problem where objective function and constraints are shown clearly. In fact, the task of such ORPD problem is to determine control parameters in electricity power systems such as voltage of generation buses, tap setting of transformers and generated reactive power of capacitor banks so that other obtained working parameters such as voltage of load buses, apparent power flow of transmission lines and reactive power of generators are always within an predetermined allowed working range. ORPD problem focuses on optimizing different independent objectives consisting of total active power losses in all transmission lines, voltage deviation and voltage stability index. As the three objectives are obtained, the considered power systems are working economically and stably. Similar to other optimization problems related to power systems such as economic load dispatch [1, 2] and optimal power flow [3, 4], ORPD has also attracted the use of conventional deterministic methods and modern metaheuristic methods. The applications of classical deterministic methods have been carried out in refs. [5,6,7,8,9,10,11] while a huge number of applications of standard metaheuristic (SMH), improved versions of SMH (ISMH) and hybrid methods have been presented in Ref. [12]–Ref. [54]. Among these metaheuristic, there some large algorithm groups such as particle swarm optimization (PSO) variants [12,13,14,15,16,17,18,19,20,21], differential evolution (DE) variants [22,23,24,25,26], genetic algorithm (GA) variants [27,28,29,30,31] and gravitational search algorithm (GSA) variants [32,33,34,35]. In addition, many other standard methods as well as improved methods have been employed for dealing with ORPD problem and presented in [36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54].

It is clear that there are a huge number of studies regarding ORPD problem; however, the obtained results have not been good enough and many researchers have constantly developed optimization tools for tackling main drawbacks such as low optimal solution quality, long computation time and difficult task of tuning the most appropriate control parameters. For suggesting one of the most appropriate optimization methods to find the effective solution for an ORPD problem, we have collected and summarized several popular and powerful methods applied to various optimization problems in recent years as in Table 1. In the table, we emphasize the type of methods and the applied optimization problems for discussion of the application and potential search ability of methods. Most the solution methods can be classified into three types including original versions, improved versions and hybrid versions, in which the original versions and improved versions only aim to single methods with their drawbacks and the improvements have been proposed while the hybrid methods are based on the coordination of two different methods or more. A view from the applied problems can reveal that the potential search ability of these methods could not be demonstrated persuasively due to the lack of challenges from complicated constraints and large-scale problems. The simplest problem in the table is the benchmark optimization functions (BOFs), which have been solved by many original, improved methods and hybrid methods. Hybrid methods have been employed for more complicated problems such as sustainable closed-loop supply chain network design, tire closed-loop supply chain network design, bi-objective green home healthcare routing problem and economic load dispatch. These hybrid methods have shown more promising than the original ones for such problems, but the application of these methods has become more difficult due to the coordination of different individual methods. More control parameters and more computation steps are the common characteristics of hybrid ones. On the other hand, these methods can be divided into three groups with one, two and three new solution generations per iteration. Normally, one new solution generation-based methods tend to produce new solutions at the same time with the same manner while two and three new solution generations-based methods produce more new solutions by using two or three different operations and take more time for their search process. In the table, PSO, FA, FPA, ISA, WOA, SFOA, SSA, HWPSO and HISGA methods are the family of the first group while the third group consists of the improved and hybrid versions regarding SFS methods and SSO methods. The rest is belonging to the second group with two new solutions generations. For the first method group, the search strategy is not diversified since the whole population is newly updated by using the same way or the same formula. PSO method is an example of the main drawback falling into local optimum zones with low quality. FPA method seems to be more effective than PSO since one of two different ways can be employed for each newly updated solution. The main task of the FPA method is to select the most appropriate formula, which is dependent on the used probability. The standard algorithms such as SFOA and SSA and other hybrid methods including HWPSO and HISGA were developed in the early this year. These hybrid methods have been developed with the intent to take advantages of element methods and avoid overlapping shortcomings of each one. Among these methods with two new solution generations per iteration, cuckoo search algorithm (CSA) is one of the most effective optimization ones. This method has been judged by solving a set of benchmark functions and compared to PSO and GA. In the early this year, its new improved version [80] was introduced for finding the optimal operation of power systems with hydropower and thermal power plants. The improved method has demonstrated its outstanding performance since its found better objective than most popular methods such as evolutionary family (DE variants, EP, GA variants) and swarm family (CSA variants and PSO variants). The outcomes with respect to the most effective solution and stabilization search ability have resulted in a confirmation that these methods could be better than other compared methods. Among the methods with three new solutions generations introduced in the table, SSO was first introduced in 2013 by Cuevas et al. [60]. The SSO has a special characteristic which is totally different from other methods. It consists of three new solution generations per iteration but the number of newly updated solutions per iteration is not high, about approximately the population size. The search strategy of this method effectively exploits the solution space by dividing the population size into two different groups, female and male groups. In addition, the offspring in this method is also produced in the case of occurred mating operation. Females perform the movement action first in the first generation and then males continue to move to new positions in the second generation. The new positions of females are dependent on the closet spider to them and the best spider in the population in addition to the weight of these related spiders and the distance between them and the considered females. Similarly, the new positions of male spiders are determined based on the closest female to him or all other males. The specialization of the SSO is the third new generation, which can use both good males and females to produce offspring (new solutions). Unlike other methods in Table 1, the search strategy of SSO can focus on the global search by the first and the second new solutions while the local search is strongly exploited by the third new solution. Compared to other methods such as PSO, BA, CSA, SSA, MSSA and FPA, SSO has more control parameters and more complicated implementation but these issues become simpler compared to hybrid methods. In fact, hybrid methods are developed by integrating two or more individual methods. Thus, these methods have basically more control parameters and operations for applications. It is obvious that the SSO can be a very optimization algorithm for searching for optimal solutions if these drawbacks can be successfully handled. In [60], the SSO has shown its potential search since several advantages over ABC and PSO have been indicated clearly and persuasively such as better optimal solutions and smaller standard deviation. Nevertheless, such achievements have not met the requirements of complicated optimization problems in different engineering fields. Other authors in [66,67,68,69] have pointed out drawbacks that such method has been put up with such as low convergence speed to global optimum and long computation process. Thus, they have proposed different changes for overcoming such limitations and lead to better results. For instance, authors in [67] have applied mutation procedure of standard DE for searching new solutions. These authors have canceled the gender of spiders, and there were no longer movements of females and males as well as mating procedure of producing baby spiders. Four improved SSO methods have been proposed in [68] by using constriction factor, inertia weight factor of PSO variants in [17], and other modifications such as adding one more updated step size and using mutation operation of DE for carrying out mating operation. Clearly, such proposed methods in [68] were the integration of PSO variants and SSO, and DE variants and SSO. In [69], authors have suggested two changes in which the first change was to update the best solution continuously after each new solution was produced and the second change was to construct a new fitness function for more accurate evaluation. The impact of the two changes could see clearly and effectively since results obtained were much better than those from SSO. However, the method has consumed more time for performing all computation stages of SSO in addition to taking time for continuously updating the best solution. Such methods have been proved better than SSO and other existing methods through heat transfer problems with respect to better accuracy and better stabilization. In spite of good results, the methods have also coped with the following limitations: (1) high number of control parameters; (2) spending more time tuning the best values of the control parameters; (3) long computation time due to many computation steps. It is clearly acknowledged that the methods in [67,68,69] have different difficulties to be considered as a potential optimization tool. Consequently, in the paper, we propose a novel improved SSO method by performing:

Table 1 Popular and state-of-the-art metaheuristic algorithms
  1. 1.

    Modification on the first new solution generation: In SSO, two equations are proposed for updating new solutions but in the proposed method only one equation is used and modified before application.

  2. 2.

    Modification on the second new solution generation: Similar to the first new solution generation, SSO also uses two equations for the second generation; however, only one equation should be used and modified before application in the proposed method.

With respect to the proposed method, our main contributions in the article are as follows:

  1. 1.

    Reducing one control parameter, so time of tuning the parameter is zero and simulation time is shortened.

  2. 2.

    Reducing both computation processes and comparison condition, so simulation time can be shortened.

  3. 3.

    Enabling the proposed method to find better optimal solutions with faster convergence speed.

  4. 4.

    Implementing other methods such as FA, PSO, CSA, FPA, SSO, SSA, MSSA and HSSSA for demonstrating the potential search of the proposed method.

The performance of the proposed ISSO method is investigated in the paper by solving benchmark functions, IEEE 30-bus system and IEEE 118-bus system with three single objectives consisting of power loss minimization, voltage deviation minimization and voltage stability maximization. Obtained results by the proposed method and other ones are compared to evaluate capability of searching optimal solutions, stabilization of search ability and search speed of the proposed method. The structure of the paper is as follows: Literature review is presented in Sect. 2. The optimization problem with objective functions and constraints is described in Sect. 3. The standard SSO and proposed method are explained in Sect. 4. The implementation of the proposed method for the solved problem is given in Sect. 5. Simulation results from benchmark functions and two IEEE power systems are given in Sect. 6. Finally, conclusions are summarized in Sect. 7.

2 Literature review

ORPD problem has a very important role in operation field of power systems and attracted the concern of a huge number of researchers. For dealing with complicated constraints and finding optimal solutions of different single objectives of ORPD problem, the researchers have used different optimization tools such as origin deterministic algorithms, origin metaheuristic algorithms, improved metaheuristic algorithms and hybrid metaheuristic algorithms. Better literature review of applied methods, studied power systems, considered objective function and other implemented methods for comparison are given in Table 2. In the table, we can see five types of methods including original deterministic algorithm (ODA), improved deterministic algorithm (IDA), original metaheuristic algorithm (OMA), improved metaheuristic algorithm (IMA) and hybrid heuristic algorithm (HMA) that have been successfully applied for ORPD problem. Among these methods, ODA and IDA [5,6,7,8,9,10,11] are the oldest methods with a small number of applications and their applications have ended recent years. On the contrary, metaheuristic algorithms such as particle swarm optimization (PSO) variants [12,13,14,15,16,17,18,19,20,21], differential evolution (DE) variants [22,23,24,25,26], genetic algorithm (GA) variants [27,28,29,30,31], gravitational search algorithm (GSA) variants [32,33,34,35] and other methods [36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54] have shown their leading ability with a high number of applications, especially improved and hybrid metaheuristic algorithms have been constantly developed recent years. Almost studies have considered power loss (PL) as a main objective and optimization methods have been evaluated by comparing the value. A few studies have focused on the installation of shunt capacitors and their initial capital has been considered to be a main objective function. For better evaluations, other studies have taken power quality factors including voltage deviation (VD) and voltage enhancement index (L index). The review on test cases can indicate that real power systems such as Indian 24-bus system, Brazil system, North America system, Taiwan system, 810-bus system and 135-bus system have not been studied widely and only considered in the first studies by using the oldest methods. Most data of the systems have not been shown in the published work. Only IEEE 30-bus and 118-bus have been taken into account in approximately all the studies because all the data of the systems have been reported sufficiently. IEEE 6-bus, 14-bus and 57-bus systems have been employed in few studies because of different reasons. IEEE 6-bus and 14-bus systems are small-scale tests for demonstrating the strong search ability of methods while IEEE 57-bus system has ignored the limitations of all branches. Consequently, we have used the two most popular systems, IEEE 30-bus and 118-bus systems and three single objective functions including PL, VD and L index have been considered to be main targets for comparisons. In addition, we have also used benchmark optimization functions for general comments on the performance of proposed method. Many studies have implemented only one proposed method for solving ORPD problem and compared results with previous methods rather than implement more methods. As observed from information of other implemented methods for comparisons, deterministic methods in [5,6,7,8,9,10,11] have not focused on comparison of performance but the demonstration of solving ORPD problem exactly. Studies in [5] and [11] have implemented other methods for comparisons of performance, and study in [10] has shown DPM could deal with the same system as well as software could accomplish.

Table 2 Review on previous studies about ORPD problem

HMPSO [12] is the integration of GA, multi-agent system and conventional PSO. Thus, HMPSO has the characteristic of hybrid PSO-GA and of multi-agent PSO. The method is superior to other methods implemented methods including GA, PSO, HPSO and MPSO. CLPSO [13] has applied a learning strategy in aim to tackle the premature convergence that has been existed in the feature of PSO. The method has proposed a new formula for determining the values of inertia weight and has suggested a new range for velocity, which was totally different from other PSO methods. Compared to GA and PSO, both HMPSO and CLPSO were capable of avoiding premature convergence to local optimum with low quality and had other advantages such as high success rate, stable convergence feature and accurate solutions. However, the further performance of the two methods was not clear and persuasive because all comparisons were simply made with GA, PSO and a small number of other methods such as linear programming and evolutionary programming. Furthermore, only objective of minimizing power loss was considered for comparison. HPSO–TS was developed in [14] by the use integration of search function of PSO and TS. PSO has acted as global search while TS has been in charge of local search and stopping PSO from falling into local optimum fast. So, the search process of HPSO–TS was much more complicated than PSO and TS, and there were two new solution generations for each iteration in HPSO–TS. This was totally different from the feature of PSO and TS. Via the comparison of results obtained from IEEE30-bus system with the objective of power loss minimization, HPSO–TS has shown better search ability than other methods such as standard DE, PSO and TS. Clearly, the investigation of the method’s performance has been restricted. The conventional PSO has been applied in [16] and [20] for the voltage profile improvement. The work here only demonstrated the ability of PSO for dealing all constraints and the ability of finding better optimal solution than linear programming method. Another improved version of PSO, PSO-ALC has been applied to ORPD problem in [15] for independently minimizing power loss and voltage deviation. PSO-ALC has used a leader particle to attract other particles for moving new positions. If new positions have been improved in terms of fitness function, the leader has been employed for the next step. Otherwise, new solutions would be merged into the whole population for determining another leader particle. The method has been tested on different cases and has been considered as the best method among all compared methods.

Many existing improved versions of PSO in addition to IPG-PSO have been applied in [17] for ORPD problem with three independent objectives consisting of power loss, voltage deviation and voltage stabilization index. IPG-PSO has been constructed by applying pseudo-gradient theory for determining the best velocity direction, which is totally different from all previous versions of PSO. The pseudo-gradient could support to find better updated velocity, leading to better optimal solution. As a result, the method has outperformed other PSO methods consisting of PSO-TVIW, PSO-TVAC, SPSO-TVAC, PSO-CF, PG-PSO, SWT-PSO and PGSWT-PSO. SPSO-TVAC has also been applied in [18] for ORPD problem with different data from [17]. HPSO–ICA has been proposed in [19] by the integration of imperialist competitive algorithm and improved PSO. The imperialist competitive algorithm can enable to select promising solutions for producing new solutions. The method has produced new positions and evaluated fitness functions three times; thus, it has taken much more time than PSO for the whole search process. In fact, the simulation time reported in [19] has given the evidence for the comment since the simulation time of HPSO–ICA was much longer than that of PSO and ICA for all test cases. Although better results were obtained, the advantages of HPSO–ICA over PSO and ICA were not able to be accepted. In [21], graph theory has been applied in the improved PSO called PSO with graph theory (PSO-GT) for the duty of fault detection and isolation in an integrated system of thermal units and wind turbines. The proposed method has succeeded to deal with all the constraints.

Different versions of DE have been reemployed or proposed for ORPD such as standard DE [22], DE–AS [23], MTLT–DDE [24], QODE [25] and CABC-DE [26]. Such methods have been improved mainly based on modifications on mutation operation and combination of other methods and DE for overcoming several limitations of DE such as easily fallen into local optimal solutions, premature convergence and weakly jumping out local traps. DE–AS has applied ant system to replace existing selection operation of DE. Besides, mutation factor has been also considered as a variable and determined by using three different conditions. The proposed method has also seen its advantages over PSO and DE via IEEE 30-bus system with the target of minimizing power loss. MTLT–DDE was an integration of modified teaching learning technique (MTLT) and double differential evolution (DDE). MTLT has changed the search strategy into a number of points instead of only one point like the standard teaching learning technique while DDE has used new mutation, new crossover and new selection operations. MTLT–DDE has been compared to almost recent methods via the results obtained from IEEE 30-bus and IEEE 118-bus systems. Simple comparison via power loss could see that method was better than all other methods; however; convergence speed has not been demonstrated for further investigation.

GA and its improved versions have been applied for ORPD such as AGA [27], SARCGA [28], HLGA [29], SGA [30] and RSGA [31]. In AGA, mutation probability and crossover probability have been adaptively tuned dependent on fitness value of population in aim to enable AGA jump out local search with premature convergence and low-quality solutions. In SARCGA, simulated binary crossover has been used as self-adaption and RCGA with probability distribution (namely polynomial function) has been used to replace uniform distribution. The demonstration of SARCGA’s performance has not satisfied readers since comparisons have been made with EP and DE. HLGA has determined good search zone and started search process within the identified zones. Then, HLGA has focused on global search within the identified zones. Thus, compared to GA, the method has found better optimal solution with faster speed. Nevertheless, the method has coped with a limitation that the capability of jumping out local zone was weak and it has been fallen into local optimum easily. The performance of standard GA with Roulette wheel selection and the performance of improved GA with rank selection technique have been analyzed by running on IEEE 30-bus system. The rand selection technique that has retained the top solutions among all old and all new solutions was superior to GA with roulette wheel selection. The method has been only compared to GA, and its performance is still a question for readers.

In addition to the three largest method groups, other small groups have been applied for ORPD problem such as GSA [32,33,34], GSA-NHCM [35], ACO [36, 37], QOTLBO [38], GBTLBO [39], CSA [40], ORCSA [41], HSA [42], NMSFLA [43], CKHA [44], HFA-NMS [45], GWO [46], ABCA [47], EMA [48], DSA [49], ALO [50], BTSA [51], ICBO [52], GBBWCA [53] and JA [54]. Among these methods, CSA, GBBWCA and JA are the latest methods which have been applied for dealing different systems of ORPD problem. In general, all studies have made a big effort for demonstrating their applied or proposed methods; however, most methods have been only compared to a few methods consisting of GA, PSO and standard methods. Furthermore, the probability has been only carried out by comparing one objective only while comparison of convergence speed has been almost ignored. In the paper, we investigate the performance of compared methods by using reliable comparison criteria and result in the conclusion which can advise readers which good methods for application. In addition to implementation of the proposed method, we also run other methods for better performance evaluation consisting of PSO [55], FA [57], CSA [58], FPA [59], SSA [78], MSSA [79] and HSSSA [79].

3 Optimal reactive power dispatch problem

3.1 Description

A transmission power network is the connection of electric components such as power plants, transformers, transmission lines, capacitors and loads. Among the objects, power plants are in charge of produce electricity and transmit the electricity to transformers. There are two types of transformer, step-up transformer and step-down transformer. Step-up transformers receive medium voltage from generators in power plants and increase the voltage to higher level and transfer electricity to transmission lines but step-down transformers receive electricity with very high voltage from transmission lines and decrease the voltage to lower level compatible with the requirement from loads. Transmission lines can be hundreds of kilometers long with the main duty of providing electricity to loads or transformers. The transmission power network can work stably and effectively if all the components are controlled appropriately. Basically, power plants are represented by generators with three main parameters consisting of active power output, reactive power output and voltage. Transformers have two main roles in the contribution to the stable operation of the transmission power network such as increasing or decreasing voltage and regulating voltage by setting tap changer. Transmission lines are represented by impedance and admittance but its important factor influencing the stable operation of the transmission power network is maximum apparent power flow limit. If apparent power flow through transmission lines is not higher than their capacity, they are working stably; however, it cannot conclude the status of the transmission power network. Capacitors are used to provide active power to loads with intent to reduce power loss and regulate voltage of buses. The transmission power network is working stably if all electric components as well as their operating parameters are in allowed operating range. Thus, the major role of solving ORPD problem is to determine these main parameters of electric component so that the transmission power network can work stably and effectively. ORPD problem is solved by using mathpower program and the support of optimization tools. The optimization tools provide the program with control variables with standard values (i.e., main parameters in allowed range). Then, the program is run and all remaining variables (i.e., other parameters) are obtained as a result. The optimization tool will calculate the effectiveness of given objectives as well as judge operating status of electric components. Finally, these control variables will be changed close to the most appropriate values.

3.2 Assumption

ORPD problem considers six electric components such as (1) generators of power plant; (2) transformers; (3) transmission lines; (4) capacitors; (5) loads; and (6) buses. Each component has main parameters regarding to stably operating status of transmission power network. These parameters are explained and supposed as follows:

  1. 1.

    Generators: active power output, reactive power output and voltage can be regulated smoothly. It means that generators can work as parameters obtained from optimization tools and Mathpower program.

  2. 2.

    Transformers: tap changer is controlled exactly and expected voltage can be responded.

  3. 3.

    Transmission lines: maximum apparent power flow limit is predetermined and during working time, other parameters of the line such as impedance and admittance do not suffer from the impact of environment temperature.

  4. 4.

    Capacitors: reactive power can be exactly generated as requirement.

  5. 5.

    Loads: active power and reactive power are exactly known and they remain unchanged during considered time.

  6. 6.

    Buses: voltage magnitude and voltage phase angle can be measured exactly.

On the other hand, ORPD problem supposes that all generators are working by given values of active power output. During the operation process, only voltage and reactive power output can be tuned by operators.

3.3 Problem formulation

ORPD problem is mathematically formulated by the present of objectives and constraints. Objectives can be minimization of power loss, minimization of voltage deviation and minimization of voltage stability L index while constraints are voltage limitations of load buses, apparent power flow of transmission lines, reactive power of generators and the balance between demand and supply in terms of active power and reactive power. The objectives and constraints are described as follows:

3.3.1 Objective functions

Active power loss minimization Active power loss is also the electricity energy loss leading to less effective economy of power systems and high price of energy for customers. As a result, the total active power loss is considered as a main objective when operating power systems. The objective is formulated as follows:

$${\text{Minimize}}\;F_{1} = \sum {P_{\text{loss}} }$$
(1)

where \(\sum {P_{\text{loss}} }\) is the real power loss obtained by the following equation:

$$\sum {P_{\text{loss}} } = \sum\limits_{i = 1}^{{N_{\text{bus}} }} {\sum\limits_{\begin{subarray}{l} j = 1 \\ j \ne i \end{subarray} }^{{N_{\text{bus}} }} {g_{{{\text{line}}l}} \left[ {V_{i}^{2} + V_{j}^{2} - 2V_{i} V_{j} \cos \left( {\varphi_{i} - \varphi_{j} } \right)} \right]} }$$
(2)

where glinel is the conductance value of line l connecting two buses i and j; φi and φj represent the voltage phase angles of buses i and j, respectively.

Load bus voltage deviation minimization The load bus voltage can show the voltage profile of power systems. In case that the load voltage changes continuously and its value is much lower or higher than expected value 1.0 pu, the power system is working unstably and ineffectively. Thus, the second objective is to minimize the deviation of load voltage magnitude. Namely, the objective is expressed by the following model:

$${\text{Minimize}}\;F_{2} = \sum\limits_{i = 1}^{{N_{\text{load}} }} {\left| {V_{{{\text{load}}i}} - V_{\text{ref}} } \right|}$$
(3)

where Vloadi is the ith load’s voltage magnitude; Vref is the hopeful value of load voltage, which is normally set to 1.0 pu.

Voltage stability L index minimization In power system, loads tend to change their consumed active power almost continuously. This phenomenon can result in uncontrolled condition of power systems, and even it can result in voltage collapse. Normally, L index is within the range [0; 1]. “0” value indicates that all loads and such power network are working stably but “1” value indicates that such power network is being subjected to disturbance condition and voltage collapse can take place soon. Thus, the improvement in voltage stability can be yielded in case minimization of L index is obtained [11]. The third objective concerned in the paper is to minimize voltage stability index (L index) of all buses similar to the maximization of voltage stability. The objective and L index can be seen by the following formulas:

$${\text{Minimize}}\;F_{3} = \hbox{max} (L_{i} );i = 1, \ldots ,N_{\text{bus}}$$
(4)

where Li is the L index value of bus i determined by [11]:

$$L_{i} = \left| {1 - \frac{{\sum\nolimits_{j = 1}^{{N_{\text{G}} }} {Y_{ij} V_{j} } }}{{V_{i} }}} \right|;\;i = 1,2, \ldots ,N_{\text{bus}}$$
(5)

where Yij is the mutual admittance between bus i and bus j.

3.3.2 Constraints

Real and unreal power balance constraints In order to ensure voltage and frequency are within working range values, real power and reactive power must be balanced between generating and consuming. The constraints are seen in the following equations:

$$P_{{{\text{G}}i}} - P_{{{\text{d}}i}} = V_{i} \sum\limits_{j = 1}^{{N_{\text{bus}} }} {V_{j} \left[ {G_{{{\text{line}}l}} \cos \left( {\varphi_{i} - \varphi_{j} } \right) + B_{{{\text{line}}l}} \sin \left( {\varphi_{i} - \varphi_{j} } \right)} \right]} ;\;i = 1, \ldots ,N_{\text{bus}}$$
(6)
$$Q_{{{\text{G}}i}} + Q_{{{\text{c}}i}} - Q_{{{\text{d}}i}} = V_{i} \sum\limits_{j = 1}^{{N_{\text{bus}} }} {V_{j} \left[ {G_{{{\text{line}}l}} \sin \left( {\varphi_{i} - \varphi_{j} } \right) - B_{{{\text{line}}l}} \cos \left( {\varphi_{i} - \varphi_{j} } \right)} \right]} ;\;i = 1, \ldots ,N_{\text{bus}}$$
(7)

where Glinel and Blinel are real and imaginary parts of admittance of line l connecting buses i and j, respectively.

In addition to the equality constraints above, other inequality constraints related to working limitations of other electric components are also taken into account in ORPD problem. Namely, such inequality constraints are considering the upper and lower limitations of: (1) reactive power generation and voltage magnitude of generator; (2) the reactive power generation of VAR compensator; tap changer of transformer; voltage magnitude of load; and the maximum apparent power flow of branch l. Such constraints are given in the following formulas:

$$Q_{{{\text{G}}i,\hbox{min} }} \le Q_{{{\text{G}}i}} \le Q_{{{\text{G}}i,\hbox{max} }} ;\;i = 1, \ldots ,N_{\text{G}}$$
(8)
$$V_{{{\text{G}}i,\hbox{min} }} \le V_{{{\text{G}}i}} \le V_{{{\text{G}}i,\hbox{max} }} ;\;i = 1, \ldots ,N_{\text{G}}$$
(9)
$$Q_{{{\text{c}}i,\hbox{min} }} \le Q_{{{\text{c}}i}} \le Q_{{{\text{c}}i,\hbox{max} }} ;\;i = 1, \ldots ,N_{\text{c}}$$
(10)
$$T_{i,\hbox{min} } \le T_{i} \le T_{i,\hbox{max} } ;\;i = 1, \ldots ,N_{\text{t}}$$
(11)
$$V_{{{\text{load}}i,\hbox{min} }} \le V_{{{\text{load}}i}} \le V_{{{\text{load}}i,\hbox{max} }} ;\;i = 1, \ldots ,N_{\text{load}}$$
(12)
$$S_{l} \le S_{l,\hbox{max} } ;\;l = 1, \ldots ,N_{\text{line}}$$
(13)

4 The proposed ISSO method

4.1 Original social spider optimization algorithm

The social spider optimization (SSO) is also a metaheuristic algorithm such as PSO, GA and DE; however, the configuration of SSO is different from these methods. In fact, these methods have only one time producing new solutions but SSO possesses three new solution generations. The first generation and the second generation, respectively, produce Nfs and Nms new solutions. The third generation produces Nbs new solutions in which Nbs is the number of baby spiders. Normally, the number of females accounts for from 60 to 90% of the whole spider community (Npop). The three generations of SSO are described in detail as follows.

The first generation (the movement of female spiders) The first generation produces Nfs new solutions via the phenomenon of position movement of all female spiders. In the spider community, all female spiders will move first when there is a vibration on the web. New position of female spider f called Xfs,f is dependent on both the vibration intensity and the position of (1) one spider who is closest to her and (2) the best spider who has the best weight. Thus, the new position of female spider f is obtained by using either Eqs. (14) or (15) depending on the movement probability Pm. If a random number RNf within 0 and 1 arbitrarily produced is higher than Pm, Eq. (14) is applied for moving spider f. Otherwise, Eq. (15) is employed for determination of the new position of spider f.

$$X_{{{\text{fs}},f}} = X_{{{\text{fs}},f}} + {\text{rand}} \cdot {\text{Vib}}_{\text{nearest}} \cdot (X_{\text{nearest}} - X_{{{\text{fs}},f}} ) + {\text{rand}} \cdot {\text{Vib}}_{\text{Gbest}} \cdot (X_{\text{Gbest}} - X_{{{\text{fs}},f}} ) + {\text{rand}} \cdot \left( {{\text{rand}} - 0.5} \right)$$
(14)
$$X_{{{\text{fs}},f}} = X_{{{\text{fs}},f}} - {\text{rand}} \cdot {\text{Vib}}_{\text{nearest}} \cdot (X_{\text{nearest}} - X_{{{\text{fs}},f}} ) - {\text{rand}} \cdot {\text{Vib}}_{\text{Gbest}} \cdot (X_{\text{Gbest}} - X_{{{\text{fs}},f}} ) + {\text{rand}} \cdot \left( {{\text{rand}} - 0.5} \right)$$
(15)

In Eqs. (14) and (15), some symbols need to be defined as follows: Vibnearest and Xnearest are the vibration intensity and position of the spider closest to female spider f; VibGbest and XGbest are the vibration intensity and position of the global best spider in the whole population.

The vibrations of the two spiders are calculated by the following expressions:

$${\text{Vib}}_{\text{nearest}} = w_{\text{nearest}} \cdot {\text{e}}^{{ - d_{{f,{\text{nearest}}}}^{2} }}$$
(16)
$${\text{Vib}}_{\text{Gbest}} = w_{\text{Gbest}} \cdot {\text{e}}^{{ - d_{{f,{\text{Gbest}}}}^{2} }}$$
(17)

where df,nearest and df,Gbest are, respectively, the distance between considered female spider f and another one closest to her and the distance between considered female spider f and the best spider; wnearest and wGbest are, respectively, the weight of the nearest spider to spider f and the weight of the global best spider in which the weight of a typical spider s can be calculated by

$$w_{s} = \frac{{{\text{FV}}_{\text{Gworst}} - {\text{FV}}_{s} }}{{{\text{FV}}_{\text{Gworst}} - {\text{FV}}_{\text{Gbest}} }}$$
(18)

where FVGworst and FVGbest are the highest fitness value of the global worst spider and the lowest fitness value of the global best spider, and FVs is the fitness value of spider s, which is being considered;

The second generation (the movement of male spiders) After all the female spiders change their position (corresponding to Nfs new produced solutions), all male spiders also move to new positions corresponding to producing Nms new solutions. However, the movement strategy of male spiders is not the same as that of female spiders. New position of being considered male spider m is dependent on either the female closest to him or all other males as shown in Eqs. (19) and (20). Obviously, it needs condition for using either (19) or (20) similar to the use condition of Eqs. (14) and (15). Namely, the weight of being considered male spider m wms,m is compared to the medium weight of all males wms,mean. If wms,m is higher than wms,mean, male spider m will employ Eq. (19) for changing its position. On the contrary, Eq. (20) is selected for the movement.

$$X_{{{\text{ms}},m}} = X_{{{\text{ms}},m}} + {\text{rand}} \cdot {\text{Vib}}_{{{\text{fs}},{\text{nearest}}}} \cdot (X_{{{\text{fs}},{\text{nearest}}}} - X_{{{\text{ms}},m}} ) + {\text{rand}} \cdot ({\text{rand}} - 0.5)$$
(19)
$$X_{{{\text{ms}},m}} = X_{{{\text{ms}},m}} + {\text{rand}} \cdot \left( {\frac{{\sum\nolimits_{m = 1}^{{N_{\text{ms}} }} {X_{{{\text{ms}},m}} \cdot w_{{{\text{ms}},m}} } }}{{\sum\nolimits_{m = 1}^{{N_{m} }} {w_{{{\text{ms}},m}} } }} - X_{{{\text{ms}},m}} } \right)$$
(20)

In Eq. (19), Vibfs,nearest is the vibration of female closest to being considered male m and is obtained by

$${\text{Vib}}_{\text{fs,nearest}} = w_{\text{fs,nearest}} \cdot {\text{e}}^{{ - d_{{m,{\text{nearest}}}}^{2} }}$$
(21)

where wfs,nearest is the weight of the female spider closest to being considered male m and dm,nearest is the distance between the closest female and male m.

The third generation (mating operation for giving birth to baby spiders) Mating operation is the action of leading males and other females for maintaining spider community. The operation is corresponding to the third new solution generation in SSO method. Leading males move within their own controlled zone and carries out mating with females in the zone. The zone is a circle and its radius is obtained by

$${\text{Radius}} = \frac{{\sum\nolimits_{i = 1}^{D} {\left( {z_{i,\hbox{max} } - z_{i,\hbox{min} } } \right)} }}{2 \cdot D}$$
(22)

where zi,min and zi,max are the upper and lower limitations of control variable z; D is the control variable dimension.

After restoring dominant males and females in the predetermined circle, baby spiders will be given birth. The phenomenon is corresponding to the generation of new solutions but it is different from the first and the second generations because the third generation cannot be mathematically formulated. In fact, each new solution is produced by random selection of control variables in the position of such dominant male and females.

The whole search procedure of SSO method for solving a typical optimization is illustrated in Fig. 1.

Fig. 1
figure 1

The flowchart of using SSO for solving a typical optimization problem

4.2 Proposed algorithm

In the section, we suggest some modifications that should be performed on SSO for tackling several disadvantages of SSO such as (1) many control parameters needing selection of values such as the population Npop, probability Pm and the highest iteration HI; (2) many computation steps such as calculation of vibration, weight and fitness function; (3) high oscillation and (4) low convergence to good quality solutions. Our modifications are as follows:

  1. 1.

    Set the term “rand(rand − 0.5)” in Eqs. (14) and (19) to zero. It is clear that value of “rand(rand − 0.5)” is randomly produced within the range [− 0.5; 0.5] and does have mutual relationship with old solutions, Xfs,f and Xms,m. Thus, the contribution of the term may be insignificant and even it can lead to worse result. In fact, for ORPD problem with IEEE 30-bus system and IEEE 118-bus system, optimal solutions contain different control variables such as voltage magnitude in per unit (PU) within the range of [0.95; 1.1], tap changer in (PU) within the range of [0.9; 1.1] and reactive power of VAR compensators within the range of [0; 5] for IEEE 30-bus system and [− 40; 20] for IEEE 118-bus system. It can be indicated that the term “rand(rand − 0.5)” with values from − 0.5 to 0.5 may not much influence reactive power of VAR compensators but its impact on voltage magnitude and tap changer is highly remarkable. As a result, optimal solutions will be negatively influenced by the random terms in Eqs. (14) and (19), leading to failure for the optimization operation of transmission power system.

  2. 2.

    Use only Eq. (14) for moving females. In Eq. (14), Xfs,f is newly updated by adding two terms \({\text{rand}} \cdot {\text{Vib}}_{\text{nearest}} \cdot (X_{\text{nearest}} - X_{{{\text{fs}},f}} )\) and \({\text{rand}} \cdot {\text{Vib}}_{\text{Gbest}} \cdot (X_{\text{Gbest}} - X_{{{\text{fs}},f}} )\) to Xfs,f while in Eq. (15) Xfs,f is updated by subtracting the two terms from Xfs,f. Clearly, the main difference between Eqs. (14) and (15) is the use of addition and subtraction, leading to different performance. As shown in [55], 70% of using Eq. (14) can result in better solutions for most benchmark functions. However, as thoroughly observed from formulas (20) and (21) calculating velocity and position of PSO [17], formulas (15) and (23) producing new solutions of CSA via levy flights and strange egg discovery [81], formulas (1), (2) and (3) calculating frequency, new velocity and new position of bat algorithm [82] and formula (13) producing new solutions of DE [22], such methods have used addition instead of subtraction. The use of both addition and subtraction was applied only in [17] for PG-PSO and IPG-PSO but there had to be utilization condition for the two strategies dependent on their efficiency for the first iteration. If addition was more effective for the previous iteration, it would be used in the current iteration. Otherwise, subtraction would be selected for the considered iteration. By using the theory and constriction factor, the two methods in [17] could get better performance than other PSO methods including PSO methods with the combination of constriction factor and other improvements. The results could clearly advise that there must be a condition for the use of adding or subtracting a step size. Thus, in order to overlap the drawback of SSO method, we suggest using only Eq. (14) with slightly change as shown in Eq. (23) and cancel Eq. (15) for moving the position of female spiders corresponding to producing Nfs new solutions. The single use of Eq. (23) can cancel the selection of Pm, shorten computation time for determining optimal solutions and support the proposed method to be convergent to better optimal solutions.

    $$X_{{{\text{fs}},f}} = X_{{{\text{fs}},f}} + {\text{rand}} \cdot {\text{Vib}}_{\text{nearest}} \cdot (X_{\text{nearest}} - X_{{{\text{fs}},f}} ) + {\text{rand}} \cdot {\text{Vib}}_{\text{Gbest}} \cdot (X_{\text{Gbest}} - X_{{{\text{fs}},f}} )$$
    (23)
  3. 3.

    Use only Eq. (19) for moving males. Observing from Eq. (20), we can see that new position of male spider is directly impacted by the weight of all males. Furthermore, the method is also completely different from all optimization algorithms. There have not been studies that indicate the combination of fitness function/weight and old solutions can lead to better solution as used in Eq. (20). Thus, the formula should be ignored for better performance. In addition, in Eq. (19), we also replace the female closet to the considered male with the best female, who has just been found after the movement of all females. For the modification, we can stop calculating the weight of all males, the mean weight of all males and stop determining the female closest to the considered male. As a result, the movement of all males is modeled as only one following equation.

    $$X_{{{\text{ms}},m}} = X_{{{\text{ms}},m}} + {\text{rand}} \cdot {\text{Vib}}_{{{\text{fs}},{\text{best}}}} \cdot (X_{{{\text{fs}},{\text{best}}}} - X_{{{\text{ms}},m}} )$$
    (24)

    where Vibfs,best and Xfs,best are the vibration and the position of the best female, respectively.

The effectiveness and robustness of the use of Eqs. (23) and (24) will be tested and discussed in the numerical results.

The whole search process of solving a typical optimization problem by using the proposed method is clearly shown in Fig. 2. The observation from Figs. 1 and 2 can represent the simplicity of the proposed method and the superiority of the proposed method over SSO method. Namely, the points are as follows:

Fig. 2
figure 2

The flowchart of using the proposed method for a typical optimization problem

  1. 1.

    Reduction in one control parameter Pm and the comparison between RNf and Pm: The task for tuning Pm is no longer necessary in the proposed method, leading to the cancelation of the comparison between RNf and Pm. As a result, the computation steps and simulation time can be shortened.

  2. 2.

    Cancelation of Eqs. (15) and (20): This task not only reduces the computation steps but also gives more chances for producing promising solutions with high quality by using Eqs. (23) and (24).

  3. 3.

    No calculation of the weight of each male wms,m and mean weight wms,mean for the whole males and the cancelation of the comparison between wms,m and wms,mean: Eq. (18) for determining the weight of each male is not used and the mean weight of the whole males is no longer needed in the proposed method, resulting in the reduction in the computation steps and shorter simulation time.

5 The application of the proposed method for solving ORPD problem

5.1 Initialization

In the considered ORPD problem, the position of male spiders and female spiders restores unknown variables playing important role such as voltage of generators, tap changer of transformers and MVAR of compensators. For better observation, such position is mathematically modeled by

$$X_{s} = \{ V_{{{\text{G}}1,s}} , \ldots ,V_{{{\text{GN}}_{\text{G}} ,s}} ,T_{1,s} , \ldots ,T_{{N_{t} ,s}} ,Q_{c1,s} , \ldots , \, Q_{{cN_{c} ,s}} \}^{\text{T}} ;\;s = 1, \ldots , \, N_{\text{pop}}$$
(25)

At the beginning, each position is randomly produced within upper and lower values as the following expression

$$X_{s} = X_{\hbox{min} } + {\text{rand}} \cdot (X_{\hbox{max} } - X_{\hbox{min} } );\;s = 1, \ldots ,N_{\text{pop}}$$
(26)

where Xmin and Xmax are representing minimum values and maximum values of control variables, respectively, shown in formula (25).

After having enough number of control variables, reactive power of generators, voltage of load buses as well as apparent power flow of transmission lines are yielded by running MATPOWER 4.1 and fitness function evaluating quality of solutions is then constructed by present of objective and punishments of obtained variables from program of MATPOWER 4.1. The fitness function is established as follows:

$${\text{FF}}_{s} = {\text{Objective}} + \lambda_{1} \left( {\sum\limits_{i = 1}^{{N_{\text{G}} }} {\Delta Q_{{{\text{G}}i}} } } \right) + \lambda_{2} \left( {\sum\limits_{i = 1}^{{N_{\text{load}} }} {\Delta V_{{{\text{load}}i}} } } \right) + \lambda_{3} \left( {\sum\limits_{l = 1}^{{N_{\text{line}} }} {\Delta S_{l} } } \right)$$
(27)

where λ1, λ2 and λ3 are amplification factors for punishment; ∆QGi, ∆Vloadi and ∆Sl are the punishment interval for violation of reactive power of generator i, voltage magnitude of load bus i and apparent power flow of line l. λ1, λ2 and λ3 are selected by experiment while ∆QGi, ∆Vloadi and ∆Sl are calculated by using the following formulas:

$$\Delta Q_{{{\text{G}}i}} = \left\{ {\begin{array}{*{20}l} {Q_{{{\text{G}}i}} - Q_{{{\text{G}}i,\hbox{max} }} } \hfill & {{\text{if}}\;Q_{{{\text{G}}i}} > Q_{{{\text{G}}i,\hbox{max} }} } \hfill \\ {Q_{{{\text{G}}i,\hbox{min} }} - Q_{{{\text{G}}i}} } \hfill & {{\text{if}}\;Q_{{{\text{G}}i}} < Q_{{{\text{G}}i,\hbox{min} }} } \hfill \\ 0 \hfill & {\text{else}} \hfill \\ \end{array} } \right.$$
(28)
$$\Delta V_{{{\text{load}}i}} = \left\{ {\begin{array}{*{20}l} {V_{{{\text{load}}i}} - V_{{{\text{load}}i,\hbox{max} }} } \hfill & {{\text{if}}\;V_{{{\text{load}}i}} > V_{{{\text{load}}i,\hbox{max} }} } \hfill \\ {V_{{{\text{load}}i,\hbox{min} }} - V_{{{\text{load}}i}} } \hfill & {{\text{if}}\;V_{{{\text{load}}i}} < V_{{{\text{load}}i,\hbox{min} }} } \hfill \\ 0 \hfill & {\text{else}} \hfill \\ \end{array} } \right.$$
(29)
$$\Delta S_{l} = \left\{ {\begin{array}{*{20}l} {S_{l} - S_{l,\hbox{max} } } \hfill & {{\text{if}}\;S_{l} > S_{l,\hbox{max} } } \hfill \\ 0 \hfill & {\text{else}} \hfill \\ \end{array} } \right.$$
(30)

5.2 Stopping condition for iterative algorithm

The execution of ORPD based on the proposed method is an iterative algorithm that depends on a predetermined stopping condition. Most metaheuristic algorithms are using the highest iteration for stopping search process and in the paper, the proposed method is not also an exception. Thus, when the current iteration is equal to the highest iteration, which is predetermined, the search process can be terminated.

5.3 The whole computing procedure

The application of the proposed method for solving ORPD can be described in detail as follows:

Step 1::

Determine control parameters consisting of population size Npop, the number of female spiders Nfs, the number of male spiders Nms and the highest iteration HI

Step 2::

Randomly initialize the whole population using Eq. (26)

Step 3::

Run MATPOWER 4.1 program for determining reactive power of generators, voltage of load buses and apparent power flow of transmission lines

Step 4::

Evaluate solution quality by calculating Eq. (27)

  • Set solution with the lowest fitness function to the global best solution XGbest and set current iteration to 1 (CI = 1).

Step 5::

Use Eq. (18) to calculate weight for whole spiders and calculate vibrations using Eqs. (16) and (17).

Step 6::

Perform the first generation corresponding to moving females’ position

  • Check upper and lower boundaries: if solutions are higher upper bound, set them to upper bound (Xmax) and if solutions are smaller than lower bound, set them to lower bound (Xmin).

  • Run MATPOWER 4.1 program for determining reactive power of generators, voltage of load buses and apparent power flow of transmission lines.

  • Evaluate solution quality by calculating Eq. (27).

  • Set solution with the lowest fitness to the best solution Xfs,best and solution with the highest fitness to Xfs,worst.

Step 7::

Perform the second generation corresponding to moving males’ position.

  • Check upper and lower boundaries: if solutions are higher upper bound, set them to upper bound (Xmax) and if solutions are smaller than lower bound, set them to lower bound (Xmin).

  • Run MATPOWER 4.1 program for determining reactive power of generators, voltage of load buses and apparent power flow of transmission lines.

  • Evaluate solution quality by calculating Eq. (27) and set solution with the highest fitness to the worst solution Xms,worst.

Step 8::

Perform the third generation corresponding to mating operation

  • Check upper and lower boundaries: if solutions are higher upper bound, set them to upper bound (Xmax) and if solutions are smaller than lower bound, set them to lower bound (Xmin).

  • Run MATPOWER 4.1 program for determining reactive power of generators, voltage of load buses and apparent power flow of transmission lines.

  • Evaluate solution quality by calculating Eq. (27).

  • Set solution with the lowest fitness function to the best solution Xbaby,best.

  • Between Xfs,worst and Xms,worst, choose worse one and replace it with Xbaby,best.

Step 9::

Compare new position (new solution) with old position (old solution) of each spider to retain better one and abandon worse one.

Step 10::

Determine the best solution among the current population XGbest.

Step 11::

If CI = HI, stop computation procedure. Otherwise, back go step 4 and set CI = CI + 1.

6 Numerical results

In the section, we concentrate on comparison of results obtained by the proposed method and other existing methods in addition to other implemented methods such as (1) PSO [55]; (2) FA [57]; (3) CSA [58]; (4) FPA [59]; (5) SSA [78]; (6) MSSA [79]; (7) HSSSA [79]; (8) SSO [60]; (9) SSO with Eq. (23) (ISSO1); (10) SSO with Eq. (24) (ISSO2). Six benchmark functions and two standard systems, IEEE 30-bus system and IEEE 118-bus system, are used for running the methods. The platform and the computer for execution of the proposed method are, respectively, MATLAB 2016a and 2.4 Ghz processor with 4 Gb of ram. The whole information of the section is given in Table 3.

Table 3 The description of study cases

6.1 Impact analysis of proposed modifications on obtained results from benchmark functions

In the part, we run FA, CSA, PSO, FPA, SSA, MSSA, HSSSA, SSO, ISSO1, ISSO2 and the proposed method on six benchmark functions [83, 84] where 30 is selected as the number of variables. For simulation, we set Npop to 50 for FA, PSO, FPA, SSA, MSSA and HSSSA but 30 for CSA, 40 for SSO, ISSO1, ISSO1 and ISSO while setting HI to 1,000 for all the methods. In addition, other parameters are also selected as follows:

  1. 1.

    FA: α = 0.25, 0.5, 0.75, 1.0

  2. 2.

    CSA: Pa = 0.2, 0.4, 0.6, 0.8, 1.0

  3. 3.

    PSO: c1 = c2 = 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0

  4. 4.

    FPA: Pa = 0.2, 0.4, 0.6, 0.8, 1.0

  5. 5.

    SSO and ISSO2: Pm = 0.7

The simulation results in terms of minimum and standard deviation of 50 independent trial runs for six benchmark functions are reported in Tables 4 and 5 for evaluating the best optimal solution quality and the stability of solution search among 50 runs of such compared methods. When the population size and the highest iteration are thoroughly selected for fair comparison of convergence speed, the quality of the best solution and the standard deviation, respectively, reflect the effectiveness and the robustness of compared methods. As given in Tables 4 and 5, the reported minimum and standard deviation of ISSO1 and ISSO2 are much less than those from SSO but much higher than those from the proposed ISSO method for all functions. The indications can confirm the standout of ISSO1 and ISSO2 in terms of the effectiveness and the robustness over SSO. Clearly, using Eq. (23) is better than using both Eqs. (14) and (15), and using Eq. (24) is better than using both Eqs. (19) and (20). Furthermore, the combination of Eqs. (23) and (24) can lead to the best performance as seeing results achieved by ISSO. For comparisons with other methods such as PSO, FA, CSA, FPA, SSA, MSSA and HSSSA, the proposed ISSO method always reaches the best achievement with the best minimum and the best standard deviation but SSO is always worse than many methods in terms of minimum and standard deviation. In fact, SSO is worse than CSA for all functions in terms of both minimum and deviation. For comparison with FPA, SSO can find better result for only Rastrigin function. For comparison with state-of-the-art methods including SSA, MSSA and HSSA, SSO shows its shortcoming since its optimal solutions have higher minimum and standard deviation for most functions excluding Rastrigin function and Schwelfel_222 function.

Table 4 Comparison of results obtained from Sphere, Rosenbrock and Rastrigin functions
Table 5 Comparison of results obtained from Ackley, Griewangk and Schwelfel_222 functions

In summary, we can conclude that the proposed modifications carried out on SSO reaches very good results and the proposed ISSO method is superior to popular metaheuristic algorithms including SSO, FA, CSA, FPA and PSO, and state-of-the-art methods consisting of SSA, MSSA and HSSA for benchmark functions.

6.2 Investigation of the proposed method’s performance on IEEE 30-bus system

In the part, the proposed ISSO method is compared to FA, CSA, FPA, PSO, SSA, MSSA, HSSSA, SSO and other existing methods by implementing on IEEE 30-bus system. Such IEEE 30-bus system can be reached by referring to [85] and it consists of 6 generator buses, 24 load buses, 41 transmission lines, 9 VAR compensators and 4 transformers. The set of control variables included in position of spiders is comprised of voltage magnitude of 6 generators, reactive power output of 9 VAR compensators and tap changer of 4 transformers. Fifty independent trial runs are performed for each method by setting HI to 50 for all methods and setting Npop to 30 for PSO, FA, FPA, SSA, MSSA and HSSSA but setting to 20 for CSA and 25 for SSO and ISSO. The selection can balance the number of new produced solutions between ISSO and other methods as well as approximate computation time excluding FA, which must use high value for population. Other remaining control parameters of these methods are also set to the range shown in Sect. 6.1. Three single objectives including power loss, voltage deviation and L index are independently minimized in turn and the best results with respect to minimum, mean, maximum, standard deviation and computation time (CPU time) obtained by these methods and other methods are, respectively, summarized in Tables 6, 7 and 8. In addition, another important value, called improvement level (IL) in %, which is calculated by using Eq. (31) together with the TNFEs, is also reported in these tables.

$${\text{Improvement}}\;{\text{level}}\;(\% ) = \frac{{{ \hbox{min} } .\;{\text{of}}\;{\text{another}}\;{\text{method}} - { \hbox{min} } .\;{\text{of}}\;{\text{ISSO}}}}{{{ \hbox{min} } .\;{\text{of}}\;{\text{another}}\;{\text{method}}}}100\%$$
(31)
Table 6 Comparison of results obtained from IEEE 30-bus system with power loss optimization
Table 7 Comparison of results obtained from IEEE 30-bus system with voltage deviation optimization
Table 8 Comparison of results obtained from IEEE 30-bus system with voltage stabilization index optimization

With respect to the value of IL, result with positive value (+) means the proposed method is better than others but result with negative value (−) indicates there is no improvement in the proposed method over others even the proposed method is less effective than such compared methods if other comparison criteria are accepted. Clearly, accurate comparison criteria need to be predetermined for assessing the effectiveness of compared methods. Thus, in the paper we consider the following factors as main accurate comparison criteria:

  1. 1.

    The comparison of minimum (or improvement level): aim to assess the best optimal solution quality.

  2. 2.

    The comparison of standard deviation: aim to assess the stability of optimal solution search ability.

  3. 3.

    The comparison of the number of newly produced solutions to assess the solution search speed. In [86], authors have presented a convincing argument that population size and the iterations are two important factors in regard to the performance of implemented methods. Higher population size and iterations can improve found solution significantly but simulation time may be much longer. Thus, they have suggested that the number of fitness evaluations TNFEs (is also the total number of newly produced solutions) must be used for fairly evaluating applied methods. Namely, TNFEs can be calculated by the following formulas:

    $${\text{TNFEs}} = N_{\text{pop}} \cdot {\text{HI}}$$
    (32)
    $${\text{TNFEs}} = 2 \cdot N_{\text{pop}} \cdot {\text{HI}}$$
    (33)
    $${\text{TNFEs}} = \left( {N_{\text{pop}} + N_{\text{bb}} } \right) \cdot {\text{HI}}$$
    (34)

    Among the three formulas, Eq. (32) is applied for calculating TNFEs for the methods with one new solution generation per iteration such as PSO, FPA, SSA and BBO, while Eq. (33) can find TNFEs for the methods with two new solution generations such as CSA, TLBO and QOTLBO. On the contrary, the SSO method and the proposed method are totally different because TNFEs in Eq. (34) are not a certain value for each run due to the uncertainty of Nbb, which is the number of babies produced per iteration. For reporting values of TNFEs for the SSO and the proposed methods, we have to count the total number of babies for the 50 runs and then the average value will be employed.

  4. 4.

    The verification of optimal solution accuracy: to assess the reliability of methods.

For power loss optimization case, the minimum power loss found by the proposed method to be 4.51445 MW and less than that of almost methods excluding GSA [32] with IL of − 0.003%, which is given in bold in Table 6. The accuracy of reported solution of GSA is checked and truly confirmed but the superiority of GSA over the proposed method is not accepted because GSA has produced 20,000 new solutions and accomplished 20,000 fitness evaluations; meanwhile, the proposed method has updated and evaluated about 1424 new solutions. The vast work of GSA has indicated that GSA has used approximately 14 times the number of new solutions from the proposed method. As compared to other implemented methods such as PSO, FPA, FA, CSA, SSA, MSSA, HSSSA and SSO, the power loss yielded by the proposed method can result in a high improvement level, 1.169%, 2.399%, 13.615%, 2.367%, 4.26%, 9.73%, 9.26% and 7.116%, respectively. Furthermore, the proposed method has converged to better results with less number of new solutions and less number of fitness evaluations than these methods. These methods have produced and evaluated about 1500 and 2000 new solutions while that from the proposed method was about 1424 new solutions. The comparison of the remaining methods shows that the proposed method can reach the improvement level approximately about 0.25 to 9%. The comparison of TNFEs can confirm fast search speed of the proposed method compared to other ones since TNFEs from other methods were from 4000 to 30,000. Clearly, the proposed method could be from 3.5 to 21 times faster than other ones. As a result, it can conclude that the proposed method is the most powerful optimization tool for the case because it reaches advantages such as the second best optimal solution, the fastest method, getting high improvement level compared to compared methods.

For the voltage magnitude deviation optimization case given in Table 7, it is surprised to see the bold values − 30.87% of GSA [32] and − 3.35% of QOTLBO [38], which imply that these methods are the two best optimization tools for the case of minimizing voltage magnitude. However, as we recheck by substituting reported solution to Mathpower, the minimum of GSA and QOTLBO is, respectively, 0.1862 and 0.1031, which are much higher than reported values 0.0676 and 0.0856. Based on the true values, IL is recalculated to be + 52.48% and + 14.19%. As compared to other remaining methods with valid solution or without solutions reported, the proposed method can reach very high improvement. For instance, the improvement can be up to 32.99%, 37.19%, 69.29%, 30.29%, 53.04%, 61.55%, 49.36%, 54.17% and 57.14% in comparison with PSO, FPA, FA, CSA, SSA, MSSA, HSSSA, SSO and PSO-TVAC, respectively. Similar to the previous case, the population size and the maximum iteration from the proposed method lead to the smallest work of generating and evaluating 1375 new solutions while the control parameters from other methods result in much higher work with from 1500 to 75,000 new solutions. The vast deviation separated the proposed method from other slow convergence methods and emphasized its outstanding performance. In summary, the proposed method reaches the best solution and gets the fastest search speed. Thus, it can confirm the real superiority of the proposed method over other ones for the case.

For comparison with other methods by considering voltage stabilization as an objective given in Table 7, the minimum and the improvement level of GSA [32] and ALO [50] are the two best results among all compared methods since they are, respectively, 0.1161 and − 7.37% while the minimum of the proposed method is 0.12466. However, recalculated minimum by substituting reported solution to Mathpower indicates that real values of GSA and ALO are, respectively, 0.1247 and 0.1241. IL is also recomputed to be + 0.03% and − 0.45%. Similarly, three other methods in [50] consisting of BA, GWO and ABC have also reported very good values of minimum such as 0.1191, 0.1180 and 0.1161 but the recalculated minimum values are, respectively, 0.1264, 0.1257 and 0.1264. QOTLBO [38] has also given an optimal solution with minimum of 0.1242 but dependent variable, reactive power of generator 4, is higher than upper limit. Namely, recalculated reactive power output is 79.1274 MVAR but upper limit is 60 MVAR. Clearly, many studies have reported wrong minimum and some of them have reported invalid solutions. On the contrary, IPG-PSO [17] and DE [22] have reported exact minimums, 0.1241 and 0.1246, which are better than result of the proposed method and result in improvement level − 0.45% and − 0.05%. Nevertheless, the two methods have used high values TNFEs, 4000 for IPG-PSO and 25,000 for DE while that of the proposed method has been 1382. Thus, we increase Npop and HI to 20 and 150, 25 and 150, and 20 and 200, and results obtained are, respectively, given in Table 9. As observed minimum values given in the table, the proposed method can find better optimal solutions, which has minimum of 0.12425 at Npop = 25 and HI = 150. Clearly, 0.12425 is better than 0.1246 of DE but it is not better than 0.1241 of IPG-PSO. Thus, the proposed method is not superior to IPG-PSO for the case of voltage stability index. In comparison with other remaining methods, the proposed method can find better optimal solution since it can reach the improvement level from 0.52 (compared to PSO) to 16.84% (compared to PSO-TVAC [17]). Furthermore, the proposed method has faster convergence speed than these methods since the proposed method has used the smallest value for TNFEs 1382 but that from other methods has been from 1500 to 25,000. In summary, the result comparison analysis for the voltage stability optimization can result in a conclusion that the proposed method outperforms most methods in terms of better optimal solution and faster convergence speed excluding comparison with IPG-PSO [17].

Table 9 Different results obtained by the proposed method by setting different values to Npop and HI

The best result of 50 independent runs obtained by nine implemented methods consisting of PSO, FA, CSA, FPA, SSA, MSSA, HSSSA, SSO and the proposed method for the optimization of three objectives is plotted in Figs. 3, 4 and 5. The figures let us know that FA, PSO, SSO and MSSA are four methods with the highest fluctuation, most solutions with low quality and the highest standard deviation while five remaining methods including FPA, CSA, SSA, HSSSA and the proposed method have low oscillation and more effective solutions. In particular, all values of the proposed method for three different objectives seem to be on a line and approximately all solutions of the proposed method are better than those of other ones. Solutions of the proposed method for the system are given in “Appendix”.

Fig. 3
figure 3

Power loss of 50 runs obtained by compared methods for IEEE 30-bus system

Fig. 4
figure 4

Voltage deviation of 50 runs obtained by compared methods for IEEE 30-bus system

Fig. 5
figure 5

L index of 50 runs obtained by compared methods for IEEE 30-bus system

6.3 Investigation of the proposed method’s performance on IEEE 118-bus system

Similar to Sect. 6.2, in the part the performance of the proposed ISSO method continues to be investigated by comparing to CSA, FPA, PSO, SSO (in which FA cannot deal with the large system and obtain valid solutions) and other existing methods available in previous studies once IEEE 118-bus system is considered as a test. Readers can reach the whole data of such IEEE 118-bus system by referring to [85]. The system consists of 54 generator buses, 64 load buses, 186 transmission lines, 14 VAR compensators and 9 transformers. The set of control variables included in position of spiders is comprised of voltage magnitude of 54 generators, reactive power output of 14 VAR compensators and tap changer of 9 transformers. For implementation of the proposed method and other methods, HI is set to 150 while Npop is not set to the same value for all methods such as Npop = 50 for PSO, FPA, SSA, MSSA and HSSSA but Npop = 30 for CSA and Npop = 40 for SSO and the proposed method. Results with respect to minimum, average, maximum and standard deviation obtained by such eight implemented methods and other methods are reported in Table 10 for power loss minimization, in Table 11 for voltage magnitude deviation minimization and in Table 12 for L index minimization. Besides, improvement level, computation time on average for each run, control parameters, Npop and HI, and TNFEs are also summarized in the tables for better comparison. The improvement level given in such tables can imply the proposed method can search better optimal solutions than most methods and the improvement level can be up to 13.29% compared to PSO [13] for power loss minimization, 92.75% compared to PSO [13] for voltage deviation minimization and 37.1% compared to CLPSO [13] and 56.27% compared to PSO [13] for L index minimization. In addition, the improvement level compared to PSO, FPA, CSA, SSA, MSSA, HSSSA and SSO is, respectively, 6.63%, 11.66%, 5.56%, 8.98%, 7.70%, 9.61% and 36.08% for power loss objective, 27.49%, 60.16%, 72.90%, 64.41%, 64.95%, 61.10% and 47.91% for voltage deviation objective and 0.16%, 1.30%, 0.16%, 3.13%, 4.30%, 3.35% and 13.29% for L index objective. On the other hand, these implemented methods have been assigned by high enough values of Npop and HI, so they have used more new solutions and more fitness evaluations from 7500 to 9000 but that of the proposed method was less than 7500. The comparison of improvement level and TNFEs can identify high-quality search process of the proposed over these compared methods.

Table 10 Comparison of results obtained from IEEE 118-bus system with power loss optimization
Table 11 Comparison of results obtained from IEEE 118-bus system with voltage deviation optimization
Table 12 Comparison of results obtained from IEEE 118-bus system with voltage stabilization index optimization

For the three cases of optimization, Figs. 6, 7 and 8 show fitness function of 50 runs obtained by PSO, FPA, CSA, SSA, MSSA, HSSA and ISSO but there is no result for SSO in the figures because most runs of SSO obtain high fitness values, leading to a unclear sight for clear comparison. Observing these figures can indicate that the proposed method has better solution search stabilization since its values have a small deviation with low oscillation but those of others have very high fluctuations. Clearly, the improvement is significant. However, there are limitations that the proposed method cannot be more effective than SARGA [28] and QOTLBO [38] for power loss minimization, IPG-PSO [17] for voltage deviation minimization and PSO-TVIW [17], SWT-PSO [17] and PGSWT-PSO [17] for L index minimization. Namely, the improvement level of the proposed method superior to such methods is − 1.25% (SARGA) and − 2% (QOTLBO), − 0.12% (IPG-PSO) for voltage deviation minimization and L index minimization and − 0.17% (PSO-TVIW), − 3.41% (SWT-PSO), − 5.75% (PGSWT-PSO) and − 6,87% (IPG-PSO) for L index minimization. As checked optimal solution, we found that SARGA has not reported optimal solution. Clearly, the proposed method has better results than QOTLBO [38] for two cases, optimization of voltage deviation and optimization of L index but its results are worse than those of QOTLBO [38] for power loss optimization. As compared to PSO-TVIW [17], SWT-PSO [17] and PGSWT-PSO [17], the proposed method also reaches better results for two cases, optimization of power loss and optimization of voltage deviation but its results are worse than these methods for L index. Compared to IPG-PSO, the proposed method has better result for only one case, optimization of power loss but for two other cases, the proposed method cannot reach better results. However, IPG-PSO has been controlled by assigning to higher HI, 200 but that of the proposed method is only 150. Thus, we try the proposed method’s performance by setting HI to 200 and fixing Npop = 40. Results obtained given in Table 13 show that power loss and voltage deviation are 114.296 MW and 0.15541, respectively, which reach the improvement level over IPG-PSO to be 0.664% and 4.07% but L index of the proposed method is still worse than that of IPG-PSO with the improvement level of − 6.8%.

Fig. 6
figure 6

Power loss of 50 runs obtained by compared methods for IEEE 118-bus system

Fig. 7
figure 7

Voltage deviation of 50 runs obtained by compared methods for IEEE 118-bus system

Fig. 8
figure 8

L index of 50 runs obtained by compared methods for IEEE 118-bus system

Table 13 Results obtained by the proposed method and setting Npop = 40 and HI = 200 for IEEE 118-bus system

In short, the search performance of the proposed method has been further investigated by simulating results on the large-scale system with 118 buses and three single objective functions. The evaluation conclusion is done based on three comparison criteria such as (1) the best optimal solution judged via minimum objective function and improvement level, (2) optimum solution search speed judged via TNFEs and (3) the search stabilization judged via 50 runs. The three main points have been clarified and resulted in a conclusion that the proposed method is significantly superior to other implemented methods consisting of FA, PSO, CSA, FPA, SSA, MSSA, HSSSA and SSO. The comparison with other methods available in other studies also indicates that the proposed method can be more effective than all methods excluding IPG-PSO for L index optimization case only. Consequently, the proposed method is a very effective method for IEEE 118-bus system of ORPD problem. The optimal solutions obtained by the proposed method are given in “Appendix”.

7 Conclusion

This paper has implemented a social spider optimization algorithm for solving the ORPD problem considering three independent objectives including power loss minimization, voltage deviation minimization and voltage stabilization enhancement. The proposed method is an improved metaheuristic algorithm by implementing modifications on two procedures of the new solution generation of the conventional social spider optimization algorithm. In the conventional SSO, there are two different formulas to be used for each generation and there must be conditions for a decision which formula to be used. Therefore, the computation and comparison are carried out many times in the conventional SSO method. In the two generations of the improved method, only one formula with the changes is used for producing new solutions while the other one is ignored. Consequently, as compared to that of the standard SSO method, the implementation of proposed method for solving a typical optimization problem as well as benchmark optimization functions and different systems of ORPD problem is simplified significantly thank to the following advantages: 1) control parameter Pm has been canceled, reducing the task of tuning the most appropriate values and comparison between random number RNf and Pm; (2) determination of new positions for females and male spider has become less complicated since Eqs. (15) and (20) have been discarded due to low effectiveness; (3) calculation of weight for each male and mean weight for all males and the comparison between individual weight and mean weight are no longer necessary. By possessing these advantages, the proposed method could find better solutions with lower fitness function and faster computational time to the proposed method while the conventional SSO is coping with drawbacks such as the complicated computation, many comparison conditions, long time for tuning control parameters and low convergence speed to high-quality solutions. The proposed method together with the conventional SSO and other methods has been implemented for solving benchmark functions without complicated constraints and two standard IEEE power systems with 30 buses and 118 buses considering a set of equality and inequality constraints. The results obtained by the proposed method have been verified by comparing to those from other methods available in previously published studies. The comparisons of the objective values and calculation speed have indicated that the proposed method has outperformed SSO, PSO, FA, FPA, CSA, SSA, MSSA and HSSSA methods for all studied cases and the most compared methods reported in other studies. Moreover, the performance of the proposed method is also effective and robust because it can find better solutions with faster computational time for most study cases. Therefore, the proposed method can be one of the powerful optimization tools for dealing with the ORPD problem. For future work, we will try the performance of the proposed method for solving a new ORPD problem with the presence of wind turbines and distributed generators in aim to reduce energy loss and enhance stable operation of power systems. In the new work, the proposed method is in charge of determining the location and the capacity of wind turbines and distributed generators. The obtained results are evaluated via the energy loss and the operation stability of power systems.