IP Library › Granted Patent US 12,149,078
Granted Patent B2
US 12,149,078 · App. 15/734,989 · Granted Nov 19, 2024

Method for intelligently adjusting power flow based on Q-learning algorithm

Inventors: Jian Yang (Zhejiang, CN); Dongbo Zhang (Zhejiang, CN); Xinjian Chen (Zhejiang, CN); Yilun Zhu (Zhejiang, CN); Jie Yu (Zhejiang, CN); Daojian Hong (Zhejiang, CN); Zhouhong Wang (Zhejiang, CN); Chenghuai Hong (Zhejiang, CN); Zihuai Zheng (Zhejiang, CN); Huiying Gao (Zhejiang, CN); Minyan Xia (Zhejiang, CN); Bingren Wang (Zhejiang, CN); Guode Ying (Zhejiang, CN); Yizhi Zhu (Zhejiang, CN)
Assignees: STATE GRID ZHEJIANG ELECTRIC POWER CO., LTD.; TAIZHOU POWER SUPPLY COMPANY
H02J3/06G06N20/00G06Q50/06
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,149,078
App. No.
15/734,989
Granted
Nov 19, 2024
Kind
B2
Abstract

A method for intelligently adjusting a power flow based on a Q-learning algorithm includes: converting a variable, an action, and a goal in a power grid to a state, an action, and a reward in the algorithm, respectively; selecting an action from an action space, giving an immediate reward based on a result of power flow calculation, and correcting a next state; forwardly observing a next exploration action based on a strategy in the Q-learning algorithm; updating a Q value in a corresponding position in a Q-value table based on the obtained reward; if a final state is not reached, going back to step 2; otherwise, increasing the number of iterations by 1; if the number of iterations does not reach predetermined value K, that is, Episode<K, going back to step 2; otherwise, that is, Episode=K, outputting the Q-value table; and outputting an optimal unit combination.

Claims (118)

1. A method for intelligently adjusting a power flow based on a Q-learning algorithm, comprising:

step 1: converting a variable, an action, and a goal in a power grid to a state, an action, and a reward in the algorithm, respectively;

step 2: selecting an action from an action space, giving an immediate reward based on a result of power flow calculation, and correcting a next state;

step 3: forwardly observing a next exploration action based on a strategy in the Q-learning algorithm;

step 4: updating a Q value in a corresponding position in a Q-value table based on the obtained reward;

step 5: if a final state is not reached, going back to step 2, or if a final state is reached, increasing the number of iterations by 1;

step 6: if the number of iterations does not reach predetermined value K, that is, Episode<K, going back to step 2, or if the number of iterations reaches predetermined value K, that is, Episode=K, outputting the Q-value table; and

step 7: outputting an optimal unit combination, and adjusting power flow for an IEEE 39-bus standard test system and an actually-operating power system based on the optimal unit combination;

wherein the step 1 comprises:

using active power output of each generation unit as the state and establishing an expression of a state space representing a combination of states of all generation units, as shown in formula (1):

S ={Power output of generation unit 1,Power output of generation unit 2, . . . ,Power output of generation unit N}   (1),

 wherein

S denotes the state space, and a value of N is a positive integer, and power output of each generation unit is a respective initial power output or 0;

establishing an expression of an action space in which powering-on or powering-off of each generation unit is used as the action, as shown in formula (2):

A ={Powering on of generation unit 1,Powering off of generation unit 1, . . . ,Powering off of generation unit N}    (2),

wherein

A denotes the action space, and a value of N is a positive integer, and wherein when each generation unit reaches a power-on state or a power-off state, an action corresponding to the state of the generation unit is removed from the action space; and

reward design: establishing expression R of a reward design for adjusting power flow from non-convergent to convergent and simultaneously minimizing a network loss of the power grid, as shown in formula (3):

R

=

{

-

999

,

when

⁢

a

⁢

non

⁢

‐

⁢

convergent

power

⁢

⁢

flow

⁢

occurs

-

1

,

when

⁢

power

⁢

output

⁢

of

⁢

a

⁢

balancing

⁢

machine

exceeds

⁢

an

⁢

upper

⁢

or

⁢

a

⁢

lower

⁢

limit

100

,

when

⁢

the

⁢

⁢

goal

⁢

is

⁢

achieved

1

,

when

⁢

a

⁢

network

⁢

loss

⁢

load

⁢

percentage

⁢

decreases

0

,

when

⁢

the

⁢

network

⁢

loss

⁢

load

⁢

percentage

⁢

increases

.

(

3

)

2. The method for intelligently adjusting a power flow based on a Q-learning algorithm according to claim 1 , further comprising:

Limiting values of parameters, ε, α, and γ in the Q-learning algorithm, wherein:

ε denotes a probability of an action selection in an ε-greedy strategy, and ε is a positive number initially set to maximum value 1, and is gradually decreased as the number of iterations increases; α denotes a learning rate, and 0<α<1; and

γ denotes a discount factor of an attenuation value of a future reward, and is set to a value close to 1.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 11, 2020
From: YANG, JIAN; ZHANG, DONGBO; CHEN, XINJIAN; ZHU, YILUN; YU, JIE; HONG, DAOJIAN; WANG, ZHOUHONG; HONG, CHENGHUAI; ZHENG, ZIHUAI; GAO, HUIYING; XIA, MINYAN; WANG, BINGREN; YING, GUODE; ZHU, YIZHI
To: STATE GRID ZHEJIANG ELECTRIC POWER CO., LTD. TAIZHOU POWER SUPPLY COMPANY
Reel/Frame 054612/0296 →
Priority Claims (1)
CN 201911123269.8 · Nov 16, 2019 · national
Continuity (1)
Related Publication 20210367426A1 · Nov 25, 2021