# US 2025/0167560 A1 · Fast calculation method and device for dynamic resilience region of urban power system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0167560 A1
- Document ID: US20250167560A1
- Status: Published application
- Kind: A1
- Application number: 18/953,276
- Filed: 2024-11-20
- Published: 2025-05-22
- Earliest claimed: 2023-11-20
- Assignees: Peking University
- Applicants: Peking University
- Inventors: Jianxiao WANG; Yiyang SONG; Yang ZOU; Jing DAI; Feng GAO; Jie SONG
- Web page: https://patentgrep.com/patent/US20250167560A1

## CPC

- H02J 3/46: Controlling the sharing of generated power between the generators, sources or networks
- H02J 3/001: Arrangements for handling faults or abnormalities, e.g. emergencies or contingencies
- H02J 3/0012: characterised by the contingency detection means in AC networks, e.g. using phasor measurement units [PMU], synchrophasors or contingency analysis
- H02J 3/00125: {Transmission line or load transient problems, e.g. overvoltage, resonance or self-excitation of inductive loads (H02J3/01 takes precedence)}
- H02J 3/17: Demand-responsive operation of AC power transmission or distribution networks
- H02J 2103/30: Simulating, planning, modelling, reliability check or computer assisted design [CAD] of electric power networks
- H02J: ELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY

## Abstract

A fast calculation method for dynamic resilience region of an urban power system includes: constructing an urban power system three-stage model applicable for multiple types of public safety events by considering security constraints before, during, and after a disaster, to minimize a three-stage operation cost and a load shedding amount of urban power grid; based on the urban power system three-stage model, defining a boundary between a resilience region and a non-resilience region as a resilience cut line, and removing the non-resilience region from the outside to quickly obtain the dynamic resilience region; and based on the urban power system three-stage model, using the shortest distance from a current operating point to the boundary of the dynamic resilience region to represent a dynamic safety margin of urban power system under a current disaster prediction scenario.

## Claims

### Claim 1

A fast calculation method for a dynamic resilience region of an urban power system, comprising:
constructing an urban power system three-stage model applicable for multiple types of public safety events by considering security constraints before, during, and after a disaster, to minimize a three-stage operation cost and a load shedding amount of urban power grid;
based on the urban power system three-stage model, defining a boundary between a resilience region and a non-resilience region as a resilience cut line, and removing the non-resilience region from outside to quickly obtain the dynamic resilience region; and
based on the urban power system three-stage model, using a shortest distance from a current operating point to the boundary of the dynamic resilience region to represent a dynamic safety margin of the urban power system under a current disaster prediction scenario;
wherein formulating strategies of the urban power system based on the safety margin, comprises at least one of:
deploying mobile energy storage of the urban power system for critical loads in scenarios where the safety margin of nodes where the critical loads are located is low before a disaster; or,
adjusting an active output of generating sets of the urban power system, the active output of distributed resources of the urban power system, and the load shedding amount of the nodes of the urban power system so that critical nodes of the urban power system are operated in a position with a highest safety margin to avoid overloads during a disaster.

### Claim 2 (depends on 1)

The method of claim 1, wherein constructing the urban power system three-stage model applicable for various types of public safety events by considering the security constraints before, during, and after the disaster, comprises:
minimizing an operating cost and a load shedding value of the urban power system three-stage model:
min
⁢
∑
t
(
∑
g
α
g
⁢
P
g
,
t
2
+
β
g
⁢
P
g
,
t
+
γ
g
⁢
v
g
,
t
+
∑
j
c
j
⁢
P
j
,
c
,
t
l
⁢
o
⁢
a
⁢
d
)
(
1
)
where αg, βg and γg represent cost coefficients for a generating set g, respectively, cj represents a cost coefficient for loss-of-load of load j, Pg,t represents an active output of the generating set g at a time t, Pj,c,tload represents a load shedding amount loaded by node j at the time t, vg,t represents an on/off state of the generating set g at the time t, and if vg,t=0, it indicates that the generating set is off, otherwise, it indicates that the generating set is on.

### Claim 3 (depends on 1)

