# US 2022/0036392 A1 · Deep Reinforcement Learning Based Real-time scheduling of Energy Storage System (ESS) in Commercial Campus

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

- Number: US 2022/0036392 A1
- Document ID: US20220036392A1
- Status: Published application
- Kind: A1
- Application number: 17/102,644
- Filed: 2020-11-24
- Published: 2022-02-03
- Earliest claimed: 2020-08-03
- Assignees: Global Energy Interconnection Research Institute North America
- Inventors: Desong Bian; Xiaohu Zhang; Di Shi; Ruisheng Diao; Siqi Wang; Zheming Liang
- Web page: https://patentgrep.com/patent/US20220036392A1

## CPC

- G06Q 30/0206: {Price or cost determination based on market factors}
- B60L 58/10: for monitoring or controlling batteries
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/2415: based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 3/0499: Feedforward networks
- G06N 3/08: Learning methods
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 3/092: Reinforcement learning
- G06Q 10/06315: {Needs-based resource requirements planning or analysis}
- G06Q 50/06: Energy or water supply
- B60L 58/12: responding to state of charge [SoC]
- B60L 2260/46: by self learning
- B60L 2260/54: Energy consumption estimation
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- Y02T 10/70: Energy storage systems for electromobility, e.g. batteries
- 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
- B60L: PROPULSION OF ELECTRICALLY-PROPELLED VEHICLES (arrangements or mounting of electrical propulsion units or of plural diverse prime-movers for mutual or common propulsion in vehicles B60K1/00, B60K6/20; arrangements or mounting of electrical gearing in vehicles B60K17/12, B60K17/14; preventing wheel slip by reducing power in rail vehicles B61C15/08; dynamo-electric machines H02K; control or regulation of electric motors H02P); SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES (electric coupling devices combined with mechanical couplings of vehicles B60D1/64; electric heating for vehicles B60H1/00); ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL (control or regulation of electric motors H02P); MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- Y02T: CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION

## Abstract

A system with deep reinforcement learning based control determines optimal actions for major components in a commercial building to minimize operation costs while maximizing comprehensive comfort levels of occupants. An unsupervised deep Q-network method is introduced to handle the energy management problem by evaluating the influence of operation costs on comfort levels considering the environment factors at each time slot. An optimum control decision can be derived that targets both immediate and long-term goals, where exploration and exploitation are considered simultaneously.

## Claims

### Claim 1

A method to manage energy for a commercial building (CB), comprising:
capturing CB operation and maintenance costs on comfort levels in the environment at each time slot or interval;
training an unsupervised deep-Q-network to analyze the energy management; and
deriving a control decision targeting immediate and long-term goals and considering exploration and exploitation simultaneously.

### Claim 2 (depends on 1)

The method of claim 1, comprising modeling indoor temperature dynamics of the CB as:
Tt+1hvac=βhvacTthvac+αhvacUt,∀t
where Tthvac=[Ttin, Ttiw, Ttow]T, including indoor temperature, inner wall temperature, and outer wall temperature, respectively. Ut=[Ttout, Ψt, σtηpthvac]T, including outdoor temperature, solar irradiance, binary on/off action indicator of the HVAC system, and constant power consumption of the HVAC system, respectively. α and β are environment coefficients of CBs.

### Claim 3 (depends on 1)

The method of claim 1, comprising setting upper and lower bounds of an indoor temperature within a deviation from a desired indoor temperature:
Tdhvac−δhvac≤Ttin≤Tdhvac+δhvac,∀t
where Tdhvac is the desired indoor temperature, δhvac is the maximum temperature deviation from the desired indoor temperature.

### Claim 4 (depends on 1)

