1 Introduction

The electric utility industries have undergone exceptional changes in their structure worldwide. Newer issues in power system operation and planning are unavoidable due to the start of an open market environment and restructuring of the industries into distinct generation, transmission, and distribution entities. In this restructured power scenario, major emphasis is given on the delivery of stable, secure, controlled, and high quality electric power by the utilities. Power systems are broadly categorized into generation, transmission and distribution networks. During the transfer of electric power from generating station to consumer end, balance of both active and reactive power between the two ends is necessary. Active and reactive power relates to two equilibrium points: frequency and voltage. If either of the two balances is not maintained, the equilibrium points will float. A good quality electric power system signifies that there are no deviations in frequency and voltage from their desired values during operation. However, the main concern related to the system load is that, it is ever-changing based on the needs of the consumers which disrupts the active and reactive power balance. Due to the imbalance, the frequency and voltage levels will not be maintained to their standard values. Thus, a proper control system is essential to mitigate the effects of random load changes and to maintain the frequency and voltage at desired levels for maintaining stability of power system and ensure its reliable operation. Due to the presence of weak ties in a multi area network, power systems face frequency oscillations of varying degrees. These oscillations may sustain and grow which might eventually lead the system towards isolation. Therefore, the analysis of system stability is of utmost importance. Power system stability refers to the ability to remain in operating equilibrium. The power system becomes vulnerable to instability due to disturbances like sudden changes in load, loss of generation or switching of a transmission line during the fault, wide spread use of the high gain fast acting excitation system etc. In the past, stability was mainly categorized into angle stability and voltage stability. Angle stability can be further classified as: small signal stability, transient stability, mid-term stability and long-term stability. System stability depends on both damping and synchronizing torque components. Lack of sufficient synchronizing torque results in transient instability and insufficient damping torque results in small signal instability. Use of fast acting exciter models in modern power system helps in improving transient stability, but at the cost of damping torque, which makes the study of small signal stability an ultimate necessity. Small signal stability always deals with LFOs, which limits the power transmission capability and might eventually result in a breakdown of the entire system. Therefore, small signal stability analysis (SSSA) [1] is of prime importance for stable and secure operation of power system. PSSs [2] are commonly effective in mitigating these oscillations. PSS is employed to provide the supplementary control signal for excitation system of the synchronous generator to damp out the low frequency oscillations and to improve overall power system stability. In literature, PSSs have been designed mostly using phase compensation techniques and the parameters of PSS have been optimized based on power system detailed model including network equations [3, 4]. Various classical techniques LMI [5, 6], Pole placement method [7] etc. are available in the literature which can provide good performance but are not capable of solving non-differential, complex non-convex objective functions. Therefore, for the modern complex and dynamic power system, it is difficult to solve LFO problem through conventional and linear optimal control approaches. For different loading conditions and configurations of power network, the PSS parameters need to be modified. To overcome the limitations of classical optimization techniques, different evolutionary algorithms have been proposed in various literatures [8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]. Evolutionary algorithms have become very attractive nowadays because of their easy implementation and lesser computational time in achieving global optimal point over the classical techniques. Literature shows that PSS tuning is a very challenging task till date thereby motivating the authors in applying three recently developed algorithms for tuning of PSS parameters.

Although Genetic algorithm (GA) [24] gained huge attention for designing of PSS due to its ease of getting near global optimal solutions, its application is constrained by large computational time.

Other evolutionary computation algorithms available in literatures for designing Conventional PSS to mitigate low frequency oscillations are: Bacteria Foraging (BF) [23], which is based on random search directions, which may lead to delay in reaching optimum solution, Firefly algorithm (FA) [25], Cuckoo search (CS) [18], Evolutionary programming [19], Tabu search [20], Simulated annealing [21] and BAT [22] etc.

With the increasing growth of population and economy, the developed as well as developing countries are facing a huge demand of energy. Keeping in mind the climate changes and other ill effects of greenhouse gas emissions from fossil fuel combustions, fulfilling this ever- increasing energy demand is quite challenging. Also, since fossil fuels are not unlimited, research is going on to find other alternate and efficient energy sources.

Utilization of energy obtained from renewable energy sources such as wind [26], solar [27] and hydro [28] goes a long way in reducing carbon emissions. Renewable energy sources are cleaner and cheaper alternatives for fossil fuels. Presently, there is an increased emphasis on solar photovoltaic (PV) generators as renewable energy sources because of their certain advantages such as simplicity of allocation and absence of fuel cost. But it is very important to observe the impact of renewable integration into the system. The introduction of renewable energy resources has resulted in the introduction of newer types of generators into electricity distribution systems. These PV generators do not have rotating mechanical parts and the power injections from these generators are dependent on and solar irradiation [29]. Operating the renewable generators in parallel with conventional synchronous generators present new challenges related to stability, operation and control of the power system and its components [30]. Therefore, it is necessary to study the impact of renewable integration on the small signal stability of the system.

Different methods like frequency response, residue based technique, synchronizing and damping torque analysis and eigenvalue analysis are available for analyzing small signal stability. But among all the above mentioned techniques, eigenvalue analysis technique is used in this paper because using this technique the oscillations can be characterized very easily and accurately. Also, various modes identification can be done easily by this technique, which is quite difficult with the other techniques available in the literature. The main contributions of this paper are as follows:

  • Small signal stability analysis of solar PV integrated multi-machine system due to the dynamic behavior of the power system in presence of PSS is presented in this paper. An exhaustive comparative study is carried out for this solar integrated system with respect to the conventional system to demonstrate the effect of renewables on power system stability.

  • Studies presented in the literature analyzed small signal stability considering R, L, C as local loads in case of solar PV. But constant power, constant current and constant impedance loads are more realistic that also needs to be addressed. This work considered constant power load for modeling purposes.

Section 2 of the paper presents the techniques which are available for small signal stability analysis; brief description of electromechanical modes and participation factor is presented in Sect. 3; mathematical modeling of power system stabilizer and solar PV integrated multi-machine model is presented in Sect. 4; objective function considered for the study and the optimization techniques applied are presented in Sects. 5 and 6 presents the results of simulation and their exhaustive discussion.

2 Small Signal Stability Analysis (SSSA)

The following are the commonly used techniques for small signal stability analysis:

  1. 2.1

    Eigenvalue Technique [31]

  2. 2.2

    Synchronizing and Damping Torque Analysis [2, 32]

  3. 2.3

    Frequency Response and Residue Based Analysis [33,34,35,36]

  4. 2.4

    Time Domain Solution [36,37,38]

The eigenvalue technique used in this paper is briefly described below:

Eigenvalues of any matrix A are the results of the characteristic equation of the matrix, which may be real or complex. Complex eigenvalues always appear in conjugate pairs. For any eigenvalue \(\lambda_{i}\), the time dependent characteristic of its mode is obtained as \(e^{{\lambda_{i} t}}\) [31]. A real eigenvalue relates to a non-oscillatory mode. A positive real eigenvalue signifies aperiodic monotonic instability while negative real eigenvalue signifies a decaying mode. Higher the magnitude, faster is the decay. Each complex eigenvalue pair relates to an oscillatory mode. The real part of eigenvalue is associated to damping whereas; the imaginary part is associated to frequency of oscillations. A negative real part signifies damped oscillations while positive real part signifies oscillations with increasing amplitude. A complex pair of eigenvalues is represented as follows:

$$\lambda = \sigma \pm j\omega$$
(1)

The frequency of oscillation is obtained as: \(f = \frac{\omega }{2\pi }\) and the damping ratio is obtained as:

$$\xi = \frac{\sigma }{{\sqrt {\sigma^{2} + \omega^{2} } }}$$
(2)

The damping ratio \(\xi\) helps to determine the rate of decay of the amplitude of oscillation. For a power system to perform stable operation, it needs to be ensured that real parts of all eigenvalues lie in the negative half of s-plane. Further, quick damping of any electromechanical oscillation should be ensured.

3 Identifying Electromechanical Modes (EMs) and Participation Factor (PF)

Small Signal Stability analysis is performed on the linearized dynamic model of the multi-machine system. In this analysis, the target is to study the low-frequency oscillations. Here, the interest lies particularly in the electromechanical modes (EMs). The electromechanical oscillations are of two types:

  • Local mode: typical range of oscillation is 0.8–2.5 Hz.

  • Inter-area mode: range of oscillation is 0.2–0.8 Hz.

