1 Introduction

The large-scale application of new energy generation represented by wind power and photovoltaic (PV) power generation can optimize the energy structure and improve the natural environment [1, 2], which is of great significance to the achievement of China's "30–60" carbon peak carbon neutral goal [3, 4]. Thanks to the wind–PV–thermal-bundled (WPTB) power transmission system [5, 6], the development of large-scale new energy bases and energy delivery in northeast, north and northwest China have become more efficient. At the same time, the application of the system has greatly expanded the scope of new energy consumption and can well meet the electricity demand of users in the eastern and central regions. At present, it has become an important way for large-scale new energy bases in China to realize efficient power transportation [7].

However, the wind turbines and PV plants connected to the conventional power system will significantly affect the damping ratio of the system and affect the damping characteristics of the system. Consequently, the power system becomes highly susceptible to low-frequency oscillations (LFOs) as a result of reduced damping when disturbances occur. Wind power and PV power generation have a certain volatility, which will also increase the probability of unbalanced tides in the power system, resulting in more oscillation problems [8, 9]. In addition, the interaction between new energy units and traditional thermal generating units will also affect the damping torque and LFO characteristics of the system, so that the interconnected power grid is prone to LFO and inter-area LFO due to the reduction in the damping, thus affecting the transmission capacity between the connected lines of the interconnected system. For large-scale interconnected systems, the transmission capacity and stability of tie lines are crucial, and serious LFOs can even lead to grid disconnection of the power system, limiting the grid-connected scale of new energy generation. It can be seen that the stability problem is prominent in the new energy power system.

Power system stabilizer (PSS) installed on the excitation system of synchronous thermal generating units can effectively suppress the LFO of traditional power system, but in present-day power systems, because of the access of new energy sources, inter-area oscillations are difficult to suppress effectively under certain operating conditions using only PSS control, so other more effective measures are needed to suppress LFOs and simultaneously improve the system's dynamic stability [10]. Flexible AC transmission systems (FACTS) devices have found application in actual power system as power electronics have advanced. FACTS can accomplish continuous regulation and control of system voltage, line impedance, phase angle, both reactive and active power which can increase the transmission distance of transmission lines and enhance the stability of the system [11, 12]. However, with the increase in the proportion of renewable energy in the power system, a single FACTS device cannot improve the damping characteristics of the power system to ensure the stable operation of the system. With the in-depth study, the interaction and coordinated design between multiple controllers have become a research hotspot of power systems. The combination of static synchronous compensator (STATCOM) and power oscillation damping controllers (PODC) is proposed in the literature [13] which can improve the stability of the 4-machine 2-area power system under various disturbance conditions. In the literature [14], the improvement effect of static synchronous series compensator (SSSC) on the system was analyzed in a power system containing wind power and fuel cells. The results showed that fuel cells and SSSC can enhance the damping properties and transient stability of the system. The literature [15] analyzed the effectiveness of thyristor-controlled series compensation (TCSC) and static var compensator (SVC) for the application to suppress the oscillations caused by the conventional power system connected to high-permeability wind power. The simulation results show that TCSC is more effective than SVC in improving system stability.

With the increasing number of controllers in the system, multiple controllers can indeed achieve fast control and improve system stability, but there are also adverse interactions between them, which may deteriorate the control effect and even cause system instability. The literature [16] states that, considering the negative interactions of multiple FACTS devices in a multi-machine system, to achieve coordinated control of multiple FACTS devices, it is necessary that the controller parameters satisfy the coordinated operation conditions. A multi-objective multi-model system strategy based on Bilinear matrix inequality (BMI) is used in the literature [17] to coordinate the design of SVC and TCSC, and verifies the effectiveness of all methods in the 5-area 16-generator 68-bus system. The suggested controller shows high robustness against various system disturbances and different operating conditions, according to the time-domain simulation findings. The literature [18] verified through simulation that there is an unfavorable interaction between the PSS and the UPFC-PODC, and that the coordinated optimization of the parameters of the PSS and the UPFC-PODC by the steepest descent algorithm can reduce the system oscillation amplitude and improve the system stability. In the literature [19], the effects of PSS and SSSC on the stability of power systems connected to doubly fed induction generator (DFIG) were investigated, and an objective function related to the rotor speed deviation was designed to coordinate and optimize the compensation degree of SSSC and the gain of PSS. The results show that the oscillations of the system can be suppressed to the maximum extent by optimizing the controller parameters.

In summary, this paper considers the coordinated control of PSS, STATCOM-PODC and SSSC-PODC to enhance the damping characteristics of the WPTB power transmission system and suppress the LFO of the system. Firstly, the SSSC-PODC controller and STATCOM-PODC controller are designed based on the tie line transmission power signal. Secondly, the objective function is constructed by considering the system transient voltage stability, real part of the eigenvalues and damping level of the LFO modes. Thirdly, GA and PSO are relatively mature optimization algorithms, which are considered as the benchmark of intelligent optimization technology by most scholars. The standardization and generality of GA and PSO [20] are considered, and the advantages of both algorithms are combined. A hybrid algorithm based on PSO and GA is proposed as an optimization method to coordinate and tune the parameters of multiple controllers. The PSO-GA algorithm and pattern analysis theory are used to coordinate and optimize the design of PSS, SSSC-PODC and STATCOM-PODC to improve the LFO properties of the system. Finally, the effectiveness of the designed parameter optimization method is verified by simulating the IEEE 4-machine 2-area system under various operating conditions, including new energy unit output change and contact line transmission power change.

