# US 2025/0094887 A1 · Method for optimizing parameters of ladder-type carbon trading mechanism based on improved particle swarm optimization (ipso) algorithm

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

- Number: US 2025/0094887 A1
- Document ID: US20250094887A1
- Status: Published application
- Kind: A1
- Application number: 18/015,345
- Filed: 2022-10-20
- Published: 2025-03-20
- Earliest claimed: 2022-06-16
- Assignees: State Grid Jiangsu Electric Power Co., Ltd. Economic Research Institute; State Grid Jiangsu Electric Power Co., Ltd.
- Applicants: State Grid Jiangsu Electric Power Co., Ltd. Economic Research Institute; State Grid Jiangsu Electric Power Co., Ltd.
- Inventors: Quan Chen; Xuanjun Zong; Sheng Zou; Hongwei Zhou; Tao Peng; Weiliang Wang; Wenjia Zhang; Chen Wu; Qun Zhang; Yuan Shen; Wei Feng; Gaofeng Shen; Min Zhang; Kai Yang; Xinyue Kong
- Web page: https://patentgrep.com/patent/US20250094887A1

## CPC

- 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 40/04: Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
- G06Q 50/06: Energy or water supply
- 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 disclosure provides a method for optimizing parameters of a ladder-type carbon trading mechanism based on an improved particle swarm optimization (IPSO) algorithm. The method first obtains information and operating data of a park-level integrated energy system, establishes equipment models and constraints of the park-level integrated energy system, and establishes a ladder-type carbon trading model; then encapsulates a process of optimized low-carbon dispatching of the park-level integrated energy system as a fitness function whose input is parameters of a carbon trading mechanism and output is a carbon emission of the system; and finally, introduces an IPSO algorithm to optimize the fitness function, and outputs optimization result information of the algorithm. The present disclosure verifies effectiveness and rationality of the model and the method that give full play to a role of the ladder-type carbon trading mechanism in the park-level integrated energy system through example analysis.

## Claims

### Claim 1

