Keywords

1 Introduction

When used in combination with fuses, reclosers, and Circuit Breakers (CBs), Overcurrent Relays (OCRs) are a common kind of protection for traditional radial distribution networks. The incorporation of Distributed Generators (DGs) into distribution networks has grown in recent years because of the significant technological, economic, and environmental advantages that DGs provide. The incorporation of DGs, on the other hand, transforms the radial topology of the traditional distribution network into an interconnected framework, leading to bidirectional power flow [1, 2]. A significant influence on the amount of the short-circuit current is exerted by the kind of DG and penetration level of DGs. When it comes to protecting such complex networks quickly and reliably, Directional Overcurrent Relays (DORs) are typically preferred over simple OCRs [3]. In order to improve the overall effectiveness of the protection scheme, DORs must work together in the most efficient manner possible. In transmission and distribution infrastructure, DORs are commonly employed for main protection, and they can also be used to safeguard distance relays in transmission systems as a backup protective device [4, 5].

The DORs might become necessary in order to achieve fault zone differentiation in the ring main, double-end fed, parallel feeder, and multi-looped systems. The primary function of a DOR is to identify a fault as soon as it occurs if it occurs within its operational zone without any intended delay [6]. Primary protection is defined as the identification of a problem inside the specified zone without the use of any intended delay. Occasionally, primary protection neglects to eliminate a problem due to the failure of relays and/or CBs to function properly. It is necessary to have backup protection in place to correct the problem. Backup protection is an extra layer of security offered to a spot that only triggers after an intended delay if the main security of that part neglects to function properly [7]. In the coordination of DORs, the task of determining the most appropriate relay settings, specifically the Time Multiplier Setting (TMS) and the Plug Setting (PS), in such a way that the main relay reacts quicker than any other relays in the system is referred to as coordination. To minimize the overall working time of all primary relays and prevent miscoordination between primary and backup relay pairs, the coordination of DORs must find the optimal TMS and PS values for each relay while taking into consideration specific constraints. In the event of a failure of the main relay or the related circuit breaker, backup relays must be activated after a certain time interval, ensuring that the Primary/Backup (P/B) relay pairs are operated in the correct sequential order [8, 9].

Several ways to achieve the best possible coordination of DORs utilized for the protection of meshed distribution networks have been described in the scientific research literature. For relay coordination, it was common to practice in the past to use trial-and-error approaches [10]. Trial and error procedures, on the other hand, are hampered by the demand for many iterations and the sluggish rate of convergence. Topological modelling was used to provide optimal coordination of DORs, which were later implemented [11, 12]. When contrasted to trial-and-error procedures, topological analysis-based methods specify a minimum number of iterations to arrive at an appropriate solution. Nevertheless, using the topological analysis approach, it is not assured that the global optimal of TMS and PS of DORs would be obtained. In subsequent phases, numerous optimization algorithms for overcoming the coordination challenges of DORs were suggested, with the most prominent programming. Simplex [13], two-phase simplex [14], Sequential Quadratic Programming (SQP) [15], and dual simplex [16] are examples of classical optimization methods that are based on Linear Programming (LP) methods [17]. These approaches are fast and straightforward. However, because the operating time of the DOR is a linear function of the TMS, the LP-based optimization strategies are only useful for optimizing the TMS in this case. Because DOR management is a nonlinear problem, Nonlinear Programming (NLP) methods such as the gradient search technique [18], random search technique, and sequential quadratic programming [19] have been suggested in previous studies to defeat the shortcomings of LP-based approaches. It is possible to tune both the TMS and PS of DORs simultaneously using an NLP-based optimization technique. When it comes to addressing the DOR coordination problem, NLP-based solutions outperform LP techniques by a wide margin. However, both traditional optimization strategies have the potential to become stuck at the local optima and struggle to reach the global optima as a result. Furthermore, as the scale of the system grows, the pace of convergence of such optimization techniques becomes more and slower. As a result, over the last few decades, heuristic methods have emerged as useful tools for solving the relay coordination problem. There are a variety of methods available, including Genetic Algorithm (GA), Particle Swarm Optimization (PSO), Differential Evolutionary (DE) algorithm, Backtracking Search Algorithm (BSA), Artificial Bee Colony (ABC) algorithm, Ant Colony Optimization (ACO), Biogeography-Based Optimization Algorithm (BBOA), Gravitational Search Algorithm (GSA), Teaching Learning-Based Optimization (TLBO), Grey Wolf Optimizer (GWO), Cuckoo Search (CS), and Harmony Search (HS) algorithm [20,21,22,23,24]. For the coordination problem of DORs, hybrid methods are also used to improve computational speed. These methods include GA-LP, GA-NLP, BBOA-LP, GSA-SQP, PSO-SQP, and PSO-GSA. When compared with trial and error, topological, and traditional LP and NLP algorithms, such heuristic and evolutionary optimization algorithms outperform them in terms of reaching the global optimal solution. Most metaheuristic algorithms, on the other hand, need greater computing time and suffer from premature convergence. Researchers have put forth a great amount of effort to date to solve the optimal relay coordination challenges that arise in DOR networks. It seems that practically every time, the primary aim is to improve the relay settings to reduce the total Operating Time (OT) of the relays. However, the challenge of coordination between relays (P/B relay pairs) has not been properly handled so far. As a result, to close the research gap, this paper addresses both objectives, namely, optimization of coordination between P/B relay pairs and relay settings, at the same time and with better results.