The method of claim 1, wherein considering the security constraints before, during, and after the disaster, comprises:
before the disaster, considering power flow constraints, node balance and generating set output constraints, wherein linearizing the power flow constraints are as follows:
P
ij
,
t
=
G
i
⁢
j
⁢
(
U
i
,
t
-
U
j
,
t
)
/
2
-
B
i
⁢
j
⁢
(
θ
i
,
t
-
θ
j
,
t
)
∀
t
∈
ϕ
T
,
∀
i
∈
ϕ
N
(
2
)
Q
ij
,
t
=
-
G
i
⁢
j
⁢
(
θ
i
,
t
-
θ
j
,
t
)
-
B
i
⁢
j
⁢
(
U
i
,
t
-
U
j
,
t
)
/
2
∀
t
∈
ϕ
T
,
∀
i
∈
ϕ
N
(
3
)
where Ui,t and Uj,t represent voltage magnitudes at nodes i and j at a time t respectively, θi,t and θj,t represent voltage phase angles at the nodes i and j at the time t, Gij and Bij represent conductance and susceptance values between the nodes i and j, respectively, ØN represents a set of power system nodes, and ØT represents a set of time nodes, equations (2) and (3) describe calculation methods of active and reactive power flows of a line ij, respectively;
voltage and phase angle constraints are shown in equations (4) and (5):
U
min
≤
U
i
,
t
≤
U
max
∀
t
∈
ϕ
T
,
∀
i
∈
ϕ
N
(
4
)
θ
min
≤
θ
i
,
t
≤
θ
max
∀
t
∈
ϕ
T
,
∀
i
∈
ϕ
N
(
5
)
where Umin and Umax represent lower and upper limits of voltage amplitude, respectively, and θmin and θmax represent upper and lower limits of voltage phase angle, respectively;
power system power flow constraints are shown in equations (6)-(9):
-
u
ij
,
t
l
⁢
i
⁢
n
⁢
e
⁢
F
ij
,
max
≤
P
ij
,
t
≤
u
ij
,
t
l
⁢
i
⁢
n
⁢
e
⁢
F
ij
,
max
∀
t
∈
ϕ
T
,
∀
ij
∈
ϕ
L
(
6
)
-
u
ij
,
t
l
⁢
i
⁢
n
⁢
e
⁢
F
ij
,
max
≤
Q
ij
,
t
≤
u
ij
,
t
l
⁢
i
⁢
n
⁢
e
⁢
F
ij
,
max
∀
t
∈
ϕ
T
,
∀
ij
∈
ϕ
L
(
7
)
-
2
⁢
u
ij
,
t
l
⁢
i
⁢
n
⁢
e
⁢
F
ij
,
max
≤
P
ij
,
t
+
Q
ij
,
t
≤
2
⁢
u
ij
,
t
l
⁢
i
⁢
n
⁢
e
⁢
F
ij
,
max
∀
t
∈
ϕ
T
,
∀
ij
∈
ϕ
L
(
8
)
-
2
⁢
u
ij
,
t
l
⁢
i
⁢
n
⁢
e
⁢
F
ij
,
max
≤
P
ij
,
t
-
Q
ij
,
t
≤
2
⁢
u
ij
,
t
l
⁢
i
⁢
n
⁢
e
⁢
F
ij
,
max
∀
t
∈
ϕ
T
,
∀
ij
∈
ϕ
L
(
9
)
where Fij,max represents an upper limit of power flow of the line ij; uij,tline represents a line status, if uij,tline=0, it indicates that the line is disconnected, if uij,tline=1, it indicates that the line status is normal, and ØL represents a set of lines;
node power balance constraints are shown in equations (10)-(11):
∑
j
∈
ϕ
N
P
ji
,
t
-
∑
j
∈
ϕ
N
P
ij
,
t
+
∑
g
∈
ϕ
G
(
i
)
P
g
,
t
=
P
i
,
0
l
⁢
o
⁢
o
⁢
d
-
P
i
,
c
,
t
l
⁢
o
⁢
a
⁢
d
∀
t
∈
ϕ
T
,
∀
i
∈
ϕ
N
(
10
)
∑
j
∈
ϕ
N
Q
ji
,
t
-
∑
j
∈
ϕ
N
Q
ij
,
t
+
∑
g
∈
ϕ
G
(
i
)
Q
g
,
t
=
Q
i
,
0
l
⁢
o
⁢
o
⁢
d
-
Q
i
,
c
,
t
l
⁢
o
⁢
a
⁢
d
∀
t
∈
ϕ
T
,
∀
i
∈
ϕ
N
(
11
)
where Pj,0load and Qj,0load represent active and reactive power demands of the node j, respectively, Pg,t and Qg,t represent active and reactive outputs of a generator g at the time t, respectively, and ØN represents a set of generating sets, Pj,c,tload and load Qj,c,tload represent a load shedding amount of node j at the time t, which is 0 before the disaster;
generating set output constraint and load shedding constraint are shown in equations (12)-(14):
v
g
,
t
⁢
P
g
,
min
≤
P
g
,
t
≤
v
g
,
t
⁢
P
g
,
max
∀
t
∈
[
1
,
t
e
⁢
n
⁢
d
]
,
∀
g
∈
ϕ
G
(
12
)
ν
g
,
t
⁢
Q
g
,
min
≤
Q
g
,
t
≤
ν
g
,
t
⁢
Q
g
,
max
∀
t
∈
ϕ
T
,
∀
g
∈
ϕ
G
(
13
)
R
g
≤
P
g
,
t
-
P
g
,
t
-
1
≤
R
g
∀
t
∈
ϕ
T
,
∀
g
∈
ϕ
G
(
14
)
where vi,t represents an operating state of a generating set i at the time t, and if vi,t=1, it indicates the generating set is operating normally, otherwise, the generating set is shut down; Pg,min and Pg,max represent minimum and maximum outputs of the generating set respectively; equations (12) and (13) represent the generating set output constraints, and equation (14) represents a generating set climbing constraint.