A method for optimizing parameters of a ladder-type carbon trading mechanism based on an improved particle swarm optimization (IPSO) algorithm, comprising the following steps:
(1) collecting information and operating data of a park-level integrated energy system, comprising a topology framework of the park-level integrated energy system, a capacity and efficiency of an equipment in the park-level integrated energy system, a carbon emission coefficient of a gas turbine, a carbon emission coefficient of a gas boiler, an equivalent carbon emission coefficient of electricity purchased by a superior, an operating cost of the park-level integrated energy system, a constraint on safe operation of the park-level integrated energy system, and information of electric, heat, and gas loads;
(2) establishing a mathematical model of the equipment in the park-level integrated energy system, wherein the mathematical model of the equipment in the park-level integrated energy system comprises a power-to-gas (P2G) equipment model, a gas turbine model, a gas boiler model, a battery model, a gas storage tank model, and a heat storage tank model;
(3) establishing a ladder-type carbon trading model, wherein the ladder-type trading model comprises a carbon emission right quota model of the park-level integrated energy system, an actual carbon emission model of the park-level integrated energy system, and a ladder-type carbon emission trading model, and a mathematical expression of a ladder-type carbon trading cost obtained based on the ladder-type carbon trading model is as follows:
C
CO
2
=
{
λ
⁢
EX
p
EX
p
≤
l
λ
⁢
(
1
+
σ
)
⁢
(
EX
p
-
l
)
+
λ
⁢
l
l
≤
EX
p
≤
2
⁢
l
λ
⁢
(
1
+
2
⁢
σ
)
⁢
(
EX
p
-
2
⁢
l
)
+
λ
⁢
(
2
+
σ
)
⁢
l
2
⁢
l
≤
EX
p
≤
3
⁢
l
λ
⁢
(
1
+
3
⁢
σ
)
⁢
(
EX
p
-
3
⁢
l
)
+
λ
⁢
(
3
+
3
⁢
σ
)
⁢
l
3
⁢
l
≤
EX
p
≤
4
⁢
l
λ
⁢
(
1
+
4
⁢
σ
)
⁢
(
EX
p
-
4
⁢
l
)
+
λ
⁢
(
4
+
6
⁢
σ
)
⁢
l
EX
p
≥
4
⁢
l
wherein CCO2 represents the ladder-type carbon transaction cost; λ represents a basic carbon trading price; l represents a carbon emission interval length; σ represents a carbon trading price growth rate; and EXp represents a carbon emission right trading volume of the park-level integrated energy system;
(4) taking a minimum overall cost constituted by the system operating cost Crun of the park-level integrated energy system and the ladder-type carbon trading cost CCO2 as a goal of optimized low-carbon economic dispatching, and encapsulating a process of the optimized low-carbon economic dispatching of the park-level integrated energy system as a fitness function, wherein an input of the fitness function comprises three parameters of a ladder-type carbon trading mechanism, namely, the basic carbon trading price, the carbon emission interval length, and the carbon trading price growth rate, and an output of the fitness function is a carbon emission of the park-level integrated energy system; and
(5) introducing an improved particle swarm optimization (IPSO) algorithm to optimize the fitness function in the step (4), comprising adjusting an inertia weight in a particle swarm optimization (PSO) algorithm by taking an S-shaped function, a trigonometric function, and a random function as a carrier, and optimizing an acceleration factor in the PSO algorithm based on the trigonometric function to obtain optimization result information, wherein an optimization process comprises performing iterative optimization on the fitness function by taking a maximum quantity of iterations as a termination condition and a lowest carbon emission of the system as a goal, and the optimization result information comprises the basic carbon trading price, the carbon emission interval length, the carbon trading price growth rate, and the carbon emission of the park-level integrated energy system.

### Claim 2 (depends on 1)

The method for optimizing parameters of a ladder-type carbon trading mechanism based on an IPSO algorithm according to claim 1, wherein
a mathematical expression of the P2G equipment model is as follows:
Pgb_ot=ηgbPgbt
wherein Pp2g_ot and Pp2gt respectively represent an output and an input of P2G equipment at a time point t; and ηp2g represents P2G conversion efficiency;
a mathematical expression of the gas turbine model is as follows:
{
P
gt
⁢
_
⁢
e
t
=
η
gte
⁢
P
gt
t
P
gt
⁢
_
⁢
h
t
=
η
gth
⁢
P
gt
t
wherein Pgt_et, Pgt_ht, and Pgtt respectively represent an output electricity quantity, an output heat amount, and an input gas amount of the gas turbine at the time point t; and ηgte and ηgth respectively represent gas-to-power efficiency and gas-to-heat efficiency of the gas turbine;
a mathematical expression of the gas boiler model is as follows:
Pgb_ot=ηgbPgbt
wherein Pgb_ot and Pgbt respectively represent an output and an input of the gas boiler at the time point t; and ηgb represents conversion efficiency of the gas boiler; and
an electricity/gas/heat storage model comprises three kinds of energy storage equipment: a battery, a heat storage tank, and a gas storage tank, and a unified universal model is adopted for processing, wherein the universal model comprises a balance constraint of stored energy, constraints on upper and lower limits of the stored energy, a constraint on equal quantities at the beginning and end of an energy storage cycle, and power constraints of energy charging and discharging, and a mathematical expression of the universal model is as follows:
{
E
x
t
+
1
=
E
x
t
+
(
P
xchar
t
⁢
η
xchar
-
P
xdis
t
/
η
xdis
)
⁢
Δ
⁢
t
E
x
min
≤
E
x
t
≤
E
x
max
E
x
24
=
E
x
1
0
≤
P
xdis
t
≤
(
1
-
n
x
)
⁢
P
xdis
max
0
≤
P
xchar
t
≤
n
x
⁢
P
xchar
max
wherein x represents an energy type, which is set to electricity, heat or gas; Ext represents stored energy of an energy storage system in a unit time period t; Pxchart and Pxdist respectively represent energy charging power and energy discharging power of the energy storage system; ηxchar and ηxdis respectively represent energy charging efficiency and energy discharging efficiency of the energy storage system; Exmax and Exmin respectively represent upper and lower limits of the stored energy of the energy storage system; Exmax and Exmin respectively represent stored energy of the energy storage system at the beginning and end of one-day dispatching, wherein it is required that the stored energy of the energy storage system returns to an original value after the one-day dispatching; Pxcharmax and Pxdismax respectively represent upper limits of the energy charging power and the energy discharging power of the energy storage system; nx represents a variable ranging from 0 to 1, which is used to ensure that the energy storage system stores and discharges energy at different time in each time period, wherein when nx is 1, the energy storage system stores the energy; or when nx is 0, the energy storage system discharges the energy; and Δt represents the unit time period.

### Claim 3 (depends on 1)

The method for optimizing parameters of a ladder-type carbon trading mechanism based on an IPSO algorithm according to claim 1, wherein the ladder-type carbon trading model established in the step (3) comprises the following sub-models:
a mathematical expression of the carbon emission right quota model is as follows:
{
EX
PIESo
=
EX
eo
,
buy
+
EX
g
⁢
t
⁢
o
+
EX
g
⁢
b
⁢
o
EX
eo
,
buy
=
μ
e
⁢
∑
t
=
1
T
P
e
t
EX
gto
=
μ
h
⁢
∑
t
=
1
T
(
P
gt
t
⁢
η
gte
⁢
δ
e
,
h
+
P
gt
t
⁢
η
gth
)
EX
gbo
=
μ
h
⁢
∑
t
=
1
T
P
gb
t
⁢
η
gb
where EXPIESo, EXeo,buy, EXgto, and EXgbo respectively represent a carbon emission right quota of the park-level integrated energy system, a carbon emission right quota of the electricity purchased by the superior, a carbon emission right quota of the gas turbine, and a carbon emission right quota of the gas boiler; μe and μh respectively represent a carbon emission right quota for generating unit electric power and a carbon emission right quota for generating unit thermal power; δe,h represent an electric power conversion parameter and a thermal power conversion parameter; Pet, Pgtt, and Pgbt respectively represent a quantity of electricity purchased by the superior, input power of the gas turbine, input power of the gas boiler at a time point t; ηgte, ηgth, and ηgb respectively represent gas-to-power efficiency of the gas turbine, gas-to-heat efficiency of the gas turbine, and conversion efficiency of the gas boiler; and T represents a dispatching cycle;
a mathematical expression of the actual carbon emission model is as follows:
{
EX
PIES
=
EX
e
,
buy
+
EX
gt
+
EX
gb
EX
e
,
buy
=
ξ
e
⁢
∑
t
=
1
T
P
e
t
EX
gt
=
ξ
h
⁢
∑
t
=
1
T
(
P
gt
t
⁢
η
gte
⁢
δ
e
,
h
+
P
gt
t
⁢
η
gth
)
EX
gb
=
ξ
h
⁢
∑
t
=
1
T
P
gb
t
⁢
η
gb
where EXPIES, EXe,buy, EXgt, and EXgb respectively represent an actual carbon emission of the park-level integrated energy system, an actual carbon emission of the electricity purchased by the superior, an actual carbon emission of the gas turbine, and an actual carbon emission of the gas boiler; and ξe and ξh respectively represent an actual carbon emission for generating the unit electric power and an actual carbon emission for generating the unit thermal power; and
an actual carbon emission right trading volume in a carbon trading market in the ladder-type carbon emission trading model is calculated according to the following formula:
EX
p
=
EX
PIESo
-
EX
PIES
wherein EXp, EXPIESo, and EXPIES respectively represent the carbon emission right trading volume, the carbon emission right quota, and the actual carbon emission of the park-level integrated energy system.

### Claim 4 (depends on 1)

The method for optimizing parameters of a ladder-type carbon trading mechanism based on an IPSO algorithm according to claim 1, wherein the step (4) specifically comprises the following procedure:
determining an objective function, comprehensively considering the system operating cost Crun of the park-level integrated energy system and the ladder-type carbon trading cost CCO2, and building the goal of the optimized low-carbon economic dispatching, namely, a lowest comprehensive operating cost C, wherein the goal of the optimized low-carbon economic dispatching is expressed as follows:
C
=
min
⁢
(
C
run
+
C
CO
2
)
a mathematical expression of the system operating cost is as follows:
{
C
run
=
C
buy
+
C
save
C
buy
=
∑
t
=
1
T
α
t
⁢
P
e
t
+
∑
t
=
1
T
β
t
⁢
P
g
t
C
save
=
∑
t
=
1
T
(
ψ
gt
⁢
P
gt
t
+
ψ
gb
⁢
P
gb
t
+
ψ
p
⁢
2
⁢
g
⁢
P
p
⁢
2
⁢
g
t
+
ψ
e
⁢
P
edis
t
+
ψ
h
⁢
P
hdis
t
+
ψ
g
⁢
P
gdis
t
)
wherein Cbuy represents an energy purchasing cost; Csave represents an equipment maintenance cost; Pet and Pgt respectively represent a quantity of electricity purchased and an amount of gas purchased in a unit time period t; αt and βt respectively represent an electricity price and a gas price in the time period t; ψgt, ψgb, ψp2g, ψe, ψh, and ψg respectively represent unit maintenance costs of the gas turbine, the gas boiler, P2G equipment, a battery, a heat storage tank, and a gas storage tank; Pgtt, Pgbt and Pp2gt respectively represent input power of the gas turbine, the gas boiler, and the P2G equipment at a time point t; Pedist represents discharging power of the battery in the unit time period t; Pgdist represents gas discharging power of the gas storage tank in the unit period t; and Phdist represents heat discharging power of the heat storage tank in the unit time period t;
a mathematical expression of the ladder-type carbon trading cost is as follows:
EX
p
=
EX
PIESo
-
EX
PIES
C
CO
2
=
{
λ
⁢
EX
p
EX
p
≤
l
λ
⁡
(
1
+
σ
)
⁢
(
EX
p
-
l
)
+
λ
⁢
l
l
≤
EX
p
≤
2
⁢
l
λ
⁡
(
1
+
2
⁢
σ
)
⁢
(
EX
p
-
2
⁢
l
)
+
λ
⁡
(
2
+
σ
)
⁢
l
2
⁢
l
≤
EX
p
≤
3
⁢
l
λ
⁡
(
1
+
3
⁢
σ
)
⁢
(
EX
p
-
3
⁢
l
)
+
λ
⁡
(
3
+
3
⁢
σ
)
⁢
l
3
⁢
l
≤
EX
p
≤
4
⁢
l
λ
⁡
(
1
+
4
⁢
σ
)
⁢
(
EX
p
-
4
⁢
l
)
+
λ
⁡
(
4
+
6
⁢
σ
)
⁢
l
EX
p
≥
4
⁢
l
wherein EXp, EXPIESo, and EXPIES respectively represent the carbon emission right trading volume, a carbon emission right quota, and an actual carbon emission of the park-level integrated energy system; CCO2 represents the ladder-type carbon trading cost; λ represents the basic carbon trading price; l represents the carbon emission interval length; and σ represents the carbon trading price growth rate;
the objective function comprises the following constraints: an electric, gas, and thermal power balance constraint, a wind power output constraint, a P2G equipment constraint, power output and ramping constraints of the gas turbine, power output and ramping constraints of the gas boiler, an electricity/gas/heat storage constraint, and electricity and gas purchasing constraints, wherein
the electric, gas, and thermal power balance constraint is as follows:
{
P
el
t
=
P
e
t
+
P
w
t
+
P
gt
t
⁢
η
gte
+
P
edis
t
-
P
echar
t
-
P
p
⁢
2
⁢
g
t
P
gl
t
=
P
g
t
+
P
p
⁢
2
⁢
g
t
⁢
η
p
⁢
2
⁢
g
+
P
gdis
t
-
P
gt
t
-
P
gchar
t
-
P
gb
t
P
hl
t
=
P
gt
t
⁢
η
gth
+
P
hdis
t
+
P
gb
t
⁢
η
gb
-
P
hchar
t
where Pglt, Phlt, and Pelt respectively represent power of the gas, heat, and electric loads in the park-level integrated energy system at the time point t; Pet, and Pgt respectively represent a quantity of electricity purchased and an amount of gas purchased at the time point t; Pwt represents wind power participating in dispatching at the time point t; Pp2gt, Pgtt, and Pgbt respectively represent the input power of the P2G equipment, the gas turbine, and the gas boiler at the time point t; Pgchart, and Pgdist respectively represent gas storage power and gas discharging power of the gas storage tank at the time point t; Phchart, and Phdist respectively represent heat storage power and heat discharging power of the heat storage tank at the time point t; Pechart, and Pedist respectively represent charging power and discharging power of the battery at the time point t; ηp2g represents energy conversion efficiency of the P2G equipment; and ηgte, ηgth, and ηgb respectively represent gas-to-power efficiency of the gas turbine, gas-to-heat efficiency of the gas turbine, and conversion efficiency of the gas boiler;
the wind power output constraint is as follows:
0≤Pwt≤Pwmax
where Pwmax represents an upper limit of a wind power output;
the P2G equipment constraint is as follows:
0≤Pp2gt≤Pp2gn
wherein Pp2gn represents rated power of the P2G equipment;
the power output and ramping constraints of the gas turbine are as follows:
{
0
≤
P
gt
t
≤
P
gtn
Δ
⁢
P
gt
min
≤
P
gt
t
+
1
-
P
gt
t
≤
Δ
⁢
P
gt
max
where Pgtn represents rated power of the gas turbine; Pgtt represents the input power of the gas turbine at the time point t; and ΔPgtmax and ΔPgtmin respectively represent upper and lower limits of a ramping rate of the gas turbine;
the power output and ramping constraints of the gas boiler are as follows:
{
0
≤
P
gb
t
≤
P
gbn
Δ
⁢
P
gb
min
≤
P
gb
t
+
1
-
P
gb
t
≤
Δ
⁢
P
gb
max
wherein Pgbn represents rated power of the gas boiler; Pgbt represents the input power of the gas boiler at the time point t; and ΔPgbmax and ΔPgbmin respectively represent upper and lower limits of a ramping rate of the gas boiler;
the electricity/gas/heat storage constraint is as follows:
the battery, the heat storage tank, and the gas storage tank adopt a unified universal model for processing, comprising a balance constraint of stored energy, constraints on upper and lower limits of the stored energy, a constraint on equal quantities at the beginning and end of an energy storage cycle, and power constraints of energy charging and discharging:
{
E
x
t
+
1
=
E
x
t
+
(
P
xchar
t
⁢
η
xchar
-
P
xdis
t
/
η
xdis
)
⁢
Δ
⁢
t
E
x
min
≤
E
x
t
≤
E
x
max
E
x
2
⁢
4
=
E
x
1
0
≤
P
xdis
t
≤
(
1
-
n
x
)
⁢
P
xdis
max
0
≤
P
xchar
t
≤
n
x
⁢
P
xchar
max
wherein x represents an energy type, which is set to electricity, heat or gas; Ext represents stored energy of an energy storage system in the unit time period t; Pxchart and Pxdist respectively represent energy charging power and energy discharging power of the energy storage system; ηxchar and ηxdis respectively represent energy charging efficiency and energy discharging efficiency of the energy storage system; Exmax and Exmin respectively represent upper and lower limits of the stored energy of the energy storage system; Ex1 and Ex24 respectively represent stored energy of the energy storage system at the beginning and end of one-day dispatching, wherein it is required that the stored energy of the energy storage system returns to an original value after the one-day dispatching; Pxcharmax and Pxdismax respectively represent upper limits of the energy charging power and the energy discharging power of the energy storage system; and nx represents a variable ranging from 0 to 1, which is used to ensure that the energy storage system stores and discharges energy at different time in each time period, wherein when nx is 1, the energy storage system stores the energy; or when the variable is 0, the energy storage system discharges the energy; and
the park-level integrated energy system is connected to an external power network and natural gas network, and an energy exchange scope of the park-level integrated energy system needs to be constrained, wherein the electricity and gas purchasing constraints are determined as follows:
{
P
e
min
≤
P
e
t
≤
P
e
max
P
g
min
≤
P
g
t
≤
P
g
max
wherein Pemax and Pemin respectively represent upper and lower limits of electric power purchased by the system in the unit time period t; and Pgmax and Pgmin respectively represent upper and lower limits of natural gas power purchased by the system.

### Claim 5 (depends on 1)

The method for optimizing parameters of a ladder-type carbon trading mechanism based on an IPSO algorithm according to claim 1, wherein in the step (5), the introducing an IPSO algorithm to optimize the fitness function in the step (4) specifically comprises:
improving the inertia weight: taking the S-shaped function, the trigonometric function, and the random function as the carrier, and optimizing and adjusting ω, wherein an expression for improving the inertia weight is as follows:
ω
=
1
1
+
e
-
k
iter
-
0.1
+
rand
*
cos
⁡
(
π
2
*
iter
Iter_max
)
wherein ω represents the inertia weight; iter represents a current quantity of iterations; Iter_max represents the maximum quantity of iterations; rand represents a uniformly distributed random number of [0,1]; and k represents a constant, and k=30;
improving the acceleration factor: improving and nonlinearly adjusting the acceleration factor based on the trigonometric function, wherein a calculation formula for improving the acceleration factor is as follows:
c
1
=
2
-
1
.
5
*
sin
⁡
(
π
2
*
iter
Iter_max
)
c
2
=
0
.
5
+
1
.
5
*
sin
⁡
(
π
2
*
iter
Iter_max
)
wherein c1 and c2 represent acceleration factors; iter represents the current quantity of iterations; Iter_max represents the maximum quantity of iterations; and value ranges of c1 and c2 are [0.5,2]; and
optimizing the IPSO algorithm, which specifically comprises step 1 to step 8:
step 1: initializing the algorithm, and setting a swarm size m, a particle dimension d, the acceleration factors C1 and C2, a maximum flight speed Vmax of a particle, a minimum flight speed Vmin of the particle, and the maximum quantity of iterations Iter_max;
step 2: randomly initializing a speed and a position of the particle within a specified search range;
step 3: calculating an inertia weight and an acceleration factor of the particle before a next iteration based on the calculation formula for improving the inertia weight and the calculation formula for improving the acceleration factor;
step 4: calculating the speed and the position of the particle;
step 5: calculating a fitness value fi of each particle based on the set fitness function, calculating an individual extremum Pbest and a global extremum Gbest based on fi, comparing fi with the individual extremum Pbest, and if a result shows that fi is superior to the individual extremum Pbest, setting Pbest=fi;
step 6: comparing the individual extremum Pbest of each particle with the global extremum Gbest in a swarm, and if a result shows that Gbest is superior to the global extremum Gbest, setting Gbest=Pbest;
step 7: determining whether the termination condition described in the step (5) is met; and if the termination condition is met, stopping the operation and performing step 8; or if the termination condition is not met, returning to the step 3; and
step 8: outputting a global optimal value.