Recently, a bio-inspired metaheuristic optimization technique called Whale Optimization Algorithm (WOA) for solving optimization issues was published in [25] and is described in detail. In comparison to other algorithms, WOA is made to balance the exploration and exploitation of the search area, which can improve the convergence rate and overall optimization. It is simpler to develop and utilize for many optimization problems because it only requires a few tuning parameters. It can rapidly reach an equivalent to an ideal solution in a short period due to its strong convergence rate. Compared to other optimization techniques, it is more computationally efficient and relatively simple to implement. It can solve various optimization problems, including those with one or more objectives. In addition, this algorithm is not applied to optimal coordination of directional overcurrent relay optimization problems. This motivated us to select the whale algorithm for the above-said optimization problem. Therefore, this paper uses WOA to provide the best possible coordination of DORs. The recommended algorithm's performance is tested on standard 3-, 9-, and 30-bus test power systems, with faults introduced at the midway of the lines to evaluate its effectiveness. The recommended algorithm's performance is revealed to be an optimal tool in terms of attaining the shortest overall OT of relays.

2 Optimization Problem Formulation

2.1 Objective Function

The problem of DOR can be expressed as either a linear function or a nonlinear function. In the scenario of a linear function, plug-setting has remained constant among the upper and lower bounds of the flow of current while TMS is computed; however, in the scenario of a nonlinear function, both TMS and PS are minimized at the same time in both cases. Apart from that, the quantized characterization of relay configurations increases the difficulty in coordinating the operation of the system. When it comes to solving the DOR's coordination challenge, there are primarily two objectives that must be addressed. The initial aim is to reduce the overall running time of all relays put in the network to the bare minimum, allowing the problem to be addressed in the shortest amount of time. Second, the coordination between the backup and primary relays should be retained, i.e., the backup relay would only act after a specified period if the primary relay could not function properly. The mathematical expression of the relay can be stated as follows [26].

$${T}_{ik}=\frac{TM{S}_{i}*\beta }{{\left(\frac{{I}_{f}}{P{S}_{i}. \,\, {\text{CT}}_{Rating,P}}\right)}^{\alpha }-\delta }$$
(1)
$${I}_{f}=\frac{{I}_{{R}_{i},k}}{{\text{CT}}_{Rating,P}}$$
(2)

where \({T}_{ik}\) denotes the ith relay operating time for a fault at the kth site, \({I}_{{R}_{i},k}\) denotes the fault current observed in the relay \({R}_{i}\) for a fault at the the kth site, and \({I}_{{\text{f}}}\) denotes the fault current at the Current Transformer (CT) primary terminal. \(P{S}_{i}\) denotes the PG of the relay \({R}_{i}\) above which it begins to operate, while \(TM{S}_{i}\) denotes the TMS of the relay \({R}_{i}\). \(\alpha \), \(\beta \), and \(\delta \) are coefficients that change depending on the characteristics of the relay. According to [26], the values of the parameters are 0.02, 0.14, and 1, respectively, as per IEC Standard 60,255–151 for Inverse Definite Minimum Time (IDMT) relays. \({\text{CT}}_{Rating,P}\) denote the primary rating of the respective CT. The relationship between \({I}_{{R}_{i},k}\) and \(P{S}_{i}\) denotes the factor that determines the degree of nonlinearity. If the fault occurs nearer to the relay, then the fault is called the near-end fault (or close-in fault), and if the fault occurs at another end of the line is called the far-end fault (or far-bus fault), as depicted in Fig. 1.

