1 Introduction

Relay coordination is the operation of protective relays in a proper sequence when a fault occurs. Depending upon the fault location in a network, primary and backup relay pairs (RP) are identified. For proper relay coordination, the primary relay must operate before the backup relay, and there must be a time gap between the primary and backup relay operating times, known as the coordination time interval (CTI) which depends on the type of relays. The CTI is within the range of 0.3–0.6 s for electromechanical relays, while for microprocessor-based relays it ranges between 0.2 and 0.5 s [1]. The existing operating time gap between the primary and backup relays, known as measured coordination time interval (MCT) must be greater than or equal to CTI to ensure proper coordination among the relays.

A relay coordination scheme has two types of independent variables, namely TMS and PS. Depending on these decision variables, the coordination scheme is formulated as a linear, nonlinear, or MINLP programming problems [2]. In linear programming, only TMS is treated as a decision variable, while PS is fixed. Using linear programming (LP) techniques, the optimal value of TMS is obtained by root tree optimization (RTO) [3], improved firefly algorithm (IFA) [4], genetic algorithm (GA) [5], improved harmony search algorithm (IHSA) [6], etc. In nonlinear programming techniques, TMS and PS are both taken as continuous or discrete decision variables. For electromechanical relays, TMS is continuous, and PS is taken as a discrete variable whereas, for microprocessor-based relays, both TMS and PS are considered as continuous variables. Using nonlinear programming, the optimal values of TMS and PS are obtained by the modified firefly algorithm (MFA) [7], differential evolution (DE) [8], gravitational search algorithm (GSA) [9], random search technique (RST) [10], teaching learning based optimization (TLBO) [11], etc. To overcome the problem of trapping in local minima, some hybrid techniques consisting of two different optimization techniques, such as gravitational search algorithm-sequential quadratic programming (GSA-SQP) [12], DE-LP [13], biogeography-based optimization-linear programming (BBO-LP) [14], etc. have also been implemented to obtain the optimal values of TMS and PS. In contrast, for the MINLP technique [15], TMS and PS are considered continuous and discrete, respectively. To increase the flexibility in the coordination scheme, relay characteristic coefficients (α and β) have been introduced as another decision variable. Thus, each relay is associated with four decision variables, i.e., TMS, PS, α and β, to further reduce the total relay operating time as compared to fixed relay characteristics [16].

Using the above-mentioned techniques, several coordination schemes have been proposed for conventional and dual setting DOCR. Conventional DOCR operates for the forward direction of the fault current, and hence there exists a single setting, used by DOCR for both primary and backup operations. Whereas, dual setting DOCR can operate independently for both forward and reverse directions, based upon which two different relay settings (TMSfow, PSfow, and TMSrev, PSrev), one for each direction, are identified. For the forward direction, the relay will act as the primary, and for the reverse direction, the same relay acts as backup protection in both operating modes of the microgrid. [17]

The fault current characteristics of inverter interface distribution generator (IIDGs) are completely different from those of the conventional rotating synchronous machine-based DGs (SBDGs). The fault current contribution of SBDGs are 4–5 times that of the rated current, whereas, due to the limitation of inverter thermal overload capability, the fault current contribution of IIDGs is limited typically to about 1.2–2 times the rated current [18]. Therefore, overcurrent protection schemes may not be significant in the islanded mode of operation consisting of only IIDGs. However, in the presence of multiple highly penetrated IIDGs along with SBDG, the total fault current contribution can still be significant for the implementation of the overcurrent protection schemes. Because of the fault current variation in grid-connected and islanded modes of the microgrid, two different relay settings are assigned. To obtain a common relay setting for both operating modes, the fault current magnitude must be maintained approximately equal in each mode. To achieve this, a series connected, fault current limiter (FCL) is used for reducing the fault current magnitude in the grid-connected mode during the fault period [19]. However, with the inclusion of an extra device, the protection scheme becomes costly and complicated [20]. To overcome this, a common optimum protection scheme using conventional DOCR for both operating modes of microgrid is proposed in [21], where the combination of optimally selected standard relay characteristics is used. To further improve the performance in terms of the total relay operating time, dual setting DOCR is considered in place of conventional DOCR in this paper, and the common setting is optimally determined for both operating modes of the microgrid. The novelty of this work lies in identifying common settings for dual setting relays in both operating modes without using any external element or communication system.

