1 Introduction

Conventionally, power is supplied to electrical customers via large central power plants through transmission and distribution networks. With distributed energy resources (DERs) accessing it in high density, the distribution network transforms from passive to active with bi-directional flow. According to the definition of CIGRE [1], an active distribution network (ADN) utilizes DERs and flexible grid topology to manage power flows. It has been estimated that 80% of the supply interruptions faced by customers are because of failures that occur in the distribution network. In an ADN, the loads no longer have only a single power supply path because of the introduction of DERs, such as distributed generation (DG), batteries (BEs), and plugged-in electric vehicles (EVs). The increasing penetration levels of DERs together with suitable control strategies are making it possible for an ADN to meet higher reliability requirements and improve power supply security [2,3,4]. When the network undergoes some disturbance, one promising strategy is to operate some portions of the ADN in island mode to ensure uninterrupted power supplies for some of the significant loads [5,6,7]. In this situation, the island partition and the power dispatch method within islands are the most important variables for maximizing the benefits of the available DERs.

Islanding and islanded operation have been widely investigated by many researchers. In terms of optimal island partition, a systematic approach considering system reliability and supply security for optimal microgrid design was presented in [8]. The optimal design considers both sustained and temporary faults to determine system reliability via a combined probabilistic reliability index, and considers the real and reactive power balances for supply security. However, the microgrids in this approach are not islanded to deal with failures, but rather for long-term operation. An multi-objective model for optimal island partition after fault isolation is proposed in [9]. Maximization of the amount of priority loads and the total loads, minimization of the number of new switches to be installed and the switching operations are considered as the objectives in this approach. An island partition algorithm that considers both the real and reactive power balances is proposed in [10]. A highly efficient multilevel multi-objective graph partitioning technique is applied so that the model is applicable to very large power grids. In [11,12,13,14], the optimal single-DG island partition is formulated as a tree knapsack problem (TKP). The TKP model is solved using a branch and bound algorithm in [11], an intelligent algorithm in [12], a heuristic searching algorithm in [13], and a modified shuffled frog leap algorithm (SFLA) in [14]. However, in [9,10,11,12,13,14], the island partition models are all described as static, i.e., the loads and the outputs of the DGs are all expected to be constant during the island partition period.

In terms of optimal power dispatch for the islands (microgrids), the variability of loads and DGs during the partition period are commonly considered [15,16,17,18]. In [15], the DGs are separated into two ownership groups—utilities and independent power producers—and only the utility-owned DGs with battery energy storage systems are expected to be controllable. Functionality to manage island storage considering the integration of EVs and responsive loads to achieve power balance are proposed in [16]. In [17, 18], stable operation in islanded mode is considered as a constraint during grid-connected operation. The objective of islanded operation in [17] is to minimize power mismatches, while [18] pays more attention to power flow limits. The economic dispatch model is applied for grid-connected operation in both [17, 18]. Both island partition and the static power dispatch are considered in [19]. However, the static power dispatch of DERs is independent of the island partition process, and is done when the island scope has been determined. The variability of the loads and the DERs are not considered in [19].

Existing island partition methods commonly deal with static situations, in which the loads and the outputs of the DERs are set to be constant, while variability of both loads and DERs must be considered in islanded operation. To address this issue, this paper proposes an integrated two-stage approach, introducing an energy index to maintain the partition part as static, and using DER power dispatch and power flow simulation to calculate the output schedules of the DERs, test the power balance and modify the partition model. The contributions of this approach are as follows.

  1. 1)

    The energy index is first introduced to the island partition model. Previous work has considered power balance to be the major constraint for island partition, but static power can only describe the situation at a specific time interval. The energy index contains information about the variability of DGs and loads throughout the entire partition period, and the model remains in TKP form and is thus solvable.

  2. 2)

    The power dispatch process and sequential power flow simulation are considered to test the partition status and modify the partition model. A constraint set containing multi-level constraints which are applicable for different scenarios is established for the island partition process to guarantee a feasible and optimized partition.

The remainder of this paper is organized as follows. The framework of the two-stage model is given in Section 2. Definitions of the energy index and the island partition model considering the energy constraint are described in Section 3. The DER dispatch and power flow simulation are proposed in Section 4. Modification method and adjustment strategies for the island partition model are proposed in Section 5, and case simulations are presented in Section 6. Finally, Section 7 gives the conclusions for this paper.

2 Framework of the two-stage model

The framework of the two-stage model is shown in Fig. 1.

Fig. 1
figure 1