Fig. 1
A schematic defines the close in and far bus faults for the relay through a bus system. The fault nearer to the relay is labeled near-end fault R primary c l. The fault at another end of the bus is labeled far end fault. Two relays are at the initial stages labeled R backup and T backup.

Schematic of close-in and far-bus faults for relay

The primary objective of coordinating the DORs problem is to find the best TMS and PS values so that the overall weighted sum of all primary relays’ Operation Time (OT) at their related zones is as small as possible. As a result, the objective function can be written as follows [27, 28].

$${\text{Min}}{:} f=\sum_{i=1}^{{N}_{cl}}{T}_{c{l}_{in},P}^{i}+\sum_{j=1}^{{N}_{far}}{T}_{fa{r}_{bus},P}^{j}$$
(3)
$${T}_{c{l}_{in},P}^{i}=\frac{0.14\cdot {{\text{TMS}}}^{i}}{{\left(\frac{{I}_{f}^{i}}{{text{PS}}^{i}\cdot {\text{CT}}_{Rating,P}^{i}}\right)}^{0.02}-1}$$
(4)
$${T}_{fa{r}_{bus},P}^{j}=\frac{0.14\cdot {\text{TMS}}^{j}}{{\left(\frac{{I}_{f}^{j}}{{text{PS}}^{j}\cdot {\text{CT}}_{Rating,P}^{j}}\right)}^{0.02}-1}$$
(5)

where \({N}_{cl}\) denotes the number of relays responding to a near-end fault and \({N}_{far}\) denotes the number of relays responding to far-end faults.

2.2 Constraints

There are specific limits on how long the relay can operate that must be met for the relay to function properly. To function within the constraints, the TMS and PS should be constrained. The TMS has a boundary requirement that should be met for the relay to operate quickly and correctly. The relay must not cross the bounds. It should function within the TMS's upper (\(ub\)) and lower (\(lb\)) limits. As a result, the ith relay's TMS limit setting can be written as follows:

$$TM{S}_{i}^{lb}\le TM{S}_{i}\le TM{S}_{i}^{ub},i={1,2},3,\ldots , {N}_{cl}$$
(6)

In this paper, the \(lb\) and \(ub\) values of TMS are chosen to be 0.05 and 1.1, respectively. The relay's PS should be such that it stays quiet when the feeder is receiving peak load current, but it should function when the feeder is experiencing minimum fault current. To satisfy the above conditions, the bounds of the \(i\) th relay's PS can be stated as follows [27]:

$$P{S}_{j}^{lb}\le P{S}_{j}\le P{S}_{j}^{ub},j={1,2},3,\ldots , {N}_{far}$$
(7)

In this paper, the \(lb\) and \(ub\) values of PS are chosen to be 1.25 and 1.5, respectively. The TMS, PS, and the fault current shown by the relay determine the relay's OT. The OT is calculated using analytic formulas or standard inverse curves based on the characteristics of the relay. Each element of the objective function is constrained to be between 0.1 and 1.1. The backup relay should only be used after the primary relay has failed to prevent maloperation. It is required for the backup and primary relays’ selectivity to be maintained. The Coordination Time Interval (CTI) is the summation of the OT of the circuit breaker connected with the primary relay and the overshoot time. The gap between the OT of the backup relay and the primary relay should be greater than the CTI in coordinating two overcurrent relays. The CTI can be characterized as follows [27]:

$$CTI={T}_{j,k}-{T}_{i,k}, i= {1,2},\ldots ,{N}_{cl}$$
(8)

where \({T}_{j,k}\) denotes the OT of the jh B-relay for a fault at kth location within the protected zone by the ith P-relay. Thus, the constraint for CTI can be represented as follows [27]:

$$CTI\ge {CTI}_{min}$$
(9)

where \({CTI}_{min}\) denotes a minimum CTI, and it is typically between 0.2 and 0.3 s. For all P/B pairs, the constraint for CTI should be met. Close-in, far-bus, and middle-point fault currents are commonly utilized, and they provide coordination for many fault scenarios.