The protection scheme for the relay coordination problem formulated in this paper is an MINLP because of the involvement of the third decision variable RCI. The proposed protection scheme is tested on the 7-bus and 18-bus microgrid systems. To show the effectiveness of dual setting DOCR, its performance is compared with the results obtained by conventional DOCRs [21]. The remainder of the paper is divided into five sections as follows. Section 2 describes problem formulation using dual setting DOCRs, and the solution method is defined in Sect. 3. Section 4 provides a brief discussion of the test system and results, while validation of the proposed protection scheme on a larger microgrid system is presented in Sect. 5. Finally, the conclusion is given in Sect. 6.

2 Relay coordination problem formulation in a microgrid

The operating time of overcurrent relay depends on its time–current characteristics, classified according to IEC-60255 standard as normal inverse (NI), very inverse (VI), and extremely inverse (EI), as shown in Fig. 1. Each relay characteristic is identified considering the respective characteristic coefficients as shown in Table 1. From Fig. 1, it can be seen that, for a fixed fault current value, the relay operating time is reduced as the relay characteristics change from NI to EI. The relay characteristics shown in Fig. 1 can be derived for different values of TMS and PS using (2) and (3). The objective of the proposed work is to find optimum relay settings and reduce the overall operating time of dual setting DOCR for both operating modes of the microgrid.

Fig. 1
figure 1

Time–current characteristics of a dual setting DOCR

Table 1 Overcurrent relay characteristics coefficient, according to IEC-60255 std

The objective function (OF) for relay coordination is formulated as the summation of all primary relay operating times for different fault locations shown in (1) and the required constraints to fulfill the objective of the relay coordination problem are given from (4) to (7).

$$OF = \min \sum\limits_{i = 1}^{n} {t^{i}_{op\_fow} }$$
(1)

where

$$t^{i}_{op\_fow} = \frac{{\alpha *TMS_{fow} }}{{\left\{ {\frac{{I_{f} }}{{PS_{fow} *CTR}}} \right\}^{\beta } - 1}}$$
(2)
$$t_{op\_rev} = \frac{{\alpha *TMS_{rev} }}{{\left\{ {\frac{{I_{f} }}{{PS_{rev} *CTR}}} \right\}^{\beta } - 1}}$$
(3)
$$t_{op\_rev} - t_{op\_fow} \ge CTI$$
(4)
$$t_{op\_\min } \le t_{op\_fow} \le t_{op\_\max }$$
(5)
$$TMS_{\min } \le TMS_{fow} ,TMS_{rev} \le TMS_{\max }$$
(6)
$$PS_{\min } \le PS_{fow} ,PS_{rev} \le PS_{\max }$$
(7)

In (1), tiop_fow is the operating time of the ith relay in the forward direction, and n is the number of primary relays for different fault locations. The relay operating times for forward and reverse directions of fault current are top_fow and top_rev, respectively, as given in (2) and (3). The relay characteristic coefficients α and β are selected as per IEC-60255 standard. TMSfow and TMSrev are the time multiplier setting and PSfow and PSrev are the plug setting of relays operating in forward and reverse directions respectively. In (4), CTI is the coordination time interval, and its minimum value is 0.2 s. The maximum and minimum operating time of relays (top_max and top_min) are 4.0 s and 0.1 s, respectively. Different kind of transients may exist in the power system for a time period of less than one microsecond to several milliseconds. In order to tackle all the transients in the system, the minimum relay operating time (0.1 s) is also considered as a constraint to establish the overcurrent relay coordination. Therefore, all transients vanish before the operation of the primary relay. The lower and upper bound of TMS (TMSmin and TMSmax) and PS (PSmin and PSmax) are 0.1, 1.1, 0.5, 2.0 respectively.

