# US 2025/0166093 A1 · Energy Management Method Based on Multi-Agent Reinforcement Learning in Energy-Constrained Environments

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

- Number: US 2025/0166093 A1
- Document ID: US20250166093A1
- Status: Published application
- Kind: A1
- Application number: 18/754,120
- Filed: 2024-06-25
- Published: 2025-05-22
- Earliest claimed: 2023-11-21
- Assignees: Anhui University
- Applicants: Anhui University
- Inventors: Ning ZHANG; Lingxiao YANG; Changyin SUN; Chaoxu MU; Chenxu SHI; Xiang CAO; Yanxu SU; Hongbing XIA; Hejia GAO
- Web page: https://patentgrep.com/patent/US20250166093A1

## CPC

- G06Q 50/06: Energy or water supply
- G06Q 10/04: Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem" (market predictions or forecasting for commercial activities G06Q30/0202)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

The present invention relates to an energy flow scheduling method based on multi-agent reinforcement learning, and the method comprising: designing an energy flow transmission mode for clustered islands, so as to describe energy transmission processes in between the clustered islands; building an energy flow transmission model for the clustered islands based on the energy flow transmission mode; establishing an energy system energy management model for the clustered islands; and realizing energy flow scheduling for the clustered islands based on multi-agent reinforcement learning methods and solving an energy management strategy. In the present invention, based on multi-agent reinforcement learning methods, in consideration of location characteristics of the clustered islands, reserves of renewable resources and mobile energy storage of electric vessels, self-adaption to changes in load requirements of islands with human settlements is satisfied.

## Claims

### Claim 1

