1 Introduction

Since 1990, the modern electricity market has expanded in several countries. A great number of power systems operate close to their limits due to severe economic stresses. Moreover, power systems face a variety of threats including component failures, human errors and natural disasters. These internal and external threats may cause the loss of synchronism, cascading outages or even the complete blackout. Studies of historic blackouts or outages reveal that a feasible and reliable real-time power defense system, which has been envisioned by Brazil [1], France [2], and the U.S. [3], needs to be developed. A controlled islanding strategy is an important part of the modern power defense system. It eliminates severe disturbances and oscillations by splitting the power system into a group of subsystems or so-called islands under different system operating conditions and network configurations. It acts as the last step to prevent the entire power system from blacking out in case of the loss of synchronism.

Most approaches to islanding aim to identify, as primary objective, stable islands with the minimal load shedding. To find reasonable islanding cutsets, all subsystems must satisfy some constraints, such as generator coherency, load-generation imbalance/power flow disruption, transmission line thermal limits, voltage limits, transient stability, etc. Among the aforementioned constraints, generator coherency and load-generation imbalance/power flow disruption are two basic constraints for the selection of islanding cutsets. The definition of generator coherency constraint is that generators are divided into coherent groups and each island contains only one group of coherent generators. Hence, power system oscillations can be eliminated by satisfying this constraint. The load-generation imbalance/power flow disruption should be as small as possible so that subsystem disturbances are restricted in allowable limits.

Several controlled islanding methods have been proposed to search for islanding cutsets by satisfying two or more constraints. References [4,5,6] present a two-phase strategy to split power systems using ordered binary decision diagrams (OBDDs). In these methods, the network simplification is based on geographic areas or control areas that only cross-regional transmission lines would be tripped after the power system lost its synchronization. It will lead to a large load-generation imbalance in each island if the simplified network is used to split the power system. References [7, 8] use graph partitioning software METIS and pMETIS, based on multilevel k-way schemes, to find stable islands. The number of islands given by these two programs may be more than desired, for a group of generators are divided into two or more islands. Tripping unnecessary transmission lines leads to a longer resynchronization time, and is not beneficial to subsystem stability. In [9, 10], a brute force method is applied to determine islanding cutsets in an interface network reduced from the original graph model. The scalar parameter, which regulates the scale of the interface network, is set by operators depending on their experience. Therefore, these methods are not self-adaptive islanding methods for different kinds of power systems. References [11, 12] develop mixed integer linear programming-based optimization methods for controlled islanding. Like [7, 8], a group of coherent machines may be assigned into more than one island after serious disturbances. References [13, 14] propose respectively a multilevel kernel k-means method and a spectral partitioning method. Both methods ignore the generator coherency constraint which is one of the most fundamental constraints in the islanding algorithm. A two-step spectral clustering controlled islanding algorithm is presented in [15]. It brings an improvement to [13] that the generator coherency constraint can be followed by spectral method. Reference [15] uses the eigenvalue and the eigenvector of a system state matrix derived from the linearized dynamic model of generators to identify coherent generators. Under each system condition, this method could only identify one type of coherent groups. However, more than one type of coherent groups may be formed during a disturbance, and this method will not work in these circumstances. Reference [16] describes a constrained spectral clustering approach which is computationally more efficient than [15]. The partition of the original power system in [16] is too coarse to detect the minimal power flow disruption. Reference [17] discusses a hierarchical spectral clustering method to split power systems by using DC power flow. Thus, this method is only effective on linearized systems. In [18], coherent generators and load buses are clustered by a modified k-means technique, which employs the distance between the load bus and the centroid of a coherent group. Sometimes, some buses may not be assigned to any island and this would cause a large load-generation imbalance. Reference [19] employs a power flow tracing method to determine the domain of each group of coherent generators, and it aims to split the network along the boundaries of groups that may miss some reasonable islanding cutsets. The power flow tracing method, which identifies the cutsets according to the predetermined threshold value, is proposed in [20]. It will not determine proper islands if the predetermined threshold value is set too high or too low by operators.