In order to determine the significant participation of a machine in the EMs, the participation factor analysis is used. Participation factor analysis helps in the identification of how each state variable affects a given mode or eigenvalue [1].

4 Mathematical Modeling

4.1 Description of Power System Model

The small-perturbation behavior of the power system in the vicinity of a steady-state operating point can be described by a set of linear time-invariant (LTI) differential equation in the state space form as,

$$\dot X = AX + BU$$
(3)

where, perturbations of the system state variables from their nominal values at a given operating condition is represented by the N-dimensional state vector X, and perturbations of the system inputs such as voltage reference, desired real power or load demands is represented by the vector U. The numerical values of the matrices A and B depend on the operating condition as well as on the system parameters. The whole analysis starts with a systematic derivation of a linear model for an n-bus m-machine system with nonlinear voltage-dependent loads at the network buses.

In [1] the generator differential equations, stator algebraic equation and the network equations have been shown for two-axis model with Type I exciter. Next, after performing the load flow and computing the initial condition values of the state and algebraic variables, these equations have to be linearized in order to form the system matrix and calculate the eigenvalues of the system. The equations can be written in a generalized form as:

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

Equation (4) consists of the stator algebraic equations and differential equations, together with the network equations. The state vector is denoted by x, the input vector is denoted by u, and y includes both \(I_{d\_q}\) and \(\overline{V}\) vectors i.e.

$$y = \left[ {\begin{array}{*{20}c} {I_{d - q}^{t} } & {\theta_{1} } & {V_{1} } \ldots {V_{m} } & | & {\theta_{2} } \ldots {\theta_{n} } & {V_{m + 1} } \ldots {V_{n} } \\ \end{array} } \right]^{\,\,t} \left[ {\begin{array}{*{20}c} {y_{a}^{t} } & | & {y_{b}^{t} } \\ \end{array} } \right]^{t}$$
(5)

Here, vector \(y_{b}\) and \(y_{a}\) corresponds to the load-flow variables and algebraic variables \({I}_{d-q}\) respectively. Bus 1 is the slack bus, buses 2,….,m are the PV buses and buses m + 1, …, n are the PQ buses. The vector x has a dimension of 7 m. Linearizing (4) around an operating point we get:

$$\left[ {\begin{array}{*{20}c} {\frac{d}{dt}\Delta x} \\ 0 \\ 0 \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} A & B \\ C & {\begin{array}{*{20}c} {D_{11} } & {D_{12} } \\ {D_{21} } & {D_{22} } \\ \end{array} } \\ \end{array} } \right]\,\,\left[ {\begin{array}{*{20}c} {\Delta x} \\ {\Delta y_{a} } \\ {\Delta y_{b} } \\ \end{array} } \right] + E\left[ {\Delta u} \right]$$
(6)

By eliminating \({\Delta y}_{a}\) and \({\Delta y}_{b}\), we get \(\Delta \dot{x} = A_{sys} \Delta x\) where \(A_{sys} = \left( {A - BJ_{AE}^{ - 1} C} \right)\) where \(J_{AE} = \left[ {\begin{array}{*{20}c} {D_{11} } & {D_{12} } \\ {D_{21} } & {D_{22} } \\ \end{array} } \right]\).

The model represented using (6) has been used for the small signal stability analysis in this work. The linearized differential equations, stator algebraic equations and network equation are presented below [39].

4.1.1 Linearized Differential Equations

$$\frac{{d\Delta \delta_{i} }}{dt} = \Delta \omega_{i}$$
(7)
$$\begin{gathered} \frac{{d\Delta \omega_{i} }}{dt} = - \frac{{D_{i} }}{{M_{i} }}\Delta \omega_{i} - \frac{{I_{qio} }}{{M_{i} }}\Delta E_{qi} ^{\prime} - \frac{{I_{dio} }}{{M_{i} }}\Delta E_{di} ^{\prime} - \frac{{I_{qio} \left( {X_{qi} ^{\prime} - X_{di} ^{\prime}} \right) + E_{dio} ^{\prime}}}{{M_{i} }}\Delta I_{di} \hfill \\ - \frac{{I_{dio} \left( {X_{qi} ^{\prime} - X_{di} ^{\prime}} \right) + E_{qio} ^{\prime}}}{{M_{i} }}\Delta I_{qi} + \frac{1}{{M_{i} }}\Delta T_{Mi} \hfill \\ \end{gathered}$$
(8)
$$\frac{{d\Delta E_{qi} ^{\prime}}}{dt} = - \frac{1}{{T_{doi} ^{\prime}}}\Delta E_{qi} ^{\prime} + \frac{1}{{T_{doi} ^{\prime}}}\Delta E_{fdi} - \frac{{\left( {X_{di} - X_{di} ^{\prime}} \right)}}{{T_{doi} ^{\prime}}}\Delta I_{di}$$
(9)
$$\frac{{d\Delta E_{di} ^{\prime}}}{dt} = - \frac{1}{{T_{qoi} ^{\prime}}}\Delta E_{di} ^{\prime} + \frac{{\left( {X_{qi} - X_{qi} ^{\prime}} \right)}}{{T_{qoi} ^{\prime}}}\Delta I_{qi}$$
(10)
$$\frac{{d\Delta E_{fdi} }}{dt} = f_{si} \left( {E_{fdio} } \right) + \frac{1}{{T_{Ei} }}\Delta V_{Ri}$$
(11)

where \(f_{si} \left( {E_{fdio} } \right) = - \frac{1}{{T_{Ei} }}\left( {K_{Ei} + S_{E} \left( {E_{fdi} } \right) + E_{fdio} \delta S_{E} \left( {E_{fdi} } \right)} \right)\); and \(S_{E} \left( {E_{fdi} } \right) = 0.0039e^{{1.555E_{fdi} }}\)

$$\frac{{d\Delta V_{Ri} }}{dt} = - \frac{{K_{Ai} K_{Fi} }}{{T_{Ai} T_{Fi} }}\Delta E_{fdi} - \frac{1}{{T_{Ai} }}\Delta V_{Ri} + \frac{{K_{Ai} }}{{T_{Ai} }}\Delta R_{fi} + \frac{{K_{Ai} }}{{T_{Ai} }}\Delta V_{refi} - \frac{{K_{Ai} }}{{T_{Ai} }}\Delta V_{i}$$
(12)
$$\frac{{d\Delta R_{Fi} }}{dt} = - \frac{1}{{T_{Fi} }}\Delta R_{Fi} + \frac{{K_{Fi} }}{{\left( {T_{Fi} } \right)^{2} }}\Delta E_{fdi}$$
(13)

For i = 1, 2,…, m,

4.1.2 Linearized Stator Algebraic Equations

$$\begin{gathered} \Delta E_{di} ^{\prime} - \sin \left( {\delta_{io} - \theta_{io} } \right)\Delta V_{i} - V_{io} \cos \left( {\delta_{io} - \theta_{io} } \right)\Delta \delta_{i} + V_{io} \cos \left( {\delta_{io} - \theta_{io} } \right)\Delta \theta_{i} \hfill \\ - R_{si} \Delta I_{di} + X_{qi} ^{\prime}\Delta I_{qi} = 0 \hfill \\ \end{gathered}$$
(14)
$$\begin{gathered} \Delta E_{qi} ^{\prime} - \cos \left( {\delta_{io} - \theta_{io} } \right)\Delta V_{i} + V_{io} \sin \left( {\delta_{io} - \theta_{io} } \right)\Delta \delta_{i} - V_{io} \sin \left( {\delta_{io} - \theta_{io} } \right)\Delta \theta_{i} \hfill \\ - R_{si} \Delta I_{qi} - X_{di} ^{\prime}\Delta I_{di} = 0 \hfill \\ \end{gathered}$$
(15)

4.1.3 Linearized Network Equations

Similarly, linearizing the network equations for load buses, we get [39]

