1 Introduction

Flexible AC transmission systems (FACTS) devices can make power system more controllable and safe [1]. They can improve the stability of the system and the power transmission capacity and improve the distribution of power flow and reduce the transmission loss through changing the parameters of power transmission system [24].

Presently, based on different objective functions, there are many researches on allocation and operations of FACTS with different algorithms, such as genetic algorithm (GA), particle swarm optimization (PSO) or bacterial swarming algorithm (BSA) [5]. Reference [6] studied on minimum singular value index and sensitivity of FACTS controllers to select the optimized location to improve the power transmission capacity. Respectively, the objective functions of minimization of real power loss in transmission lines and voltage deviation at load buses were proposed to identify parameters and locations of FACTS [7, 8]. Considering the vulnerability and network security indices, reference [9] presented a method to improve network security margin by optimizing locations of FACTS devices. In order to eliminate or alleviate the line overloads, reference [10] presented the method based on the contingency severity index (CSI) described by a real power flow performance index (PI) to determine placement of multi-FACTS devices, and the optimized parameters of FACTS devices could be obtained using GA. Considering the capability characteristics of the SVC and TCPAR, reference [11] analyzed their impacts on composite power system reliability by using evaluation method (EM). To minimize the real power losses and improve voltage profile, a novel bacterial swarming algorithm (BSA) was proposed to select the optimal locations and control parameters of multi-type FACTS devices [12]. Considering different scenarios and using harmony search algorithm (HSA) and GA for placement of multi-FACTS devices, reference [13] verified that FACTS devices could improve the power system stability margins, maximum voltage stability margin and reduce losses in the network. The objective functions of maximum system load ability of power system and minimum investment cost were achieved by using GA and PSO, which solved the optimal location and parameter settings of multiple TCSCs problem [14]. Respectively, the effects of FACTS on improving the system load ability and enhancing the TTC value by using GA and evolutionary programming (EP) had been discussed [15, 16]. However, among the above documents, there are few researches related to the aspect of the distribution of power flow.

Based on the entropy theory, a novel concept of power flow entropy has been proposed to measure the distribution of power flow [17]. The smaller the value of power flow entropy is, the more orderly and equal the distribution of power flow will be. The previous studies indicate that homogeneous distribution of power flow, which can improve the security of the system, helps to reduce the probability of cascading failures and large blackouts due to chain reaction in power grids [1721].

In this paper, the proposed method is for the coordination of multi-type FACTS devices based on power flow entropy. Through the modified GSO algorithm, the optimal locations and control parameters of multi-type FACTS devices are selected and yield efficiency in equalization of distribution of power flow. The proposed method is applied in an IEEE 118-bus power system.

2 FACTS’ model and objective function

2.1 The steady state models of FACTS devices

FACTS devices can be broadly classified into three types, namely shunt, series, and composite series and shunt. When FACTS devices are installed in the transmission system, the model of FACTS devices can be unified as shown in Fig. 1 [22]. Intuitively, FACTS devices affect the system flow distribution mainly through three key parameters, the bus voltage, the line impedance, and the beginning and the end of the relative phase angle [23]. K i represents a switch here. When the switch K i is closed, it represents the shunt or composite series and shunt type; when the switch K i is opened, it represents the series type.

Fig. 1
figure 1

FACTS model

In this paper, two classical types of FACTS, SVC and TCSC, are chosen. SVC enhances the power transfer capability of the line by improving the voltage of node, which is paralleled in the system as a variable susceptance as shown in Fig. 2. And TCSC directly involves in modifying the reactance of the line as a capacitive or inductive compensation to improve the power transfer capability of the line as shown in Fig. 3.

Fig. 2
figure 2

Equivalent steady-state circuit of SVC

Fig. 3
figure 3

Equivalent steady-state circuit of TCSC

When SVC and TCSC are incorporated and installed into power system, the node admittance matrix of the system is:

$$ Y^{\prime} = Y + \left[ {\begin{array}{*{20}c} 0 & 0 & \cdots & 0 & 0 \\ 0 & {\varvec{\Delta} y_{ij} } & \cdots & { - \varvec{\Delta} y_{ij} } & 0 \\ \vdots & \vdots & \vdots & \vdots & \vdots \\ 0 & { - \varvec{\Delta} y_{ij} } & \cdots & {\varvec{\Delta} y_{ij} } & 0 \\ 0 & 0 & \cdots & 0 & 0 \\ \end{array} } \right]{\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} $$
(1)

where Y and Y′ represent the node admittance matrix of the system before and after the installation of FACTS respectively; i and j represent the nodes installed FACTS devices respectively. In the power flow equations, Jacobian matrix does not change in size. Therefore, in this paper, it only needs to modify the corresponding node admittance of the nodes and branches that have installed FACTS devices, which is conducive to this study.

