1 Introduction

In complex power system, interconnection between two areas enhances the quality of the supply power, stability of the system and capability to utilize the generating plant. Load deviation arises numerously which affects the power and system frequency deviation all over the power system. Primary controllers (rotating mass of such as governor and turbine of the system) may not overcome the large deviations (Kundur 1994). These enormous load deviations may be taken care by secondary controller like proportional (P), integral (I), derivative (D), PID, fuzzy, and etc. proportional (P), integral (I), derivative (D), PID, fuzzy, and etc. are used as secondary controller to enhance the capability to handle the load fluctuations in the power system. The primary purposes of the AGC are to:

  1. 1.

    Achieve the system frequency equal to its scheduled frequency (i.e. ∆f = 0).

  2. 2.

    Achieve the power through tie-line equal to its scheduled value (i.e. ∆Ptie = 0).

  3. 3.

    Achieve a superior control to minimize the objectives (settling time, undershoot, and overshoot) of the system after any load fluctuation.

To enhance the ability of the AGC to achieve better regulation over these specifications, fuzzy PID is one of the superior controller. In this work two different consolidations of FLC and PID are implemented in each area of the power system. Transfer function model of thermal with GRC and hydro power plant are used as generation units in area-1 and area-2 respectively. Controller’s gain parameters are another decisive aspect also to enhance the transient performance of the system. So selection of optimization technique is a significant aspect to grab the optimal solution of the gain parameters to lessen objective function (ITAE).

AGC is the most indispensable strategy in the power system which concerns the economic and stable power generation. To enhance the power quality many ideas have implemented to enhance the secondary controller as AGC. Some researchers (Ibrahim and Kothari 2005) have portrayed a relative analysis of various schemes implemented as AGC. The adequacy of superconducting magnetic energy storage (SMES) over integral controller used as AGC in a two area interconnected hydro-thermal system is distinguished by (Abraham et al. 2007). GA optimized PID controller has successfully implemented in an interconnected power system with thermal units (Singh and Sen 2004). Cascade controller titled as PI-PD controller optimized by FPA is introduced in four area interconnected reheat thermal power plants (Dash et al. 2016). Fuzzy logic controller (FLC) has convinced as a very robust and intelligent controller used as AGC (Indulkar and Raj 1995; Cam and Kocaarslan 2005; Oftadeh et al. 2010). The robustness of FPID controller is enhanced with the assemblage of advantages from both PID and FLC controller. FPID controller (Pande and Kansal 2015) optimized by different powerful algorithms have depicted (Sahu et al. 2016; Nayak et al. 2015; Pati et al. 2014, 2015). PSO (Kennedy and Eberhart 1995) is applied to optimize PID controller as AGC (Ghoshal 2004). Application of various novel metaheuristic techniques and hybridization among them like BF (Nanda et al. 2009), BFOA-PSO (Panda et al. 2013), DE (Rout et al. 2013), FA-PS (Sahu et al. 2015a, b), FPA (Madasu et al. 2016), TLBO (Sahu et al. 2015a, b), ALO (Satheeshkumar and Shivakumar 2016) and CS (Sikander et al. 2017) to optimize the parameters of different controllers adequately.

In this paper, the GHS algorithm is modified by replacing the worst candidates by randomly generated candidate. The probability to hunt optimum solution is enhanced by this process. The multi inputs fuzzy PID controller is validated over two distinct combinations of single input fuzzy PID controllers. The two different combinations of SIFPID controllers are SIFPID-1 and SIFPID-2. In SIFPID-1, ACE is the only input of the controller and in SIFPID-2, ACE and ΔACE are the inputs to two FLCs. The novelties of this paper are:

  1. 1.

    The MIFPID controller is validated over two distinct combinations of SIFPID controller in AGC.

  2. 2.

    The GHS algorithm is modified to enhance the capability to hunt optimum pair of controller gains.

  3. 3.

    The effect of non-linearity in power system.

Finally, MGHS technique optimized MIFPID controller is validated over other combinations of SIFPID controllers.

2 Power system modelling

The proposed system is a two area interconnected hydro-thermal power system. Area-1 consists of thermal power plant with generation rate constraints (GRC) and area-2 consists of a hydro power plant as delineated in Fig. 1. The transfer function parameters are mentioned in Appendix 1. Implementation of a load disturbance of 1% (0.01) in thermal area propagates error in each area titled as area control errors (ACE1 and ACE2). ACEs concerning deviations of frequency and tie-line power has to be minimized and may be defined as:

$$ ACE_{1} = B_{1} \Delta f_{1} + \Delta P_{tie} , $$
(1)
$$ ACE_{2} = B_{2} \Delta f_{2} + \Delta P_{tie} , $$
(2)