In this paper, a three-stage method for intentional islanding of power systems is proposed to avoid the above mentioned problems. The aim of this method is to find islanding cutsets with the minimal load-generation imbalance or the minimal power flow disruption for any given number of islands, while ensuring that each island follows the voltage limit constraint. There are three contributions of this method for intentional controlled islanding. In the first place, a self-adaptive graph simplification algorithm is proposed in stage one. This algorithm, which matches various operating conditions and network configurations, can automatically determine the islanding cutset search area in different power systems. Secondly, the improved recursive merge algorithm is designed to find out all islanding cutsets in the two-terminal graph. Thirdly, an islanding scheme checking algorithm is developed to export reasonable islanding cutsets. The depth first search algorithm is used to check islanding cutsets and prevent islands from the occurrence of low-voltage problems.

The organization of this paper is as follows: Sect. 2 provides the background of power flow tracing method, graph theory and recursive merge algorithm. Section 3 presents in detail the three-stage method and its procedure. In Sect. 4, the IEEE 30-bus and 118-bus test system are used to demonstrate its performance. Finally, conclusions and further research directions are drawn in Sect. 5.

2 Background information

2.1 Graph theory preliminaries

Graph models have been widely used to represent power system networks in intentional controlled islanding. In this paper, the power system network is converted into an undirected, connected, weighted graph with buses and lines represented as vertices and edges respectively. Each edge has two weights, the inflow weight and the outflow weight. Edge weights are equal to values of the real power at each terminal bus of the line. The graph model for a 5-bus system is shown in Fig. 1 where the nodal inflow is negative and the nodal outflow is positive. The load-generation imbalance (real power) for island 1 in Fig. 1 is:

$$\Delta P = P_{23} + P_{25} + P_{45} = 4\,$$
(1)

And the power flow disruption (edge weight) for island 2 is:

Fig. 1
figure 1

Graph model for the 5-bus system

$$\Delta w = \left| {w_{32} } \right| + \left| {w_{52} } \right| + \left| {w_{54} } \right| = 7$$
(2)

An adjacency matrix \(\varvec{A}\text{(}\varvec{G}\text{)} = \left[ {a_{ij} } \right]\), which is the mathematical model for graphs, indicates whether the two vertices in each pair are adjacent or not in the graph. It is a (0, 1)-matrix with zeros on its diagonal. Elements a ij (ij) will be one if there is an edge from vertex i to vertex j. If not, a ij will be zero. Figure 2 shows the adjacency matrix for an undirected 5 nodes graph.

Fig. 2
figure 2

Adjacency matrix for undirected 5 nodes graph

2.2 Power flow tracing method

The power flow tracing method allocates the total cost of transmission service between all suppliers and consumers in the electric-power market. Reference [21] proposes a power flow tracing method based on the Kirchhoff’s Current Law, which uses a topological methodology. The proportional sharing principle provides the basis of this method for determining the contribution of each generator to the load in each bus. The upstream-looking algorithm, which allows the assessment of the real power output from a particular generator goes to a particular load, is used in this study. For an n-bus system, the element of the upstream matrix \(\varvec{A}_{u}\) is:

$$\left[ {\varvec{A}_{u} } \right]_{ij} = \left\{ {\begin{array}{*{20}l} {1\,} \\ {{{ - \left| {P_{ji} } \right|} \mathord{\left/ {\vphantom {{ - \left| {P_{ji} } \right|} {P_{j} }}} \right. \kern-0pt} {P_{j} }}} \\ 0 \\ \end{array} \begin{array}{*{20}l} {\quad \;i = j} \\ {\quad \;j \in \alpha_{i}^{u} } \\ {\quad \text{otherwise}} \\ \end{array} } \right.$$
(3)

where P ji is real power from bus j to bus i, P j is total inflows at bus j. The relationship among these matrices is

$$\varvec{A}_{u} \varvec{P} = \varvec{P}_{G}$$
(4)

where \(\varvec{P}\) is the matrix of total inflows at each bus, \(\varvec{P}_{G}\) is the matrix of generations at each bus. The load demand P Li can be derived from (2).

$$P_{Li} = \frac{{P_{Li} }}{{P{}_{i}}}P_{i} = \frac{{P_{Li} }}{{P{}_{i}}}\sum\limits_{k = 1}^{n} {\left[ {A_{u}^{ - 1} } \right]}_{ik} P_{Gk} \quad \,i = 1,2, \ldots ,n$$
(5)

where \(\sum\limits_{k = 1}^{n} {\left[ {\varvec{A}_{u}^{ - 1} } \right]}_{ik} P_{Gk}\) is the i th element of the inverse of (2). The contribution of the k th generator to the i th load demand is equal to:

$$\eta_{ik} = P_{Li} P_{Gk} \frac{{\left[ {\varvec{A}_{u}^{ - 1} } \right]_{ik} }}{{P_{i} }}$$
(6)

2.3 Recursive merge algorithm

The recursive merge algorithm is present to enumerate all minimal cutsets of a two-terminal graph in [22, 23]. It begins the merging procedure from the source node and recursively merges adjacent nodes one by one into the source set. An example of the recursive merge algorithm is illustrated in Fig. 3, and the procedure for this algorithm is briefly described as follow:

Fig. 3
figure 3

Example of recursive merge algorithm

  1. 1)

    Determine the first cutset, which is the set of all emitting edges from source node, for the original two-terminal graph.

  2. 2)

    Merge adjacent nodes to source set.

  3. 3)

    Send the new two-terminal graph’s hash code to hash table.

  4. 4)

    If the graph’s hash code is not in hash table, go to 5). Otherwise, the cutset of this graph has been searched, and this subgraph’s recursive process is exited.

  5. 5)

    If there is not any redundant node in the subgraph, output the cutset and go to 6). Otherwise, merge redundant nodes into source set and go to 3).

  6. 6)

    If there are only source set and sink node in the subgraph, output the last cutset and end the program. Otherwise, go to 2).

2.4 Generator coherency

Electro-mechanical oscillations, which can lead to a loss of synchronism, may be the consequence of a severe disturbance in the power system. To eliminate the power system oscillations, each group of coherent generators must be separated into different islands. Like references [4,5,6,7,8,9, 11, 13, 16, 19, 20], our method receives the information of coherent groups from the identification program, in order to search for appropriate islands which satisfy the generator coherency constraint and other constraints.

3 Three-stage method for controlled islanding

3.1 Stage one: locating the search area

With the growing number of substations and transmission lines, the scale of power system is larger than ever. Reference [5] proves that the intentional controlled islanding problem is a NP-hard problem. It means that the computational burden will be significant if islanding cutsets are searched from an original graph model. Reference [19] indicates that the reasonable islanding cutsets are located within the range of a small area among asynchronous generator groups. Therefore, in order to reduce the computational burden, the first step is to reduce the size of the power system graph model.

The aim of this stage is to identify the islanding cutset search area and build a two-terminal graph model to find islanding cutsets in the next stage. At the beginning of this stage, power flow tracing method is used to determine how much real power at a load bus is supplied from each group of coherent generators. Then, the islanding cutset search area is located, depending on the proportion of inflows. There are two types of relationship between a load bus and a group of coherent generators: the strong connection and the weak connection. The strong connection means that the contribution of a group of coherent generators to a load bus is above the threshold value η 0. And, it will be a weak connection if the contribution is below the threshold value η 0. It is impossible for buses to have a strong connection with any group of coherent generators in the islanding cutset search area. Thus, a two-terminal graph, which acts as the simplification of the original graph, is constructed by using graph theory. In the two-terminal graph, terminal vertices are formed by load buses which have a strong connection with a group of coherent generators. Other compositions are represented by the islanding cutset search area. The direct two-terminal graph is applied to the constraint of the minimal load-generation imbalance in the next stage. And the undirected two-terminal graph is implemented on the constraint of the minimal power flow disruption to locate islanding cutsets.