2.3 Modified Objective Function

However, the least possible CTI between the backup and primary relays is essential for correct selection; considerably deferred backup relay operation is not preferred from the standpoint of successful relay coordination. Therefore, the objective function is adjusted to improve the CTI between primary and backup relays, as follows [29]:

$${\text{Min:}} f={\alpha }_{1}\sum_{i=1}^{m}\sum_{k}{T}_{i,k}^{2}+{\alpha }_{2}\sum_{p=1}^{{m}_{p}}{\left[\Delta {T}_{mp}-\beta \left(\Delta {T}_{mp}-\left|\Delta {T}_{mp}\right|\right)\right]}^{2}$$
(10)
$$\Delta {T}_{mp}={T}_{j,k}-{T}_{i,k}-CTI$$
(11)

where \(\Delta {T}_{mp}\) denotes the difference in OT with CTI between pth pair of relays, \(m\) denotes the number of relay units, \({m}_{p}\) denotes the number of P/B relay pairs, \({\alpha }_{1}\) and \({\alpha }_{2}\) denote weight factors, and \(\beta \) denotes factor to consider the miscoordination. If the value of \(\beta \) increases, the level of miscoordination decreases; however, it increases the OT of the relay units. Therefore, it is necessary to select the optimal values of \(\beta \). The synchronization between DORs is stated as a highly constrained and nonlinear optimization problem in which the TMS and PS of each relay are considered as design parameters. The major aim is to reduce the OTs of all P-relays, which are supposed to work to clear the faults in their respective regions after the faults are cleared.

3 Whale Optimization Algorithm (WOA)

WOA is a recently proposed metaheuristic algorithm based on swarms that have been presented for continual problems. It has been demonstrated to outperform contemporary meta-heuristic approaches in terms of overall performance [25, 30]. For example, it is simple and robust compared to other metaheuristic approaches, making it analogous to diverse nature-inspired algorithms in terms of implementation and robustness. The algorithm requires a smaller number of control parameters; in practice, only one parameter has to be fine-tuned. As depicted in Fig. 2, the humpback whale population in WOA searches for food in a multi-dimensional search space. In this model, the positions of whale populations are depicted as various decision vectors, and the range between whale populations and food relates to the level of fitness values. The three operational procedures described below are used to determine the time-dependent position of a whale population: (i) prey encircling, (ii) bubble-net attacking, and (3) prey search. The WOA is depicted in Fig. 3 in its most fundamental form.

Fig. 2
An illustration depicts how the humpback whales attack the prey through bubble net framing. It forms spirals from the bottom to the top through elliptical paths by forming a bubble net at the top. The circumference of the path decreases as the whales reach the top.

Bubble-net attacking of the prey

Fig. 3
A line graph of x versus t. A spiral is formed by the whale at the right on positions X, and Y. The center is marked as X dash, and Y dash. The distance between the position X, Y, and the center X dash, and Y dash is D dash i.

Position update of the whale using spiral strategy

3.1 Prey Encircling

Whales can distinguish and encircle their prey while they are in their natural habitat. Because the location of the design optimization in the search area is not known a priori, the WOA assumes that the current best candidate solution is either the target prey or very close to the best solution in the search space. The top search agent would be identified, and the remaining search agents would adjust their positions to be as close as possible to that of the top search agent. According to [25], the following equations can be used to express the behaviour described above:

$$\overrightarrow{D}=\left|\overrightarrow{C}.\overrightarrow{{X}^{*}}\left(t\right)-\overrightarrow{X}\left(t\right)\right|$$
(12)
$$\overrightarrow{X}(t+1)=\overrightarrow{{X}^{*}}(t)-\overrightarrow{A}.\overrightarrow{D}$$
(13)
$$\overrightarrow{A}=2\overrightarrow{a}\cdot \overrightarrow{r}-\overrightarrow{a}$$
(14)
$$\overrightarrow{C}=2\cdot \overrightarrow{r}$$
(15)

where \(\overrightarrow{{X}^{*}}\left(t\right)\) denote the best position of the agent, \(\overrightarrow{X}\left(t\right)\) denote the current position of the agent, \(t\) denote the current iteration, \(\overrightarrow{a}\) is constant, and it varies linearly from 2 to 0, and \(\overrightarrow{r}\) denotes a uniform random number between [0, 1].