The method of claim 1, comprising modeling a dynamic relationship between water temperature and power consumption are modeled as:
T
τ
e
⁢
w
⁢
h
=
T
0
e
⁢
w
⁢
h
+
Δ
⁢
T
e
⁢
w
⁢
h
,
Δ
⁢
T
e
⁢
w
⁢
h
=
∑
t
=
1
τ
⁢
ζ
e
⁢
w
⁢
h
⁢
z
t
e
⁢
w
⁢
h
⁢
p
t
e
⁢
w
⁢
h
-
H
t
d
⁢
e
C
w
⁢
a
⁢
t
⁢
e
⁢
r
⁢
M
where ptewh is constant power consumption of the EWH. Binary variable ztewh denotes the on/off action indicator of the EWH, ζewh is the power-to-heat ratio of the EWH, auxiliary state variable ΔTewh is the temperature deviation of the EWH between a beginning of the operating day and time τ, parameter Htde represents aggregated negative impacts on the temperature of the hot water in the EWH, including heat loss that is transferred to its ambient, outflow of hot water and inflow of cold water, parameter M is the mass of water in the hot water tank, and Cwater is the specific heat capacity of water.

### Claim 5 (depends on 1)

The method of claim 1, comprising using a state-of-charge (SoC) to represent energy dynamics of an energy storage system (ESS) as:
SoC
k
,
t
=
S
⁢
o
⁢
C
k
,
t
-
1
+
p
k
,
t
c
⁢
h
⁢
η
k
c
⁢
h
⁢
u
k
,
t
c
⁢
h
-
p
k
,
t
dis
⁢
u
k
,
t
dis
η
k
dis
E
_
k
,
∀
k
,
t
where pk,tch and pk,tdis are constant power charged into or discharged from the k-th ESS at time t, and ηkch and ηkdis represent charging and discharging efficiencies of the k-th ESS, respectively. uk,tch and uk,tdis are binary variables indicating charging and discharging decisions of the k-th ESS.

### Claim 6 (depends on 1)

The method of claim 1, comprising charging dynamics for electric vehicles (PEVs) as:
So
⁢
C
v
,
t
=
S
⁢
o
⁢
C
v
,
t
-
1
+
p
v
,
t
c
⁢
h
⁢
η
v
c
⁢
h
⁢
I
v
,
t
⁢
u
v
,
t
c
⁢
h
E
_
v
,
∀
v
,
t
where pv,tch is a constant charging rate, ηvch is a charging efficiency. Ēv is a rated energy, a binary variable uv,tch represents charging decisions.
The method of claim 1, comprising modeling: i) comfort level for indoor temperature; ii) comfort level related to water temperature; and iii) comfort level for SoC, respectively.

### Claim 7 (depends on 1)