The threshold value η 0, which controls the range of the islanding cutset search area, is the key point of simplification of power system graph model. It is possible that coherent generators cannot connect to each other when the threshold value is too small. And a certain amount of acceptable islanding cutsets will be missed if the threshold value is too large. In this study, a self-adaptive threshold is proposed to distinguish the type of each load bus. The self-adaptive threshold value can be calculated using the following steps:

  1. 1)

    Input results of real power flow tracing and coherent generators.

  2. 2)

    Rank buses by contributions of a group of coherent generators to load buses.

  3. 3)

    Select the first bus and save it into the first list.

  4. 4)

    If generators connect to each other via elements in the list/lists, go to 12). Otherwise, continue.

  5. 5)

    Select the next bus.

  6. 6)

    If it connects to any other buses in the list/lists, continue. Otherwise, go to 11).

  7. 7)

    It belongs to the corresponding list/lists.

  8. 8)

    If there is only one list, go to 4). Otherwise, continue.

  9. 9)

    If they have an intersection, continue. Otherwise, go to 5).

  10. 10)

    Combine these lists, go to 8).

  11. 11)

    Create a new list and save it into the new list, go to 5).

  12. 12)

    The minimal contribution η is the threshold value η 0.

The flow chart of this algorithm is shown in Fig. 4.

Fig. 4
figure 4

Flow chart of procedure for self-adaptive threshold

3.2 Stage two: searching islanding cutsets

From the description in Sect. 2.3, it is observed that only the graph structure is taken into consideration in the recursive merge algorithm. Without taking into account the weighted model, the algorithm is not suitable for searching islanding cutsets of power systems.

In this section, the recursive merge algorithm is improved to solve this problem. A few steps, which are relevant to edge weights, have been inserted into this algorithm. Consequently, this improved algorithm, which is called islanding cutset search algorithm, can be used to search power system graph models for islands.

The minimal power disruption is taken as the objective function for the controlled islanding scheme. It is represented by:

$$\Delta w_{dis} = \text{min}\left( {\sum\limits_{{k \in S_{i} }} {\left| {w_{k} } \right|} } \right)$$
(7)

where w k is the edge weight; S is the set of all tripped lines in island i. The objective function aims to achieve the lowest sum of absolute edge weights which is the minimal power disruption cutset for the power system. Like (6), the minimal load-generation imbalance has a similar function. It can be expressed as:

$$\Delta w_{im} = \text{min}\left( {\left| {\sum\limits_{{k \in S_{i} }} {w_{k} } } \right|} \right)$$
(8)

The object of this algorithm is to find the cutset which has the lowest absolute sum of edge weights.

The flow chart of this algorithm is given in Fig. 5. And the detailed procedure is as follows.

Fig. 5
figure 5

Flow chart of islanding cutset search algorithm

  1. 1)

    Input the N dimensions adjacency matrix of original two-terminal graph and edge weights.

  2. 2)

    Select an adjacency matrix, send its hash code to hash table.

  3. 3)

    If its hash code already exists in the hash table, go to 8). Otherwise, continue.

  4. 4)

    If there is any redundant vertex in matrix, go to 8). Otherwise, continue.

  5. 5)

    Calculate the sum of edge weights which connect to source vertex.

  6. 6)

    If the sum of edge weight does not violate thresholds, continue. Otherwise, go to 8).

  7. 7)

    Output the islanding cutset.

  8. 8)

    If all matrices in this dimension are calculated, continue. Otherwise, go to 2).

  9. 9)

    If there is only source vertex and sink vertex in the graph, go to 11). Otherwise, continue.

  10. 10)

    Merge adjacent vertex to source vertex, and obtain all (N−1) dimensions adjacency matrices, go to 2).

  11. 11)

    All islanding cusets are found out and recursive processing is ended.

3.3 Stage three: checking islanding schemes