3 Solution method for the relay coordination problem

The optimal coordination among the dual setting DOCRs can be achieved by obtaining the optimum values of relay settings, i.e., TMSfow, TMSrev, PSfow, and PSrev, along with the optimal selection of relay characteristics RCI. The optimal values of all decision variables must be selected to reduce the total relay operating time without any violation of constraints. Thus, each relay is associated with twice the number of variables used in conventional DOCR. For the forward direction of fault current, the relay is associated with the forward settings (TMSfow, PSfow, and RCI) and for the reverse direction the same relay is associated with reverse settings (TMSrev, PSrev, and RCI). In this paper GA and GWO are used to obtain the values of all decision variables. The structure of the chromosome used in GA for dual setting DOCR is shown in Fig. 2.

Fig. 2
figure 2

Structure of chromosome in GA technique

The proposed protection method using dual setting DOCR for both operating modes of the microgrid is shown in Fig. 3. In the proposed protection scheme, the first step is to identify the operating mode of the microgrid, and then the three-phase midpoint fault current is measured at each line using short circuit analysis. The relay pairs (primary and backup) for the different fault locations are identified in both operating modes. Furthermore, the summation of the operating times of all primary relays is taken as an objective function, and all the constraints related to CTI as well as minimum and maximum relay operating times are formulated. After the determination of GA/GWO parameters, the optimum settings of relays are obtained. If the obtained values satisfy all the constraints for both operating modes, they are considered as the final optimal relay settings. However, in the case where there is any violation of constraints, the values of GA/GWO parameters are updated and the process continues until the final optimal relay setting is obtained without any violation of relay constraints.

Fig. 3
figure 3

Proposed protection method to determine optimal relay setting in grid connected and islanded operating mode

4 Test system description and results

In this paper, for both test systems considered (distribution parts of the IEEE-14 and IEEE-30 bus test systems), multiple IIDGs are used along with one SBDG and a utility grid. Therefore, the total fault current in grid connected mode is shared by all the considered active sources of IIDGs, SBDG and the utility grid. In the islanded mode of operation, the total fault current is shared by multiple IIDGs and the SBDG. The distribution part of the IEEE-14 bus system (7-bus microgrid system), as shown in Fig. 4, has two inverter-based DGs (IBDGs) each rated at 20 MVA, connected at buses B2 and B7, and one synchronous generator (SG) of 50 MVA at bus B1. The 7-bus microgrid system is connected with the sub-transmission network through buses B3 and B6 each having 60 MVA generation capacity. Buses B1, B2, B3, and B6 have a maximum short circuit capacity of 250 MVA, 80 MVA, 300 MVA, and 300 MVA, respectively. All other specifications of the test system can be obtained from [22]. The 7-bus microgrid test system consists of 8 lines, which are protected by 16 dual setting DOCRs placed at both ends of the lines. The CT ratios (CTR) used for dual setting DOCRs are given in Table 2. The fault current magnitudes through each relay coil for different fault locations in both operating modes of the microgrid are shown in Table 3. For eight different fault locations (L1, L2, L8), there are twenty-two relay pairs (RP1-RP22). For relay pair RP1, R1 and R3 will act as the primary and backup dual setting DOCR, respectively. The fault current via the primary and backup relay coils in grid-connected and islanded operating modes are 12.075A (R1), 3.19A (R3), 9.03A (R1), and 0.64A (R3), respectively.

Fig. 4
figure 4

Distribution part of IEEE-14 bus test system with dual setting DOCR

Table 2 CT ratios of DOCR for 7-bus microgrid system
Table 3 Current through relay coils in grid-connected and islanded operating modes for 7-bus microgrid system

It can be seen from the short circuit analysis that the fault current magnitude in grid-connected mode is higher than in the islanded mode of operation. Consequently, it is possible that DOCRs with NI relay characteristics may take a long time to operate. This is not desirable as it may lead to mis-coordination of relay pairs, potentially resulting in a larger portion of the system being isolated. To avoid this situation, relay characteristic curves have been optimally selected by including a third optimization variable known as a relay characteristics identifier (RCI). Besides this, the fault current magnitude in the forward direction is higher than the reverse direction, which justifies the need of dual setting relays.