where B1 and B2 are the bias factors of frequency. The deviations of frequency with respect to nominal value in area-1 and area-2 are ∆f1 and ∆f2 respectively. The deviation of power in tie-line is ∆Ptie and is characterized as:

$$ \Delta P_{tie} = \frac{{2\pi T_{12} }}{s}(\Delta f_{1} - \Delta f_{2} ). $$
(3)
Fig. 1
figure 1

Power system model (Nayak et al. 2017)

SIFPID-1, SIFPID-2 and MIFPID controllers are executed in both the areas individually to examine the controller effectiveness to enhance the system performance. Intelligent MIFPID controller is observed as superior controller over SIFPID-1 and SIFPID-2 controllers. Compilation of advantages of both PID and FLC causes the FPID controller more precious and novel. The objective function for this system by concerning tie-line power deviation and frequency deviation is characterized in Eq. (4):

$$ \begin{aligned} ITAE = \int\limits_{0}^{T} {t(\Delta f_{1} } + \Delta f_{2} + \Delta P_{tie} ) \hfill \\ {\text{Subject}}\,{\text{to}}\,0.01 \le K_{i} \le 2, \hfill \\ \end{aligned} $$
(4)

where i = 1, 2, 3, …, n. ‘n’ is the numbers of design parameters.

3 Controller structure

The performance of the power system is primarily rely upon the controller design. Fuzzy logic controller (FLC) is adopted by many researchers as controllers from last few decades. In this purposed system, three distinct combinations of PID and FLC (SIFPID-1, SIFPID-2 and MIFPID) are adopted as controllers as portrayed in Fig. 2. The membership functions of all FLCs portrayed in Fig. 3 are adopted for all the controllers. Five MFs titled as negative high (NH), negative low (NL), zero (Z), positive low (PL), and positive high (PH) as delineated in Fig. 3 are adopted for all the controllers.

Fig. 2
figure 2

a SIFPID-1 controller structure, b SIFPID-2 controller structure, c MIFPID controller structure

Fig. 3
figure 3

Membership function structure of FLC

In SIFPID-1 controller, ACE is adopted as the only input of the controller as portrayed in Fig. 2a. In SIFPID-2 controller, two FLC are adopted in which ACE and ΔACE are the corresponding inputs of the two FLCs as shown in Fig. 2b. The rules for both SIFPID-1 and SIFPID-2 are as follows.

If input is NH then output is NH.

If input is NL then output is NL.

If input is Z then output is Z.

If input is PL then output is PL.

If input is PH then output is PH.

In MIFPID controller, ACE and ΔACE are adopted as two inputs to the FLC as illustrated in Fig. 2c. Table 1 encloses the rules of MIFPID controller.

Table 1 Rule base

4 Modified Group Hunting Search (MGHS) algorithm