The main contributions are as follows:

  • Through the cooperative control of PSS and multiple FACTS devices, the LFO of the WPTB power transmission system is effectively suppressed and the system stability is significantly improved.

  • A coordinated optimization method for PSS and multi-FACTS devices is proposed, which ensures the coordinated operation capability of multiple controllers based on PSO-GA algorithm, and better solves the coordinated design and operation problems of PSS, STATCOM-PODC and SSSC-PODC.

  • The performance of the proposed parameter optimization method is verified in a modified IEEE 4-machine 2-area system by dynamic time-domain simulation and eigenvalue analysis under different operating conditions. The simulation results show that the synergistic optimization of PSS, STATCOM-PODC and SSSC-PODC can give full play to the effects of different controllers and significantly improve the damping ratios of inter-area oscillation modes; the oscillation amplitude and the time required to restore stability of the system are significantly reduced when a fault comes, which enhances the dynamic stability of the system.

The following is a brief introduction to the rest of this paper. Section II describes the models of the WPTB power transmission system, the FACTS devices and PSS. In Section III, the objective function that integrates the transient voltage stability of the system, the real parts and damping ratios of the eigenvalues of the LFO modes of the system is designed. In Section IV, the PSO-GA-based parameter optimization model is proposed. Section V optimizes the parameters of PSS, STATCOM-PODC and SSSC-PODC using PSO-GA, and the effectiveness of the proposed parameter optimization method is fully verified by a large number of examples through a modified IEEE 4-machine 2-area system using eigenvalue analysis and dynamic time-domain simulation. Finally, some useful conclusions are obtained in Section VI.

2 System modeling

2.1 The model of WPTB power transmission system

Figure 1 illustrates the connection diagram for the power system with WPTB power. \(\Delta {P}_{b}+j\Delta {Q}_{b}\) is the electric power injected into the power system by the WPTB, and \(\Delta {P}_{s}+j\Delta {Q}_{s}\) is the electric power received by the receiving end.

Fig. 1
figure 1

Connection diagram of WPTB power transmission system

The wind power generation system is composed of DFIG, which is the mainstream model widely used at present. The shafting transmission device is considered to adopt a two-mass model, and its mathematical model mainly includes induction generator, mechanical transmission part, wind power model, wind speed model, pitch angle control, converter and speed control part [20]. It is possible to directly connect the stator of the DFIG to the power system, while the pulse width modulation inverter is used to link the rotor to the power system. Wind energy is converted into mechanical energy via wind turbines, which can then be converted into electricity. The pitch angle mediation equations of DFIG and the fourth-order model of DFIG in the d-q coordinate axis are given in reference [21, 22].

The PV system is connected to the external power grid and can supply active and reactive power to the power system and is part of the power system. A PV system usually consists of a PV array, a controller, an inverter and a power grid, where the PV array is the key part of the PV system. There are many PV cells in the PV array that are connected in series or in parallel. PV cells consist of PN-type semiconductors and generate current through the photovoltaic effect.

2.2 PSS of SGs

A common method of suppressing LFO in power systems is to add PSS to the excitation system of synchronous thermal power generators. As an additional control to the SG's excitation system, when adjusting for voltage variation, PSS can eliminate the negative damping produced by the automatic voltage regulator (AVR) and add positive damping torque to the system. The phase lag between the torque component and rotor speed w can be chosen as the PSS input signal to compensate the excitation system. Otherwise, the power system will become unstable due to increased rotor oscillation [23].