Framework of the two-stage model

In the first stage, the energy indices of loads, DERs (including DGs, BEs, and EV integrations), and nodes in the distribution network are firstly defined, based on which the energy constraints can be expressed. The energy constraints and radial structure constraints constitute the initial constraint set of the island partition model.

The island scope determined in the first stage model can ensure that the net output energy of the island is positive during the entire partition period. However, it cannot be ensured that the net output power of the island is positive for any time interval within that period, nor that the power flow constraints and security limit constraints are met. So in the second stage, two steps ensure the feasibility of the islands:

Step 1: For the island determined in the first stage, a DER power dispatch model is proposed to check whether the net output power of the island can be kept positive in each time interval.

Step 2: Based on the DER output schedule determined in Step 1, a sequential power flow simulation is performed to check whether the security limit constraints can be satisfied and to account for power losses.

Modification of the island partition model is proposed based on the results of Steps 1 and 2. Power constraint or energy transfer constraint will be added to the constraint set of the island partition model if the test in Step 1 is not passed. Adjustment strategies such as voltage regulation of DGs and load shedding will be used if the test in Step 2 is not passed.

3 First stage: optimal island partition

The combination of PV generation and a BE system, called a PV/BE station, is considered as the primary energy resource for the island power supply in this paper. An example distribution network with PV/BE stations, EV connection points, and other load points is shown in Fig. 2. Under grid-connected conditions, the PV generation is always controlled to operate with maximum power point tracking (MPPT) for maximum economic benefit. When failure occurs in the network and the PV/BE stations are switched to island operation mode, the BE systems adopt a V/f control strategy to ensure a stable frequency in the island and relieve the power imbalance between the loads and the PV generation output [20]. Therefore, each PV/BE station is equipped with suitable power conversion and control equipment to provide these services. EV integration with a vehicle-to-grid (V2G) facility is also considered as an energy resource for the island, but without enough frequency regulation capability to support the island unaided.

Fig. 2
figure 2

Distribution network with PV/BE stations and EVs

3.1 Definition of the energy indices

Energy indices are defined at each network node. The energy index of the load describes the energy demand during the island partition period, and the energy indices of the DERs describe the maximum energy that they can provide for the island The energy index expressions for BEs, loads, PV generation, and EV integration are defined in (1)–(4), respectively.

$$E_{BE,i} = SOC_{BE,i} \left( {T_{s} } \right) \cdot C_{BE,i} {\kern 1pt}$$
(1)
$$E_{L,i} = - \int_{{T_{s} }}^{{T_{e} }} {P_{L,i} (t)} {\text{d}}t$$
(2)
$$E_{PV,i} = \int_{{T_{s} }}^{{T_{e} }} {P_{PV,i} (t)} {\text{d}}t{\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt}$$
(3)
$$E_{EV,i} = \sum\limits_{j = 1}^{{N_{EV,i} }} {SOC_{EV,i,j} \left( {T_{s} } \right) \cdot C_{EV} }$$
(4)

where T s and T e are the start time and the end time of the island partition period; SOC BE,i is the state of charge of the BE at node i, SOC EV,i,j is the state of charge of the j th EV connected at node i, C BE,i and C EV are the energy capacities of the BE at node i and a single EV, P L,i (t) and P PV,i (t) are the powers of the load and the PV generation at node i at time t, and N EV,i is the number of EVs connected at node i.

The energy index of a node is defined as the maximum net output energy of the node during the partition period:

$$E_{i} = E_{BE,i} + E_{L,i} + E_{PV,i} + E_{EV,i}$$
(5)

3.2 Island partition for a single PV/BE station

The island partition based on the energy constraint for a single PV/BE station is described here in the form of a TKP:

$$\hbox{max} \sum\limits_{i = 0}^{n} {x_{i} d_{i} E_{L,i} }$$
(6)

s.t.

$$\sum\limits_{i = 0}^{n} {x_{i} E_{i} } \ge 0$$
(7)
$$x_{0} = 1$$
(8)
$$x_{i} \in \{ 0,1\} \;\;\;\;\;\;i = 1,2, \ldots ,n$$
(9)
$$x_{{a_{i} }} \ge x_{i}$$
(10)

where i is the node number and the PV/BE station is connected to node 0; {x i } is the vector of control variables; d i is the weight of load i; and a i is the node number of the parent node of node i when node 0 is considered as the root node.