### Claim 4 (depends on 1)

The method of claim 1, wherein considering the security constraints before, during, and after the disaster, comprises:
under the influence of the disaster, introducing a binary variable uij,td to represent a line damage condition; if uij,td=0, it indicates that the line is damaged and disconnected due to the disaster; and introducing a binary variable uij,tp to represent an active disconnection of the line; if uij,tp=0, it indicates that the line ij is actively disconnected to avoid fault propagation, wherein logic constraints of uji,tline, uij,td and uij,tp are as follows:
u
ij
,
t
l
⁢
i
⁢
n
⁢
e
≤
u
ij
,
t
p
∀
ij
∈
ϕ
L
,
∀
t
∈
ϕ
T
(
15
)
u
ij
,
t
l
⁢
i
⁢
n
⁢
e
≤
u
ij
,
t
d
∀
ij
∈
ϕ
L
,
∀
t
∈
ϕ
T
(
16
)
u
ij
,
t
l
⁢
i
⁢
n
⁢
e
≥
u
ij
,
t
d
+
u
ij
,
t
p
-
1
∀
ij
∈
ϕ
L
,
∀
t
∈
ϕ
T
(
17
)
if the line is damaged, it cannot be disconnected actively; if the line is disconnected actively, it is unnecessary to consider the line damage condition, that is, uij,td and uij,tp cannot both be 0 at the same time;
0
≤
P
j
,
c
,
t
l
⁢
o
⁢
a
⁢
d
≤
P
j
,
0
l
⁢
o
⁢
a
⁢
d
∀
t
∈
ϕ
T
,
∀
j
∈
ϕ
N
(
18
)
0
≤
Q
j
,
c
,
t
l
⁢
o
⁢
a
⁢
d
≤
Q
j
,
0
l
⁢
o
⁢
o
⁢
d
∀
t
∈
ϕ
T
,
∀
j
∈
ϕ
N
(
19
)
equations (18) and (19) represent load shedding constraints.

### Claim 5 (depends on 1)

The method of claim 1, wherein considering the security constraints before, during, and after the disaster, comprises:
after the disaster, considering resources needed to be repaired and generating set recovery model constraints:
l
ij
,
t
r
⁢
e
≤
1
-
u
ij
,
t
d
∀
ij
∈
ϕ
L
,
∀
t
∈
ϕ
T
(
20
)
∑
t
∈
ϕ
T
l
ij
,
t
r
⁢
e
≤
1
∀
ij
∈
ϕ
L
(
21
)
where lij,tre indicates whether a line ij starts to be repaired at a time t, and if the line ij starts to be repaired at the time t, lij,tre=1, otherwise, lij,tre=0;
u
ij
,
t
d
=
u
ij
,
t
*
+
∑
t
=
1
t
-
Δ
⁢
T
ij
re
l
ij
,
t
re
⁢
∀
ij
∈
ϕ
L
,
∀
t
∈
ϕ
T
(
22
)
where ΔTijre represents a time required to repair the line; after a damaged line has been repaired for ΔTijre, uij,td changes from 0 to 1, and uij,t* indicates whether the line has received a disaster management arrangement provided by a disaster prediction scenario; if the line is damaged at a time t1, uij,t*∀≥t1;
b
ij
,
t
re
=
∑
z
=
t
-
Δ
⁢
T
ij
re
t
l
ij
,
z
re
⁢
∀
ij
∈
ϕ
L
,
∀
t
∈
ϕ
T
(
23
)
∑
ij
∈
ϕ
L
b
ij
,
t
r
⁢
e
≤
H
⁢
∀
t
∈
ϕ
T
(
23
)
where H represents the resources needed to be repaired.