4.1 Optimum relay setting in grid-connected mode

The settings of the optimal dual setting DOCR obtained by GA in the grid-connected mode of operation, using NI, VI, EI and mixed relay characteristics, are shown in Table 4. The total operating times of all dual setting DOCRs with NI and VI characteristics are found to be 3.3877 s and 1.6825 s, respectively. From the results, it can be seen that by using VI characteristics the overall relay operating time can be reduced by up to 50.33% when compared to NI characteristics. From the obtained optimal settings, it can be seen that for NI characteristics, the operating time of R1 in RP1 is 0.2146 s for the forward direction, whereas for the reverse direction the operating time of R1 in RP4 is 2.049 s. Thus, the relay operating time for the forward direction of fault current is lower than the reverse direction. This statement is valid for all the dual setting DOCRs with NI, VI, EI, and mixed characteristics in grid-connected mode. Similarly, the results obtained using EI relay characteristics and a combination of optimally selected relay characteristics (mixed-characteristics) in grid-connected mode show that the total operating times of dual setting DOCRs with EI and mixed characteristics are 1.6124 s and 1.6065 s, respectively. Thus, there is a reduction of 0.36% in total relay operating time using mixed characteristics as compared to EI characteristics. In addition, it can be seen that by using mixed characteristics the total relay operating time is reduced by 52.57% and 4.51% as compared to NI and VI characteristics, respectively. From the results, it can be concluded that by using optimally selected relay characteristics the total relay operating time is the least when compared to NI, VI, EI characteristics. Also only VI and EI characteristics are optimally selected in mixed characteristics. A graphical representation of the primary relay operating times obtained by GA with NI, VI, EI, and mixed characteristics in grid-connected mode using dual setting DOCR is shown in Fig. 5. The MCT and backup relay operating times for dual setting DOCR obtained by GA in grid-connected mode of the 7-bus microgrid system are presented in Figs. 6 and 7, respectively. Here MCT can be defined as the actual operating time difference between the primary and backup relays using optimal values of TMS and PS. In all cases, the value of MCT is always greater than CTI. This indicates the required time gap between primary and backup relays for each RP. The optimal results satisfy all the considered constraints while formulating the relay coordination problem.

Table 4 Optimal relay setting with NI, VI, EI and mixed relay characteristics for dual setting DOCR in grid-connected mode
Fig. 5
figure 5

Primary relay operating time having NI, VI, EI and mixed characteristics in grid-connected mode

Fig. 6
figure 6

MCT having NI, VI, and EI and mixed characteristics using dual setting DOCR in grid-connected mode

Fig. 7
figure 7

Backup relay operating time having NI, VI, EI and mixed characteristics in grid- connected mode

4.2 Optimum relay setting in islanded mode

The optimal settings obtained by GA in islanded mode using dual setting DOCR, with NI, VI, EI and mixed relay characteristics are shown in Table 5. It is found that the total operating times of relays obtained by GA using NI and VI characteristics are 3.9882 s and 1.7765 s, respectively. It can be seen that using VI characteristics, the total relay operating time obtained by GA can be minimized by 55.45% when compared to NI characteristics. Also, the operating time for relay R1 in RP1 is 0.2350 s for the forward direction whereas for the reverse direction of fault current the operating time of relay R1 in RP4 is 1.6779 s (with NI characteristics). Thus the relay operating time for the forward direction is lower than that of the reverse direction. Similarly, from the results obtained by GA using EI and mixed relay characteristics in islanded mode, the total dual setting DOCR operating times obtained by GA using EI and mixed characteristics are 1.6928 s and 1.6345 s respectively. By using mixed characteristics, the relay operating time obtained by GA is reduced by 59% and 7.99% compared to NI and VI characteristics, respectively. It can be concluded that by using optimally selected relay characteristics the relay operating time is lower than all the other (NI, VI, and EI) characteristics. In the islanded mode of operation, only VI and EI type relay characteristics are optimally selected in the case of mixed characteristics. The primary dual setting DOCR operating times obtained by GA using NI, VI, EI and mixed characteristics in islanded operating mode are shown in Fig. 8.