If node i is included in the island, x i is 1. The weighted uninterrupted energy is maximized in (6). Equation (7) is the energy constraint, which ensures that the net output energy of the island is positive. It is a necessary but not sufficient condition for island operation. The node with the PV/BE station is included in the island by fixing x 0 to be 1 in (8). Generally, the TKP is a non-linear problem because the structure constraint in (10) contains an implicit functional relationship between a i and i [11,12,13,14], but with full information of the network structure, the structure constraint for all nodes can be given explicitly and therefore the model can be expressed as a linear programming (LP) problem [19].

3.3 Island partition for multiple PV/BE stations

The island partition process for multiple PV/BE stations is as follows:

Step 1: Partition the islands for each of the PV/BE stations using the formulation of (6)–(10) given in subsection 3.2. When partitioning the island for a specific PV/BE station, the energy indices of the other DERs are set to 0.

Step 2: If the islands have no intersections, end the process; if there is an intersection, then for all islands that contain this intersection, convert all the PV/BE stations and the nodes between these PV/BE stations into the equivalent of a single node by combining their energy indices:

$$E_{En,A} = \sum\limits_{{i \in Area{\kern 1pt} A}} {E_{i} }$$
(11)

where A is the area that includes the PV/BE stations and the nodes between these stations, and E En,A is the energy index of the equivalent node representing that area.

Step 3: Cancel the intersecting islands and then partition the island for the equivalent PV/BE station node. Repeat Step 2 until the islands have no intersections.

4 Second stage: DER dispatch and power flow tests

The energy constraint for island partition is a necessary but not sufficient condition for island operation: the constraint can only ensure that energy is sufficient for the entire islanding period, but cannot ensure that the power can be balanced at any time interval during that period, and neither are security constraints considered. DER dispatch and power flow simulation are necessary to test the partition results and feed back modifications to the first-stage model.

4.1 DER dispatch test

The first step aims to check whether the net output power of the island can be kept positive in each time interval within the islanding period.

The DER dispatch model aims to determine the output schedule for DERs, and to check whether the power is sufficient. The PV generation is assumed to operate in MPPT mode, and the objective is to minimize the unsatisfied power demand during the island partition period:

$$\mathop {\hbox{min} }\limits_{{P_{BE} ,{\kern 1pt} P_{EV} }} {\kern 1pt} E_{un} = \int_{{T_{s} }}^{{T_{e} }} {P_{un} (t)} {\text{d}}t$$
(12)

s.t.

$$P_{un} (t) = \hbox{max} (0,{\kern 1pt} {\kern 1pt} {\kern 1pt} \sum\limits_{i \in \varOmega } {(P_{L,i} (t) - P_{PV,i} (t) - P_{BE,i} (t) - P_{EV,i} (t))} {\kern 1pt} ){\kern 1pt}$$
(13)
$$- P_{BE,ch,i}^{\hbox{max} } \le P_{BE,i} (t) \le P_{BE,dis,i}^{\hbox{max} }$$
(14)
$$P_{EV,i} (t) = n_{dis} (t)P_{EV,dis}^{\hbox{max} } - n_{ch} (t)P_{EV,ch}^{\hbox{max} }$$
(15)
$$n_{dis,i} (t) \le r_{obey} \frac{{E_{EV,i} (t)}}{{C_{EV} }}$$
(16)
$$n_{ch,i} (t) \le r_{obey} \left( {N_{EV,i} - \frac{{E_{EV,i} (t)}}{{C_{EV} }}} \right)$$
(17)
$$\sum\limits_{i \in \varOmega } {n_{dis,i} (t)} \sum\limits_{i \in \varOmega } {n_{ch,i} (t)} = 0$$
(18)
$$E_{BE,t} (t + \Delta t) = E_{BE,t} (t) - \int_{t}^{t + \Delta t} {P_{BE,t} (t){\text{d}}t}$$
(19)
$$E_{EV,t} (t + \Delta t) = E_{EV,t} (t) - \int_{t}^{t + \Delta t} {P_{EV,t} (t){\text{d}}t}$$
(20)
$$0 \le E_{BE,i} (t) \le C_{BE,i}$$
(21)
$$0 \le E_{EV,t} (t) \le N_{EV,t} C_{EV}$$
(22)