$$\begin{aligned} & I_{dio} V_{io} \cos \left( {\delta_{io} - \theta_{io} } \right)\Delta \delta_{i} - I_{qio} V_{io} \sin \left( {\delta_{io} - \theta_{io} } \right)\Delta \delta_{i} + V_{io} \sin \left( {\delta_{io} - \theta_{io} } \right)\Delta I_{di} \hfill \\ &\quad+ V_{io} \cos \left( {\delta_{io} - \theta_{io} } \right)\Delta I_{qi} - I_{dio} V_{io} \cos \left( {\delta_{io} - \theta_{io} } \right)\Delta \theta_{i} + I_{qio} V_{io} \sin \left( {\delta_{io} - \theta_{io} } \right)\Delta \theta_{i} \hfill \\ &\quad+ V_{io} \sum\limits_{k = 1 \ne i}^{n} {V_{ko} Y_{ik} \sin \left( {\theta_{io} - \theta_{ko} - \alpha_{ik} } \right)} \Delta \theta_{i} + I_{dio} \sin \left( {\delta_{io} - \theta_{io} } \right)\Delta V_{i} + \frac{{\delta P_{Li} \left( {V_{i} } \right)}}{{\delta V_{i} }}\Delta V_{i} \hfill \\ &\quad- \sum\limits_{k = 1}^{n} {V_{ko} Y_{ik} \cos \left( {\theta_{io} - \theta_{ko} - \alpha_{ik} } \right)} \Delta V_{i} - V_{io} \sum\limits_{k = 1 \ne i}^{n} {V_{ko} Y_{ik} \sin \left( {\theta_{io} - \theta_{ko} - \alpha_{ik} } \right)} \Delta \theta_{k} \hfill \\ &\quad - V_{io} \sum\limits_{k = 1}^{n} {Y_{ik} \cos \left( {\theta_{io} - \theta_{ko} - \alpha_{ik} } \right)}\Delta V_{k} + I_{qio} \cos \left( {\delta_{io} - \theta_{io} }\right) \Delta V_{ik} = 0 \end{aligned}$$
(16)
$$\begin{gathered} - I_{dio} V_{io} \sin \left( {\delta_{io} - \theta_{io} } \right)\Delta \delta_{i} - I_{qio} V_{io} \cos \left( {\delta_{io} - \theta_{io} } \right)\Delta \delta_{i} + V_{io} \cos \left( {\delta_{io} - \theta_{io} } \right)\Delta I_{di} \hfill \\ - V_{io} \sin \left( {\delta_{io} - \theta_{io} } \right)\Delta I_{qi} + I_{dio} V_{io} \sin \left( {\delta_{io} - \theta_{io} } \right)\Delta \theta_{i} + I_{qio} V_{io} \cos \left( {\delta_{io} - \theta_{io} } \right)\Delta \theta_{i} \hfill \\ - V_{io} \sum\limits_{ k = 1 \ne i }^{n} {V_{ko} Y_{ik} \cos \left( {\theta_{io} - \theta_{ko} - \alpha_{ik} } \right)} \Delta \theta_{i} + I_{dio} \cos \left( {\delta_{io} - \theta_{io} } \right)\Delta V_{i} + \frac{{\delta Q_{Li} \left( {V_{i} } \right)}}{{\delta V_{i} }}\Delta V_{i} \hfill \\ - \sum\limits_{k = 1}^{n} {V_{ko} Y_{ik} \sin \left( {\theta_{io} - \theta_{ko} - \alpha_{ik} } \right)} \Delta V_{i} + V_{io} \sum\limits_{k = 1 \ne i }^{n} {V_{ko} Y_{ik} \cos \left( {\theta_{io} - \theta_{ko} - \alpha_{ik} } \right)} \Delta \theta_{k} \hfill \\ - V_{io} \sum\limits_{k = 1}^{n} {Y_{ik} \sin \left( {\theta_{io} - \theta_{ko} - \alpha_{ik} } \right)} \Delta V_{k} - I_{qio} \sin \left( {\delta_{io} - \theta_{io} } \right)\Delta V_{ik} = 0 \hfill \\ \end{gathered}$$
(17)

Now linearizing the network equations for load buses

$$\begin{gathered} \sum\limits_{\begin{subarray}{l} k = 1 \\ \ne i \end{subarray} }^{n} {V_{io} V_{ko} Y_{ik} \sin \left( {\theta_{io} - \theta_{k} - \alpha_{ik} } \right)} \Delta \theta_{i} + \frac{{\delta P_{Li} \left( {V_{i} } \right)}}{{\delta V_{i} }}\Delta V_{i} \hfill \\ - \sum\limits_{k = 1}^{n} {V_{ko} Y_{ik} \cos \left( {\theta_{io} - \theta_{k} - \alpha_{ik} } \right)} \Delta V_{i} \hfill \\ - V_{io} \sum\limits_{\begin{subarray}{l} k = 1 \\ \ne i \end{subarray} }^{n} {V_{ko} Y_{ik} \sin \left( {\theta_{io} - \theta_{ko} - \alpha_{ik} } \right)} \Delta \theta_{k} \hfill \\ - V_{io} \sum\limits_{k = 1}^{n} {Y_{ik} \cos \left( {\theta_{io} - \theta_{k} - \alpha_{ik} } \right)} \Delta V_{k} = 0 \hfill \\ \end{gathered}$$
(18)
$$\begin{gathered} - \sum\limits_{\begin{subarray}{l} k = 1 \\ \ne i \end{subarray} }^{n} {V_{io} V_{ko} Y_{ik} \cos \left( {\theta_{io} - \theta_{k} - \alpha_{ik} } \right)} \Delta \theta_{i} + \frac{{\delta Q_{Li} \left( {V_{i} } \right)}}{{\delta V_{i} }}\Delta V_{i} \hfill \\ - \sum\limits_{k = 1}^{n} {V_{ko} Y_{ik} \sin \left( {\theta_{io} - \theta_{k} - \alpha_{ik} } \right)} \Delta V_{i} \hfill \\ + V_{io} \sum\limits_{\begin{subarray}{l} k = 1 \\ \ne i \end{subarray} }^{n} {V_{ko} Y_{ik} \cos \left( {\theta_{io} - \theta_{ko} - \alpha_{ik} } \right)} \Delta \theta_{k} \hfill \\ - V_{io} \sum\limits_{k = 1}^{n} {Y_{ik} \sin \left( {\theta_{io} - \theta_{k} - \alpha_{ik} } \right)} \Delta V_{k} = 0 \hfill \\ \end{gathered}$$
(19)

4.2 Power System Stabilizer

The main idea behind installation of the Power System Stabilizer (PSS) is to damp out system oscillations by providing additional damping to the synchronous machine by controlling its excitation using auxiliary stabilizing signal(s) [39].

4.2.1 Components of PSS

During periods of transient, it has been observed that the voltage regulator introduces negative damping to the system [40]. In order to counter this effect and to improve the overall system damping, artificial means of producing torque in phase with the speed deviation are introduced. Stabilizing signals are introduced to the excitation system at the summing junction where the reference voltage and the signal produced from the terminal voltage are added to obtain the error signal, which is fed to the regulator-exciter system. This has been shown in Fig. 1. The basic block diagram of the two-stage Power System Stabilizer is provided in Fig. 2. It consists of four blocks: two phase compensation block, a signal washout filter block and a gain.

Fig. 1
figure 1

Schematic diagram of the stabilizing signal from speed deviation

Fig. 2
figure 2

Block diagram of double-stage PSS [41]

4.2.2 Modeling of Power System Stabilizer

From the block diagram of PSS is given in Fig. 2. The following linearized equations can be derived:

$$\Delta X_{p1} = \frac{{sK_{PSS} T_{w} }}{{1 + sT_{w} }}\Delta \omega_{r}$$
(20)
$$\Delta X_{p2} = \frac{{1 + sT_{1} }}{{1 + sT_{2} }}\Delta X_{p1}$$
(21)
$$\Delta V_{s} = \frac{{1 + sT_{3} }}{{1 + sT_{4} }}\Delta X_{p2}$$
(22)

where \(\Delta \omega_{r} = \frac{{\Delta \omega_{i} }}{{\omega_{s} }}\) and \(\omega_{s}\) is the synchronous speed.

Fig. 3
figure 3

Single-line diagram of the grid connected PV system [42]

From (8) of Sect. 4.1, we get the linearized expression of \(\Delta \omega_{i}\) as:

$$\begin{gathered} \frac{{d\Delta \omega_{i} }}{dt} = - \frac{{D_{i} }}{{M_{i} }}\Delta \omega_{i} - \frac{{I_{qio} }}{{M_{i} }}\Delta E_{qi} ^{\prime} - \frac{{I_{dio} }}{{M_{i} }}\Delta E_{di} ^{\prime} - \frac{{I_{qio} \left( {X_{qi} ^{\prime} - X_{di} ^{\prime}} \right) + E_{dio} ^{\prime}}}{{M_{i} }}\Delta I_{di} \hfill \\ - \frac{{I_{dio} \left( {X_{qi} ^{\prime} - X_{di} ^{\prime}} \right) + E_{qio} ^{\prime}}}{{M_{i} }}\Delta I_{qi} + \frac{1}{{M_{i} }}\Delta T_{Mi} \hfill \\ \end{gathered}$$
(23)

Using (20)–(22), the linearized model of the PSS model is obtained, and state equations of PSS are given below:

$$\begin{gathered} \Delta \dot{X}_{p1i} = - \frac{{K_{PSSi} D_{i} }}{{\omega_{s} M_{i} }}\Delta \omega_{i} - \frac{{K_{PSSi} I_{qio} }}{{\omega_{s} M_{i} }}\Delta E_{qi} ^{\prime} - \frac{{K_{PSSi} I_{dio} }}{{\omega_{s} M_{i} }}\Delta E_{di} ^{\prime} \hfill \\ + \frac{{K_{PSSi} \left\{ {\left( {X_{di} ^{\prime} - X_{qi} ^{\prime}} \right)I_{qio} - E_{dio} ^{\prime}} \right\}}}{{\omega_{s} M_{i} }}\Delta I_{dio} + \frac{{K_{PSSi} \left\{ {\left( {X_{di} ^{\prime} - X_{qi} ^{\prime}} \right)I_{dio} - E_{qio} ^{\prime}} \right\}}}{{\omega_{s} M_{i} }}\Delta I_{qio} \hfill \\ - \frac{1}{{T_{w} }}\Delta X_{p1i} + \frac{{K_{PSSi} }}{{\omega_{s} M_{i} }}\Delta T_{Mi} \hfill \\ \end{gathered}$$
(24)
$$\begin{gathered} \Delta \dot{X}_{p2i} = - \frac{{K_{PSSi} D_{i} T_{1i} }}{{\omega_{s} M_{i} T_{2i} }}\Delta \omega_{i} - \frac{{K_{PSSi} I_{qio} T_{1i} }}{{\omega_{s} M_{i} T_{2i} }}\Delta E_{qi} ^{\prime} - \frac{{K_{PSS} I_{dio} T_{1i} }}{{\omega_{s} M_{i} T_{2i} }}\Delta E_{di} ^{\prime} \hfill \\ + \frac{{K_{PSS} T_{1i} \left\{ {\left( {X_{di} ^{\prime} - X_{qi} ^{\prime}} \right)I_{qio} - E_{dio} ^{\prime}} \right\}}}{{\omega_{s} M_{i} T_{2i} }}\Delta I_{dio} + \frac{{K_{PSS} T_{1i} \left\{ {\left( {X_{di} ^{\prime} - X_{qi} ^{\prime}} \right)I_{dio} - E_{qio} ^{\prime}} \right\}}}{{\omega_{s} M_{i} T_{2i} }}\Delta I_{qio} \hfill \\ + \frac{1}{{T_{2i} }}\left( {1 - \frac{{T_{1i} }}{{T_{w} }}} \right)\Delta X_{p1i} - \frac{1}{{T_{2i} }}\Delta X_{p2i} + \frac{{K_{PSS} T_{1i} }}{{\omega_{s} M_{i} T_{2i} }}\Delta T_{Mi} \hfill \\ \end{gathered}$$
(25)
$$\begin{gathered} \Delta \dot{V}_{si} = - \frac{{K_{PSSi} D_{i} T_{1i} T_{3i} }}{{\omega_{s} M_{i} T_{2i} T_{4i} }}\Delta \omega_{i} - \frac{{K_{PSSi} I_{qio} T_{1i} T_{3i} }}{{\omega_{s} M_{i} T_{2i} T_{4i} }}\Delta E_{qi} ^{\prime} - \frac{{K_{PSS} I_{dio} T_{1i} T_{3i} }}{{\omega_{s} M_{i} T_{2i} T_{4i} }}\Delta E_{di} ^{\prime} \hfill \\ + \frac{{K_{PSS} T_{1i} T_{3i} \left\{ {\left( {X_{di} ^{\prime} - X_{qi} ^{\prime}} \right)I_{qio} - E_{dio} ^{\prime}} \right\}}}{{\omega_{s} M_{i} T_{2i} T_{4i} }}\Delta I_{dio} + \frac{{K_{PSS} T_{1i} T_{3i} \left\{ {\left( {X_{di} ^{\prime} - X_{qi} ^{\prime}} \right)I_{dio} - E_{qio} ^{\prime}} \right\}}}{{\omega_{s} M_{i} T_{2i} T_{4i} }}\Delta I_{qio} \hfill \\ + \frac{{T_{3i} }}{{T_{2i} T_{4i} }}\left( {1 - \frac{{T_{1i} }}{{T_{w} }}} \right)\Delta X_{p1i} + \frac{1}{{T_{4i} }}\left( {1 - \frac{{T_{3i} }}{{T_{2i} }}} \right)\Delta X_{p2i} - \frac{1}{{T_{4i} }}\Delta V_{si} + \frac{{K_{PSS} T_{3i} }}{{\omega_{s} M_{i} T_{4i} }}\Delta T_{Mi} \hfill \\ \end{gathered}$$
(26)

4.3 SSSA for Grid Connected Solar Photovoltaic

Grid connected Photovoltaic (PV) systems that are connected to the distribution level, particularly with MW capacity, are increasing at an aggressive rate, in order to meet the energy demand. However, there is less experience in the interconnection of utility-scale PV systems with the distribution network, where loads are present. Also, there has been very less work and research in interconnection of large-scale PV system with the transmission network for generation of bulk electric power. Utility-scale PV systems need special attention, unlike small scale PV systems, which are limited to a few hundreds of kW and are unlikely to show an impression on the transmission system. Thus, there is a need to analyze the large-scale PV systems in terms of dynamic characteristics and stability.

4.3.1 Linearized System Model with Solar Integration

A single-line diagram for grid-connected PV system is shown in Fig. 3:

The solar PV system along with its components, has been modeled and can be represented by the following differential equations [42]:

$$L\dot{i}_{mp} = v_{mp} - Dv_{DC}$$
(27)
$$C\dot{v}_{DC} = Di_{mp} - i_{DC}$$
(28)
$$v_{sd} = v_{d} - \omega_{PLL} L_{S} i_{q} + L_{s} \dot{i}_{d}$$
(29)
$$v_{sq} = v_{q} + \omega_{PLL} L_{S} i_{d} + L_{s} \dot{i}_{q}$$
(30)
$$\dot{v}_{sd} - k_{ii} i_{dref} + k_{ii} i_{d} + \omega_{PLL} v_{sq} - \omega_{PLL} v_{q} - \omega_{PLL}^{2} L_{S} i_{d} = 0$$
(31)
$$\dot{v}_{sq} - k_{ii} i_{qref} + k_{ii} i_{q} - \omega_{PLL} v_{sd} + \omega_{PLL} v_{d} - \omega_{PLL}^{2} L_{S} i_{d} = 0$$
(32)

and, by the power balance equation:

$$v_{DC} i_{DC} = v_{sd} i_{d} + v_{sq} i_{q}$$
(33)

Linearizing (27)–(33), we get

$$\Delta \dot{i}_{mp} = \frac{1}{L}\Delta v_{mp} - \frac{{D_{0} }}{L}\Delta v_{DC}$$
(34)
$$\Delta \dot{v}_{DC} = \frac{{D_{0} }}{C}\Delta i_{mp}$$
(35)
$$\Delta \dot{i}_{d} = \frac{1}{{L_{S} }}\Delta v_{sd} + \omega_{PLL0} \Delta i_{q}$$
(36)
$$\Delta \dot{i}_{q} = \frac{1}{{L_{S} }}\Delta v_{sq} - \omega_{PLL0} \Delta i_{d}$$
(37)
$$\Delta \dot{v}_{sd} = k_{ii} \Delta i_{dref} + (\omega_{PLL0}^{2} L_{S} - k_{ii} )\Delta i_{d} - \omega_{PLL0} \Delta v_{sq}$$
(38)
$$\Delta \dot{v}_{sq} = k_{ii} \Delta i_{qref} + (\omega_{PLL0}^{2} L_{S} - k_{ii} )\Delta i_{q} + \omega_{PLL0} \Delta v_{sd}$$
(39)
$$i_{dc0} \Delta v_{dc} - v_{sd0} \Delta i_{d} - i_{d0} \Delta v_{sd} - v_{sq0} \Delta i_{q} - i_{q0} \Delta v_{sq} = 0$$
(40)