The relation between predator (group hunters i.e. lions, wolves etc.) and prey is beautifully expressed as optimization technique (Oftadeh et al. 2010). GHS algorithm is derived from the strategy of hunting a prey by concerning the group hunting technique. Unity of group members adopt an approach to trap the prey by circumscribing it. The member of the group near to the prey is adopted as leader and all other member follows leader to move towards the prey (optimum solution). If any of the group member amends by a better position compared to the recent leader then it becomes leader in the next generation. The hunters in each generation follows the leader by concerning maximum moments towards the leader (MML). MML affects the algorithm to maintain the balance between exploration and exploitation. If the MML value is large then the algorithm may skip over the optimum point and small value of MML may reduce the diversity factor of algorithm. In MGHS, the MML value is decaying constantly with iteration. The worst hunters in the group are replaced by other random numbers to enhance the probability to get optimum point. The stride of the MGHS are as:

  1. 1.

    Initialize the population randomly of size X[NP×D] within the limit 0.01–2.

  2. 2.

    The best fitted hunters among the group is adopted as leader.

  3. 3.

    The hunter’s positions are refurbished towards the leader. The mathematical expression is defined in Eq. (5):

    $$ X_{i}^{k + 1} = X_{i}^{k} + rand \times MML \times (X_{i}^{L} - X_{i}^{k} ). $$
    (5)
    $$ MML = 0.6 - \left( {it \times \left( {\frac{0.6}{iter\,\hbox{max} }} \right)} \right), $$

    where ‘it’ is the current iteration, itermax is the maximum iterations and \( X_{i}^{L} \) is the position of leader.

  4. 4.

    The position of hunters are corrected as in Eq. (6) by concerning hunter’s group consideration rate (HGCR) and distance radius (Ra):

    $$ X_{i}^{k + 1} = \left\{ \begin{aligned} & X_{i}^{k + 1} \in \{ X_{i}^{1} ,X_{i}^{2} , \ldots ,X_{i}^{HGS} \} \,with\,probability\,HGCR \\ & X_{i}^{k + 1} \pm R_{a} \,with\,probability\,(1 - HGCR) \\ \end{aligned} \right., $$
    (6)
    $$ Ra(it) = Ra_{\hbox{min} } (\hbox{max} (X_{i} ) - \hbox{min} (X_{i} ))\exp \left( {\frac{{\ln \left( {\frac{{Ra_{\hbox{min} } }}{{Ra_{\hbox{max} } }}} \right) \times it}}{iter\,\hbox{max} }} \right), $$
    (7)

    Ra is an exponential decay function expressed in Eq. (7).

  5. 5.

    Identify the group to avoid the algorithm to be trapped into local optima. It may be defined as in Eq. (8):

    $$ X_{i}^{k + 1} = X_{i}^{L} \pm rand(\hbox{max} (X_{i} ) - \hbox{min} (X_{i} )) \times \alpha \exp ( - \beta \times EN), $$
    (8)

    where EN is the numbers of epochs. EN is estimated by matching the difference of leader and worst hunter with a small value.

  6. 6.

    The worst hunters are replaced by the random numbers to enhance the probability to extract optimum point as expressed in Eq. (9):

    $$ \begin{aligned} count = find((f(X_{i}^{L} ) + M) < f(X_{i} )) \hfill \\ X_{i} (count) = \hbox{min} (X_{i} ) + rand \times (\hbox{max} (X_{i} ) - \hbox{min} (X_{i} )). \hfill \\ \end{aligned} $$
    (9)
  7. 7.

    Repeat steps 3–6.

In Appendix 2 all the specifications of MGHS are portrayed.

5 Results and discussion

GHS and MGHS algorithms are executed for 100 iterations to resolve the steps to discover the optimal gain parameters of SIFPID-1, SIFPID-2 and MIFPID controllers. Variables K1, K2, K3, and K4 are adopted as the design variables for SIFPID-1 and MIFPID as portrayed in Fig. 2a, c. K1, K2, K3, K4 and K5 are the design variables of SIFPID-2 controller. The values of the above mentioned parameters are characterized within the perimeter 0.01–2. Table 2 represents the gain parameters of the different controllers optimized by GHS and MGHS algorithm. The GHS and MGHS algorithm is validated by comparing with PSO and CRPSO described in Nayak et al. (2017).

Table 2 GHS and MGHS optimized gain parameters of different controllers

The deviation of frequency in area-2 of interconnected hydro-thermal power system without GRC is illustrated in Fig. 4 to contrast the proposed algorithm over PSO, CRPSO and DECRPSO algorithm to optimize FPID controller. The controller gain parameters of the system without GRC is tabulated in Table 3.

Fig. 4
figure 4

Frequency deviation in area-2 of hydro-thermal power system without GRC

Table 3 Optimal values of gains of MIFPID controller to validate the GHS and MGHS over (Nayak et al. 2017) without GRC

The convergence plot to validate the GHS and MGHS algorithms optimized different controllers is illustrated in Fig. 5. The power deviation in tie-line and frequency deviations of both areas by implementing different controllers optimized by different algorithms are portrayed in Figs. 6, 7 and 8.

Fig. 5
figure 5

Convergence plot

Fig. 6
figure 6

Frequency deviation in area-1

Fig. 7
figure 7

Frequency deviation in area-2

Fig. 8
figure 8

Tie-line power deviation

The settling time (Ts), peak overshoot (Osh), and peak undershoot (Ush) are the objectives which are used to discriminate the performances of the controllers. Settling time is evaluated by considering a dimension of ± 0.002% (2 × 10−5) of final value. Ts, Ush, and Osh of the system are minimum with MIFPID controller optimized by MGHS algorithm as reported in Table 4.

Table 4 peak undershoots (ush), peak overshoots (osh) and settling time (ts) of\( \Delta f_{1} \), \( \Delta f_{2} \) and \( \Delta P_{tie} \)

MIFPID controller optimized by MGHS algorithm is validated as the better controller over SIFPID controller.

6 Conclusion

The purpose of this paper is to validate the MIFPID controller optimized by hybrid DECRPSO algorithm as an improved secondary controller of the interconnected hydro-thermal power system. For this purpose MIFPID, and SIFPID controllers are applied separately in each area as AGC optimized by GHS, and MGHS algorithm. With 1% load disturbance in area-1, MIFPID controller is validated better than SIFPID controller to enhance the ability to get better control over tie-line power deviation and frequency deviation by considering their settling time, undershoot, and overshoot. The supremacy of MGHS algorithm over GHS is validated by optimizing both MIFPID and SIFPID controllers.