Table 5 Optimal relay setting with NI, VI, EI and mixed relay characteristics for dual setting DOCR in islanded mode
Fig. 8
figure 8

Primary relay operating time having NI, VI, EI and mixed characteristics in islanded mode

4.3 Comparative analysis of results in dual operating mode

The performance of dual setting DOCR in terms of the total relay operating time is compared with conventional DOCR [20], in Table 6. It can be seen that, as the relay characteristics change from NI to optimally selected mixed characteristics, there is a significant reduction in the relay operating time in both operating modes of the microgrid. To validate the effectiveness of GA, the results are also compared with the grey wolf optimization (GWO) technique. The results show that GA gives better results in terms of total relay operating time in all cases except the islanded case of conventional DOCR using EI characteristics. The percentage reduction in operating time of dual-setting DOCRs compared to conventional DOCR in each case is shown in Table 6. The violation constraints (in terms of number) in both operating modes of the microgrid are displayed in Table 7, while any protection schemes are no longer valid if any of the constraints associated with the relay coordination problem are violated. It is seen that when the optimal settings obtained for grid-connected mode (for dual setting DOCRs) are applied in islanded mode, several constraints are violated (4 for NI, 4 for VI, 7 for EI and 5 for mixed characteristics). In the same way when the optimal relay settings of islanded mode are applied in grid-connected mode, some constraints are violated (1 for NI, 16 for VI, 17 for EI and 16 for mixed characteristics). Therefore, it is desirable to obtain a common relay setting for the operation of the protection scheme, one which can satisfy all the operating mode constraints.

Table 6 Comparative analysis of conventional DOCR [20] and dual setting DOCR for 7-bus microgrid system
Table 7 Coordination constraint violation summary of the 7-bus microgrid system using GA

4.4 Common optimum relay setting in dual operating modes of microgrid

The proposed method for a common optimal setting that can be used in both operating modes is shown in Fig. 9, where the effects of both operating modes of the microgrid are taken into account, to identify the common optimal relay setting for dual setting DOCRs. In this process, all the relay constraints of both operating modes are considered together when minimizing the objective function. The common optimal relay settings obtained by GA with the optimally selected relay characteristics are shown in Table 8. The primary relay operating times obtained by GA using conventional and dual setting overcurrent relays are displayed in Fig. 10. In this case, the number of relays remains the same, but the number of relay constraint, and relay pairs, are doubled (RP1-RP44) compared to grid-connected or islanded operating mode (RP1-RP22). The results reveal that for the obtained common relay settings, all three types of relay characteristics, i.e., NI, VI, and EI, are optimally determined. The total relay operating times obtained by GA are found to be 1.6800 s for dual setting DOCR and 2.4392 s for conventional DOCR [20]. This represents a reduction of 31.12% while using dual setting relays with the common optimal settings, while the constraints in both operating modes are completely satisfied, i.e., no constraint violation occurs for either of the operating modes.

Fig. 9
figure 9

Method for common optimal setting for dual operating modes of MG

Table 8 Common optimal relay setting using dual setting DOCR for 7-bus microgrid system
Fig. 10
figure 10

Primary relay operating time using single and dual setting DOCR for common relay setting

5 Proposed protection scheme validation on 18-bus microgrid system