An energy flow scheduling method for pelagic clustered islands based on multi-agent reinforcement learning, comprising:
step 1: designing an energy flow transmission mode for clustered islands, wherein the mode is configured to describe energy flow transmission processes in between the clustered islands;
wherein, designing the energy flow transmission mode for the clustered islands comprises specifically the following steps:
step 1-1: forming a spatial distribution for at least one island with human settlements and a plurality of resource-rich islands according to unique geological positions of pelagic clustered islands;
step 1-2: building power generators including at least one wind power generation facility and at least one photovoltaic power generation facility for the plurality of resource-rich islands according to features of islands having rich renewable resources, and building a model for a renewable energy power generation facility for the clustered islands,
step 1-3: building an energy flow scheduling frame including at least one electric vessel based on natural geological isolation between the at least one island with the human settlements and the resource-rich islands and building an electric vessel operation model,
step 2: building an energy flow transmission model for the clustered islands based on the energy flow transmission mode for the clustered islands;
wherein building the energy flow transmission model for the clustered islands in the step 2, specifically comprises the following steps:
step 2-1: conducting pre-dispatch for an energy flow scheduling system for the clustered islands, predicting and scheduling power demands of m island(s) with the human settlements and power supply of n resource-rich islands;
Step 2-2: establishing an energy flow transmission mechanism according to pre-dispatch of the energy flow scheduling system for the pelagic clustered islands;
step 2-3: as a mobile energy storage tool, the at least one electric vessel charge and discharge in different times in the resource-rich islands and islands with human settlements to realize spatio-temporal transference of the energy flow in between islands, and an electric vessel charging and discharging model is defined as:
E
EV
,
t
=
{
E
EV
,
t
-
1
+
P
EV
,
t
-
1
⁢
ζ
⁢
Δ
⁢
t
P
EV
,
t
-
1
<
0
E
EV
,
t
-
1
-
P
EV
,
t
-
1
ζ
⁢
Δ
⁢
t
P
EV
,
t
-
1
≥
0
in foregoing equation, EV,t and EV,t-1 stand for energy storage amounts of the at least one electric vessel at the time t and a time t−1, PEV,t-1 is a real-time power during charging and/or discharging of the at least one electric vessel at the time t−1, ξ stands for charge-discharge efficiency, and Δt stands for a temporal interval;
step 3: building an energy management model for an energy system of the clustered islands according to the energy flow transmission model for the clustered islands; comprising specifically:
step 3-1: designing an energy management object function for the resource-rich islands, comprising two parts: expenses for transporting energies with the at least one electric vessel and wind and light usage expenses of the resource-rich islands, aiming at satisfying loads of the islands with human settlements and reducing transportation expenses of the energy flow and waste of the renewable energies, and the object function Fr is expressed as following:
F
r
=
∑
t
∈
T
∑
i
=
1
n
∑
j
=
1
m
ξ
ij
⁢
d
ij
⁢
N
ij
,
t
⁢
E
EV
,
t
+
∑
t
∈
T
∑
i
=
1
n
ψ
⁡
(
E
wind
,
i
,
t
+
E
pv
,
i
,
t
)
wherein, dij stands for a distance in between the ith resource-rich island and the jth island with human settlements, Ewind,i,t is a wind consumption amount at the ith resource-rich island at the time t, Epv,i,t is a light consumption amount of the ith resource-rich island at the time t, ξij is a distance coefficient in between the ith resource-rich island and the ith island with human settlements, and ψ stand for a wind and light consumption penalty factor; Nij,t stands for a number of at least one electric vessel sent to the jth island with human settlements from the ith resource-rich island at the time t;
step 3-2: designing an energy management result function for the islands with human settlements, comprising: cancelling expenses for controllable loads if necessary in order to ensure stability and reliability of operations of the power system of the clustered islands, and the result function Fh can be expressed as:
F
h
=
∑
t
∈
T
∑
j
=
1
n
λ
⁢
E
cut
,
j
,
t
;
wherein Ecut,j,t stands for the cancelled controllable loads in the jth island with human settlements at the time t and is λ load cancelling penalty factor, and
step 4: realizing energy flow scheduling for the clustered islands by multi-agent reinforcement learning methods, and solving an energy management strategy.

### Claim 2 (depends on 1)

The energy flow scheduling method for pelagic clustered islands based on multi-agent reinforcement learning according to claim 1,
wherein building a renewable energy power generation model for the clustered islands comprises:
P
w
=
1
2
⁢
ρ
air
⁢
A
w
⁢
C
p
⁢
v
3
;
P
s
=
η
⁢
A
s
⁢
G
;
wherein, Pw and Ps stand for output power of the at least one wind power generation facility and the at least one photovoltaic power generation facility, βair stands for air density, Aw stands for an efficient area of wind passing at least one wind turbine, Cp stands for a power coefficient of the at least one wind turbine of the at least one wind power generation facility, v stands for wind velocity, η stands for a power conversion efficiency of the at least one photovoltaic power generation facility, As stands for an area of at least one solar cell, and G stands for solar radiation strength;
wherein the electric vessel operation model comprises:
P
EV
sail
=
F
EV
⁢
V
EV
⁢
cos
⁢
θ
;
wherein, PEVsail stands for electric vessel navigation power, FEV stands for thrust of the at least one electric vessel, VEV stands for a navigation velocity of the at least one electric vessel, θ stands for an included angle between the thrust and the navigation velocity of the at least one electric vessel;
wherein, the thrust of the at least one electric vessel FEV, an air friction Fair and ocean current force Fcut satisfy:
F
air
2
+
F
cur
2
-
F
EV
2
=
2
⁢
F
air
⁢
F
cur
⁢
cos
⁢
γ
;
wherein, γ is an included angle between the air friction and the ocean current force; models of the air friction Fair and the ocean current force Fcur are respectively:
F
air
=
9
.
8
⁢
0
⁢
7
⁢
ρ
air
⁢
C
w
⁢
K
α
⁢
A
ev
⁢
V
rs
2
;
{
F
xcur
=
ρ
water
⁢
MV
crs
2
⁢
C
xcur
,
β
2
F
ycur
=
ρ
water
⁢
MV
crs
2
⁢
C
ycur
,
β
2
F
cur
=
F
xcur
2
+
F
ycur
2
;
wherein, Cw stands for a wind resistance coefficient where a wind angle is 0°, Cxcur,β and Cycur,β stand for ocean current force coefficients where a relative angle of current is β, Ka stands for a wind influencing coefficient where the relative angle of current is a, Aev stands for a projected area of a portion of the at least one electric vessel above a ship waterline on a cross section, Vrs stands for a relative wind speed of the at least one electric vessel, Vcrs stands for a relative ocean current speed, M is a product of a length of the waterline and a draught, the length of the waterline stands for a projected length of the at least one electric vessel on a water surface, and the draught stands a depth of the at least one electric vessel in the water, βwater stands for seawater density, and Fxcur and Fycur stand for sea current forces that the at least one electric vessel are subjected to on a horizontal direction and a vertical direction.

### Claim 3 (depends on 1)

The energy flow scheduling method for pelagic clustered islands based on multi-agent reinforcement learning according to claim 1,
Wherein the resource-rich islands and the islands with the human settlements satisfy constraints:
∑
i
=
1
n
E
i
,
t
≤
E
j
,
t
⁢
j
∈
[
1
,
m
]
,
t
∈
T
;
in the equation, Ei,t stands for power supplied to an ith resource-rich island at a time t, Ej,t stands for a power demand for a jth island with human settlements at the time t, and T stands for total time duration;
wherein a transmission mechanism for energy flows in between the clustered islands comprises:
{
A
i
,
t
=
N
ij
,
t
S
j
,
t
=
∑
i
=
1
n
N
ij
,
t
⁢
i
∈
[
1
,
n
]
,
j
∈
[
1
,
m
]
,
t
∈
T
wherein, Nij,t stands for a number of at least one electric vessel sent to the jth island with human settlements from the ith resource-rich island at the time t, Ai,t stands for a number of at least one electric vessel sent from the ith resource-rich island at the time t, Sj,t stands for a number of at least one electric vessel received by the jth island with human settlements at the time t,
further, to evaluate whether the at least one electric vessel charge or discharge fully is described by a state of charge SOCEV, SOCEV=1 stands for fully charged, SOCEV=O stands for fully discharged, and definitions of the same are:
SOC
EV
=
E
sur
E
total
;
SOC
EV
,
min
≤
SOC
EV
≤
SOC
EV
,
max
;
wherein, Esur stands for remaining energy storage in the at least one electric vessel, Etotal stands for total energy storage in the at least one electric vessel, and SOCEV,max and SOCEV,min stand for maximum and minimum statements of charge.

### Claim 4 (depends on 3)

The energy flow scheduling method for pelagic clustered islands based on multi-agent reinforcement learning according to claim 3, wherein in the step 2-2, depending on pre-dispatching of a system and capacity CapEV of the at least one electric vessel, the system will decide whether each of the resource-rich islands shall send an electric vessel to the islands with human settlements and the number of the at least one electric vessel, and after energy scheduling, each of the islands with human settlements shall satisfy:
S
j
,
t
*
Cap
EV
≤
E
j
,
t
.

### Claim 5

(canceled)

### Claim 6

(canceled)

### Claim 7 (depends on 1)

The energy flow scheduling method for pelagic clustered islands based on multi-agent reinforcement learning according to claim 1, wherein in the step 4, realizing an energy flow scheduling for the clustered islands by a multi-agent reinforcement learning method and solving the energy management strategy comprising specifically:
step 4-1: establishing self-defined pelagic clustered island environments for multi-agent systems based on third-party libraries such as PettingZoo and extensions;
step 4-2: designing a deep reinforcement learning method based on counterfactual baseline, for energy flow scheduling for the clustered islands and solving the energy management strategy.

### Claim 8 (depends on 7)

The energy flow scheduling method for pelagic clustered islands based on multi-agent reinforcement learning according to claim 7, wherein in the step 4-1, establishing the self-defined multi-agent pelagic clustered island environments comprising specifically the following steps:
step 4-1-1: defining self-defined environment class, realizing necessary methods, and the methods define interaction logics for the pelagic clustered island environment;
step 4-1-2: in a custom pelagic clustered island environment class, defining a state space S, an action space A and a reward mechanism R;
step 4-1-3: interacting the created pelagic clustered island environment with an intelligent agent, testing and commissioning correctness and stability of an environment.

### Claim 9 (depends on 7)

The energy flow scheduling method for pelagic clustered islands based on multi-agent reinforcement learning according to claim 7, wherein the step 4-2 specifically comprises the following steps:
step 4-2-1: building a centralized training and decentralized execution deep reinforcement learning algorithm structure based on Actor-Critic frame, wherein an architecture thereof comprises a centralized Critic network and an Actor network with a same number of actors as intelligent agents;
step 4-2-2: calculating an action strategy for each of the intelligent agents based on observation information of each of an island intelligent agents and using the Actor network;
step 4-2-3: calculating a dominant function based on the counterfactual baseline and using the Critic network, and reverting the corresponding result to the corresponding Actor network, so as to address a credit assignment problem;
step 4-2-4: using actions U−a of other intelligent agents as a part of an input of the Critic network to calculate the counterfactual baseline more efficiently, during outputting, reserving only counterfactual Q values of actions of a single intelligent agent a, and efficient Critic network input and output are expressed as:
(
u
t
-
a
,
s
t
,
o
t
a
,
a
,
u
t
-
1
)
→
{
Q
⁡
(
u
a
=
1
,
u
t
-
a
,
…
)
,
…
,
Q
⁡
(
u
a
=
❘
"\[LeftBracketingBar]"
U
❘
"\[RightBracketingBar]"
,
u
t
-
a
,
…
)
}
→
(
u
t
a
,
π
t
a
)
A
t
a
wherein Q represents an action value function of the intelligent agent, Oa stands for observation of the intelligent agent a, a is a serial number of the intelligent agent, after obtaining the counterfactual Q value of the action of the intelligent agent a, obtaining the dominant function Ata of the intelligent agent at the time t of the action according to the strategy distribution πta obtained via the Actor network and the action uta at the current moment, st stands for a status of the environment at the time t and ut-1 stands for actions of the intelligent agent at a time step t−1.

### Claim 10 (depends on 7)

The energy flow scheduling method for pelagic clustered islands based on multi-agent reinforcement learning according to claim 7, wherein a method to calculate the dominant function in the step 4-2-3 is: estimating Q value of united action u in condition of a global state of the system using the centralized Critic network in the step 4-2-1, thereafter, comparing the Q value of the current action ua with the counterfactual baseline of marginalized ua and in the meanwhile, maintaining actions of the other intelligent agents unchanged, the dominant function Aa (s,u) is defined as following:
A
a
(
s
,
u
)
=
Q
⁡
(
s
,
u
)
-
∑
u
′
⁢
a
π
a
(
u
′
⁢
a
|
τ
a
)
⁢
Q
⁡
(
s
,
(
u
-
a
,
u
′
⁢
a
)
)
wherein u′a stands for action after marginalization of the intelligent agent a, u−a stands for united actions of all other intelligent agents without the intelligent body a, τa stands for a trace sequence of the intelligent agent a, πa (u′a|τa) stands for an action selection strategy of the intelligent agent a in the trace sequence τa, and Q (s,(u−a,u′a) stands for the Q value when replacing the action of the intelligent agent a with the marginalized action.