where P BE and P EV are the control variables; P un (t) is the unsatisfied power demand at time t; P EV,i (t) is the power of the EV integration in node i which can be calculated using (15); P BE,i (t) is the power of the BE at node I; Ω is the set of nodes in the island; Pmax BE,ch,i and Pmax BE,dis,i are the maximum charge and discharge powers of the BE at node I; and Pmax EV,ch and Pmax EV,dis are the maximum charge and discharge powers of an EV, assumed without loss of generality to be the same for all EVs; n ch,i (t) and n dis,i (t) are the numbers of charging and discharging EVs at node i at time t, for which the upper limits can be estimated conservatively using (16) and (17), respectively, and r obey is the proportion of schedulable EVs, which reflects the EV users’ participation in island power management; E EV,i (t) and E BE,i (t) are the energies of EV integration and the BE at node i at time t, which can be calculated using (1), (4), (19) and (20). The time-stepping characteristics of BEs and EVs are considered in (19) and (20). Equation (18) guarantees that charging EVs and discharging EVs cannot coexist.

Equations (14), (16)–(18), (21) and (22) are the power and capacity constraints of the BEs and EVs, and are not considered in the first-stage model. In the situation where the variations of the PV power and the loads are relatively consistent, or where the maximum charge/discharge powers of the BEs and EVs are sufficiently high and the BEs have an abundant capacity, the power demand can be satisfied at any time and the objective function is equal to 0. Otherwise, the optimization result of the objective function may be a positive number, meaning that the dispatch test has not been passed.

If there are multiple islands, then the dispatch process should be performed for each island. The time t should be discretised to ensure that the model is solvable with the computing resources available (for example the time step can be set as 15 min when the islanding period is 5 hours).

4.2 Sequential power flow test

If the DER power dispatch test is passed, the net output power of the island can be kept positive for each time interval using the DER output schedule. However, the feasibility of the island is still not ensured because power losses and system security constraints are not accounted for. Therefore, a sequential power flow simulation is performed based on the DER output schedule determined by the dispatch model in subsection 4.1.

For each isolated island, the PV/BE station with the maximum output is set as the slack node, and other PV/BE stations, EV integration and loads are set as PQ nodes [11]. The sequential power flow can be simulated to check whether the security constraints can be satisfied and whether power balance can be achieved.

5 Modification and adjustment based on the DER dispatch and power flow results

The island partition result is not feasible if the DER dispatch test or the power flow test is not passed. Model modification and adjustment strategies corresponding to the tests are given in this section. Firstly, the cases that fail the DER dispatch test are analyzed and modification of the constraint set is proposed. Secondly, adjustment strategies based on the power flow test are given.

5.1 Model modification based on the power dispatch test

Compared with the energy constraint in the island partition model, the constraints in the dispatch model are enhanced by two means: the power exchanged between the BEs/EVs and the network is constrained, and the energy stored in the BEs/EVs is also constrained. Therefore, on the premise that the net output energy of the island is positive (i.e., the constraint in (7) is satisfied), two cases will lead to the power dispatch test being failed:

Case A: limited ability for power support from the BEs and EV integration, because their maximum output powers are limited.

Case B: limited ability for energy transfer using the BEs and EV integration, because their input powers are limited (Case B-1) or their energy capacities are limited (Case B-2 and Case B-3).

Figure 3 shows a sketch of Case A. Line 1 shows the theoretical maximum outputs of the BEs and EVs, and Curve 2 shows the sum of the maximum outputs of the BEs, EVs and PVs in an island. The energy constraint can be satisfied if the BEs and EVs store sufficient energy at T s , but there are certain periods ([t 0, t 1]) during which the power demand cannot be met, even if the BEs and EVs discharge at maximum power and the PVs operate under MPPT conditions. In this situation, P un (t) is positive during [t 0, t 1] and the dispatch test cannot be passed.

Fig. 3
figure 3

Case A: limitation of the power support ability of the BEs and EVs

Figure 4 shows sketches of Case B. In Fig. 4a and b, the PV output is higher than the load during [T s , t m1] and is lower than the load during [t m1, T e ]. In Fig. 4c, the PV output is lower than the load during [T s , t m2] and is higher than the load during [t m2, T e ]. Suppose that the energy constraint over the entire period is satisfied.

Fig. 4
figure 4

Case B: limitation of the energy transfer ability of the BEs and EVs

In Case B-1 shown in Fig. 4a, the input power of the BEs and EVs is limited, and there are certain periods ([T s , t 2]) during which the BEs and EVs cannot store the redundant power from the PVs because of charging power limitations. The wasted energy is marked as the shaded area S1.

In Case B-2 shown in Fig. 4b, the capacities of the BEs and EVs are limited, and there are certain periods ([t 4, t m1]) during which the PV output is higher than the load, but the BEs and EVs cannot charge because of energy capacity limitations. In Fig. 4b, the BEs and EVs charge during [T s , t 4] and are all fully charged at t 4, leading to the wasted energy marked as the shaded area S2.