4.3.2 Solar PV Integrated Multi-machine Model

In Sect. 4.1, the linearized multi-machine model of synchronous machine had been developed. In this section, after modeling the individual components of PV system and linearizing the system equations, the development of the multi-machine model integrated with solar PV is done. Equations (7)–(19) of the multi-machine model and (34)–(40) of the solar PV model can be combined and written as:

$$\left[ {\begin{array}{*{20}c} {\Delta \dot{x}} \\ {\Delta \dot{x}_{solar} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {A_{1} } & 0 \\ 0 & {A_{solar} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\Delta x} \\ {\Delta x_{solar} } \\ \end{array} } \right] + \left[ {\begin{array}{*{20}c} {B_{1} } \\ 0 \\ \end{array} } \right]\Delta I_{g} + \left[ {\begin{array}{*{20}c} {B_{2} } \\ 0 \\ \end{array} } \right]\Delta V_{g} + \left[ {\begin{array}{*{20}c} {E_{1} } & 0 \\ 0 & {E_{solar} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\Delta u} \\ {\Delta u_{solar} } \\ \end{array} } \right]$$
(41)
$$0 = \left[ {\begin{array}{*{20}c} {C_{1} } & 0 \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\Delta x} \\ {\Delta x_{solar} } \\ \end{array} } \right] + D_{1} \Delta I_{g} + D_{2} \Delta V_{g}$$
(42)
$$0 = \left[ {\begin{array}{*{20}c} {C_{2} } & 0 \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\Delta x} \\ {\Delta x_{solar} } \\ \end{array} } \right] + D_{3} \Delta I_{g} + D_{4} \Delta V_{g} + D_{5} \Delta V_{l}$$
(43)
$$0 = \left[ {\begin{array}{*{20}c} 0 & {C_{3solar} } \\ \end{array} } \right]\,\left[ {\begin{array}{*{20}c} {\Delta x} \\ {\Delta x_{solar} } \\ \end{array} } \right] + D_{6} \Delta V_{g} + D_{7} \Delta V_{l}$$
(44)

where

$$x = \left[ {\begin{array}{*{20}c} {x_{1}^{t} } & . & . & . & {x_{m}^{t} } \\ \end{array} } \right]^{t}$$
$$x_{i} = \left[ {\begin{array}{*{20}c} {\delta_{i} } & {\omega_{i} } & {E_{qi} ^{\prime}} & {E_{di} ^{\prime}} & {E_{fdi} } & {V_{Ri} } & {R_{fi} } \\ \end{array} } \right]^{t}$$
$$x_{solar} = \left[ {\begin{array}{*{20}c} {i_{mp} } & {v_{DC} } & {i_{d} } & {i_{q} } & {v_{sd} } & {v_{sq} } \\ \end{array} } \right]^{t}$$
$$I_{g} = \left[ {\begin{array}{*{20}c} {I_{d1} } & {I_{q1} } & . & . & . & {I_{dm} } & {I_{qm} } \\ \end{array} } \right]^{t}$$
$$V_{g} = \left[ {\begin{array}{*{20}c} {\theta_{1} } & {V_{1} } & . & . & . & {\theta_{m} } & {V_{m} } \\ \end{array} } \right]^{t}$$
$$V_{l} = \left[ {\begin{array}{*{20}c} {\theta_{m + 1} } & {V_{m + 1} } & . & . & . & {\theta_{n} } & {V_{n} } \\ \end{array} } \right]^{t}$$
$$u = \left[ {\begin{array}{*{20}c} {u_{1}^{t} } & . & . & . & {u_{m}^{t} } \\ \end{array} } \right]^{t}$$
$$u_{i} = \left[ {\begin{array}{*{20}c} {T_{Mi} } & {V_{refi} } \\ \end{array} } \right]^{t}$$
$$u_{solar} = \left[ {\begin{array}{*{20}c} {v_{mp} } & {i_{dref} } & {i_{qref} } \\ \end{array} } \right]^{t}$$

and

$$A_{solar} = \left[ {\begin{array}{*{20}c} 0 & { - \frac{{D_{0} }}{L}} & 0 & 0 & 0 & 0 \\ {\frac{{D_{0} }}{C}} & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & {\omega_{PLL0} } & {\frac{1}{{L_{S} }}} & 0 \\ 0 & 0 & { - \omega_{PLL0} } & 0 & 0 & {\frac{1}{{L_{S} }}} \\ 0 & 0 & {\omega_{PLL0}^{2} L_{S} - k_{ii} } & 0 & 0 & { - \omega_{PLL0} } \\ 0 & 0 & 0 & {\omega_{PLL0}^{2} L_{S} - k_{ii} } & {\omega_{PLL0} } & 0 \\ \end{array} } \right]$$
$$E_{solar} = \left[ {\begin{array}{*{20}c} \frac{1}{L} & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & {k_{ii} } & 0 \\ 0 & 0 & {k_{ii} } \\ \end{array} } \right]$$

5 Objective Function

On being subjected to any disturbance, the rate of oscillation decay in the power system and its amplitude are governed respectively by the system’s damping factor and damping ratio. Negative real parts of eigenvalues along with higher damping ratio signify a stable system [39]. Real and imaginary parts of eigenvalues provide the coefficient of damping. To tune the parameters of the controller using eigenvalue analysis, the objective function is evaluated in terms of two sub-objective functions (SOFs). First SOF is tasked with the minimization of real part of eigenvalues and second SOF targets maximization of the damping ratio, as depicted in Fig. 4 [44]. The objective function is mathematically represented as follows:

$${\text{Minimize, }}J = J_{1} + J_{2}$$
(45)

where \(J_{1} = \sum\nolimits_{k = 1}^{m} {(\sigma_{0} - \sigma_{k} )^{2} }\) and \(J_{2} = \sum\nolimits_{k = 1}^{m} {(\xi_{0} - \xi_{k} )^{2} }\) where, the number of EMs is denoted by m.\(J_{1}\) represents the first SOF related to the real part of eigenvalues and \(J_{2}\) is the second SOF related to the damping ratio. σ0 and ξ0 are taken to be − 0.5 and 0.1 respectively [43]. The following constraints are to be satisfied by the objective function \(J\):

$$\left. \begin{gathered} K_{PSS}^{\min } \le K_{PSS} \le K_{PSS}^{\max } \hfill \\ T_{1}^{\min } \le T_{1} \le T_{1}^{\max } \hfill \\ T_{2}^{\min } \le T_{2} \le T_{2}^{\max } \hfill \\ T_{3}^{\min } \le T_{3} \le T_{3}^{\max } \hfill \\ T_{4}^{\min } \le T_{4} \le T_{4}^{\max } \hfill \\ \end{gathered} \right\}{\text{PSS}}\,{\text{parameters}}$$
(46)
Fig. 4
figure 4

Domain of eigenvalue locations for objective function (J) [44]

A two-staged PSS is considered for the study. Phase-lead time constants \(T_{1}\) and \(T_{1}\) and phase-lag time constants \(T_{1}\) and \(T_{1}\) varies from 0.06 to 1.0 s and 0.01 to 0.05 s respectively. The gain \(K_{PSS}\) is bounded by [0.01, 50]. \(T_{w}\) is fixed to 10 s.

5.1 Optimization Techniques for Tuning PSS parameters

5.1.1 CDO Algorithm [50]

Collective decision optimization algorithm (CDO) as presented in [47] is based on the decision making capabilities of human beings dictating their social behavior. Whenever faced with a problem, human beings have a natural tendency to form a group having persons with diverse capabilities to arrive at a decision or a solution. Exchange and selection of ideas amongst all group members take place and the best idea amongst all is finally selected. The decision making abilities are classified into the following different phases [47]:

5.1.1.1 Creation of Group

A group comprising of P members is randomly initialized within the search space having dimension D as follows:

$$K_{\,i}^{\,\,\,j} = \,\,\,LB^{\,\,j} \,\, + \,\,\,rand(0,\,\,1) \times \left( {UB^{\,\,j} - \,\,\,\,LB^{\,\,j} } \right)$$
(47)