To validate the effectiveness of the proposed protection scheme, the proposed protection method implemented on the distribution part of the IEEE-14 bus test system is applied in a similar manner to a larger microgrid system, i.e., the distribution part of the IEEE-30 bus test system (an 18-bus microgrid system) is considered. The 18-bus microgrid system consists of 22 lines, one SG (50MVA) connected at bus B1, and three IBDG (20 MVA each) at buses B4, B11, and B18 [20]. The other relevant information regarding the IEEE-30 bus system is given in “Appendix”. To protect this system, 44 dual setting relays (R1–R44) are required. These are placed at both ends of the lines as shown in Fig. 11. The system is connected to the utility grid through buses B1, B2 and B16 as shown in Fig. 11. The primary-backup relay pairs (RP1–RP72) for different fault locations (L1–L22) are shown in Table 9. In this test system, for some of the relay pairs, the fault currents flowing through the respective backup relays are very small compared to the primary relays because the backup relay operating times are larger than those of the primary relays. Such relay pairs are ignored during the relay coordination process, as they always satisfy the respective constraints. All other test system information is taken from [22]. To show the efficacy of the proposed protection scheme for the 18-bus microgrid system, only the common operating mode is considered due to page limitations. To determine the common optimal relay settings which can be used in both operating modes, the impacts of both operating modes are considered simultaneously. Therefore, the number of constraints is doubled compared to those in the individual operating mode. The minimum and maximum values of TMS, PS, and primary relay operating time are considered the same as in the 7-bus microgrid system. The common optimal relay settings for the 18-bus microgrid system using dual-setting overcurrent relays, obtained by GA are shown in Table 10. From Table 10, it can be seen that the total primary relay operating time obtained by GA for dual setting overcurrent relays, is 4.4472 s, which is 60.47% lower than that for conventional DOCRs [20] as shown in Table 11. The primary relay operating times for all the relay pairs (RP1–RP144) associated with grid-connected mode (RP1–RP72) and islanded mode (RP73–RP144) using single and dual setting overcurrent relays in common operating mode are shown in Fig. 12.

Fig. 11
figure 11

Distribution part of IEEE-30 bus system (18-bus microgrid system)

Table 9 Primary-Backup relay pair for different fault locations in 18 bus microgrid system
Table 10 Optimal relay setting for common operating mode in 18 bus microgrid system using GA
Table 11 Summary of total relay operating time using single and dual setting overcurrent relays in common operating mode
Fig. 12
figure 12

Primary relay operating time using single and dual setting overcurrent relays for common relay setting in 18 bus microgrid test system

It can be concluded that the common optimal relay settings satisfy all the constraints related to grid-connected and islanded mode of operation simultaneously. Thus, the proposed protection scheme using dual-setting overcurrent relays also provides the common optimal relay settings for larger test system such as the 18-bus microgrid test system which can be used in both operating modes. To show the efficacy of the GA, a comparative analysis in terms of total relay operating time for both test systems (the 7-bus and 18-bus microgrid systems) is shown in Table 11. It can be seen there that the total relay operating times obtained by the GA are better than the GWO for both test cases. In addition, the total primary relay operating time in the common operating mode using dual setting DOCR is always lower than the conventional DOCR [20].

6 Conclusion

This paper presents a comparative analysis of relay coordination for 7-bus and 18-bus microgrid systems using dual-setting relays in both operating modes of a microgrid. One of the major findings of the research is the determination of common settings of dual setting relays for both operating modes of the microgrid. From the results, it can be concluded that the relay operating times in both modes decrease significantly as the relay characteristics change. In this context, for the 7-bus microgrid system, 16 dual-setting relays (R1–R16) have been considered with NI, VI, EI and mixed characteristics by which the total relay operating times are reduced by 52.97%, 31.02%, 3.39% and 3.71% in grid-connected mode, and by 45.47%, 45.26%, 74.78% and 20.92% in islanded mode as compared to conventional DOCR. Also, in common operating mode, the percentage reductions in total relay operating time for dual setting DOCR obtained by GA in the 7-bus and 18-bus microgrid systems are 31.02% and 60.47% respectively, compared to the conventional DOCR. Similarly, the percentage reductions in total relay operating time for dual-setting DOCR obtained by GWO in the 7-bus and 18-bus microgrid systems are 30.24% and 34.96% respectively when compared to conventional DOCR. One of the major advantages of the proposed technique is that there is no constraints violation in either operating mode of the microgrid. The performance of the proposed protection scheme can be further enhanced by taking the relay characteristic coefficients (α and β) as continuous variables.