### Claim 6 (depends on 1)

The method of claim 1, wherein based on the urban power system three-stage model, defining the boundary between the resilience region and the non-resilience region as the resilience cut line, and removing the non-resilience region from the outside to quickly obtain the dynamic resilience region, comprise:
deducing a mathematical representation of dynamic resilience region; and
solving the dynamic resilience region based on the resilience cut line.

### Claim 7 (depends on 6)

The method of claim 6, wherein deducing the mathematical representation of dynamic resilience region, comprises:
for a certain disaster scenario, determining a variable 0-1 in the optimized urban power system three-stage model, wherein the constraint conditions of the three-stage model can be written in a compact form as shown in equation (24);
A
⁢
θ
+
B
⁢
x
≤
c
(
24
)
where A and B are coefficients of θ and x, and c represents a constant in the model; the dynamic resilience region is described as that when key parameters are within the dynamic resilience region, there is always a corresponding x in the power system; when the key parameters are outside the dynamic resilience region, there is no x that makes equation (24) valid; the dynamic resilience region is represented by ΦθDRR:
Φ
θ
DRR
=
{
θ
|
∃
x
:
A
⁢
θ
≤
c
-
B
⁢
x
}
(
25
)
determining whether a given θ is within the dynamic resilience region depends on whether the corresponding x exists:
H
⁡
(
x
)
=
{
x
|
A
⁢
θ
≤
c
-
B
⁢
x
}
(
26
)
in the equation, H is a set composed of x, and a physical meaning of equation (26) is that a scheduling strategy x for the urban power grid that satisfies the key parameter θ;
based on robust optimization, positive relaxation variables are used to represent whether all the θ in the current set are within the dynamic resilience region, the physical meaning indicates whether a farthest point in a current optimization space Φ is within the dynamic resilience region, and if R(θ)=0, it indicates that the current optimization space is in the dynamic resilience region, otherwise, it indicates that θ is outside the dynamic resilience region, that is, the current optimization space is larger than the dynamic resilience region;
R
⁡
(
θ
)
=
max
θ
∈
Φ
min
r
+
≥
0
,
r
-
≥
0
,
x
1
T
⁢
r
+
+
1
T
⁢
r
-
⁢
s
.
t
.
Bx
+
Ir
+
-
Ir
-
≤
c
-
A
⁢
θ
(
27
)
in the equation, R(θ) is used to represent whether all the θ in the current set Φ are within the dynamic resilience region, that is, R(θ)=0 and H are equivalent to non-empty sets, 1 and I are set vectors of corresponding dimensions, and r+ and r− are positive slack variables;
since a two-layer optimization problem shown in equation (27) is difficult to be solved by existing commercial solvers, based on a KKT condition and theorem of strong coexistence, the two-layer optimization problem is deduced as an MPLP problem:
R
⁡
(
θ
)
=
max
θ
,
d
d
T
(
c
-
A
⁢
θ
)
⁢
s
.
t
.
H
⁢
θ
≤
h
,
-
1
≤
d
≤
0
,
B
T
⁢
d
=
0
(
28
)
where d is a dual multiplier of inner-layer optimization problem in equation (27), and equation (28) can be written as equation (29) because there is no coupling relationship between d and θ:
R
⁡
(
θ
)
=
max
d
⁢
(
d
T
⁢
c
+
max
θ
(
-
d
T
⁢
A
⁢
θ
)
)
⁢
s
.
t
.
H
⁢
θ
≤
h
,
-
1
≤
d
≤
0
,
B
T
⁢
d
=
0
(
29
)
according to the theorem of strong coexistence, −dTAθ is converted into hTμ, and the KKT condition is introduced to ensure optimality:
R
⁡
(
θ
)
=
max
d
,
μ
,
θ
(
d
T
⁢
c
+
h
T
⁢
μ
)
⁢
s
.
t
.
-
1
≤
d
≤
0
,
B
T
⁢
d
=
0
,
μ
T
(
h
-
H
⁢
θ
)
=
0
,
A
T
⁢
d
+
H
T
⁢
μ
=
0
(
30
)
since the KKT condition is introduced to nonlinear terms, the nonlinear terms are linearized by a big M method:
R
⁡
(
θ
)
=
max
d
,
μ
,
θ
(
d
T
⁢
c
+
h
T
⁢
μ
)
⁢
s
.
t
.
-
1
≤
d
≤
0
,
B
T
⁢
d
=
0
,
A
T
⁢
d
+
H
T
⁢
μ
=
0
,
-
M
⁢
ω
≤
(
h
-
H
⁢
θ
)
≤
0
,
-
M
⁡
(
1
-
ω
)
≤
μ
≤
0
(
31
)
where μ is a dual multiplier of the inner-layer optimization problem in equation (29), and equation (31) is an MILP problem which can be solved by commercial solvers.