2.2 Objective function

The theory of entropy is applied to law of thermodynamics firstly. Then it is applied to information science, and statistical physics, etc. Entropy is a measure of the chaos and disorder of the system. A complex system may be in different states, which are represented by {X1, …, X m }. P(X i ) represents the probability that the system is in state X i , i = 1, 2, …, m. Then the entropy of the system can be defined as:

$$ H = - C\sum\limits_{k = 1}^{m} {P(X_{i} )} \ln P(X_{i} ) $$
(2)

where C is a constant, m is the number of states.

Here the load rate of line i can be expressed as

$$ {\kern 1pt} {\kern 1pt} \alpha_{i} = P_{i} /P_{i}^{\hbox{max} } $$
(3)

where P i represents the active power flow of line i; P max i represents the maximum transmission capacity of line i; and i represents the number of transmission lines in the power grid.

The load rate of each line is not identical, and α i belongs to range 0 to 1. Therefore, the load rates of lines can be grouped into M successive intervals, which are defined as [0, u), [u, 2u), …, [(M − 1)u, M·u]; the load rates of lines can be probabilistic in the interval [(k − 1)u, ku], as follows:

$$ P(k) = \frac{{l_{k} }}{N}{\kern 1pt} {\kern 1pt} {\kern 1pt} $$
(4)

where P(k) represents the proportion of the total lines in the kth interval; l k represents the number of lines in the kth interval group of conditions; and N represents the total number of lines.

Power flow in power grid is bidirectional, thus the entropy value is different in the two directions. In this paper, one of them is chosen as the research direction.

The power flow entropy H is defined as

$$ H = C\sum\limits_{k = 1}^{M} {P(k)} \ln P(k) $$
(5)

where M represents the total group number of the load rates, here M = 100; and C is a constant, here C = −ln10.

In this paper, the optimal placements of multi-FACTS devices are selected to make the value of power flow entropy H minimum and achieve the balance of power flow. So the objective function is as

$$ \hbox{min} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} H = H(X_{n} ,B_{n} ) \, $$
(6)

where X n = [x1, x2,…, x n ] and B n = [b1, b2, …, b n ] represent the vector of reactance of TCSC and the vector susceptance of SVC respectively; and n represents the installation number of FACTS devices.

Equation (5) shows that the value of power flow entropy H provides the measure of the load distribution. The maximal value of power flow entropy is C·log (1/M), when all the states of the system are with the same probability P(k) = 1/M. It means that the system is the most disorderly. The minimal value is zero, when the load rate of each line is identical, namely there is no difference and the probability is 1. It means that the system is the most orderly. Here, the value of power flow entropy H is controlled by the reactance of TCSC and the susceptance of SVC.

2.3 System constraints

2.3.1 Equality constraints

Equality constraints of the node power balance equation are introduced into FACTS devices.

$$ P_{Gi} - P_{Li} - V_{i} \sum\limits_{j = 1}^{N} {V_{j} (G_{ij} \cos \theta_{ij} + B_{ij} \sin \theta_{ij} )} = 0 $$
(7)
$$ Q_{Gi} - Q_{Li} - V_{i} \sum\limits_{j = 1}^{N} {V_{j} (G_{ij} \sin \theta_{ij} - B_{ij} \cos \theta_{ij} )} = 0 $$
(8)

where P Gi , Q Gi , P Li , Q Li represent active and reactive power generation at node i, active and reactive power flow at node i, respectively; V i and V j represent bus voltage magnitudes at nodes i and j, respectively; θ ij represents voltage angle between nodes i and j; G ij and B ij represent conductance and susceptance of the line with FACTS; and N represents the number of nodes.

2.3.2 Inequality constraints

Generation limits:

$$ P_{Gi}^{\hbox{min} } \le P_{Gi} \le P_{Gi}^{\hbox{max} } \;\; $$
(9)
$$ Q_{Gi}^{\hbox{min} } \le Q_{Gi} \le Q_{Gi}^{\hbox{max} } $$
(10)

where P Gi represents the active power generation with lower and upper limits represented by \( P_{Gi}^{\hbox{min} } \) and \( P_{Gi}^{\hbox{max} } \), and Q Gi represents the reactive power generation with lower and upper limits represented by \( Q_{Gi}^{\hbox{min} } \) and \( Q_{Gi}^{\hbox{max} } \) at node i.

Power line limits:

$$ P_{Li}^{\hbox{min} } \le P_{Li} \le P_{Li}^{\hbox{max} } $$
(11)
$$ Q_{Li}^{\hbox{min} } \le Q_{Li} \le Q_{Li}^{\hbox{max} } $$
(12)

