1 Introduction

With the great difficulties faced by modern power system operation, it is important to meet constantly increasing load demand and contingencies while maintaining reliable power delivery to the customers and keeping bus voltage boundaries. Due to incremental load demand, the power system is being operated under extremely stressful conditions, and this makes the system works near its stability limit. Therefore, a relatively small disturbance can change its state and becomes unstable [1]. Thus, it is imperative to improve power system stability to prevent load shedding, system collapse, and improve its security and reliability.

Many control actions can be taken in order to relieve system stresses [2]. These include changing the voltage setpoints of voltage-controlled buses via controlling the generator’s excitation or updating the setting of taps changing transformers and installing VAR sources with varying sizes and locations such as shunt capacitors, static VAR compensators, and FACTS devices. However, inadequate reactive power support may lead to voltage collapses and further to major power outages. So, it is essential to optimally allocate the new reactive power sources [3]. The techniques used for allocating the new reactive power sources can be generally divided into two methods. These are the index and optimization-based methods. The former depends on the priority list and sensitivity indexes to reduce solutions space, while in the latter, the conventional or heuristic optimization methods are used [4].

The target of RPP is the coordination of the existing VAR sources and optimally allocates the new sources taking into account the achievement of specific objective functions. These functions may include minimization of the costs of real power losses and additional reactive power supplies investment, enhancement of voltage stability, and improvement of voltage profile [4]. The new VAR sources could be used for enhancing system controllability resulting in the TTC enhancement [5]. Improving current electricity power production systems is far more reasonable than constructing new power plants, electrical power transmission, and distribution lines, which may take several years in addition to the high cost of installation and the difficulties of pollution control. Also, it may be claimed that the system congestion will be decreased, resulting in increased power system security. The transmission system will be more lucrative if current transmission assets are used to their full potential. The RPP problem is complicated due to overlapping objective functions, constraints, and control variables. In addition, there are a large number of uncertain parameters which are partially discrete and continuous.

Different conventional methods have been applied to solve the RPP problem. Among these methods are successive linear programming [6], mixed integer nonlinear programming [7], and branch and bound method [8]. However, due to the complex nature of the RPP problem, these methods are not feasible to find the global optimum solution. A variety of intelligence methods have been vastly applied to solve the RPP problem because of their robustness, effectiveness, and suitability to find out optimal solutions. Some researchers have been used these methods with the shunt capacitors as a reactive power source such as simulated annealing (SA) [9], genetic algorithm (GA) [10], evolutionary programming (EP) [11], particle swarm optimization (PSO) [12] and [13], differential evolution (DE) [14] and [15], ant colony optimization algorithm [16], the gravitational search algorithm (GSA) [17], modified DE [18], random drift PSO [19], and modified crow search algorithm in [20], while the RPP problem was solved with FACTS using DE algorithm [21], improved DE [22], GSA [23], GSA with PSO [24], whale optimization algorithm [25], fractional-order Darwinian PSO [26], and quasi-oppositional with salp swarm algorithm in [27]. A multi-objective problem is introduced in [28] and [29]. PSO is present in [30] to solve single- and multi-objective. The above literature considered the locations of new VAR sources that were directly simply estimated or assumed by locating the new VAR sources at the weakest bus. Table 1 categorizes the reviewed literature and provides the novelties of the proposed work in comparison with other research studies.

Table 1 Categorizes the reviewed literature and provides the novelties of the proposed model in comparison with other researches

In this work, a MOGA is utilized to solve the RPP problem, where the minimization of the costs of losses and newly installed VAR sources is the first objective and the second objective is the maximization of the voltage stability. Also, the VAR sources are used to enhance TTC. By improving the voltage stability, the distance from the current operating state to the voltage collapse point is increased leading to secure operation. Therefore, the voltage stability margin (VSM) is used in this study as an indicator to check the system voltage stability. The results of the VSM are compared with those of the L-index, fast voltage stability index (FVSI), line stability index (LSI), new line stability index (NLSI), and new voltage stability index (NVSI) indicators. Different VAR sources are applied to compensate of the lack of reactive power. In addition, in this paper, the new optimal VAR sources allocations are considered as control variables and are resolved via GA. A modified IEEE 30-bus system and South Egypt Electricity network are used to examine the accuracy of the proposed approach.

The main contributions of the present work are:

  1. 1.

    A new application of MOGA to solve the RPP problem for minimization of the costs of power losses and the new installing VAR sources, maximization of the VSM, and increasing TTC.

  2. 2.

    A VSM indicator is proposed and its results are compared with those of the L-index, FVSI, LSI, NLSI, and NVSI indicators.

  3. 3.

    Multi-type of VAR sources with a detailed model of each type are presented.

  4. 4.

    The optimal allocations of new VAR sources are considered as control variables instead of locating them at the weakest buses or lines.