### Claim 8 (depends on 6)

The method of claim 6, wherein solving the dynamic resilience region based on the resilience cut line, comprises:
when θ=θ0, if θ0 is in the dynamic resilience region, it shall satisfies equation (32):
d
*
T
⁢
c
-
d
*
T
⁢
A
⁢
θ
0
≤
0
(
33
)
in the equation, d* is an optimal solution of equation (31), and d* is a vertex of dual space −1≤d≤0, BTd=0, and thus the dynamic resilience region can be described as (33):
Φ
θ
DRR
=
{
θ
|
d
*
T
⁢
c
≤
d
*
T
⁢
A
⁢
θ
,
d
*
∈
D
}
(
34
)
in the equation, D is a set of vertices of the dual space, and if θ is outside the dynamic resilience region, it shall satisfies the equation (34):
d
*
T
⁢
c
>
d
*
T
⁢
A
⁢
θ
,
θ
∉
Φ
θ
DRR
(
35
)
equation (36) defines a hyper-plane that separates the dynamic resilience region and a non-dynamic resilience region, which can be defined as a resilience cut line:
d
*
T
⁢
c
=
d
*
T
⁢
A
⁢
θ
(
36
)
wherein a solution process of the dynamic resilience region is as follows: firstly, defining a large enough optimization space Φ; solving equation (31), if R(θ)=0, it indicates that a current optimization space is an accurate dynamic resilience region, if R(θ) is not 0, it indicates that the non-dynamic resilience region in the current optimization space still needs to be removed; and calculating equation (36) to obtain a resilience cut line, and add the constraint d*TAθ≤d*Tc corresponding to the cut line to the Φ to obtain an updated optimization space until R(θ)=0.

### Claim 9 (depends on 1)

The method of claim 1, wherein based on the urban power system three-stage model, using the shortest distance from the current operating point to the boundary of the dynamic resilience region to represent the dynamic safety margin of the urban power system under the current disaster prediction scenario, comprises:
introducing a positive slack variable to quantify and represent the dynamic safety margin, as shown in equation (37):
S
t
=
min
s
+
≥
0
,
s
-
≥
0
1
T
⁢
s
+
+
1
T
⁢
s
-
⁢
s
.
t
.
⁢
H
t
⁢
θ
0
+
Is
+
-
Is
-
≥
h
t
,
∀
t
∈
ϕ
T
(
37
)
wherein a physical meaning of equation (37) is: a minimum change required in the constraints to push important load operating points in a current dynamic resilience region to move beyond a safety boundary.

### Claim 10

A fast calculation device for a dynamic resilience region of an urban power system, comprising:
a constructing module, configured to construct an urban power system three-stage model applicable for multiple types of public safety events by considering security constraints before, during, and after a disaster, to minimize a three-stage operation cost and a load shedding amount of an urban power grid;
a solving module, configured to, based on the urban power system three-stage model, define a boundary between a resilience region and a non-resilience region as a resilience cut line, and remove the non-resilience region from outside to quickly obtain the dynamic resilience region;
a predicting module, configured to, based on the urban power system three-stage model, use a shortest distance from a current operating point to the boundary of the dynamic resilience region to represent a dynamic safety margin of the urban power system under a current disaster prediction scenario; and
a processing module, configured to, formulate strategies of the urban power system based on the safety margin, comprises at least one of: deploy mobile energy storage of the urban power system for critical loads in scenarios where the safety margin of nodes where the critical loads are located is low before a disaster; and/or, adjust an active output of generating sets of the urban power system, the active output of distributed resources of the urban power system, and the load shedding amount of the nodes of the urban power system so that critical nodes of the urban power system are operated in a position with a highest safety margin to avoid overloads during a disaster.