3.2 Bubble-Net Attacking

For the whale's bubble-net behaviour to be described mathematically, a spiral mathematical model is used between the positions of the whale and the prey to simulate the helical structure movement of humpback whales [25].

$$\overrightarrow{X}\left(t+1\right)=\overrightarrow{{D}^{{^{\prime}}}}\cdot {e}^{\text{bl}}\cdot {\text{cos}}\left(2\pi l\right)+\overrightarrow{{X}^{*}}\left(t\right)$$
(16)
$$\overrightarrow{X}(t+1)=\left\{\begin{array}{cc}\overrightarrow{{X}^{*}}\left(t\right)-\overrightarrow{A}\cdot \overrightarrow{D}& {\text{if}} \, p<0.5\\ \overrightarrow{{D}^{{^{\prime}}}}\cdot {e}^{\text{bl}}\cdot \text{cos }\left(2\pi l\right)+\overrightarrow{{X}^{*}}\left(t\right)& {\text{if}} \, p\ge 0.5\end{array}\right.$$
(17)

where \(p\) denotes a constant which describes the logarithmic spiral shape, and \(l\) denotes a uniformly distributed arbitrary number between [–1,1].

3.3 Prey Search

For global optimization algorithms to function, if \(A>1\) or \(A\le -1\), the population is updated in accordance with the directions provided by a randomly chosen population in the role of the best population [25].

$$\overrightarrow{D}=\left|\overrightarrow{C}\cdot \overrightarrow{{X}_{\text{rand}}}-\overrightarrow{X}\right|$$
(18)
$$\overrightarrow{X}(t+1)=\overrightarrow{{X}_{\text{rand}}}-\overrightarrow{X}\cdot \overrightarrow{D}$$
(19)

where \({X}_{\text{rand}}\) denotes random population position in the current iteration. Readers should refer to [25] for additional information.

4 Results and Discussions

It is verified in this paper that the WOA can be used to find the optimal coordination of directional overcurrent relays in the distribution network is considered. In this paper, there are three test cases, such as 3-bus (Case-1), 9-bus (Case-2), and 30-bus (Case-3) models, are considered. The results were presented for all three test cases. The control parameters of the WOA were taken based on the original paper, literature study, and trial and error method. The population size is 10 times the problem dimension, and the maximum number of iterations is selected as per the problem's complexity. The problem dimensions for the 3-bus test model is 6, for the 9-bus test model is 24, and for the 30-bus test model is 38. Therefore, the best population size for the 3-bus model is 60, for the 9-bus model is 240, and for the 30-bus model is 380. The value of the constant \(a\) is linearly decreased from 2 to 0, the value of \(l\) varies between [–1,1], and the value of \(p\) is a random number between [0,1]. The experimental results are discussed in three sub-sections. The sub-Sect. 1 defines the results attained by the WOA for Case-1 with different population sizes. The sub-Sect. 2 describes the results attained by the WOA for Case-2 with different population sizes. The sub-Sect. 3 defines the results attained by the WOA for Case-3 with different population sizes. A computer with an Intel Core i5 CPU operating at 4.45 GHz and 16 GB of memory is used to execute the experiment through MATLAB software. The lower and upper bounds for all case studies are selected as per the data collected from the different literature.

4.1 Case-1: 3-Bus Test Model

As demonstrated in Fig. 4, a three-bus (B1-B3) test system with one generator (G1) and six DORs (R1-R6) is investigated. The ratings of each component, as well as line data for each component, are taken from [12, 26]. As indicated in Table 1, the fault current at each bus is computed using the provided standard data, with the event of a fault in the centre of the line being taken into consideration. Table 1 also contains the primary rating of the CT. In clearing all near-end and far-end faults, it is necessary to synchronize the settings of each of the six relays that respond. As a result, there are a total of 12 control vectors in the DORs problem, which are designated as TMS1-TMS6 and PS1-PS6, respectively. The TMS values at the lower and upper levels are 0.05 and 1.1, respectively. PS is in the range of 1.25–1.50, depending on the model. The \({CTI}_{min}\) is set to its default value of 0.3 s.

Fig. 4
A circuit schematic of the 3 bus test model. It has a generator and R 1, R 2, R 3, R 4, R 5, and R 6. Bus 1 has R 2 and R 4, Bus 2 has R 1 and R 6, and Bus 3 has R 3 and R 5.

Case-1: Schematic of the 3-bus test model

Table 1 Fault currents observed in the 3-bus test model
Table 2 Fault currents for P/B relays in the 3-bus test model

As shown in Table 3, the optimal TMS and PS parameters derived by the WOA are shown. For near- and far-end faults, the OT of all primary relays is also listed in Table 3. The OTs are within an adequate level of 0.1–1.1 s, which is satisfactory. The overall OT of the P-relays is 4.8613 s. As shown in Table 4, the DORs do not have any miscoordination pairings when they are in operation. To examine the convergence behaviour of WOA, the convergence curve is depicted in Fig. 5.

Table 3 Optimal PS and TMS values for the 3-bus test model
Table 4 CTI for the 3-bus test model
Fig. 5
A multiline graph of fitness function values versus the number of iterations for the 3 bus test model. It plots two declining trends for N equals 40 and 60.

Convergence curves for different population sizes (3-bus model)

When analyzing the results obtained for two population sizes of the suggested WOA, it is evident that the WOA with a population size of 60 with 1000 iterations produces the optimal settings. In addition, the Run-Time (RT) of the WOA is also recorded in Table 4. As seen in Table 4, the RT value of WOA with a 40-population size is very much lesser than the WOA with a 60-population size. It is obvious that the algorithm with less population size takes lesser computation time. However, the results produced by the 60 population size are superior though the RT is high.

4.2 Case-2: 9-Bus Test Model

The schematic of the 9-bus system is shown in Fig. 6. With the normally inverse features, and there seem to be 24 digital DORs in this case study. TMS is recorded in the range of 0.01–1.0, and PS is recorded in the range of 0.5–2.5. In this case, the \({CTI}_{min}\) is fixed to a duration of 0.2 s. The value of the CT ratio is 500/1.

Fig. 6
A circuit schematic of the 9-bus test model. It has a generator and 24 digital D O Rs from R 1 to R 24. Each bus has its respective load. Locations are labeled as A, B, C, D, E, F, G, H, I, J, K, and L.

Schematic of the 9-bus test model

Short-circuit faults are formed in the centre of each line. The fault locations are labelled with the letters A-L in Fig. 6. Table 5 lists the fault currents observed in each P/B relay. In this optimization problem, there are a total of 48 decision vectors, i.e., TMS1-TMS24 and PS1-PS24 are considered. Due to problem complexity, the maximum iteration is selected as 2000.

Table 5 Fault currents in P/B relays for Case-2

The suggested WOA is used to solve the DORs coordination problem, as discussed earlier. Table 6 shows the optimal TMS and PS values, as well as the optimal objective function value. The OT values are within an acceptable range of 0.1–1.1 s in all primary relays. Comparisons are made between the optimum values of decision variables (TMS and PS) and OT using the results produced by WOA with two different population sizes, such as 150 and 250. Table 7 displays the respective CTI values. When comparing the WOA with two different population sizes, the results produced by WOA with 250 population size demonstrate that the total OT of primary DORs is lowered. As can be seen in Table 7, the optimal outcomes provide no miscoordination. Furthermore, while utilizing the WOA with a 250-population size, the CTI improves since the total CTI values are lowered when compared to WOA with a 150-population size, hence improving the CTI. To examine the convergence behaviour of WOA, the convergence curve is plotted and depicted in Fig. 7. From Fig. 7, it is observed that the convergence rate of the WOA with large population size is higher than lower population size.

Table 6 Optimal PS and TMS values for the 9-bus test model
Table 7 CTI for the 9-bus test model
Fig. 7
A multiline graph of fitness function values versus the number of iterations for the 9-bus test model. It plots two declining trends for N equals 250 and 150.

Convergence curves for different population sizes (9-bus model)

4.3 Case-3: 30-Bus Test Model

The IEEE 30-bus system is taken into consideration to assess the efficacy of the WOA in tackling a larger power system problem. As illustrated in Fig. 8, the system can be thought of as a meshed sub-transmission/distribution system having distributed-generated units interconnected. For the 30-bus test model, a total of 38 DORs with normal inverse characteristics are examined, with one at every end of the lines. Table 8 shows the short-circuit current values for close-in faults. TMS is measured in the range of 0.1–1.1, and PS is measured in the range of 1.5–6. The CT ratio for each relay was supposed to be 1000/5. The \({CTI}_{min}\) value has been set to 0.3 s. Due to complexity, the maximum iteration is selected as 5000.

Fig. 8
A circuit diagram of the 30 bus test model. It has multiple distributed generator systems and 38 digital D O Rs from R 1 to R 38. Each bus has its respective load.

Schematic of the 30-bus test model

Table 8 Fault currents in P/B relay for Case-3

Table 9 shows the results achieved by WOA with two different population sizes, such as 300 and 400. Table 10 illustrates the CTI obtained from the optimum TMS and PS values, proving there is no miscoordination. This shows that results produced using WOA with a 400-population size are superior to those acquired using WOA with a 300-population size, as can be seen in the table. This demonstrates that the suggested WOA may be utilized to effectively handle the DORs’ coordination problem for large-scale power systems. The RT values are recorded, and it is obvious that WOA with a 400-population size takes more computation time than WOA with a 300-population size.

Table 9 Optimal PS and TMS values for the 30-bus test model
Table 10 CTI for the 30-bus test model

To observe the convergence behaviour of WOA while handling large-scale problems, the convergence curve is shown in Fig. 9. From Fig. 9, it is noticed that the convergence rate of the WOA with large population size is higher than the lower population size. The suggested WOA with a larger population size outperforms the WOA with a lower population size in terms of producing more stable and better solutions for all three test systems.

Fig. 9
A multiline graph of fitness function values versus the number of iterations for the 30 bus test model. It plots two declining trends for N equals 300 and 400.

Convergence curves for different population sizes (30-bus model)

4.4 Discussions

Finding the best settings for these devices to save operation time and improve the durability of power systems is the objective of DOCRs’ optimal coordination. This is a challenging, nonlinear optimization problem with many constraints. WOA may be a superior option for this problem compared to other algorithms for the following reasons. (i) WOA, which uses many solutions (whales) in each iteration and changes them in accordance with the best solutions discovered, is a population-based algorithm. Compared to conventional gradient-based optimization approaches, this enables it to explore the solution space more completely and decreases the likelihood of getting stuck in local minima, (ii) Unlike what is frequently the case in relay coordination problems, WOA does not demand that the problem be differentiable or even continuous. This provides it with a considerable edge over techniques like the Newton–Raphson approach, which relies on the gradient of the problem, (iii) Compared to more sophisticated algorithms, WOA is simpler to use and is not as subject to overfitting because it has few parameters that need to be tuned, (iv) WOA has demonstrated strong scalability characteristics, indicating that it can successfully address issues of varied sizes. This is important since relay coordination problems can have a lot of different factors and limitations.

Comparing WOA with different sizes of populations and numbers of iterations can show how well it works and help tune its settings for the DOCR coordination problem. Note that an increased population size with more iterations usually leads to better solutions but at the cost of using more computing resources. Because of this, it is important to find an equilibrium that fits the needs and limits of your application.

5 Conclusions

Coordinating DORs in a distributed system is a challenging nonlinear optimization problem addressed in this research. The objective is to reduce the total OTs of all primary relays required to clear faults at their assigned locations. The TMS and the PS of each relay, which serves as the variables in this optimization problem, are two crucial choice criteria. The bus model's complexity causes the dimensionality to rise. Examples include the 3-bus model, which provides a six-dimensional problem, and the 9-bus and 30-bus models, which contain 24 and 38 dimensions. Due to multimodal landscapes’ enormous complexity and complicated nature, it is extremely difficult to reduce associated cost functions. We use the WOA to discover the best DOR coordination to address this. The WOA successfully avoids frequent errors, including premature convergence to inferior solutions and exhibits improved performance in multimodal situations. The WOA was additionally tested across various population sizes in a sensitivity analysis. The results showed that larger population sizes produced the best outcomes while raising the RT value. This highlights the WOA's capacity to deal with the difficult job of DOR coordination among remote networks and offers a viable path for further study and application. When handling these complicated cases, the persuasive results demonstrate that WOA outperforms. So WOA is an intriguing alternative to the standard optimizers that are widely employed in a wide range of real-world complex power system problems.