A number of islanding cutsets are found through the process of stage one and stage two. Bus voltages are within the normal range in strong connection areas because the graph simplification algorithm keeps the integrity of power networks in these areas. On the contrary, the low-voltage problem occasionally appears in the islanding cutset search area after power systems are split. The most convincing explanation is that some substations are connected in series without any power plant and electrical impedances cause a large voltage drop in long transmission lines. The characteristic of this kind of network structure is that there is at least one cut-vertex in this part of network. An islanding scheme checking algorithm is developed to search the nearby area of the terminal bus for cut-vertices. Meanwhile, it also counts the number of buses in each path. The islanding cutset will be declined by the checking algorithm if the number of substations in series is larger than the maximum value. The depth first search algorithm acts as the core of the islanding scheme checking algorithm. The load bus which locates at the beginning or the end of the tripped transmission line is specified as a root node. The checking algorithm searches the graph model for nodes from the root to the n th generation. The islanding scheme will pass the checking process if more than one branch exists in n th generation. In addition, the island will be accepted if any PV bus is found by this algorithm in the model. To illustrate the checking algorithm, a graph model of a tripped transmission line and its nearby nodes are shown in Fig. 6. Assuming that the number of generation n is 2 in this model, only one path {1→2→3→4}, which connects to the root node, exists in Fig. 6a so that it is not a reasonable scheme for intentional controlled islanding. The reasonable island, which is shown in Fig. 6b, has two branches, {3→4} and {5→7}, for the 2nd generation.

Fig. 6
figure 6

Graph models for islanding power system

3.4 Procedure for the three stage method

The procedure for three-stage method for intentional controlled islanding is presented in this section. In Fig. 7, the flow chart of three-stage method consists of four parts, input, locating, searching and checking. The function of each part is described as follows:

Fig. 7
figure 7

Flow chart of three-stage method

  1. 1)

    Input: Input the power network graph model, coherent generators, and branch weights.

  2. 2)

    Locating: Activate program. Import graph model and coherent generators. Derive the simplified two-terminal graph based on power flow tracing method and graph theory.

  3. 3)

    Searching: Import the two-terminal graph and branch weights. Search for islanding cutsets.

  4. 4)

    Checking: Import and check islanding schemes. Output all reasonable results.

4 Case studies

The IEEE 30-bus and 118-bus test system are used to demonstrate the performance of the three-stage method in this section. The value of generation n is 2 in the checking stage. The testing program is compiled by C++ on a personal computer. And configurations of this PC are 2.66 GHz CPU and 4G RAM.

4.1 IEEE 30-bus test system

The IEEE 30-bus system is used to illustrate how the graph simplification algorithm works on the original graph model. The structure of this system is shown in Fig. 8. And the data of this system can be found in [24]. Generators are divided into two groups G 1 = {1, 2, 5, 13} and G 2 = {8, 11} after a severe disturbance [4].

Fig. 8
figure 8

IEEE 30-bus test system and its islanding cutsets

The threshold value η 10 is 1 for the coherent group G 1 that all load bus in the strong connection area are entirely supplied by G 1. In the strong connection area of G 2, the generator 8 and the generator 11 will connect to each other via buses in the list if an appropriate threshold value is set. The step by step process of the threshold value calculation for the coherent group G 2 is listed on Table 1. The self-adaptive threshold value for coherent group G 2 is 0.6175 in this case. The generator 8 is connecting to the generator 11 when the bus 25 is allocated to the strong connection area. The bus 26 is specified as an element of the strong connection area due to the contribution of G 2 to the bus 26 is the same as to the bus 25. An undirected two-terminal graph is formed to represent the original graph model in Fig. 9. The cutset of the minimal load-generation imbalance is {l 6-8, l 6-9, l 6-10, l 6-28, l 16-17, l 18-19, l 23-24}. The load-generation imbalance is − 0.08 MW in island G 1 and 0.02 MW in island G 2. 43.42 MW is the power flow disruption in island G 1 and 43.45 MW is the power flow disruption in island G 2 for the cutset = {l 6-8, l 6-9, l 6-10, l 6-28, l 10-17, l 18-19, l 23-24} which is the result of minimal power flow disruption for these islands. Strong connection areas and islanding cutsets are exhibited in Fig. 8.