where P Li represents the active power flow of line i with lower and upper limits represented by \( P_{Li}^{\hbox{min} } \) and \( P_{Li}^{\hbox{max} } \), and Q Li represents the active power flow of line i with lower and upper limits represented by \( Q_{Li}^{\hbox{min} } \) and \( Q_{Li}^{\hbox{max} } \) at node i.

Voltages and voltage angles limits:

$$ V_{i}^{\hbox{min} } \le V_{i} \le V_{i}^{\hbox{max} } $$
(13)
$$ \theta_{i}^{\hbox{min} } \le \theta_{i} \le \theta_{i}^{\hbox{max} } $$
(14)

where V i represents voltage magnitude with lower and upper limits represented by \( V_{i}^{\hbox{min} } \) and \( V_{i}^{\hbox{max} } \), and θ i represents voltage angle with lower and upper limits represented by \( \theta_{i}^{\hbox{min} } \) and \( \theta_{i}^{\hbox{max} } \) at node i.

FACTS limit:

$$ x_{i}^{\hbox{min} } \le x_{i} \le x_{i}^{\hbox{max} } {\kern 1pt} $$
(15)
$$ b_{i}^{\hbox{min} } \le b_{i} \le b_{i}^{\hbox{max} } $$
(16)

where x i represents the compensated reactance of the line by TCSC with lower and upper limits represented by \( x_{i}^{\hbox{min} } \) and \( x_{i}^{\hbox{max} } \), and b i represents the compensated susceptance of the line by SVC with lower and upper limits represented by \( b_{i}^{\hbox{min} } \) and \( b_{i}^{\hbox{max} } \).

2.4 Economic constraints

Because FACTS devices are costly, the number of installed FACTS devices is limited. The total cost of the investment C includes the investment costs of TCSC and SVC [24, 25].

$$ C{ = }\sum\limits_{k = 1}^{p} {{c}_{TCSC}} \cdot {{x}_{TCSC}} (k) \cdot {{{i}}_{{l{{k}}}}^{2} } + \sum\limits_{{{{k = }}1}}^{{q}} {c_{SVC}} \cdot \left| {{b}_{SVC} } \right|(k) \cdot {v}_{k}^{2} $$
(17)

where p and q represent the number of TCSC and SVC respectively; c TCSC and c SVC represent the investment cost per kvar-installed of TCSC and SVC respectively [26, 27]; x TCSC represents the series reactance by TCSC; b SVC represents the susceptance by SVC; i lk represents the active power flow through the transmission line; and v k represents the voltage magnitude at node i.

3 Modified GSO algorithm and its application

Static stability analysis of large complex power systems have many cases. The calculation of addressing arbitration based on traversing method is extremely time-consuming. In this paper, the modified GSO algorithm is adopted for installation location optimization, which can shorten the time of the simulation and obtain the best position.

3.1 Angle selection of GSO algorithm

GSO algorithm search space size is determined by the maximum pursuit angle θmax and maximum pursuit distance lmax. Angle search is a key factor in the optimization process. In the standard GSO algorithm, it is presented by the following two formulas changing search [2830].

$$ \varphi^{{{k} + 1}} { = }\varphi^{k} \pm {r}\theta_{\hbox{max} } /2 $$
(18)
$$ \varphi^{{{k} + 1}} { = }\varphi^{k} + {r}\alpha_{\hbox{max} } $$
(19)

where rRn−1 is a uniformly distributed random sequence in the range (0, 1), θmaxR1 represents maximum pursuit angle, αmax∈R1 is the maximum turning angle. Equations (18) and (19) represent the new randomly generated angles.

Accordingly, the change of angle search is randomly determined by the size of r. Thus, the angle search may be repeated and lead to the local optimum. To improve the process of angle search and avoid jumping into the local angle search, modifying angle change can make it have a certain purpose. Through changing the angle every time, chaos search is introduced (Tables 1, 2, 3).

Table 1 Investment cost per kVar-installed of FACTS
Table 2 Investment of installation
Table 3 Locations, the reactance and the susceptance of FACTS

3.2 Chaos search algorithm model

Chaos search algorithm has three important dynamic properties: stochastic property, regularity and ergodicity. In order to achieve the change of angle search process, Logistic map is introduced into angle search of GSO algorithm.

This map is defined by [31].

$$ r_{n + 1} = \gamma r_{n} (1 - r_{n} ){\kern 1pt} {\kern 1pt} $$
(20)

where n is the serial number of chaotic variables, and γ is a chaotic attractor. When γ = 4, system enters into a chaos state.

Using r n instead of r in the original algorithm, the equations are:

$$ \varphi^{{{k} + 1}} = \varphi^{k} \pm \gamma r_{n} \left( {1 - {{r}_{n}} } \right){\kern 1pt} \theta_{\hbox{max} } /2{\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} $$
(21)
$$ \varphi^{{{k} + 1}} { = }\varphi^{k} + \gamma r_{n} \left( {1 - {{r}_{n}} } \right)\alpha_{\hbox{max} } $$
(22)