In Case B-3 shown in Fig. 4c, the capacity (or the SOC at time T e ) of the BEs/EVs is limited and the BEs/EVs are short of energy during the period [t 6, t m2], while there are also some periods ([t m2, T e ]) during which the energy stored by the BEs/EVs is not used by the island (because the net output energy of the island is positive), with the latter being marked as shaded area S3. This can also be regarded as a type of wasted energy.

In Cases B-1, B-2, and B-3, there are periods during which the energy is wasted and other periods ([t 3, T e ], [t 5, T e ] and [t 6, t m2]) during which the power demand cannot be satisfied because the BEs/EVs are short of energy. In an abstract manner, it is the limitations of the ability of the BEs and EV integrations to transfer energy that lead to the dispatch test failure.

To modify the first-stage island partition model when the dispatch test is failed, we first check the case to which this situation belongs. Consider this proposition:

$$\left\{ \begin{aligned} &\exists t \in [t_{s} {\kern 1pt} {\kern 1pt} ,{\kern 1pt} {\kern 1pt} t_{e} ] \hfill \\ &{\text{s}} . {\text{t}}.\;\;\;P_{un}^{'} = \sum\limits_{i \in \varOmega } {(P_{L,i} (t) - P_{PV,i} (t) - P_{BE,i}^{\hbox{max} } - r_{obey} N_{EV,i} P_{EV,dis}^{\hbox{max} } )} > 0{\kern 1pt} \hfill \\ \end{aligned} \right.$$
(23)

If proposition (23) is true, we can then deduce that the situation belongs to Case A; otherwise, the situation must belong to Case B.

For Case A, the required modification of the up-stage model is as follows:

Step 1: According to (23), calculate the maximum P’ un (t) and denote by t un the time when the excess of load above output of the PVs is expected to be at its greatest.

Step 2: Add the following power constraint at time t un to the island partition model:

$$\sum\limits_{i = 0}^{n} {x_{i} (P_{PV,i} (t_{un} ) + P_{BE,i}^{\hbox{max} } + r_{obey} N_{EV,i} P_{EV,dis}^{\hbox{max} } - P_{L,i} (t_{un} ))} \ge 0$$
(24)

The constraint of (24) is still an essential but not sufficient condition for island operation, but because of the selection of t un it will inevitably change the island partition result. Equations (6)–(10) and (24) constitute the modified island partition model.

If the proposition in (23) is false and the situation belongs to Case B, then the energy transfer constraints of the BEs and EVs should be added to the island partition model, because the limitation of the ability of the BE and EV integration to transfer energy led to the dispatch test failure. First, we propose a method to estimate the energy transfer process of the BE and EV integration, as follows:

$$E_{BE,0} (T_{s} ) = SOC_{BE,0} (T_{s} )C_{BE,0}$$
(25)
$$E_{EV,all} (T_{s} ) = \sum\limits_{i = 0}^{n} {x_{i} E_{EV,i} (T_{s} )} = \sum\limits_{i = 0}^{n} {\left( {x_{i} \sum\limits_{j = 1}^{{N_{EV,i} }} {SOC_{EV,i,j} \left( {T_{s} } \right) \cdot C_{EV} } } \right)}$$
(26)
$$E_{BE,0}^{'} (T + \Delta T) = E_{BE,0} (T) + \int_{T}^{T + \Delta T} {P_{BE} (t)} {\text{d}}t$$
(27)
$$E_{EV,all}^{'} (T + \Delta T) = E_{EV,all} (T) + \int_{T}^{T + \Delta T} {P_{EV,all} (t){\text{d}}t}$$
(28)
$$P_{rd} (t) = P_{PV,0} (t) - \sum\limits_{i = 0}^{i = n} {x_{i} P_{L,i} (t)}$$
(29)
$$P_{BE} (t) = \hbox{min} (P_{BE,ch,0}^{\hbox{max} } \,,\,\hbox{max} (P_{rd} (t){\kern 1pt} {\kern 1pt} ,{\kern 1pt} {\kern 1pt} - P_{BE,dis,0}^{\hbox{max} } ))$$
(30)
$$\begin{aligned} &P_{EV,all} (t) = \\ &\left\{\begin{array}{ll}\hbox{min} \{ P_{rd} (t) - P_{BE,ch,0}^{\hbox{max} }, N_{ch,all} \cdot P_{EV,ch}^{\hbox{max} } \} &\quad P_{rd} (t) \ge P_{BE,ch,0}^{\hbox{max} } \\0&\quad - P_{BE,dis,0}^{\hbox{max}} \le P_{rd} (t) < P_{BE,ch,0}^{\hbox{max} } \\ P_{rd} (t) +P_{BE,dis,0}^{\hbox{max} } &\quad P_{rd} (t) < -P_{BE,dis,0}^{\hbox{max} } \\ \end{array} \right. \\ \end{aligned}$$
(31)
$$N_{ch,all} (t) = r_{obey} \left( {\sum\limits_{i = 0}^{n} {x_{i} N_{EV,i} } - \frac{{E_{EV,all} (t)}}{{C_{EV} }}} \right)$$
(32)
$$E_{BE,0} (T + \Delta T) = \hbox{min} (E_{BE,0}^{\hbox{max} } ,E_{BE,0} (T + \Delta T))$$
(33)
$$E_{EV,all} (T + \Delta T) = min(N_{EV,all} C_{EV} \,,\,E_{EV,all}^{'} (T + \Delta T))$$
(34)

where {x i } represents the control variables in the island partition model, and E EV,all (t) is the total energy of the EV integrations in the island at time t. Similarly to the down-stage dispatch model, N ch,all represents the upper limit of the number of chargeable EVs that can be conservatively estimated using (32).

The time-stepping characteristics of BEs and EVs are considered in (27) and (28). According to (27)–(31), this model is an estimation method because the dispatch strategy is simplified: the imbalance between the PVs and the load is first relieved by the BEs, and then by the EVs. This strategy is a feasible approach but may not be the optimal approach.

Equations (30) and (31) consider the maximum charging power of BEs and EV integrations, and correspond to Case B-1; (33) and (34) consider the capacity limitation, and correspond to Case B-2 and Case B-3.

Based on this estimation method, we can add the energy transfer constraints of the BEs and EV integrations to the first-stage model, as follows:

$$E_{BE,0} (t) \ge 0\quad \forall t$$
(35)
$$E_{EV,all} (t) \ge 0\quad \forall t$$
(36)
$$N_{dis,all} (t) \ge \frac{{P_{EV,all} (t)}}{{P_{EV,dis}^{\hbox{max} } }} \quad \forall t$$
(37)

where N dis,all represents the upper limits of the number of dischargeable EVs, which can be conservatively estimated based on E EV,all in (38):

$$N_{dis,all} (t) = r_{obey} \frac{{E_{EV,all} (t)}}{{C_{EV} }}$$
(38)

Essentially, (35)–(38) represent the constraints of energy transfer but not of power. According to (29)–(31), it is supposed that the power demand can always be satisfied by following the simplified dispatch strategy, because case A has been excluded, and (35)–(38) provide the objective energy conditions required for this supposition.

Because the simplified dispatch strategy is a feasible approach but may not be the optimal approach, the modified first-stage model, including (6)–(10) and (25)–(38), contains a sufficient but not essential condition to ensure the DER dispatch test passed.

The precision of the estimation is affected by the step size ΔT. In the same manner as the dispatch model, time can be discretised to provide a practical and solvable model.

5.2 Adjustment strategies based on the power flow test

After the constraint set modification, the DER dispatch test is ensured to be passed. A sequential power flow simulation is then performed based on the DER output schedule determined by the dispatch model, and adjustment strategies based on power flow are available in the literature [11].

If the output power of the PV generation at the slack node is greater than its maximum output power because of network losses, some unimportant loads will be shed to ensure power balance. If some of nodes’ voltage or equipment capability are beyond their limits, adjustment measures such as voltage regulation of PVs, reactive power compensation and load shedding will be taken to remove those violations. Thus, the optimal island partition scheme is implemented through a variety of measures.

5.3 Entire flow of the integrated approach

The entire flow of the integrated approach proposed in this paper is shown in Fig. 5.

Fig. 5
figure 5

Flowchart of the proposed approach

In conclusion, three levels of constraints are sequentially applied to the island partition problem, and power flow simulation finally ensures the feasibility of the islands partitioned. The strengths of the three constraint levels for island operation are listed as follows:

The energy constraint: essential but not sufficient, possibly leading to Case A or Case B.

The energy and power constraint: essential but not sufficient. However, this constraint can eliminate Case A.

The energy transfer constraint: sufficient to ensure that the net output power of the island is positive for any time interval within the islanding period.

6 Test case simulation

6.1 Parameter settings

A modified test feeder based on the IEEE 69-bus test system was used to test the proposed method. The PVs, the BEs and the EV charging/discharging stations are integrated into the system, as shown in Fig. 1.

The island partition period is set to be 11:00 AM to 4:00 PM. For dispatch and modeling, this period is discretized into 20 time intervals of 15 min. In each time interval, the loads and the output of the PVs are assumed to remain constant. To test the proposed approach in multiple scenarios, the network is divided into three districts, in which the load variability characteristics are different. The profiles of the PVs and the loads in the three districts are shown in Fig. 6 for the islanding period. “Time” in Fig. 6 refers to the start of the corresponding time interval.

Fig. 6
figure 6

Profiles of PVs and loads in the three districts

The load weights are set as follows: the weights of the loads in nodes 7, 10, 11, 13, 16, 22, 28, 43, 45–48, 59, 60, and 63 are set at 1; the weights of the loads in nodes 6, 9, 12, 18, 35, 37, 42, 51, 57, and 62 are set at 5, and the weights of the other loads are set at 3. These represent the relative priority of loads in the dispatch of supply.

The parameters for the PV/BE stations and the plugged-in EVs are shown in Tables 1, 2 and 3. The rated charging/discharging power through the V2G facility of a single EV is 5 kW. The capacity of a single EV is 15 kWh. The EV user participation rate r obey is set to be 0.6.

Table 1 Parameters for PV stations
Table 2 Parameters for BE stations
Table 3 Parameters for EVs

6.2 Island partition based on energy constraints

The results for the first-stage island partition are shown in Fig. 7.

Fig. 7
figure 7

Results for island partition model at first stage

Nodes 4, 5 and 36 are converted into an equivalent node because the islands of PV 1 and PV 3 have an intersection, and Fig. 7 shows the final island partition result after node conversion.

6.3 DER power dispatch and model modifications

The dispatch test is applied to the four islands, and the results are shown in Table 4.

According to Table 4, Islands 1 and 3 have passed the dispatch test, and Islands 2 and 4 have failed.

Table 4 Dispatch results for the four islands

Islands 1 and 3 are in district 1 of the network, where the load varies smoothly. Considering the rated power of the PVs, the maximum charging/discharging powers and energy capacities of the BEs are sufficient to balance variability and transfer energy as needed.

For Island 4, the proposition in (23) is judged to be true and thus the situation belongs to Case A. Island 4 is in district 4 of the network, and according to Fig. 6, there are extreme moments during which the power demand is much higher than the average, while the maximum BE discharge power in Island 4 is relatively low. There is thus a time period (2:00–2:15 PM) during which the power demand cannot be met, even when the BEs and EVs discharge at maximum power. The dispatch results for Island 4 are shown in Table 5.

Table 5 Dispatch results for Island 4

In Table 5, “Time” refers to the start of a time interval, the unit of BE power is kW, and “SOC” represents the SOC of the BE at the end of the time interval. “EV” represents the number of EVs charging/discharging through the V2G facility, and is positive when discharging and negative when charging. In Table 5, the unsatisfied power demand E un is concentrated around the time interval [13:30, 14:15], during which the loads are much higher than average. The output of the BEs and EV integrations has reached the maximum discharge power during this period.

Island 2 is in district 2, where the variability trends of the loads have little consistency with that of the PVs, meaning that a high storage capacity is required to transfer the energy from the PVs.

The dispatch results for Island 2 are shown in Table 6.

Table 6 Dispatch results for Island 2

In Table 6, the SOC of the BE is full during the period [12:30, 12:45]. After the calculation, energy waste is found to occur during the period [11:00, 12.45], so the situation of Island 2 belongs to Case B-2.

After adding the power constraint in (24) to the first-stage island partition model for PV5/BE5 and adding the energy transfer constraints in (25)–(38) to the island partition model for PV2/BE2, the results for the modified first-stage model are shown in Fig. 8.

Fig. 8
figure 8

Results for modified island partition model

After the modification, nodes 60 and 61 are excluded from Island 4 and nodes 21–23 are excluded from Island 2. Nodes 57 and 58 are included in Island 2’.

The dispatch results for Islands 1, 2’, 3 and 4’ are shown in Tables 7, 8, 9 and 10. E un is 0 for each of these islands. All of the PVs operate under MPPT conditions.

Table 7 Dispatch results for Island 1
Table 8 Dispatch results for Island 2’
Table 9 Dispatch results for Island 3

According to the schedule of Island 2’ (Table 8), the BE charges during the period [11:00, 13:15] and discharges during the period [13:15, 16:00] to transfer the energy of the PV, and the EV integration’s output power is also relatively high during the period [14:30, 16:00].

In Island 4’ (Table 10), because the number of dischargeable EVs is conservatively estimated based on the total energy stored in the EV integration in (16), the EV integration initially charge during the period [11:00, 12:30] to ensure sufficient energy will be available during the period [13:30, 14:30], when the loads are much higher than average.

Table 10 Dispatch results for Island 4’

Based on the simulation results, the BEs are important and necessary to relieve the imbalance between the PVs and the loads and transfer the energy from the PVs. By contrast, EV integrations are less controllable considering the EV user participation and the conservative estimation of the number of chargeable/dischargeable EVs.

6.4 Power flow simulation

Sequential power flow is performed based on the dispatch results. Nodes 5, 19, 52 and 65 are the slack nodes of the 4 islands. The result shows that the power loss can be covered by the slack PV generation, and the voltage deviation is very small. The voltage profiles and power losses of the 4 islands under peak load conditions (Island 1 and 3 at 11:00, Island 2 at 15:45, Island 4 at 14:00) are shown in Fig. 9.

Fig. 9
figure 9

Voltage profiles and power losses

6.5 Comparison with previous methods

For comparison, the island partition methods proposed by [11, 19] are implemented for the same distribution network.

Since the variability of loads and the dynamic dispatch of DERs are not considered in these previous studies (the static power dispatch of DERs in [19] is independent of the island partition process, and is done when the island scope has been determined), the static values of loads and DERs are defined as follows to ensure the feasibility of the islands:

  1. 1)

    The BEs and EV integrations discharge completely by the end of the islanding period, and the discharging power is considered to be constant.

  2. 2)

    The PV generators are controlled to operate with MPPT, but their static values are set to their minimum power output during the entire islanding period.

  3. 3)

    The loads are set to their peak value during the islanding period.

The same island partition is obtained by the methods in [11, 19], and is compared with the result obtained by proposed method in Fig. 10.

Fig. 10
figure 10

Comparison of the island partition results

The total restored load (weighted value) by the method in [11] (or [19]) and the proposed method is 2484 kW and 3516 kW respectively, and the total restored energy (weighted value) during the islanding period is 9165 kWh and 12935 kWh respectively.

The computational complexity of the methods in [11, 19] and this paper are all no more than O(N 2). The methods are programmed in the MATLAB environment [21]. The YALMIP toolbox is applied for methods in [11] and proposed method. The simulations have been run on a desktop PC containing an Intel® Core™ i7-2600 3.40 GHz CPU, and 16 GB of RAM. The computing time of the methods in [11, 19] and this paper are 1.5 s, 4.0 s (only island partition considered) and 15.1 s respectively. The proposed method needs more computing time because of the DER dispatch and model modification processes.

7 Conclusion

This paper has presented an integrated islanding approach for an ADN when a failure occurs, in which an initial island partition is determined in the first stage and then refined through two steps of tests in the second stage.

An energy index is introduced to the island partition, and an innovative energy-constrained optimal island partition model is proposed. Previous works formulated a static optimal island partition problem as a tree knapsack problem (TKP) based on the assumption that the loads and the outputs of the DGs are constant. The introduction of the energy index and the energy constraints allow the island partition model to remain in the TKP form and thus be solvable, meanwhile taking the variability of the loads and the DGs into consideration.

In the second stage, the DER power dispatch process and sequential power flow are performed to test the islands because the energy constraint is not a sufficient condition. Modifications of the island partition model based on the dispatch results and adjustment strategies based on the power flow are also provided. The strengths of the energy constraint, the energy and power constraint and the energy transfer constraint are incremented to adapt to different situations.

Controllable energy storage is essential for both power balancing and frequency stabilization in island mode operation. It may be provided by battery systems, in this paper assumed to be integrated with PV generation, or by plugged-in electric vehicles when their owners have allowed charge/discharge control for network support. The maximum charge/discharge power and energy capacity are the determining factors of the ability to provide power support and energy transfer using energy storage equipment. The load and DG variability characteristics also affect the energy storage requirements in the island mode operation.

The proposed method needs more computing time than previous methods for static load and generation, because of the DER dynamic dispatch and model modification processes, but the load restoration performance of proposed method is much better than that of the conventional methods. The proposed method prevents curtailment of 42% more load and delivers 41% more energy than the previous methods.