where i = 1, 2, 3,…….,P; j = 1, 2, 3,…..D. rand denotes any random number in the interval [0, 1], and LB and UB symbolizes the lower and upper limits of the independent variables.

5.1.1.2 Experience Phase

During any meeting between the group members, agents lay their plans which are founded on their individual experiences. This is the present best position of the agent \(\Phi_{A}\) which can be stated as:

$$K_{\,\,i\,new}^{{}} = \,\,\,K_{\,i} + rand(0,\,\,1) \times step\_size \times d_{\,\,0}$$
(48)
$$d_{\,0} = \Phi_{\,A} - K_{\,i}$$
(49)

where rand is any random number in the range [0, 1],\(step\_size\) signifies the step size of current iteration, and d signifies the direction of selection of next agent.

5.1.1.3 Others’ Idea Phase

Interchange of ideas between the agents occurs in this phase and others’ ideas get accepted by an agent only if they are superior to her/his idea. If any agent \(K_{j}\), is selected randomly from the population to exchange idea with \(K_{i}\), the one having better quality of idea is selected as follows:

$$K_{\,\,i\,new}^{(1)} = K_{\,\,i\,new} + rand(0,\,\,1) \times step\_size \times d_{\,\,1\,}$$
(50)
$$d_{1} = beta_{1} \times d_{0} + beta_{2} \times \left( {X_{j} - X_{i} } \right)$$
(51)

where j represents the agent selected from [1, P], \(d_{1}\) represents a new direction for selection of next agent and \(beta_{1}\) and \(beta_{2}\) represents any two numbers randomly selected from the intervals [– 1, 1] and [0, 2] respectively.

5.1.1.4 Group-thinking Phase

In this phase, the manner in which agents’ decisions gets motivated is dictated by the direction in which the maximum ideas are inclined. The present position of the group thinking is considered to be the geometric center (\(\Phi_{G}\)) of each agent which is expressed as:

$$\Phi_{\,\,G} = \frac{1}{P}\left( {K_{\,1} ,K_{\,2} \,,...........,\,\,K_{\,P} } \right)$$
(52)

The agent’s updated position is obtained as follows:

$$newK_{\,i}^{\,\,(2)} = \,\,\,newK_{\,i}^{\,\,(1)} + rand\left( {0,1} \right)\,\,\, \times \,\,step\_size\,\, \times \,\,d_{\,\,}$$
(53)
$$d_{\,\,2} = \,\,\,beta_{\,\,1} \times d_{\,\,1} + beta_{\,\,2} \times \left( {\Phi_{\,\,G} - K_{\,\,i} } \right)$$
(54)

where \(d_{2}\) is the new direction of progress of ideas.

5.1.1.5 Leader Phase

The group leader is the ultimate decision maker and dictates the direction of movement of ideas as well as the final output. Mathematically this can be represented as follows:

$$newK_{i}^{(3)} = newK_{i}^{(2)} + rand(0,1) \times step\_size \times d_{3}$$
(55)
$$d_{\,\,3} = beta_{\,\,\,1} \times d_{\,\,2} + beta_{\,\,\,2} \times \left( {\Phi_{\,\,L} - K_{\,i} } \right)$$
(56)

where \(d_{3}\) is the new direction of progress of ideas. Leader (\(\Phi_{L}\)) represents the agent with the best idea in the group. Leader can change his/her idea by himself/herself. This algorithm uses random walk strategy for local search.

$$newK_{p} = \Phi_{L} + W_{p} \quad (p = 1, 2, 3, 4, 5)$$
(57)

where \(W_{p}\) signifies any vector selected randomly from the interval [0, 1].

5.1.1.6 Innovation Phase

In this phase, the decision making process is improved by perturbing the existing variables (mutation factors) and can be implemented as follows:

$$\begin{gathered} rand1 \le M \hfill \\ newK_{i}^{(4)} = newK_{i}^{(4)} \hfill \\ newK_{i}^{(4,F)} = LB(F) + rand2 \times \left( {UB(F) - LB(F)} \right) \hfill \\ \end{gathered}$$
(58)

where M is the mutation factor employed to evade premature convergence, \(rand1\) and \(rand2\) are random numbers within [0, 1] and uniformly distributed, and F is randomly generated within interval [1, D].

Selection of proper step_size is a deciding factor for exploration and exploitation capabilities of the algorithm. In the initial stages, if the larger, it will ensure better exploration whereas smaller values in the later parts of the algorithm ensure proper exploitation of the population. The step_size is calculated as follows:

$$step\_size\,(t) = 2 - 1.7\,\,\left( {\frac{t - 1}{{T - 1}}} \right)$$
(59)

where t signifies the current iteration and T signifies the maximum iteration count.

5.1.2 Application of CDO Algorithm

The steps followed to apply CDO for parameter tuning of PSS are described below:

  • Step 1: Initialize randomly a group of P members (PSS gain and lead-lag time constant) in the search space D within their upper and lower bounds based on (46). Choose maximum fitness evaluation (maxFE).

  • Step 2: Perform SSSA of the system for each member in group and obtain eigenvalues. Check whether the inequality constraints of (46) are satisfied by the eigenvalues.

  • Step 3: Compute the fitness function (plan quality) as per (45) for each group and store total number of fitness evaluation in a variable FE.

  • Step 4: Detect the new best position of agents (Kinew) based on their fitness values (quality of plan) to form the modified group set.

  • Step 5: Update the members of group in all phases of CDO employing (47)-(59).

  • Step 6: Determine the best plan and best group. Best plan is identified as minimum of the fitness function evaluated for each solution set and best group is the solution set corresponding to the best plan.

  • Step 7: Go to step 5 and repeat until value of FE reaches maxFE.

5.1.3 Grasshopper Optimization Algorithm (GOA)

In Grasshopper Optimization Algorithm, the swarming behaviour exists both in nymph and adult stage. In the larval stage, movement of the swarm is slow, whereas, in the adult stage, the swarm can move long distances and exhibit abrupt motion. The grasshopper algorithm as described in [48] updates its swarm using the following set of equations:

$$P_{i} = S_{i} + G_{i} + W_{i}$$
(60)

where \(P_{i}\) denotes the position of the ith grasshopper \((GH)\), \(S_{i}\) denotes the social interaction of the \(GHs\),\(G_{i}\) represents the gravity force acting on the ith \(GH\) and \(W_{i}\) represents the wind advection.

$$S_{i} = \sum\limits_{\begin{subarray}{l} k = 1 \\ \\ k \ne i \end{subarray} }^{N} {s\,(d_{ik} )\,\hat{d}_{ik} }$$
(61)

where N denotes the number of \(GHs\), \(d_{ik}\) denotes distance from i to kth and calculation of GHs is done as follows: \(d_{ik} = \left| {P_{k} - P_{i} } \right|\) and \(\hat{d}_{ik} = \frac{{P_{k} - P_{i} }}{{d_{ik} }}\) represents a unit vector from ith \(GH\) to kth \(GH\).\(s\) denotes the social forces and is considered as:

$$s(r) = fe^{{\frac{ - r}{l}}} - e^{ - r}$$
(62)

where\(f\) denotes the attraction intensity between the \(GHs\) and \(l\) denotes the attraction length scale. Gravitational force G is designed as:

$$G_{i} = - g\hat{c}_{g}$$
(63)

where \(g\) denotes gravitational constant and \(\hat{c}_{g}\) is a unit vector to the earth’s center. Wind advent component is calculated as:

$$W_{i} = u\hat{b}_{w}$$
(64)

where \(u\) is drift constant and \(\hat{b}_{w}\) is a unit vector in the wind’s direction.

Substituting values of the parameters \(S,G,W\) in (60), the position of the \(GH\) can be expanded as:

$$P_{i} = \sum\limits_{\begin{subarray}{l} k = 1 \\ k \ne i \end{subarray} }^{N} {s(\left| {P_{k} - P_{i} } \right|)\frac{{P_{k} - P_{i} }}{{d_{ik} }}} - g\hat{c}_{g} + u\hat{b}_{w}$$
(65)

But (65) cannot be directly used for solving optimization problems as the \(GHs\) are quick to reach comfort zone thereby causing the swarm to diverge. Following equation shows the modified version of (65) for solving optimization problems:

$$P_{i}^{d} = c\left( {\sum\limits_{\begin{subarray}{l} k = 1 \\ k \ne i \end{subarray} }^{N} {c\frac{{ub^{d} - lb^{d} }}{2}s(r)\left( {\left| {P_{k}^{d} - P_{i}^{d} } \right|} \right)} \frac{{P_{k} - P_{i} }}{{d_{ik} }}} \right) + \hat{T}^{d}$$
(66)

where \(ub^{d}\) and \(lb^{d}\) represent respectively the upper bound and lower bound in the dth dimension, \(T^{d}\) represents the value of target in dth dimension, \(c\) is the shrinking coefficient to decrease the comfort, attraction and repulsion zones of the \(GHs\). The coefficient \(c\) is calculated as:

$$c = \max (c) - Iter\left( {\frac{\max (c) - \min (c)}{{\max Iter}}} \right)$$
(67)

where \(\max (c)\) and \(\min (c)\) represent the maximum and minimum values of \(c\).\(Iter\) and \(\max Iter\) represent the current iteration and maximum iterations respectively.

5.1.4 Application of GOA Algorithm

The steps relating the application of GOA to the stability problem are as follows:

  • Step 1: Specify the swarm size and initialize the swarm (SW) randomly for the same. Set the number of control parameters (GHs) of SW within lower and upper limits. Select maximum number of fitness evaluation (maxFE).

  • Step 2: Inspect small signal stability for each GH of SW and obtain the eigenvalues that lies within limits of the control variables.

  • Step 3: Evaluate eigenvalue based fitness function using each swarm set, and store total fitness evaluations (FE).

  • Step 4: Select the best swarm set (GHbest) based on their fitness values and form the updated swarm set.

  • Step 5: Update swarm using (65).

  • Step 6: Determine the best fitness (minimum fitness function value) and also the best swarm set.

  • Step 7: Return to step 5 and repeat till the FE equals the pre-defined maxFE.

5.1.5 Salp Swarm Algorithm (SSA)

Salp Swarm Algorithm (SSA) as reported in [49] is a recently developed meta-heuristic that exploits the food searching technique of salps. Salp swarms form a chain to move in search of food. The swarm is modeled after leaders (LD) and followers (FL) are identified. The salp at the beginning of the chain becomes LD and is tasked with guiding the whole swarm. All other members are FL. Position update of LD in SSA takes place as per the following set of equations:

$$x_{j}^{1} = \left\{ \begin{gathered} F_{j} + c_{1} \,((ub_{j} - lb_{j} )\,c_{2} \, + lb_{j} )\,\,\,\,\,\,\,\,\,\,\,\,\,c_{3} \ge 0 \hfill \\ F_{j} - c_{1} \,((ub_{j} - lb_{j} )\,c_{2} \, + lb_{j} )\,\,\,\,\,\,\,\,\,\,\,\,\,c_{3} \,\, < 0\, \hfill \\ \end{gathered} \right.$$
(68)

where \(x_{j}^{1}\) denotes the position of the LD in jth dimension, \(F_{j}\) is the location of food, \(ub\) and \(lb\) denotes the upper and lower limits and \(c_{1}\), \(c_{2}\) and \(c_{3}\) are random numbers. \(c_{1}\) decides the exploration and exploitation capability of SSA and can be defined as:

$${c_1} = 2{e^{{{\left( { - \frac{{4l}}{L}} \right)}^2}}}$$
(69)

where l and L signifies the present and maximum number of iterations.

\(c_{2}\) and \(c_{3}\) forecasts the new position of FLs as well as the step size. Updated positions of the FLs are obtained as:

$$x_{\,\,j}^{\,\,i} = \frac{1}{2}at^{2} + \upsilon_{0} t$$
(70)

where \(i \ge 2,\,\,x_{j}^{i}\) signifies position of ith FL in jth dimension, t signifies time, \(\upsilon_{0}\) signifies initial speed of motion, and \(a = \frac{{\upsilon_{final} }}{{\upsilon_{0} }}\), where \(\upsilon = \frac{{\left( {x - x_{0} } \right)}}{t}\).

Considering initial speed \(\upsilon_{0} = 0\), the above equation can be modified as:

$$x_{j}^{i} = \frac{1}{2}\left( {x_{j}^{i} + x_{j}^{i - 1} } \right)$$
(71)

where \(i \ge 2\) and \(x_{j}^{i}\) represents position of ith FL in jth dimension.

The salp chain is simulated using (68) and (71).

5.2 Application of SSA Algorithm

The steps of the SSA applied to the stability problem are described as follows:

  • Step 1: Randomly initialize the swarm (SW) comprising of the salps (control parameters such as PSS gain and lead-lag time constants) within their upper and lower bounds for a particular swarm size. Specify the maximum number of fitness evaluation (maxFE).

  • Step 2: Perform SSSA for each salp chain of SW and obtain the eigenvalues.

  • Step 3: Evaluate fitness function (eigenvalue- based) for each swarm set, and store total fitness evaluations in FE.

  • Step 4: Identify best swarm set (SWbest) based on the fitness.

  • Step 5: Update the swarm using (68) and (71).

  • Step 6: Obtain best fitness value as the minimum fitness function value and the SWbest.

  • Step 7: Repeat from step 5 till the predefined maxFE.

6 Simulations and Results

This section presents analysis of system performances after applying the SSA algorithm. Eigenvalues determined by SSA are used to assess the system stability and compared to those obtained using GOA and CDO. Results establish superiority of SSA over other mentioned optimization techniques in evaluating the small signal stability of the system. WSCC three machine, nine bus system [1] have been considered to carry out eigenvalue analysis when subjected to different operating conditions and are coded in MATLAB platform. The system data of WSCC 3-Machine 9-Bus system is given in [1]. All the calculations are made with system frequency of 60 Hz and base MVA as 100.

6.1 Case 1: Results Related to PSS Parameter Tuning

The most important task is the proper tuning of PSS parameters. Properly tuned parameters help to increase system stability but, badly tuned parameters may lead the system to instability. The power system is nonlinear and its varying operating condition makes tuning as a complex task. Tuning is done based on the characteristics of the generator system. To demonstrate efficiency of the proposed algorithm, different cases have been considered as discussed below:

6.1.1 Case 1.1

To illustrate the effectiveness of the proposed algorithm, PSS were installed in all the machines for mitigating low frequency oscillations. Electromechanical modes and their damping ratios for the different algorithms used are presented in Table 2.

Tuning of PSS parameters have been done for Case 1.1 using loading conditions presented in Table 1. The tuned PSS parameters obtained after applying the optimization algorithms are presented in Table 2. It can be observed from Table 3 that SSA obtained the best tuning parameter settings for Case 1.1.

Table 1 Loading conditions for Case 1.1
Table 2 Tuned PSS parameters obtained using various algorithms
Table 3 EMs and their corresponding damping ratios obtained for Case 1.1

Fifty trial runs of the algorithms have been carried out for 100 iterations each. The convergence characteristics of the best parameter set obtained for each of the algorithms are compared in Fig. 5. It can be observed that SSA obtained fastest convergence as compared to GOA and CDO.

Fig. 5
figure 5

Convergence characteristics obtained by different algorithms

The final value of the objective function is J = 0 for all the algorithms which signifies that all modes have been shifted to the specified D-space in the S-plane of Fig. 5.

6.1.2 Case 1.2

To establish the robustness of the proposed algorithm, the EMs are obtained for another loading condition using the same tuning parameters obtained for Case 1.1 listed in Table 3. The EMs and damping ratios for this case are listed in Table 4 demonstrating the superiority of SSA over CDO and GOA. Table 5 presents the loading conditions for this case.

Table 4 EMs and their corresponding damping ratios obtained for Case 1.2
Table 5 Loading conditions for Case 1.2

6.1.3 Case 1.3

Similar pattern in the performances of the algorithms can be observed from Table 6 for same tuning parameters of Case 1.1 when the loading condition is changed again.

Table 6 EMs and their corresponding damping ratios obtained for Case 1.3

Table 7 preents the loading conditions for this case.

Table 7 Loading conditions for Case 1.3

It is quite obvious from the Tables 2, 4 and 6 that SSA is capable in shifting EMs (real parts) to the left half of S plane as well as enhances the damping ratios in comparison to GOA and CDO. PSS parameters are tuned in Case 1.1 for a particular operating condition. In order to establish robustness of the proposed algorithm, SSSA studies are carried out for different operating conditions using the tuned parameters of PSS obtained from Case 1.1. SSA based PSS shows superior performance and attains enhanced damping as compared to GOA and CDO based PSS for each operating condition.

Figures 6, 7, and 8, represent system eigenvalues obtained for Case 1.1, Case 1.2 and Case 1.3 respectively. It is observed that the system eigenvalues are shifting further towards the left half of s-plane and also the damping ratios are being improved in each case for SSA as compared to those of GOA and CDO. This indicates the efficiency of SSA technique in tuning PSS parameters and stabilizing the system under various operating conditions.

Fig. 6
figure 6

EMs obtained for Case 1.1

Fig. 7
figure 7

EMs obtained for Case 1.2

Fig. 8
figure 8

EMs obtained for Case 1.3

6.2 Case 2: System’s Time Domain Response for Case 1

To illustrate superiority of the proposed algorithm, a three-phase fault is applied near bus 5 at time 0.1 s, which is cleared at 0.2 s without tripping any line. Study of the change in speed deviation is enough for arriving at a conclusion regarding system stability. Therefore, only the change in rotor speed deviations obtained after time domain simulation is demonstrated in Figs. 9, 10 and 11. for best values obtained by each algorithm. These figures show the response of \(\Delta \omega_{12}\) and \(\Delta \omega_{13}\) obtained by each of the algorithms, when the system is subjected to Case 1.1, Case 1.2 and Case 1.3. It is observed that the newly proposed SSA keeps the system more stabilized as compared to other optimization techniques and also requires lesser settling time to mitigate the system oscillations as compared to GOA and CDO.

Fig. 9
figure 9

Change in \(\Delta \omega_{12}\) and \(\Delta \omega_{13}\) for Case 1.1

Fig. 10
figure 10

Change in \(\Delta \omega_{12}\) and \(\Delta \omega_{13}\) for Case 1.2

6.3 Case 3: Solar PV is connected to the System

All the calculations are made with system frequency of 60 Hz and base MVA as 100. For the purpose of simulating multi-machine power system model with integrated solar PV at transmission level, in bus number 5, 6 and 8 of the test system (WSCC 3-Machine 9-Bus), a 50 MW, 11 kV solar PV has been connected. Results obtained after using the iterative process for calculating the series and parallel parasitic resistance (\(R_{S}\) and \(R_{P}\)) on Kyocera 200 GT solar module [45] is shown in Table 8. These results have been obtained at Standard Temperature Condition (STC) i.e. at solar irradiation of 1000 \({\text{W}}/{\text{m}}^{2}\) with AM 1.5 at 25 °C.

These results have been compared with those given in [13] and they are found to be almost similar. An initial operating condition of the entire system is assumed at solar irradiation, G = 600 \({\text{W}}/{\text{m}}^{2}\) and temperature, T = 50 °C. All the calculations made henceforth are with respect to this initial operating condition. Using the algorithm given in [46], the maximum current and voltage output from the solar module is obtained at G = 600 \(W/m^{2}\) and T = 50 °C. The result is given below in Table 9.

Next, it was essential to calculate the number of modules that has to be connected in series–parallel combination in order to meet the 50 MW, 11 kV requirement. Required current output from the PV array is calculated as \(\frac{50\,MW}{{11\,kV}}\,\, \approx \,4545.4545A\).

Now, for \(4545.4545\)A dc current from the solar array, number of modules needed to be connected in parallel is calculated as \(n_{p} = \frac{4545.4545}{{4.4952}}\, \approx \,1011\). Also the number of modules to be connected in series for 11 kV requirement is calculated as \(n_{S} = \frac{11\,kV}{{23.318}}\, \approx \,472\).

Next, the duty cycle (D), Inductance (L) and DC-Link Capacitance (C) of the Boost Converter is to be calculated are shown is Table 10.

Here, solar PV is connected at load bus (5 or 6 or 8) shown in Fig. 11. The initial conditions for solar generators are given in Tables 8, 9 and 10. The active power supplied by the solar PV to the WSCC 3 machine 9 bus system [1] (considering original system data) for each bus is 0.5 p.u, as shown in Fig. 11. Solar integrated system matrix was formed using (7)–(19) and (34)–(40).

Table 8 Solar Module parameters of Kyocera 200 GT model at STC
Table 9 Maximum power, current and voltage of module at 600 \(W/m^{2}\) and T = 323 K
Table 10 Parameters of boost converter
Fig. 11
figure 11

Change in \(\Delta \omega_{12}\) and \(\Delta \omega_{13}\) for Case 1.3

The computed eigenvalues after the inclusion of solar PV are compared in Table 11. The table contains the electro-mechanical modes (mode #1 and mode #2) when solar PV is connected to bus 5 or 6 or 8 as shown in Fig. 12. The best location of solar PV is found at bus 5 since damping ratio improvement is highest when it is connected to this bus.

Table 11 Eigenvalues and damping ratios (ξ) for different location of solar PV in WSCC system
Fig. 12
figure 12

WSCC 3 machine 9 bus system equipped with solar PV at different location

6.4 Case 4: PSSs are added to Case 3

The function of the PSS is to provide adequate damping torque to the rotor oscillations for mitigating LFOs. For getting effective results PSS needs to be allocated properly. The main objective of installing PSS is to improve the EMs in case 4, using the same tuning parameters obtained for Case 1.1 listed in Table 3. Table 12 represents EMs for the combination of solar PV, and PSS.

Table 12 EMs for the combination of solar PV, and PSS

Table 13 concludes the impact of coordinated controllers on small signal stability analysis when solar PV is included in it. It can be seen that when PV is connected to the system in presence of PSS gives better performance from overall system stability point of view.

Table 13 Comparison of the effects of coordinated controllers on small signal stability in presence of solar PV (Only the EMs) and without controllers

6.5 Case 5: Time Domain Response for Case 4

Time domain simulations have been performed to demonstrate the efficiency of the system equipped with PSS and solar PV over the system having only PSS in improving overall system stability. Two different fault conditions are assumed:

Frequency plays a vital role in power system stability. All the generators in the system are synchronised at one frequency. If the frequency deviates from the nominal value, generators start to go out of synchronism. This triggers undesired events in the power system resulting in voltage, frequency, power imbalance which might even cause the system to collapse. Furthermore, continuous frequency deviations in the system cause oscillations of the rotor about its final equilibrium position, thereby introducing hunting. The hunting process occurs in a synchronous motor as well as in synchronous generators if an abrupt change in load occurs. To avoid these issues frequency deviations were investigated for the system equipped with DGs (solar PV), and PSS. Figures 13 and 14 represents frequency deviations for WSCC 3 machine 9 bus system equipped with PSSs and together with PSS and solar PV.

Fig. 13
figure 13

a Change in \(\Delta \omega_{12}\) when fault occurs near bus 5; b change in \(\Delta \omega_{13}\) when fault occurs near bus 5 (when solar PV is connected to the system)

Fig. 14
figure 14

a Change in \(\Delta \omega_{12}\) when fault occurs near bus 6; b Change in \(\Delta \omega_{13}\) when fault occurs near bus 6 (when solar PV is connected to the system)

To observe the frequency deviations in these systems, fault is considered near the consumers end at bus 5 and bus 6. It is observed from the Figs. 13 and 14 that the peak overshoot as well as the settling time is lowest in case of solar PV together with PSS connected system as compared to the system equipped with only PSS connected system.

7 Conclusion

This work addressed renewable (solar) integration to the system studied in diverse operating conditions. System dynamics are largely affected with the integration of renewables in an integrated power network. An exhaustive small signal stability study on WSCC 3-machine 9-bus test system is presented under the following scenarios:

  • System without renewable energy penetration and PSS

  • Addition of PSS

  • Renewables in presence of PSS

Analysis of the results demonstrate better efficiency of renewable integrated power system together with PSS over PSS integrated power system in improving overall stability of the system.

This also paper presented a comparison between the performances of CDO, GOA and SSA in tuning the PSS parameters. Results show that best tuned parameter set for the PSS are obtained using SSA. It is also observed that damping ratios of the weakly damped oscillatory modes have improved after the addition of SSA based PSS, thereby enhancing the dynamic performance of system stability greatly. Time domain simulation results for different loading conditions show fastest settling of oscillations in case of SSA followed by GOA and CDO. All results establish SSA’s superiority over GOA and CDO optimization techniques.