$$ \left\{ \begin{gathered} {\mathop {V_1 }\limits^\bullet } = - \left( {K_w \omega + V_1 } \right)/T_w \hfill \\ {\mathop {V_2 }\limits^\bullet } = \left( {\left( {1 - \frac{T_1 }{{T_2 }}} \right)\left( {K_w \omega + V_1 } \right) - V_2 } \right)/T_2 \hfill \\ {\mathop {V_3 }\limits^\bullet } = \left( {\left( {1 - \frac{T_3 }{{T_4 }}} \right)\left( {V_2 + \left( {\frac{T_1 }{{T_2 }}\left( {K_w \omega + V_1 } \right)} \right)} \right) - V_3 } \right)/T_4 \hfill \\ {\mathop {V_S }\limits^{\,}} = V_3 + \frac{T_3 }{{T_4 }}\left( {V_2 + \frac{T_1 }{{T_2 }}\left( {K_w \omega + V_1 } \right)} \right) \hfill \\ \end{gathered} \right. $$
(1)

This paper adopts a PSS consisting of a scour filter with time constant Tw, a damping gain KPSS and a lead–lag compensation block with time constants T1, T2, T3 and T4, as shown in Fig. 2. AVR's reference voltage can be modified by the state variable VS, which is the output of PSS. Equation (1) provides the value of VS. V1, V2 and V3 refer to the output signals of the corresponding blocks.

Fig. 2
figure 2

Structure of PSS

2.3 STATCOM-POD controller

The STATCOM dynamic model is shown in Fig. 3. STATCOM adopts the first-order current injection model described in the literature [24, 25] in this paper. As a parallel FACTS device, STATCOM can provide reactive power support to the power system by adjusting its output current iSH according to Eq. (2).

Fig. 3
figure 3

(a) STATCOM equivalent circuit diagram, (b) STATCOM control block diagram

(a) STATCOM circuit, (b) STATCOM control block diagram

$$ \left\{ \begin{gathered} {\mathop {i_{SH} }\limits^\bullet } = \left( {K_r \left( {V_{ref} + V_s^{POD} - V_i } \right) - i_{SH} } \right)/T_r \hfill \\ Q = i_{SH} V_i \hfill \\ \end{gathered} \right. $$
(2)

where regulator's voltage gain, reference voltage and time constant are represented by Kr, Vref and Tr, respectively; the measured voltage and reactive power of STATCOM nodes are denoted by Vi and Q, respectively; and \({V}_{s}^{POD}\) is the output voltage of PODC.

The design of PODC includes amplification, DC isolation, phase compensation and current limiting, and Eq. (3) is its transfer function. STATCOM and PODC together constitute a closed-loop control structure. Additional control signals of PODC are added to the AC voltage part of STATCOM to maximize the output or absorbed reactive power, effectively increase the system damping and improve the dynamic characteristics of the system.

$$ G(s) = K_{POD} \frac{sT_w }{{1 + sT_w }}\frac{{1 + sT_{POD1} }}{{1 + sT_{POD2} }}\frac{{1 + sT_{POD3} }}{{1 + sT_{POD4} }} $$
(3)

Figure 4 shows the closed-loop control structure formed by STATCOM and PODC together, where the PODC's control structure is comparable to the PSSs. A power oscillation damping amount is determined by the value of the stabilizer gain KPOD of PODC. To guarantee that the output of PODC remains zero in steady state, a washout filter with a temporal constant Tbw is utilized. Phase lead characteristics can be provided by using two-phase compensator blocks with time constants Tb1, Tb2, Tb3 and Tb4. Signals for the PODC input are not unique, and local or remote signals may be selected depending on the circumstances, such as the selection of line active and reactive power, current and voltage. In this article, the active power of transmission line PL is selected [26].

Fig. 4
figure 4

Control block diagram of STATCOM-PODC

STATCOM adds the output signal of PODC to its AC voltage control section. To avoid overshoot, there is an anti-windup limiter to limit the adjustment range of \({V}_{s}^{POD}\). The maximum value of \({V}_{s}^{POD}\) is \({V}_{s}^{max}\), and the minimum value is \({V}_{s}^{min}\).

2.4 SSSC-POD controller

$$ {\mathop {V_{SC} }\limits^ \bullet } = V_{scd} + jV_{scq} = {{k^{\prime}m^{\prime}V^{\prime}_{dc} \sin \delta ^{\prime}} / {\sqrt {2} }} + j{{k^{\prime}m^{\prime}V^{\prime}_{dc} \cos \delta ^{\prime}} / {\sqrt {2} }} = {{k^{\prime}m^{\prime}V^{\prime}_{dc} \angle \delta ^{\prime}} / {\sqrt {2} }} $$
(4)

The basic topology of the SSSC is shown in Fig. 5 and consists of a DC capacitor \({C}_{dc}^{\mathrm{^{\prime}}}\), a voltage source inverter (VSI) and a series coupling transformer. The SSSC can operate in capacitive or inductive mode to increase or decrease the transmitted reactive and active power, depending on the polarity of the series injection voltage (\({\dot{V}}_{sc}\)).

Fig. 5
figure 5

SSSC structure diagram

Based on the constant voltage control strategy of SSSC in [27], the injection voltage of SSSC in the synchronous coordinate system can be expressed as Eq. (4) [28].

In Eq. (4), \({\delta }{\prime}\) is the SSSC equivalent voltage amplitude; \({V}_{dc}{\prime}\) is the SSSC DC capacitor voltage; \({m}{\prime}\) is the PWM coefficient of the inverter; the transformation ratio of the transformer is \({k}{\prime}\); the d-axis and q-axis components of the equivalent voltage at the SSSC node are Vscd and Vscq, respectively; the equivalent voltage of the SSSC node is \({\dot{V}}_{sc}\); the capacitance is C; and \(\dot{I}\) is the current flowing into the power system node.

Suppose the reactance of the transmission line without SSSC is XL, and its equivalent compensation capacitive reactance is XC, then the compensation degree of SSSC can be expressed as:

$$ C_P = X_c /X_L $$
(5)

In the formula, the value range of CP is [0,1], and the equivalent reactance after adding SSSC is:

$$ X_L^{\prime} = (1 - C_P )X_L $$
(6)

Through the analysis of Eq. (5) and (6), it can be known that the constant increase in the CP value will lead to the continuous decrease, the equivalent electrical distance of the line will be shortened, and the power transmission limit of the system will be increased, and the system stability will be improved.

The SSSC control block diagram used in this paper is given in Fig. 6. In the figure, the equivalent voltage value of SSSC is \({V}_{sc}\); \({V}_{sc}^{max}\) and \({V}_{sc}^{min}\) are the upper and lower limits of \({V}_{sc}\), respectively; the time constant of the SSSC voltage regulator is TSC; the output voltage of the PODC is \({V}_{s}^{POD}\); the initial value of the SSSC compensation voltage is \({V}_{sc}^{0}\); the proportional and integral coefficients of the PI control link are KP and KI, respectively; the power value at the SSSC installation is Psc; and the power reference value is Pref.

Fig. 6
figure 6

SSSC control block diagram

The basic principle of PODC control has been introduced in Sect. 2.3. The design of SSSC-PODC control block diagram is shown in Fig. 7. SSSC and PODC together form a closed-loop control structure, and the phase compensation link is used to compensate the phase lag between the PODC input signal y and the bus voltage at the SSSC installation; the limiting link is used to limit the amplitude of the PODC control link regulation signal. The output voltage of the PODC controller is used as an additional control signal, which is connected to the voltage regulator of the SSSC, so that the equivalent voltage of the SSSC is regulated to provide additional damping control and further improve the ability of the SSSC to improve the damping characteristics.

Fig. 7
figure 7

SSSC-PODC control block diagram

3 Parameter optimization problem description

This section discusses how to solve the coordination problem between PSSs, STATCOM-PODC and SSSC-PODC controllers convert to a problem of finding the objective function's extreme value. It is possible to suppress the LFO of the system while maintaining voltage stability by coordinating the different controllers.

3.1 For small-signal stability

A differential algebraic equation can be used to represent the WPTB transmission system's state space, as shown in Eq. (7).

$$ \left\{ \begin{gathered} \dot{x} = f(x,y) \hfill \\ 0 = g(x,y) \hfill \\ \end{gathered} \right. $$
(7)

where x and y, respectively, represent the state variables' and algebraic variables' vectors.

Based on linearization theory and Lyapunov theory, the best technique for examining the stability of small signals in power systems is eigenvalue analysis. The linearized model of the system can be obtained by Taylor series expansion at the stable operating point (xs, ys), expressed in Eq. (8).

$$ \left[ \begin{gathered} \Delta \dot{x} \hfill \\ 0 \hfill \\ \end{gathered} \right] = \left[ {\begin{array}{*{20}c} {\nabla xf} & {\nabla yf} \\ {\nabla xg} & {\nabla yg} \\ \end{array} } \right]\left[ \begin{gathered} \Delta x \hfill \\ \Delta y \hfill \\ \end{gathered} \right] = \left[ {\begin{array}{*{20}c} {A_1 } & {B_1 } \\ {C_1 } & {D_1 } \\ \end{array} } \right]\left[ \begin{gathered} \Delta x \hfill \\ \Delta y \hfill \\ \end{gathered} \right] $$
(8)

where \(\nabla xf\) is the gradient of the function \(f(x, y)\), and \(\nabla xf=\partial f(x,y)/\partial x\), and the other remaining similar symbols have similar definitions. By considering \(\nabla xg\) is non-singular, then (8) can be written as:

$$ \Delta \dot{x} = \left[ {A_1 - B_1 (C_1 )^{ - 1} D_1 } \right]\Delta x = A\Delta x $$
(9)

where A is the state matrix, suppose the complex eigenvalues of A are \(\lambda =\alpha \pm j\beta \), then the oscillation frequency is f =β/2π. Equation (10) gives the damping ratio of the system:

$$ \xi (\% ) = \frac{ - \alpha }{{\sqrt {\alpha^2 + \beta^2 } }} \times 100\% $$
(10)

The relationship between system modes and state variables can be expressed by participating factors. As the value increases, the mode contribution to dynamic response will increase as well. The formula for calculating it is as follows:

$$ p_{ij} = w_{ij} v_{ji} /\left( {w_i^T v_i } \right) $$
(11)

where w and v are A's left eigenvector and right eigenvector, respectively, and pij is the ith state variable's participation factor to the jth eigenvalue. For any eigenvalue λi, the right eigenvector of λi is the n-column vector meeting the condition \(A{v}_{i}={\lambda }_{i}{v}_{i}(i=\mathrm{1,2},\dots ,n)\); the n-row vector wi satisfying \({{w}^{T}}_{i}A={{w}^{T}}_{i}{\lambda }_{i}(i=\mathrm{1,2},\dots ,n)\) is called the left eigenvector of λi. And participation factor determines the dominant machines of LFO modes.

To suppress power oscillations, the objective function is designed for the parameter coordination problem of PSS, SSSC-PODC and STATCOM-PODC. Considering the damping ratio of each LFO mode, the maximum damping ratio is 1. With the iteration of the algorithm, the damping ratio of each oscillation mode of the system is closer and closer to 1, thus increasing the damping ratio. Therefore, the ultimate objective of this optimization is to maximize the damping ratio, and power angle stability can be defined as follows:

$$ \min J_1 = \min \mathop \sum \limits_{i = 1}^q \left( {1 - \xi_i } \right) $$
(12)

where ξi is the damping ratio of the ith LFO mode of the system.

3.2 For transient voltage stability

When considering the voltage stability of the transmission system, taking into account the amplitude of voltage oscillation in the transient process of the transmission system and the time required to restore stability, the objective function is defined as:

$$ \min J_2 = w_1 \smallint_{t_0 }^{t_s } \mathop \sum \limits_{k = 1}^n \left[ {V_k (t) - V_k (0)} \right]^2 {\text{d}}t - w_2 \mathop \sum \limits_{k = 1}^n V_{k\min } $$
(13)

where t0 and ts represent the fault's and the simulation's respective end times; Vk(t) is the kth node's voltage amplitude at time t; Vk(0) stands for voltage prior to a fault; Vkmin is the kth node's minimum voltage; and w1 and w2 are the weighting coefficients. In this paper, the w1 and w2 as 1/[n × (td-t0)] and 1. The stability of the system's transient voltage increases with decreasing the objective function.

In order to optimize STATCOM-PODCs and PSSs, small-signal stability and voltage stability must be considered simultaneously, and a comprehensive consideration of J1 and J2 is required in the establishment of the optimization objective function. The objective function is as follows:

$$ J = W_1 J_1 + W_2 J_2 $$
(14)

where W1 and W2 are the weight coefficients of J1 and J2, respectively. The values of W1 and W2 can be determined according to the actual system's structure and how serious stability issues are. In this paper, the value of W1 is 1, and the value of W2 is 0.5.

According to the aforementioned theory, the STATCOM-PODC, SSSC-PODC and PSS parameter optimization issue may be expressed as:

Minimize J.

According to Sect. 2.2, the constraints of PSS controllers can be defined as:

$$ B_{{\text{min}}} \le B \le B_{\max } $$
(15)

According to Sect. 2.3, the STACOM-PODC constraints can be defined as:

$$ C_{{\text{min}}} \le C \le C_{\max } $$
(16)

According to Sect. 2.4, the SSSC-PODC constraints can be defined as:

$$ D_{{\text{min}}} \le D \le D_{\max } $$
(17)

where B, C and D are the parameters of the PSS, STATCOM-PODC and SSSC-PODC, respectively, which are defined as B = [KPSS, T1, T3], C = [KPODC1, Kr, Tr, T1ST, T2ST, T3ST, T4ST] and D = [CP, KPODC2, T1SC, T2SC, T3SC, T4SC]. Bmin and Bmax are the lower and upper limits of the parameters of PSS controllers; Cmin and Cmax restrict the minimum and maximum limits of the parameters of STATCOM-PODC controller. Dmin and Dmax are the lower and upper limits of the parameters of SSSC-PODC controller. The controller's parameters are optimized in order to minimize the objective function. Convergence of an algorithm can be sped up by using a reasonable parameter range. Within this article, the gain constant parameters range from 1 to 50, the time constant limits range from 0.01 to 2, and the CP value range is given in Sect. 2.4.

4 Solution methodology

4.1 Adaptive droop coefficient control

The PSO algorithm is based on the regularity of bird predation which can quickly find the optimal solution of the problem. In d-dimensional space, think of each particle as having no mass or volume, moving across the search space at a certain speed, adjusting this velocity dynamically based on a review of both individual and group flying experience, and updating the individual's location as necessary. PSO performs a global search under individual adaptive conditions to generate particles with random velocity and position, and then initializes the population. Following the local best position of each particle as well as the global best position, PSO is continually updating the velocity and position of each particle during the search process, and it can be expressed as:

$$ \left\{ \begin{gathered} V_{i,d}^{k + 1} = \omega V_{i,d}^k + c_1 r_1 (P_{i,d}^k - X_{i,d}^k ) + c_2 r_2 (P_{gd}^k - X_{i,d}^k ) \hfill \\ X_{i,d}^{k + 1} = X_{i,d}^k + V_{i,d}^{k + 1} \hfill \\ \end{gathered} \right. $$
(18)

where \({V}_{i,d}^{k}\) and \({X}_{i,d}^{k}\) symbolize the speed and location of the dth dimension of particle i in the kth iteration, respectively; r1 and r2 are used to increase the randomness of the particles, generally taking random constants between 0 and 1; \({P}_{i,d}^{k}\) is the current local best, which indicates the optimal position of particle i in the dth dimension in the kth iteration; \({P}_{gd}^{k}\) is the current global best, which symbolizes the optimal position of the dth dimension of the population in the kth iteration; c1 and c2 are impact factors, which demonstrate the effect of Pid and Pgd on the speed of the recent particle; and ω is the inertia weight, and its purpose is to preserve the particles' original properties and govern their exploring abilities. The particles may be made to have a balanced search capability by selecting a suitable value of ω, which reduces the average number of iterations needed to obtain an optimal solution. The value of ω is established in this paper by (19).

$$ \omega = \left\{ {\begin{array}{*{20}l} {\omega_{\min } - \frac{{\left( {\omega_{\max } - \omega_{\min } } \right) \ast \left( {f - f_{\min } } \right)}}{{f_{avg} - f_{\min } }},f \le f_{avg} } \hfill \\ {\omega_{\max } ,f > f_{avg} } \hfill \\ \end{array} } \right. $$
(19)

where the lowest and upper limits of inertia weight are ωmax and ωmin, respectively, and f is the fitness value of the current particle. The average and minimum fitness values for the total population of particles are represented by f avg and f min, respectively.

According to (19), in the neighborhood of the current optimal solution, particles with higher individual fitness will conduct local detailed searches, whereas particles with lower individual fitness will search at a wider step size in order to locate a better solution, ensuring that the entire group of solutions remains diverse and converges well.

However, with increasing PSO iterations, the diversity of particle swarms is easily destroyed and falls into local optimum. On the basis of PSO, this paper proposes using GA to perform crossovers and mutations on the population, which is helpful for enhancing particles' capacity for global optimization and causes the algorithm to depart from the local optimum point.

4.2 Solution procedure

The PSO-GA optimization algorithm combines GA's randomness with PSO's advantages to enhance global optimization capabilities. The parameters of each controller that has a great influence on the stability of the power system are extracted as the parameters to be optimized in the PSO-GA algorithm. The initial value of the controller parameters represents the initial position of the particle, and the particle optimization direction and speed are assigned according to the corresponding rules, and are limited to a certain range, which represents the upper and lower limits of the controller parameters. After the completion of each iteration, the particle with the best optimization effect will be selected as the optimal solution according to the objective function. In this way, the most suitable particle position is found through layers of iteration, that is, the coordinated controller parameter value. Figure 8 shows the proposed algorithm process for optimizing the STATCOM-PODC, SSSC-PODC and PSS parameters.

Fig. 8
figure 8

Flowchart of parameter optimization based on PSO-GA

The optimization process shown in Fig. 8 is described as follows:

  1. (1)

    Initialize the value of optimized parameters KPSS, Kr, KPODC1, KPODC2, T1, T3, Tr, T1ST to T4ST, T1SC to T4SC, of PSSs, STATCOM-PODC and SSSC-PODC by creating initial population of each particle with random speed and location. Here, the final position of each particle represents a solution to this parameter.

  2. (2)

    Assess the goal function (14). In the first part of the objective function, eigenvalue analysis is used to calculate the damping ratio of each LFO mode. The second part objective function using time-domain simulation.

    1. (a)

      For the first part of the goal function.

      1. (i)

        Assess ξi each LFO mode's damping ratio.

      2. (ii)

        i = i + 1

      3. (iii)

        Valuate (12). Suppose the power system has q LFO modes. If i = q, go to 4), if i < q, go to a).

    2. (b)

      For the second part of the goal function.

      1. (i)

        Time-domain simulation to obtain the value of voltage of the kth bus at time t.

      2. (ii)

        Find the minimum value of Vk(t) (Vk min).

      3. (iii)

        Assess the weight coefficients of (13) (w1 = 1/[n × (td-t0)], w2 = 1).

      4. (iv)

        Evaluate (13).

  3. (3)

    Update the location population and velocity population of the particles based on (18), (19) and goal function (14).

  4. (4)

    Cross operations on the location of the particles.

  5. (5)

    Mutation operation.

  6. (6)

    Verify that the particle locations are fall inside the parameters’ range, and the out-of-range particle is fixed at the boundary.

  7. (7)

    Iteration = iteration + 1.

The procedure stops when it achieves the maximum number of iterations. Otherwise, go to (2).

5 System studies

5.1 Modified 4-machine 2-area system

As shown in Fig. 9, based on the MATLAB/Simulink simulation environment, an improved IEEE 4-machine 2-area system simulation model has been developed. WPTB sending end system is connected to the Bus 06, and the output of the three power sources is, respectively, 30, 40 and 300 MW. In order to analyze conveniently, this paper replaces lumped models of wind farms and PV stations with wind turbines and PV stand-alone models. There are 4 strongly coupled large SGs at the receiving end of the system. Turbine governor (TG) is unified for SGs and PSS is installed for AVR, and the base capacity of SGs are set to 100 MVA, and the basic transmission power of the tie line is 400 MW. STATCOM adopts the first-order current injection model, adjusts the output current iSH according to Eq. (2). The SSSC adopts the constant voltage control strategy, and its injection voltage is Eq. (3). With the help of the residue index of the open-loop system [29], consider connecting SSSC-PODC between Bus 08 and Bus 09, and connecting STATCOM-PODC in Bus 08.

Fig. 9
figure 9

Modified 4-machine 2-area system

Based on the example system shown in Fig. 9, the following sections systematically study the coordinated optimization effect of PSO-GA on multi-controller parameters and verify the effect of the optimized controller on the system. The STATCOM-PODC is connected in parallel to Bus 8 and the SSSC-PODC is connected in series to the line between Bus 8 and Bus 9. The three cases listed below are comparison tests to verify the performance of the controller and the effectiveness of the optimization algorithm:

  • Case 1 Only access PSS.

  • Case 2 Access PSS, STATCOM-PODC and SSSC-PODC without optimizing their parameters.

  • Case 3 Access PSS, STATCOM-PODC and SSSC-PODC, and coordinate and optimize parameters.

The controller parameters before optimization in case 1 can be found in reference [30]. The paper makes some modifications based on the actual simulation model situation. Presented in Appendix are the parameters for Case 1 without optimization and Case 2 with optimization.

5.2 Analysis of eigenvalues and time-domain simulation results

Based on the three operating conditions of the system, Table 1 presents characteristic values associated with the LFO modes. Equation (9) calculates the eigenvalues of A, and as WPTB sources is connected to the power system, two LFO modes will be added to the system, aggravate the oscillation of the system compared to the three modes of the traditional 4-machine 2-area system. A look at the DMs in Table 1 illustrates that Modes 1 and Modes 2 represent the local oscillations of Areas 1 and 2, respectively; Modes 3 and Modes 4 represent the inter-area oscillations between sending end and receiving end systems. Mode 5 is the inter-area oscillation mode among all units.

Table 1 LFO modes of the system under three working conditions

In Case 2, the damping ratios of Mode 2, Mode 3 and Mode 5 increased to different degrees, increasing by 0.19, 1.08 and 10.36%, respectively. However, the damping ratio of Mode 1 and Mode 4 decreased by 0.36 and 3.71%, respectively, especially for oscillation Mode 4 (the part with black font), the damping ratio decreased to 2.25%, and its eigenvalues were closer to the left half of the complex plane. The system has a great chance of destabilizing in case of disturbance. In Case 3, the overall damping ratio of the system is significantly improved. The total damping of the LFO modes is 55.55% higher than that of Case 1 and 47.99% higher than that of Case 2. The eigenvalue analysis results show that simply adding controllers without considering the coordination of parameters does not significantly improve the stability of the power system, and may even worsen the stability of the system. The controller optimized by the algorithm can significantly improve the damping ratio of the system and suppress the LFO of the system.

After PSO-GA optimization, the improvement effect of inter-area oscillation Mode 4 (the part with black font) is the most significant, and the damping is increased by 29.83% compared with that before optimization. The controller using algorithm optimization parameters shifts the eigenvalues originally closer to the right half of the complex plane to the left, which significantly improves system stability. Therefore, using the PSO-GA algorithm to optimize the parameters of PSS, STATCOM-PODC and SSSC-PODC can improve the damping ratio of the system and suppress the LFO.

Figure 10 shows the distribution of all eigenvalues of the system on the complex plane under three different situations. And the horizontal axis is the real part of the eigenvalue, the vertical axis is the imaginary part of the eigenvalue. The blue, green and red dashed lines represent equal damping ratio lines with damping ratios of 5, 10 and 15%, respectively. As shown in Fig. 10, the access to SSSC-PODC and STATCOM-PODC causes a significant rightward shift in the eigenvalues of mode 4 in the complex plane compared to Case 1, and the eigenvalues that were originally inside the red line are shifted to the right outside the red line. Compared with Case 3, Case 2 has two pairs of eigenvalues with a damping ratio around 5%, and its damping level is smaller, which proves that the improvement effect of the uncoordinated controller on the system is not ideal, and may even deteriorate the system stability. In Case 3, the PSO-GA-based optimization shifts the real part of the system eigenvalues toward the left part of the complex plane, and most of the system eigenvalues in Case 3 are distributed within the 10% equal damping ratio line, with only two pairs of eigenvalues located around 10%, which undoubtedly improves the small disturbance stability of the system.

Fig. 10
figure 10

Characteristic root distribution diagram of the system under three working conditions: (a) Case 1 eigenvalue distribution, (b) Case 2 eigenvalue distribution, (c) Case 3 eigenvalue distribution

Figure 11 shows the fault response curves when a three-phase short-circuit fault occurs under different Cases, assuming that the three-phase short-circuit fault occurs on the tie line from Bus 07 to Bus 09, with fault occurrence time t = 1 s, end time t = 1.1 s and simulation time set to 30 s. Time-domain simulation results show that in Case 2, the power angle curve of generator G1 was improved to some extent, but the improvement was not significant, and the system stabilized around 27 s. However, in Case 3, the maximum power angle oscillation amplitude of the generator is reduced by nearly 0.3 rad, and the oscillation is suppressed quickly, and the system stabilizes around the 15th s. The stabilization time is advanced by 12 s, which greatly reduces the oscillation time. By analyzing the voltage curves of Bus 12 and Bus 01, the system voltage oscillation is somewhat attenuated in Case 2, but its improvement effect is small. This shows that after optimization by PSO-GA algorithm, multiple controllers give full play their respective roles, significantly suppress the voltage oscillation of the system and improve the stability of the system.

Fig. 11
figure 11

Three-phase short-circuit response curve under three cases: (a) Generator G1 relative power angle curve, (b) Bus 12 voltage curve, (c) Bus 01 voltage curve, (d) Generator G2 active power output curve

5.3 System simulation when the output of wind and PV unit was changed.

To analyze the effect of PSS, STATCOM-PODC and SSSC-PODC on system improvement, this section investigates the effect of multi-controller on power system stability after parameter optimization using PSO-GA, based on the coordinated optimization parameters, while varying the wind turbine and PV unit outputs. In this section, the wind and PV output is increased by 30%, and the three cases’ conditions of the system in this subsection are the same as in Sect. 5.1.

Table 2 gives the eigenvalues of the system under the three cases. From the data in the table, it can be seen that compared to Case 1 in Table 2, the damping ratios of Modes 1, 3, 4 and 5 are reduced to different degrees, by 0.03, 0.02, 0.01 and 7.12%, respectively, which shows that when the output of new energy units increases, it may cause adverse effects on the system. In Case 2 of Table 2, the total damping ratio of the system is slightly improved to 1.7%, but the damping ratio of interregional oscillation Mode 4 is still closer to the right half of the complex plane, and it is obvious that the uncoordinated controller cannot exert the best control effect. The eigenvalue analysis results show that after optimization by PSO-GA algorithm, the improvement effect of the inter-area oscillation mode 4 is the most significant, and the damping is increased by 29.39% compared with that before the optimization.

Table 2 LFO modes of the system in different cases after the output of new energy units increases

If a three-phase short-circuit fault occurs in the system as in the previous section, Fig. 12 shows the response curve of the system. Comparing the relative power angle curves of generator G1 in Figs. 10 and 11, the amplitude of the system work angle curve is also greater when both wind and PV power output increases, with the amplitude of oscillation increasing by about 0.03 rad. And in Case 2 of Fig. 11, with the addition of multiple controllers, the power angle curves of G1 and G3, the d-axis rotor current of DFIG and the active output curve of G5 are improved to some extent despite the increase in the output of the new energy unit under the synergistic control of PSS, STATCOM-PODC and SSSC-PODC. Time-domain simulation results show that after optimization by PSO-GA algorithm, it is obvious that the amplitude of system power angle oscillation and active power oscillation are further reduced at the time of fault occurrence, and the system voltage oscillation is also significantly suppressed, and the time required to restore the system stability is also reduced, which proves the effectiveness of the proposed parameter optimization method.

Fig. 12
figure 12

Three-phase short-circuit response curve of the system when the output of DFIG and PV changes (a) d-axis rotor current Idr curve of DFIG, (b) Generator G1 relative power angle curve, (c) Generator G3 active power output curve, (d) Generator G5 active power output curve, (e) Bus 1 voltage curve, (f) Generator G2 power angle curve

5.4 The optimization effect of the algorithm when changing the transmission power of the tie line

Changes in generator output as well as load power will cause changes in the transmission power of the tie line. In this subsection, the power transmitted by the tie line is changed by adjusting the power output of the thermal generating units in area 1. The power transmission direction of the tie line is from area 1 to area 2, and the improvement effect of the optimized multi-controller on the damping ratios of the system oscillation modes and its fault response curves are investigated.

The eigenvalues and damping ratio of the system when the transmission power of the tie line decreases by 50 MW and increases by 100 MW are shown in Table 2. The meanings of the three working conditions are the same as those in Sect. 5.1. In Case 1, as the power of the tie line increases from 350 to 500 MW, the damping ratios of oscillation Modes 1, 3 and 4 decrease by 2.81, 2 and 0.23%, respectively, and the damping ratios of Modes 2 and 5 increase by 0.44 and 1.57%, respectively, and the total damping ratio of the system decreases by 3.03%, which shows that the increase in the tie line transmission power has a negative impact on the system stability. Comparing Case 1 and Case 3 with the same transmission power of the tie line, the damping ratio of the system increases significantly in the case of Case 3. The total damping ratio increases by 51.945% for 350 MW transmission power of the tie line and by 60.19% for 500 MW transmission power of the tie line. This fully illustrates that the multi-controller optimized by the PSO-GA algorithm has a significant effect on the improvement of the damping ratio of the system, and its parameters have a certain degree of robustness to adapt to the variation of the transmission power of the tie line.

The system is simulated in the time domain with a simulation time of 30 s. Assuming the same fault occurrence as in Sect. 5.2, Fig. 13 shows the three-phase short-circuit response curve of the system at different contact line powers. It can be seen from the figure that when the system tie line transmission power increases, if a three-phase short-circuit fault occurs, the system will generate a greater degree of oscillation, which confirms the results of the eigenvalue analysis, the tie line transmission power will be too large to cause adverse effects on the system. Comparing Fig. 12a–d, in Case 1 and Case 2, the system will be stable at about t = 25 s, and in Case 3, the system will be stable at about t = 15 s, and the stabilization time will be earlier for about 10 s. When a three-phase short-circuit fault comes, the response curves of Case 1 and Case 2 oscillate considerably. From the values of the vertical axis, the amplitude of oscillation is significantly reduced by the algorithm-optimized controller, which shows that even if the tie line transmission power changes, the PSS, STATCOM-PODC and SSSC-PODC optimized based on the PSO-GA algorithm can still achieve coordinated cooperation and jointly enhance the stability of the system.

Fig. 13
figure 13

Three-phase short-circuit response curves of the system when the power of the tie line is different. (a) The transmission power of the tie line is 350 MW. (b) The transmission power of the tie line is 500 MW

6 Conclusions and prospects

In this paper, a parameter coordination optimization method based on PSO-GA algorithm is proposed for STATCOM-PODC, SSSC-PODC and PSS parameters. The IEEE 4-machine 2-area system is used as a case study and shown that the optimization method is effective by analyzing the eigenvalues and simulation results. The following is a summary of the main conclusions:

  1. (1)

    To enhance the improvement effect of STATCOM and SSSC on system stability, the SSSC-PODC and STATCOM-PODC controllers were designed using the active power signal of the tie line as the PODC input signal.

  2. (2)

    Construct an objective function based on eigenvalues and damping ratios of the LFO modes, and consider system voltage stability comprehensively. The parameter optimization problem is transformed into the problem of taking the extreme value of the objective function. The PSO-GA algorithm is used to achieve coordinated optimization of the parameters to maximize the damping ratio of the system in LFO modes and significantly suppress the system voltage oscillation due to faults.

  3. (3)

    Finally, the optimization results were verified in the IEEE 4-machine 2-area system using eigenvalue analysis and dynamic time-domain simulation method. The results show that the synergistic optimization of STATCOM-PODC, SSSC-PODC and PSS can significantly improve the overall damping level of the system, enhance the system anti-interference capability and effectively improve the stability of the system. This also proves that the proposed parameter optimization method can solve the parameter coordination optimization problem of PSS and multi-type FACTS devices.

Based on the current research results and methods, the future research direction is prospected as follows:

  1. (1)

    In the power system modeling, different types of fan models will be considered, and the power system with multiple fans is optimized by different types of PSS.

  2. (2)

    Innovation will be carried out in the design of the objective function, which effectively combined eigenvalue analysis, time-domain simulation, economic problems, the proportion of output between new energy and the proportion of output between new energy and conventional energy, etc., to ensure that the optimized power system can meet the needs of all aspects

  3. (3)

    Considering the influence of wind power output fluctuation on the stability of the power system, in order to better consider the uncertainty and ensure the stable and efficient operation of the power system under multiple operation modes, it is planned to adopt the stability analysis of small interference probability to solve the problem of LFO of the power system caused by the uncertainty of wind power output.