The remnant of the paper is organized as follows: The modeling of the new VAR sources is described in Sect. 2. Section 3 describes the multi-objective RRP problem formulation. The multi-objective RPP solution algorithm proposed for solving the RPP is presented in Sects. 4 and 5. Section 6 provides test results and discussion. Section 6 conclusions are presented.

2 Modeling of new VAR sources

In this section, the models of different VAR sources used in this work are presented. For static applications, the VAR sources can be modeled by two methods: (i) impedance insertion model (IIM), and (ii) power injection model (PIM) [31].

2.1 Modeling of capacitor banks

Shunt capacitors are employed as VAR sources in the power system. In addition to the availability of fixed capacitor banks, there are also variable capacitor banks which are achieved using switched capacitors [32]. According to the mechanism of varying the values of variable capacitor banks, the achieved MVAR from them is in steps, and therefore, the VAR source size is represented as a discrete not continuously variable. Figure 1. shows the modeling of capacitor bank, while the injected power at bus \(i \) is:

$$ Q_{c.i} = B_{c,i} V_{i}^{2} $$
(1)
Fig. 1
figure 1

Capacitor bank model

2.2 Modeling of FACTS devises

FACTS devices are used for controlling the power flow, voltage enhancement, decreasing the losses and enhancing transmission lines loadability [33]. There are many types of FACTS that can be installed in the power system. Static var compensator (SVC) and thyristor-controlled series compensators (TCSC) are two of the suitable approaches to be chosen according to our purpose, voltage stability, and reactive power support enhancement. In addition, they have low investment costs, fast control responses, and increment in system loadability [31, 34].

2.2.1 Modeling of SVC

The SVC is modeled as a shunt variable susceptance that injects reactive power added at variable bus locations [32]. Figure 2a shows the basic structure of the SVC, while the model of the SVC is shown in Fig. 2b and the injected power at bus \(i \) is:

$$ S_{svc,i} = B_{svc,i} V_{i}^{2} $$
(2)
Fig. 2
figure 2

Static var compensator, a basic structure, b power injection model

2.2.2 Modeling of TCSC

The TCSC is a capacitive reactance compensator consisting of a series thyristor-controlled reactor shunted by a capacitor bank [35]. Figure 3a shows a schematic impersonation of a TCSC connected in a transmission line between bus i and j of the power system, while Fig. 3b shows the modeling of TCSC. The TCSC as a power injection model is shown in Fig. 3c.

Fig. 3
figure 3

Thyristor series compensator TCSC a basic structure, b steady-state model and c power injection model

According to Fig. 3c, four injected powers can be represented as [1]:

$$\begin{aligned} P_{TCSC,i} &= \left| {V_{i} } \right|^{2} \Delta G_{ij} - \left| {V_{i} } \right|\left| {V_{j} } \right|\\ & \quad \times [\Delta G_{ij} \cos \left( {\delta_{ij} } \right) + \Delta B_{ij} \sin (\delta_{ij} )]\end{aligned} $$
(3)
$$\begin{aligned} Q_{TCSC,i} &= - \left| {V_{i} } \right|^{2} \Delta B_{ij} - \left| {V_{i} } \right|\left| {V_{j} } \right|\\& \quad \times [\Delta G_{ij} \sin \left( {\delta_{ij} } \right) - \Delta B_{ij} \cos (\delta_{ij} )] \end{aligned}$$
(4)
$$\begin{aligned} P_{TCSC,j} &= \left| {V_{j} } \right|^{2} \Delta G_{ij} - \left| {V_{i} } \right|\left| {V_{j} } \right|\\& \quad \times [\Delta G_{ij} \cos \left( {\delta_{ij} } \right) - \Delta B_{ij} \sin (\delta_{ij} )] \end{aligned}$$
(5)
$$ \begin{aligned} Q_{TCSC,j} &= - \left| {V_{i} } \right|^{2} \Delta B_{ij} + \left| {V_{i} } \right|\left| {V_{j} } \right|\\& \quad \times [\Delta G_{ij} \sin \left( {\delta_{ij} } \right) + \Delta B_{ij} \cos (\delta_{ij} )] \end{aligned}$$
(6)

where \(P_{TCSC,i} , Q_{TCSC,i} , P_{TCSC,j} , \) and \(Q_{TCSC,j}\) are power injections (positive or negative) due to installing the TCSC in a branch \((i \)\(j)\). Also, \(\Delta G_{ij}\) and \(\Delta B_{ij}\) depend on TCSC reactance and are given as [1]:

$$ \Delta G_{ij} = \frac{{ - X_{TCSC} R_{ij} \left( {X_{TCSC} - 2X_{ij} } \right)}}{{\left( {R_{ij}^{2} + X_{ij}^{2} } \right)\left[ {R_{ij}^{2} + \left( {X_{ij} - X_{TCSC} } \right)^{2} } \right]}} $$
(7)
$$ \Delta B_{ij} = \frac{{X_{TCSC} \left( {R_{ij}^{2} - X_{ij}^{2} + X_{TCSC} X_{ij} } \right)}}{{\left( {R_{ij}^{2} + X_{ij}^{2} } \right)\left[ {R_{ij}^{2} + \left( {X_{ij} - X_{TCSC} } \right)^{2} } \right]}} $$
(8)