Table 1 Process of the threshold value calculation for G 2
Fig. 9
figure 9

Two-terminal graph for IEEE 30-bus test system

4.2 IEEE 118-bus test system

The IEEE 118-bus test system is used to examine the proposed three-stage method and to compare the result with other algorithms. Two cases under different operating conditions are employed to demonstrate the accuracy for the minimal load-generation imbalance and the minimal power flow disruption.

  1. 1)

    Test case 1

The objective of this case is to find a cutset which minimize the load-generation imbalance. Generators are divided into three groups of coherent generators, G 1 = {10, 12, 25, 26, 31}, G 2 = {46, 49, 54, 59, 61, 65, 66, 69} and G 3 = {80, 87, 89, 100, 103, 111} after several three-phase faults occurs at transmission lines [18] in this section. The data of the system can be found in Matpower, a power system analysis toolbox of MATLAB [25]. Like [18], the system is operated in optimal state where all constraints are satisfied and the fuel cost is minimized. All threshold values η 10 , η 20 and η 30 are 1 for corresponding coherent groups in this case. Table 2 shows the load-generation imbalance for three methods and the comparison of results for four cutsets. The first and the second cutsets are produced by the proposed method which has less load-generation imbalances than [19]. No low-voltage problem is appeared in solutions of power flow for these cutsets which are found by the three-stage method. The running time of this method is 0.049 s, including 0.037 s in stage-one, 0.010 s in stage-two and 0.003 s in stage-three, that it meets the computation speed requirement for on-line application. The first two islanding cutsets for the 118-bus system is displayed in Fig. 10.

Table 2 Results of the minimal load-generation imbalance
Fig. 10
figure 10

Islanding cutsets for the minimal load-generation imbalance

  1. 2)

    Test case 2

The three-stage method is aimed at determining the minimal power flow disruption in this section. The IEEE 118-bus test system is under its normal state in this case. Generators form three groups, which are G 1={10, 12, 25, 26, 31}, G 2={46, 49, 54, 59, 61, 65, 66, 69, 80} and G 3={87, 89, 100, 103, 111} after disturbance [15]. All threshold values η 10 , η 20 and η 30 are 1 for corresponding coherent groups. Cutset 1 and Cutset 2, which are searched by these three methods, separate the whole system into three coherent groups. For both Cutset 1 and Cutset 2, the three cutsets with the smallest cut found by the brute force method are presented in Table 3, alongside which are the results returned by [15]. Additionally, the proposed method also lists three smallest cutsets for facilitating the comparison with other methods. The comparison in Table 3 shows that the three-stage method is more accurate than [15] and can find the cutset with minimal power flow disruption which is the same as the brute force method. No low-voltage problem exists in solutions of power flow for each island. Figure 11 shows the first two solutions for each cutset.

Table 3 Results of the minimal power flow disruption
Fig. 11
figure 11

Islanding cutsets for the minimal power flow disruption

5 Conclusion

This paper proposes a self-adaptive three-stage method based on graph theory to determine intentional controlled islanding cutsets for power systems. This approach is applicable for various kinds of power systems under different system operating conditions and network configurations. It is also adjusted in accordance with different objectives of islanding, such as load-generation imbalance and power flow disruption. Meanwhile, each island is constrained by the generator coherency constraint as well as voltage limits constraints. Results of simulations indicate that the three-stage method can be used in large-scale power systems to find reasonable islanding cutsets, and it is more accurate than other methods.

Power system intentional controlled islanding is a very complicated problem. Emerging future research direction will focus on the transient and dynamic performance of this method. Moreover, pre- and post-islanding control, load and generation shedding strategies and a restoration scheme will be studied in the future.