The method of claim 1, comprising modeling a comfort level for Indoor Temperature as
J
hvac
,
t
=
{
0
,
⁢
T
t
i
⁢
n
≥
T
max
1
-
T
t
i
⁢
n
-
(
T
d
h
⁢
v
⁢
a
⁢
c
+
ò
hvac
)
δ
h
⁢
v
⁢
a
⁢
c
⁢
,
T
d
h
⁢
v
⁢
a
⁢
c
⁢
+
ò
hvac
⁢
≤
T
t
i
⁢
n
≤
T
max
1
,
⁢
T
d
h
⁢
v
⁢
a
⁢
c
-
ò
hvac
≤
T
t
i
⁢
n
≤
T
d
+
ò
hvac
T
t
i
⁢
n
-
(
T
d
h
⁢
v
⁢
a
⁢
c
-
δ
h
⁢
v
⁢
a
⁢
c
)
δ
h
⁢
v
⁢
a
⁢
c
,
⁢
T
min
≤
T
t
i
⁢
n
≤
T
d
h
⁢
v
⁢
a
⁢
c
⁢
-
ò
hvac
0
,
⁢
T
t
i
⁢
n
≤
T
min
.
where the comfort indoor temperature zone is defined as Tdhvac±òhvac, where òhvac is maximum indoor temperature deviation from desired temperature.

### Claim 8 (depends on 1)

The method of claim 1, comprising modeling a Comfort Level Related to Water Temperature as
Tdewh−δewh≤Tτewh,∀τ
parameter Tdewh is a desired water temperature in a hot water tank,
J
e
⁢
w
⁢
h
,
τ
=
{
1
,
⁢
T
d
e
⁢
w
⁢
h
≤
T
τ
e
⁢
w
⁢
h
T
τ
e
⁢
w
⁢
h
-
(
T
d
e
⁢
w
⁢
h
-
δ
e
⁢
w
⁢
h
)
T
d
e
⁢
w
⁢
h
-
(
T
d
e
⁢
w
⁢
h
-
δ
e
⁢
w
⁢
h
)
,
⁢
T
d
e
⁢
w
⁢
h
-
δ
e
⁢
w
⁢
h
≤
T
τ
e
⁢
w
⁢
h
≤
T
d
e
⁢
w
⁢
h
0
,
⁢
T
τ
e
⁢
w
⁢
h
≤
T
d
e
⁢
w
⁢
h
-
δ
e
⁢
w
⁢
h
.
parameter δewh is a maximum allowed temperature deviation from desired water temperature, 1 represents the most comfort level and 0 denotes the most uncomfort level for water temperature.

### Claim 9 (depends on 1)

The method of claim 1, comprising the relationship between a desired SoC and an actual SoC of each electric vehicle PEV.

### Claim 10 (depends on 9)

The method of claim 9, comprising determining:
J
v
,
t
=
{
1
,
⁢
So
⁢
C
v
d
≤
S
⁢
o
⁢
C
v
,
t
S
⁢
o
⁢
C
v
,
t
-
S
⁢
o
⁢
C
v
b
⁢
a
⁢
s
⁢
e
S
⁢
o
⁢
C
v
d
-
S
⁢
o
⁢
C
v
b
⁢
a
⁢
s
⁢
e
⁢
,
⁢
So
⁢
C
v
b
⁢
a
⁢
s
⁢
e
≤
S
⁢
o
⁢
C
v
,
t
≤
S
⁢
o
⁢
C
v
d
∈
0
,
⁢
So
⁢
C
v
,
t
≤
S
⁢
o
⁢
C
v
b
⁢
a
⁢
s
⁢
e
.
Jv,t denotes comfort level of the v-th PEV owner, SoCvd is desired SoC for the v-th PEV, SoCvbase represents base SoC required for the v-th PEV with round trip between a PEV owner house and the CB.

### Claim 11 (depends on 1)

The method of claim 1, comprising conforming with a power balance:
∑
k
⁢
(
p
k
,
t
d
⁢
i
⁢
s
⁢
u
k
,
t
d
⁢
i
⁢
s
-
p
k
,
t
c
⁢
h
⁢
u
k
,
t
c
⁢
h
)
+
w
t
+
p
g
,
t
⁢
u
g
,
t
=
d
t
+
p
t
ewh
⁢
z
t
ewh
+
p
t
hvac
⁢
σ
t
+
∑
v
⁢
p
v
,
t
c
⁢
h
⁢
I
v
,
t
⁢
u
v
,
t
c
⁢
h
,
∀
t
where parameter wt denotes the output of renewables, parameter pg,t represents real-time power buy from a retail electricity market based on uncertain real-time electricity prices, and binary variable ug,t selects which power amount to buy from a grid.

### Claim 12 (depends on 1)

The method of claim 1, comprising performing energy management as a Markov decision process (MDP) model with environment models at each time step.

### Claim 13 (depends on 12)

The method of claim 12, wherein the MDP model comprises a tuple with four vectors: S, A, R, S′, where S and A denotes state and action spaces, respectively, S′ is a state space after a transition through the environment from the original state space S, R: S×A×S′=>R represents a reward function obtained by taking the action A that changes from state S to state S′.

### Claim 14 (depends on 1)

The method of claim 1, comprising representing energy management strategy states by a vector including indoor temperature, inner wall temperature, outer wall temperature, state of charge (SoC) of electric vehicle and energy storage system, and water temperature, respectively.

### Claim 15 (depends on 1)

The method of claim 1, comprising minimizing operating costs while maximizing occupant comfort levels.

### Claim 16 (depends on 16)

The method of claim 16, comprising optimizing for a reward function including electricity purchase cost, ESS degradation cost and comfort levels related with indoor temperature, electric vehicle state of charge and water temperature as reward terms.

### Claim 17 (depends on 1)

The method of claim 1, comprising receiving data for about 48 time slots per day.

### Claim 18 (depends on 1)

The method of claim 1, comprising receiving intermittent episodes for each operating day

### Claim 19 (depends on 1)

The method of claim 1, comprising receiving data for base load demand, power output of renewable energy, electricity price, and PEV arrival SoC and arrival/departure time.