3 Problem formulation

The RPP problem is a mathematical formulation, which can be simply considered as they endeavor to have an optimal solution for objective function through a set of controllable variables. MOGA is used in this study with different conflicting goals. These include the minimization of new VAR sources or losses costs, VSI, and TTC enhancement. The ultimate goal of a MOGA is to identify solutions in the Pareto optimal set [36].

3.1 Objective function

There are different objective functions that are handled in the RPP problem. These are:

3.1.1 Active power losses cost

The first objective is the minimization of active power losses cost \(\left( {{ }Wc{ }} \right)\) of the power system and is calculated as [28]:

$$ Wc = \mathop \sum \limits_{{i \in N_{d} }} h_{l} d_{l} P_{loss,i} $$
(9)
$$ P_{loss, i} = { }\mathop \sum \limits_{{j \in N_{L} }} G_{ij} \left[ {V_{i}^{2} + V_{j}^{2} - 2V_{i} V_{j} \cos \left( {\delta_{ij} } \right)} \right] $$
(10)

3.1.2 VAR cost

The second goal in the RPP problem is the minimization of the new VAR sources investment costs (\({ }IC_{VAR} )\) and is formulated as:

$$\begin{aligned} IC_{VAR}& = \mathop \sum \limits_{{i \in N_{SVC} }} C_{svc,i} \times S_{SVC,i}\\&\quad + \mathop \sum \limits_{{l \in N_{TCSC} }} C_{TCSC,l} \times S_{TCSC,l} + \mathop \sum \limits_{{i \in N_{cap} }} C_{Cap,i} \end{aligned}$$
(11)

Equation (9) consisting of three parts represents the costs of the SVC, TCSC, and capacitor banks [31], respectively, where

$$ C_{svc} = 0.0003S_{SVC}^{2} - 0.3051S_{SVC} + 127.38 $$
(12)
$$ C_{TCSC} = 0.0015S_{TCSC}^{2} - 0.7131S_{TCSC} + 153.57 $$
(13)
$$ C_{Cap} = C_{F} + C_{c} Q_{c} $$
(14)

where \({\text{C}}_{{\text{F}}} = 1000{{ \$ }}\) and \({\text{C}}_{{\text{c}}} = 3 \times 10^{4} {{ \$ }}/{\text{MVAR}}\) [28].

The annual installing cost of VAR sources is given by [31]

$$ AIC_{VAR} = IC_{VAR} { }\frac{{ir{ }\left( {{ }1 + ir} \right)^{LT} }}{{\left( {{ }1 + ir} \right)^{LT} - 1}} $$
(15)

3.1.3 Enhancement of power system voltage stability

Voltage stability is related to the “ability of a power system to maintain acceptable voltages at all buses under normal conditions and after being subjected to a disturbance” [3]. The P–V curves are used to determine the loading margin of a power system and can be built at a base case by increment the power system load gradually until reaching the voltage collapse point, the nose of the PV curve, as shown in Fig. 4. The per-unit loading distance between the base case and voltage collapse loading is called the VSM, which can be calculated as [37]:

$$ VSM = P_{D, max} - P_{D} $$
(16)
Fig. 4
figure 4

Reaction between loading and bus voltage

A greater VSM implies a more secure power system and therefore guarantees that not any relatively small disturbance leads to instability of the system and the system is operating far from the voltage instability margin.

Moreover, the L-index is determined to be another approximate measure of the voltage stability. Its value is ranging from zero to one and is based on load flow analysis. The bus with the highest L-index value is the weakest bus in the system. It is calculated according to equations [28]:

$$ \left| {\begin{array}{*{20}c} {I_{G} } \\ {I_{L} } \\ \end{array} } \right| = ~\left| {\begin{array}{*{20}c} {Y_{{GG}} } & {Y_{{GL}} } \\ {Y_{{LG}} } & {Y_{{LL}} } \\ \end{array} } \right|\left| {\begin{array}{*{20}c} {V_{G} } \\ {V_{L} } \\ \end{array} } \right| $$
(17)

where \(I_{G}\),\( V_{G} \): The currents and voltage at generator buses, respectively,

\(I_{L}\),\( V_{L}\): The currents and voltage at load buses, and \(Y_{GG} , Y_{GL} , Y_{LG} , Y_{LL}\): The elements of Ybus admittance matrix.

Rearranging Eq. (17), we get

$$ \left| {\begin{array}{*{20}c} {V_{L} } \\ {I_{G} } \\ \end{array} } \right| = \left| {\begin{array}{*{20}c} {Z_{LL} F_{LG} } \\ {K_{GL} Y_{GG} } \\ \end{array} } \right|\left| {\begin{array}{*{20}c} {I_{L} } \\ {V_{G} } \\ \end{array} } \right| $$
(18)