Angle search process is random and ergodic, as a result, it avoids falling into local search and local optimum.

As shown in Fig. 4, optimization result using the modified GSO algorithm is better than that using the original algorithm.

Fig. 4
figure 4

Comparison of performance index evolution for GSO

The specific process are:

  • Step 1: Load the original data of system and FACTS;

  • Step 2: Generate the initial population of n randomly, and the chaos of the original variables r0;

  • Step 3: Power flow calculation and data processing. Calculate the objective function value, and select a minimum of objective function as producer in the initial populations. 80 % of the members of the initial population are looked as scroungers, and the rest of the members are looked as rangers;

  • Step 4: Update the placements of producer, scrounger and ranger, and calculate the objective function value correspondingly using the modified GSO algorithm;

  • Step 5: If the objective function value is smaller than the objective function value of the initial producer, the new producer replaces the original producer, and the initial producer is merged with scrounger or ranger, continuing to update;

  • Step 6: Judge the termination condition. If the termination condition (maximum number of iterations) is satisfied, the algorithm is terminated; if not, repeat Step 3 and Step 5;

  • Step 7: Terminate the algorithm, and output the final optimal producer.

4 Case study

To verify the proposed method, the IEEE 118-bus test system is taken into account to select the locations and parameters of multi-FACTS in this paper. This network consists of 54 generator buses and 186 branches [32, 33]. In the modified GSO algorithm, there are 50 initial populations, and the maximum number of iterations is 100.

For the purpose of objective optimization, the number of FACTS, line load rate, line flow, and the loss of network are compared. The value of power flow entropy is 9.5208 as the initial accumulator value before installation of FACTS. In this paper, TCSC and SVC were tested respectively.

As shown in Fig. 5, when 15 TCSCs are installed, the value of power flow entropy is more than 9.1875; when 12 SVCs are installed, the value of power flow entropy is more than 9.3740. The comparison clearly shows that the regulatory capacity of TCSC for power flow is better than the regulatory capacity of SVC. However, considering the economic aspect, TCSC should be installed into the system in coordination with SVC to achieve optimal value. Through testing, when 4 SVCs and 6 TCSCs are chosen, the value of power flow entropy is 9.1956.

Fig. 5
figure 5

Curve of entropy value H with the number of FACTS

Table 4 and Table 5 show that the coordination of multi-FACTS based on power flow entropy has obvious effects on the power system.

Table 4 Change of load rate and power flow with and without FACTS
Table 5 Comparisons of system power generation and loss with and without FACTS

The corresponding load rates and active power of lines changed at the objective function in Table 4. In fact, the changes of all load rates of lines before and after installation of FACTS devices are shown in Fig. 6. The section above zero level shows that load rates of lines are in positive growth, indicating that load rates of lines increased. The section below zero level shows that load rates of lines are in negative growth, indicating that load rates of lines decreased. Fig. 8 shows active power of lines change before and after installation of FACTS devices. The section above zero level shows that active power flow of lines are in positive growth, which means that active power of lines increased. The section below zero level shows that active power flow of lines are in negative growth, which means that active power of lines decreased. By comparing the changes of Fig. 6 and Fig. 7, we know that the active power of line may be negative (positive) before installation of FACTS devices, and the active power of line is likely to become positive (negative) after installation of FACTS devices, which leads to the increase or decrease of the load rate of line.

Fig. 6
figure 6

Load rates changes before and after installation of FACTS devices

Fig. 7
figure 7

Power flow changes before and after installation of FACTS devices

Tables and figures show that the locations based on power flow entropy have obvious effects on power flow of distribution and load rates to achieve power flow optimization in power systems. Under the objective of power flow entropy, the coordination and optimization of multi-FACTS decreases the value of power flow entropy to lower the probability of cascading failures and large blackouts due to chain reaction in power grid and improve the security of the system. Meanwhile, it controls the overload lines, improves the low load of transmission power lines, and reduces the active power generations and the losses of power system.

5 Conclusions

In this paper, the value of power flow entropy is minimized as an objective optimization function, subject to the power system limits and economic limits. The modified GSO is effectively and successfully implemented to determine optimal allocation of multi-type of FACTS devices. Based on the case study, the following conclusions are:

  1. 1)

    Only the reasonable locations, number and capacities of FACTS can make the distribution of power flow equilibrium. Otherwise they would make the distribution of power flow more uneven and endanger the system security.

  2. 2)

    In this paper, the proposed method can be relatively accurate for allocation of FACTS devices and advantageous to the distribution of power flow.

  3. 3)

    By changing the value of power flow entropy, we can intuitively learn that TCSC has more ability than SVC for power flow regulation.