where

$$ F_{LG} = - \left| {Y_{LL} } \right|^{ - 1} \left| {Y_{LG} } \right| $$
(19)

The L-index of bus \(j_{th}\) is given as [28]:

$$ L_{j} = \left| {1 - \mathop \sum \limits_{i = 1}^{{N_{g} }} F_{ji} \frac{{V_{i} }}{{V_{j} }}\angle \left( {\theta_{ji} + \delta_{ij} } \right)} \right| $$
(20)

where Fji is the elements of FLG matrix.

By minimizing L-index, the system will be a more secure system, and the system becomes able to overcome any disturbance that occurs on the system as much as possible.

In addition, FVSI, LSI, NLSI, and NVSI can be used as an indicator of voltage stability. FVSI is based on the concept of power flow through a single line. For a typical transmission line, the FVSI is calculated by [2]:

$$ FVSI_{ij} = \frac{{4Z_{ij}^{2} Q_{j} }}{{V_{i}^{2} X_{ij} }} $$
(21)

where \(Z_{ij}\) is the line impedance, \(Q_{j}\) is the total reactive power flow at the receiving end.

The line that gives the index value closest to 1 will be the most critical line of the system and may lead to the whole system instability. If FVSI goes beyond 1, a sudden voltage drop leading to the collapse of the system will be occurred at one of the buses connected to this line.

LSI is derived based on power transmission line concepts. The expression for the index is given as [3]:

$$ LSI_{ij} = \frac{{4X_{ij} Q_{j} }}{{V_{i}^{2} \sin^{2} \left( {\emptyset - \delta } \right)}} $$
(22)

where \(\emptyset\) is the transmission line angle.

$$ \emptyset = {\text{ tan}}^{ - 1} \frac{{ X_{ij} }}{{R_{ij} }} $$
(23)

A line in the system is said to be close to instability when the LSI value is close to 1. On the other hand, if the LSI value is less than 1, the system is said to be stable.

NLSI is proposed to monitor voltage stability conditions and/or for voltage collapse prediction. The NLSI is given as [3]:

$$ NLSI_{ij} = \frac{{4Q_{j} }}{{V_{i}^{2} }} \left[ {\frac{{Z_{ij}^{2} }}{{X_{ij} }}\varepsilon - \frac{{X_{ij} }}{{\sin^{2} \left( {\emptyset - \delta } \right)}}\left( {\varepsilon - 1} \right)} \right] $$
(24)

where \(\varepsilon\) is a switching function whose value depends on whether the angle difference, δ, is very small or not.

$$ \varepsilon = \left\{ {\begin{array}{*{20}c} 1 & {{\text{if}}\;\delta < \delta_{c} } \\ 0 & {{\text{if}}\;\delta \ge \delta_{c} } \\ \end{array} } \right. $$
(25)

When NLSI is less than 1, the voltage is stable. When its value comes closer to 1, the voltage comes nearer to collapse. The NLSI combines two existing voltage stability indices, the LSI and FVSI, taking advantage of the accuracy of the LSI and the fastness of the FVSI.

The NVSI provides a complete description of the system’s performance. NVSI is mathematically explained as follows [4]:

$$ NVSI_{ij} = \frac{{2X_{ij} \sqrt {Q_{j}^{2} + P_{j}^{2} } }}{{2X_{ij} Q_{j} - V_{i}^{2} }} $$
(26)

where \(P_{j}\) is the total active power flow at the receiving end.

The value of NVSI must be less than 1 in all transmission lines to achieve a secure system operation. And, the closer its value is to zero, the system becomes more stable. The advantage of this index is that it relates both real and reactive power, whereas other indices relate only to the reactive power of the system.

3.1.4 Enhancemessnt TTC using new VAR sources

To identify the best allocation of VAR sources for TTC enhancement, the third objective function is stated as maximizing of \(P_{m}\) value, which is computed as the sum of real power load at all buses and given as follows:

$$ P_{m} = { }\mathop \sum \limits_{i = 1}^{{N_{b} }} P_{Di} $$
(27)

3.2 Constraints

To ensure that the system operates in a stable and reliable state, many constraints must be satisfied. Also, these constraints guarantee that the obtained optimal solution is feasible for practical power system operation. They can be classified as equality and inequality constraints.

Active power balance and reactive power balance

$$ \begin{aligned} &P_{gi} - P_{Di} - V_{i} \mathop \sum \limits_{j = 1}^{{N_{b} }} V_{j} (G_{ij} \cos \delta_{ij} + B_{ij} \sin \delta_{ij} ) = 0 ,\\&\quad i \in N_{b} \end{aligned}$$
(28)
$$ \begin{aligned} & Q_{gi} - Q_{Di} + Q_{ci} + Q_{ci}^{o} \\&\quad - V_{i} \mathop \sum \limits_{i = 1}^{{N_{b} }} V_{j} \left( {G_{ij} \sin \delta_{ij} - B_{ij} \cos \delta_{ij} } \right) = 0 \quad i \in N_{b}\end{aligned} $$
(29)

Voltage constraints

$$ V_{i}^{\min } \le V_{i} \le V_{i}^{\max } ,\quad i \in N_{b} $$
(30)

where \(v_{i}^{min}\) and \(v_{i}^{max} \) are 0.95 and 1.05 p.u, respectively.

Generator reactive power limit

$$ Q_{Gi}^{\min } \le Q_{gi} \le Q_{Gi}^{\max } , \quad i \in N_{g} $$
(31)

Slack bus active power generation limit

$$ P_{s}^{\min } \le P_{s} \le P_{s}^{\max } $$
(32)

Transmission line flow limit

The apparent power which flows in transmission lines must be less than the maximum allowable limit in order to avoid any damage in transmission lines.

$$ \left| {S_{l} } \right| \le S_{l}^{\max } , \quad l \in N_{L} $$
(33)

Transformer tap setting limit

The limit of the transformer tap setting is presented as:

$$ T_{K}^{\min } \le T_{K} \le T_{K}^{\max } , \quad k \in N_{T} $$
(34)

where \(T_{K}^{\min }\) and \(T_{K}^{\max }\) are 0.9 and 1.1 p.u with the step size 0.025.

Reactive power generation limit of VAR source

The new capacitor bank has a minimum and maximum limit, and it is expressed as:

$$ Q_{C,i}^{\min } \le Q_{C,i} \le Q_{C,i}^{\max } ,\quad i \in N_{cap} $$
(35)

where \(Q_{C,i}^{\min }\) and \(Q_{C,i}^{\max } \) are 0 and 5 MVAR with the step size of 1 MVAR.

The limits of SVC and TCSC

$$ S_{SVC,i}^{\min } \le S_{SVC,i} \le S_{SVC,i}^{\max } , \quad i \in N_{SVC} $$
(36)
$$ - 0.8X_{ij} \le x_{TCSCi} \le 0.2X_{ij} , \quad i \in N_{TCSC} $$
(37)

where \(S_{SVC,i}^{min}\) and \(S_{SVC,i}^{max}\) are -100 and 100 MVAR and have a continuous control, while the range of TCSC is between -0.8 and 0.2 of the reactance of the installation line.

4 Multi-objective RPP solution

RPP is a nonlinear optimization problem and can be formulated as:

$$ {\text{Minimizing}}/{\text{Maximizing}}\quad f_{i} \left( {x,u} \right){ }\quad i = 1,2, \ldots N_{obj} $$
(38)

Subject to \(g\left( {x,u} \right) = 0{ }\) Equality constraints.

\(h\left( {x,u} \right){ } \le 0{ }\) Inequality constraints.

where \(f\left(x,u\right)\) is the objective function; \(x\) is the set of the controllable variable; \(u\) is the set of the state variable.

In general, there are two ways to solve multiple-objective optimization problems. The first way is done by combining the individual objective functions into a single composite function. Many methods have been used to solve the composite single objective problem such as weighted sum and ε-constraint. As an example in (32), the multi-objective optimization problem is converted to a single objective optimization problem by generating a composite objective F from a linear sum of multiple objective functions \({f}_{i}\left(x,u\right)\).

$$\begin{aligned} &\mathrm{Minimizing}/\mathrm{Maximizing F}={w}_{1 }{F}_{1}+{w}_{2 }{F}_{2} \\ & \quad where {\left\{\begin{array}{c}{w}_{1 },{w}_{2 } \ge 0\\ {w}_{1 }+{w}_{2 }=1\end{array}\right.}_{ }\end{aligned}$$
(39)

The existing single-objective optimization algorithms can be used to optimize the above objective function, and the weights (\({w}_{1 },{w}_{2 })\) must be pre-set. This way may have undesirable consequences that were explicitly setting the weights, which introduces the designer’s preconceived capability about the relative trade-off between objectives. This may have a profound impact on design decisions.

The second way for solving the multi-objectives optimization problem is to search directly to determine the entire Pareto optimal set. The principle of an ideal multi-objective optimization technique is to define multiple tradeoff optimal solutions, which have a wide range of values for objective functions, and then select one of the solutions according to the requirement of the system operator. In this paper, MOGA has been used to solve RPP problem. The GA has many advantages, such as the ability to deal with complex problems and parallelism, use probabilistic transition rules not deterministic rules, support multi-objective optimization and work well on mixed discrete/continuous problems. Additionally, multiple offspring in a population act as independent agents, allowing the population to explore the search space in many directions at the same time [41]. A set of points are provided on the Pareto optimal front. The first objective is to minimize losses cost and installed VAR sources cost. The second objective is to improve voltage stability by increasing the VSM. The solution of the MOGA procedure is a set of points; at each point, we have a value for each objective. In the present paper, the fuzzy min–max approach is used to determine the best compromise solution. The fuzzy membership function \({MS}_{i}\) of \({i}^{th}\) objective function can be expressed as:

$${MS}_{i}= \left\{\begin{array}{cc}1 & \mathrm{if }{F}_{i}\le {F}_{i}^{min} \\ \frac{{F}_{i}^{max}-{F}_{i}}{{F}_{i}^{max}{-F}_{i}^{min}}& \mathrm{ if }{F}_{i}^{min}<{F}_{i} < {F}_{i}^{max}\\ 0 & \mathrm{if }{F}_{i}\ge {F}_{i}^{max} \end{array}\right.$$
(40)

where \(F_{i}^{min}\) and \(F_{i}^{max}\) are the minimum and maximum values of the \(i^{th}\) objective function among all non-dominated solutions, respectively. For each non-dominated solution k, the normalized membership function (\(MS^{k}\)) is determined using:

$$ MS^{k} = \frac{{\mathop \sum \nolimits_{i = 1}^{{N_{obj} }} MS_{i}^{k} }}{{\mathop \sum \nolimits_{k = 1}^{{M_{s} }} \mathop \sum \nolimits_{i = 1}^{{N_{obj} }} MS_{i}^{k} }} $$
(41)

where \(N_{obj}\) is the total number of objective functions, and \(M_{s}\) is the number of available solutions. The best compromise solution is the one having a maximum value of \(MS^{k}\).

5 Proposed solution algorithm

The proposed RPP algorithm based on MOGA is summarized in the following steps:

  • Step 1: Read the system data (bus, generator, branch, demand, etc.).

  • Step 2: Run power flow

  • Step 3: Check if there is an RPP problem in the network, if yes, identify the control variables. If no go to stop.

  • Step 4: Select the MOGA parameters: population size, number of generations, etc.

  • Step 5: Randomly initialize the population and set the generation count.

  • Step 6: Update system data according to RPP solving method and run power flow again.

  • Step 7: Evaluate the objective functions and check the system constraints.

  • Step 8: Perform GA process selection, crossover, and mutation and generate the population for the next generation.

  • Step 9: Repeat the steps from 6 to 8 and increment the generation count until the count reaches the maximum number of generations.

  • Step 10: If the stopping criteria are satisfied, stop and print the results.

The flowchart for the proposed algorithm is shown in Fig. 5.

Fig. 5
figure 5

Flowchart for the proposed algorithm

6 Results and discussion

To present the effectiveness of the proposed approach, it is applied to the modified IEEE 30-bus system and South Egypt Electricity network.

6.1 Modified IEEE 30-bus test system

The modified IEEE 30-bus system [42] has six generators, 24 load buses, and 41 transmission lines, of which four branches (6–9), (6–10), (4–12), and (28–27) are with the tap changing transformer, and the system will be supported by eight new VAR source [43]. The initial value of generator voltage and setting of taps changing transformer are shown in Table 2. Due to the incremental loading of the system, the system suffers from stress. The results shown in Fig. 6 are gained by applying the power flow and assume this as the base case. From the figure, it is remarked that the voltage is violated on many buses. Bus 30 is the weakest bus, which has a voltage of 0.736p.u.

Table 2 Controller setting for the initial case and pre-VAR
Fig. 6
figure 6

Initial voltage buses

The problem is addressed with the possibilities available, i.e., changing the voltage setpoints of voltage-controlled buses and modulating the taps setting of taps changing transformers. The results are given in Table 2. Figure 7 shows the voltage at each bus in this case. It is observed also that the voltage is out of the limit at many buses, where the value of minimum voltage equals 0.898 p.u. at bus 30. So, there is an urgent need to strengthen the system with additional VAR sources.

Fig. 7
figure 7

Pre-installation of new VAR sources voltage buses

Different cases are carried out including either using capacitor banks, FACTS, or a mixture between them for solving the RPP problem. In addition, there is a detailed view of the use of each case if the RPP is handled as a single objective using GA or multi-objective problems using MOGA.

6.1.1 Case 1: capacitor banks

Table 3 shows the control variables and results when the minimization of the cost or VSI is employed as a single objective and when they are adopted together as multi-objective. Figure 8 depicts the Pareto optimal front of total annual cost and VSM with a population size of 50 and 300 iterations.

Table 3 Control variables setting for case 1
Fig. 8
figure 8

Best Pareto optimal front of total annual cost and VSM

When the optimization problem is handled with considering the cost, losses plus capacitor banks costs, as a single objective, the results show that the total cost is decreased from 5.419 × 106 $ to 4.02 × 106 $ with a net saving of 25.82%, while the voltage at all buses is within permissible limits, and the minimum voltage is 0.97 p.u at bus 19. Moreover, it is observed that the stability has been improved, and the VSM is increased from 0.1047 to 1.2158 after installing capacitor banks.

By comparing the value of the L-index in the case of using the total cost as an objective (0.2964) with the case of using the stability as an objective (0.2941), it has a very small change and therefore another indicator, VSM, is used to measure the voltage stability. For best VSM when the stability is the objective function, as shown in Table 3, the VSM has been increased to 1.7839, the minimum voltage is 0.961 at bus 19. It is noted that the losses are decreased to 7.852 from the initial value and the net saving is 20.28%. In a multi-objective case, a 25.44% net saving has been gained with the VSM equals 1.6529.

A comparison between GA and PSO for the total annual cost and VSM with respect to iterations is shown in Fig. 9 in the case of using capacitor banks only. As appear in this figure, although PSO achieves faster results, GA gives better results. It can also be noted that the single-objective optimization technique gives better results than the multi-objective technique, but at the expense of the other goal. Figure 10 shows a comparison between GA and PSO in the multi-objective case.

Fig. 9
figure 9

Comparison between GA and PSO for solving RPP problem, a for the best cost, b for the best VSM

Fig. 10
figure 10

Comparison between GA and PSO for multi-objective case

6.1.2 Case 2: FACTS

In this case, the FACTS devices are used as VAR sources instead of capacitor banks. Two different FACTS devices are installed. Four SVC and four TCSC are installed in the network, which satisfies the system stability. Table 4 presents the optimal allocations of installed FACTS devices and the control variables.

Table 4 Control variables setting of case 2

With the cost is an objective, the net saving is about 17.14%, while when the objective is just to improve the voltage stability, the results demonstrate that the network is operated at high VSM (3.8241) and the total annual cost is very high (8.24 × 106 $). For the multi-objective case, the VSM is increased to 2.7348 with a net saving of 16.77%. It is remarked that this method is more expensive than using capacitor banks but the system is more secure.

6.1.3 Case 3: capacitor banks with FACTS

FACTS are playing an effective role in VSI of the system in an excellent way but the total cost is increased significantly. On the contrary, the voltage stability is improved to some extent at a lower cost using capacitor banks. Therefore, a hybrid assortment of capacitor banks and FACTS devices are used to solve the RPP problem to achieve a good level of voltage stability at a lower cost. The allocations of new VAR sources and other control variables are shown in Table 5. The net saving of 23.79% is gotten in case of the cost is a single objective with the VSM equals1.4239. When the objective is to just improve voltage stability, the VSM equals 3.7023 with a total cost of 8.67 × 106 $. In a multi-objective problem, the net saving is 18.25% with a good VSM at 2.9505.

Table 5 Control variables setting of case 3

6.1.4 Using VAR sources to increase TTC

The different types of the new VAR source device are applied to solve the RPP problem with objectives of minimizing costs of losses and VAR sources, maximizing the voltage stability, and maximizing the total TTC.

Results are shown in Table 6. It is noted that increasing the TTC requires a greater cost. It is shown that before installing any VAR sources, the maximum TTC which could be achieved with allowable voltage at all buses is 291.16 MW. The total annual cost is 4.13 × 106, 5.2 × 106, and 4.46 × 106 for three options of capacitors, FACTS, and hybrid assortment, respectively, where the TTC is 363.86, 566.97, and 516.85 respectively, and the VSM is 1.1697, 2.4, and 1.9284, respectively. It appears that employing the capacitor bank option alone is more acceptable from a purely economic sense because it provides the highest possible net savings. However, it is not a better option for increasing TTC or VSI, while using FACTS devices is the most effective technique to enhance TTC and VSI, but it comes with a high cost. It also indicates that employing a hybrid mix of capacitor banks and FACTS gives good results for enhancing TTC and VSM at a reasonable cost.

Table 6 Control variables setting solving RRP problem and TTC enhancement

6.1.5 Comparison between fixed and optimal locations

Table 7 shows a comparison between the results in the case of assuming fixed locations of new VAR sources with those in case they are optimally located. If the locations of the new VAR sources are assumed to be fixed, then they will be located at the weakest buses which are 30, 29, 26, 25, 27, 24, 19, and 23, respectively, and the weakest line are 36, 13, 38, and 16, respectively.

Table 7 Comparison between fixed and optimal locations of new VAR sources

From the table, it is remarked that in the case of the optimal locations of the new VAR sources, the results are better than initially assumed. For example, when the capacitor banks are used, the net saving is the same but the value of the VSM is better. In the case of using FACTS devices, both the net saving and VSM are better with values of 16.77% and 2.7348, respectively.

6.1.6 A comparison between multi-voltage stability indices

The MOGA is applied to solve the RPP problem with an objective to achieve a higher level of stability using capacitor banks, FACTS devices, or both of them. Table 8 illustrates comparison results using the VSM, L-index, FVSI, LSI, NLSI, and NVSI as an indicator of voltage stability.

Table 8 Comparison between different stability indicators

6.1.7 Contingency analysis

The performance of the IEEE 30 bus system is studied under contingency. In this case, the stresses are represented by a three-phase fault, as the most severe fault. Table 9 shows the simulation results when the MOGA is applied to solve the RPP problem when a fault at line #30 and line #41 are considered. From the table, it is evident that in the case of line#30 outage and without installing new VAR sources, lines #27, #31, and #41 are overloaded not to mention that the voltage is below the limit in more than one bus and the minimum voltage is 0.863 p.u. at bus 30. After installing the new VAR sources, flow in all lines is at a limit, and the voltage at all buses and the VSM are improved. The same is true in the case of line #41 outage as well, without new VAR devices the line 27 is overloaded and the minimum voltage is 0.833 at bus 30. After the installation of new VAR sources, all constraints have been satisfied and the system becomes more secure. Moreover, it is noted that using capacitor banks and FACTS devices gives the best results as the cost is moderate and the stability is fairly good.

Table 9 Results of MOGA optimization for two severe contingencies in the IEEE 30 bus system

6.1.8 Comparison of simulation results

The results obtained by the proposed approach are compared to those reported in the literature. They are compared with the results of the opposition-based gravitational search algorithm (OGSA) [17], DE [14], and simple particle swarm optimization (SPSO) [12] when the cost has been formulated as a single objective function as seen in Table 10. It is observed that the net saving of the proposed method reaches 25.82%, while the corresponding value of OGSA equals 18.25%. The table also shows comparison results when the stability has been formulated as a single-objective function with those using DE [15], OGSA [17] and GA [11]. In addition, it demonstrates the results of MOGA compared to fuzzy adaptive particle swarm optimization (FAPSO) [13]. From the table, it is remarked that the proposed method gives better results and superior performance than other methods.

Table 10 Comparison between the results of the proposed method and those reported in the literature

6.2 South Egypt Electricity network

The proposed method is applied to the South Egypt transmission network [44]. A single line diagram is shown in Fig. 11. The power system in the south of Egypt is heavily loaded with load 4778.5 MW and 2801.8 MVAR. Before installing the new VAR sources, the voltages at several buses are out of the limit and the minimum voltage is 0.665 at Oyanat. Due to the heavy system loading, the new capacitance bank setting reached 80 MVAR. By installing the new VAR sources with optimal setting and location as given in Table 11, the network buses voltage becomes suitable for a secure operation.

Fig. 11
figure 11

South Egypt Electricity network

Table 11 Results of MOGA optimization for South Egypt Electricity network

As shown from the results the use of any capacitor bank, FACTS or a hybrid assortment between them can compensate for the lack of reactive power in the system. When capacitors are only used to compensate for the lack of reactive power, this gives us more economical operation, but at the expense of increasing stability of the system. On the other hand, using FACTS gave us a more stable network, but of course, it is more costly than the previous option, whereas the use of a hybrid of capacitors and FACTS gave us the advantage of obtaining a network that greatly has good stability and at the same time a relatively reasonable cost.

7 Discussion

In view of the above results, it is clear that the use of any capacitor bank, FACTS, or a hybrid assortment between them fulfills the purpose required to compensate for the lack of reactive power in the system. It turns out that the use of the capacitor bank only is more appropriate from a purely economic point of view where it achieves the highest possible net save. But it is not a better option to improve voltage stability or TTC enhancement, while the use of FACTS devices is the best in terms of improving the stability and increasing the TTC of the system, but it is done at a very high cost. It also shows that the use of a hybrid assortment of capacitor banks and FACTS gives good results to improve network voltage stability and TTC with a fairly cheap cost. Given the advantage of relying on predefined locations to place new VAR sources or leaving this option as a control variable when solving the problem, it turns out that leaving this option as a control variable when solving the issue gives better results. Moreover, it is worth relying on the VSM as a voltage stability indicator in the objective function to improve voltage stability than using the L-index or other indices.

8 Conclusion

MOGA has been applied to solve the RPP problem with the objectives of minimizing the cost of losses and new VAR sources devices, improving system voltage stability, and increasing TTC. The proposed approach has been tested on the modified IEEE 30 bus test system and South Egypt transmission network. It is evident that the use of any capacitor banks, FACTS, or a hybrid assortment between them fulfills the purpose required to compensate for the lack of reactive power in the system. It turns out that the use of the capacitor banks only is more appropriate from a purely economic point of view where they achieve the highest possible net save. However, they are not the best options to improve voltage stability or TTC enhancement, while the use of FACTS devices is the best in terms of improving the voltage stability and increasing the TTC of the system but results in a very high cost. The results presented in this work have proved that the hybrid assortment of capacitor banks and FACTS gives good results to improve network voltage stability and TTC with a fairly cheap cost. They also clarified the importance of optimally allocating the VAR sources instead of locating them at the weakest buses or weakest lines. Moreover, it is worth relying on the VSM as a voltage stability indicator in the objective function to improve voltage stability than using the L-index or others indices. The comparison results of the proposed approach with those reported in the literature have shown the robustness of the proposed approach to solve the RPP problem.