CN114764681A - P2P transaction mode-based interconnected comprehensive energy network scheduling method and device - Google Patents

P2P transaction mode-based interconnected comprehensive energy network scheduling method and device Download PDF

Info

Publication number
CN114764681A
CN114764681A CN202210152840.4A CN202210152840A CN114764681A CN 114764681 A CN114764681 A CN 114764681A CN 202210152840 A CN202210152840 A CN 202210152840A CN 114764681 A CN114764681 A CN 114764681A
Authority
CN
China
Prior art keywords
network
power
energy
electric heating
cost
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210152840.4A
Other languages
Chinese (zh)
Inventor
梅生伟
魏韡
曹阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN202210152840.4A priority Critical patent/CN114764681A/en
Publication of CN114764681A publication Critical patent/CN114764681A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • G06Q30/0206Price or cost determination based on market factors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Game Theory and Decision Science (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Data Mining & Analysis (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Educational Administration (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention provides a P2P transaction mode-based interconnected comprehensive energy network scheduling method and device, wherein the method is applied to an interconnected comprehensive energy network system, the interconnected comprehensive energy network system comprises a plurality of sub electric heating networks, and the method comprises the following steps: establishing an operation model of the interconnected comprehensive energy network system based on the P2P transaction mode; and carrying out distributed solving on the operation model to obtain a first electric energy quantity related to the purchase electric energy cost of a superior electric power network, active power output by the distributed generator set related to the operation cost of the distributed generator set, natural gas power input by the cogeneration set related to the operation cost of the cogeneration set, and a second electric energy quantity related to the purchase electric energy cost of the same-level electric heating networks, so that the operation cost of each sub-electric heating network and the operation cost of the interconnected comprehensive energy network system are the lowest. The invention realizes the maximization of the overall benefit of the interconnected comprehensive energy network system.

Description

基于P2P交易模式的互联综合能源网络调度方法及装置Interconnected integrated energy network scheduling method and device based on P2P transaction mode

技术领域technical field

本发明涉及互联综合能源网络技术领域,尤其涉及一种基于P2P交易模式的互联综合能源网络调度方法及装置。The invention relates to the technical field of interconnected integrated energy networks, in particular to a method and device for interconnected integrated energy network scheduling based on a P2P transaction mode.

背景技术Background technique

能源危机和环境污染是现代社会的两大问题。为了应对这些危机,以风电、光伏为主可再生能源近年来得到了快速的发展。为了促进新能源的消纳,电力系统内部开展了一系列的研究,诸如电池储能、飞轮储能、压缩空气储能等一系列储能技术的应用,以及需求侧响应的应用等。然而,这些技术仍然只是利用电力系统的灵活性潜力,在面对大规模的新能源消纳问题时仍有很大的限制和不足。Energy crisis and environmental pollution are two major problems in modern society. In order to cope with these crises, renewable energy, mainly wind power and photovoltaics, has developed rapidly in recent years. In order to promote the consumption of new energy, a series of researches have been carried out in the power system, such as the application of a series of energy storage technologies such as battery energy storage, flywheel energy storage, and compressed air energy storage, as well as the application of demand side response. However, these technologies are still only exploiting the flexibility potential of the power system, and there are still great limitations and deficiencies in the face of large-scale new energy consumption problems.

电能作为一种即发即用、瞬时平衡的能量形式,其传输速度极快但存储较为困难。相反,热能作为一种延迟性的能量形式,具有易存储、难传输的特点,与电能难存储、易传输的特点存在着天然的互补特性,故热力系统相对于电力系统是一个巨大的惯性系统,可以为电网提供巨大的储能潜力。因此,电热耦合系统(又称互联综合能源网络)可以大幅提升系统的灵活性,促进新能源的大规模消纳。当前,寻找一种最大程度降低互联综合能源网络系统的运行成本成为当前研究热点。Electric energy, as a ready-to-use, instantaneously balanced form of energy, is extremely fast to transmit but difficult to store. On the contrary, as a delayed energy form, thermal energy has the characteristics of easy storage and difficult transmission, and has natural complementary characteristics with the characteristics of electrical energy, which is difficult to store and easy to transmit. Therefore, the thermal system is a huge inertial system relative to the electric power system. , which can provide huge energy storage potential for the grid. Therefore, the electrothermal coupling system (also known as the interconnected integrated energy network) can greatly improve the flexibility of the system and promote the large-scale consumption of new energy. At present, finding a way to minimize the operating cost of the interconnected integrated energy network system has become a current research hotspot.

发明内容SUMMARY OF THE INVENTION

本发明提供一种基于P2P交易模式的互联综合能源网络调度方法及装置,可以保证每个电热主体自身利益基础上,实现互联综合能源网络系统的整体利益的最大化。The invention provides an interconnected integrated energy network scheduling method and device based on a P2P transaction mode, which can maximize the overall benefits of the interconnected integrated energy network system on the basis of ensuring the interests of each electric heating subject.

本发明提供一种基于P2P交易模式的互联综合能源网络调度方法,所述方法应用于互联综合能源网络系统,其中,所述互联综合能源网络系统包括多个子电热网络,所述子电热网络至少包括电力网络、热力网络、分布式发电机组、风电机组、热电联产机组、热泵、储电装置以及储热装置,所述子电热网络之间通过软开关连接且采用P2P交易模式进行交易,所述方法包括:基于所述P2P交易模式,建立关于所述互联综合能源网络系统的运行模型,其中,所述运行模型包括各个所述子电热网络的运行成本,所述运行成本包括上级电力网络购买电能成本、分布式发电机组运行成本、热电联产机组运行成本和同级电热网络购买电能成本;对所述运行模型进行分布式求解,得到关于所述上级电力网络购买电能成本的第一电能数量、关于所述分布式发电机组运行成本的分布式发电机组输出的有功功率、关于所述热电联产机组运行成本的热电联产机组输入的天然气功率,以及关于所述同级电热网络购买电能成本的第二电能数量,以使各个所述子电热网络的运行成本和所述互联综合能源网络系统的运行成本最低。The present invention provides an interconnected integrated energy network scheduling method based on a P2P transaction mode. The method is applied to an interconnected integrated energy network system, wherein the interconnected integrated energy network system includes a plurality of sub-electric heating networks, and the sub-electric heating networks at least include Electric power network, thermal network, distributed generating unit, wind turbine, cogeneration unit, heat pump, power storage device and heat storage device, the sub-electric heating networks are connected through soft switches and trade in a P2P transaction mode, the The method includes: establishing an operation model about the interconnected integrated energy network system based on the P2P transaction mode, wherein the operation model includes the operation cost of each of the sub-electric heating networks, and the operation cost includes the purchase of electric energy by the upper-level power network cost, operating cost of distributed generating units, operating cost of cogeneration unit, and cost of purchasing electric energy from the same-level electric heating network; perform distributed solution to the operating model, and obtain the first electric energy quantity, The active power output by the distributed generator set regarding the operating cost of the distributed generator set, the natural gas power input by the cogeneration unit regarding the operating cost of the cogeneration unit, and the cost of purchasing electricity from the same-level electric heating network The second amount of electrical energy is to minimize the operating cost of each of the sub-electrical heating networks and the operating cost of the interconnected integrated energy network system.

根据本发明提供的一种基于P2P交易模式的互联综合能源网络调度方法,所述关于所述互联综合能源网络系统的运行模型包括各个所述子电热网络的运行成本之和,所述运行成本采用以下公式确定:According to an interconnected integrated energy network scheduling method based on a P2P transaction mode provided by the present invention, the operation model for the interconnected integrated energy network system includes the sum of the operation costs of each of the sub-electrical heating networks, and the operation cost adopts The following formula determines:

Figure BDA0003511272270000021
Figure BDA0003511272270000021

其中,

Figure BDA0003511272270000022
表示所述运行成本,
Figure BDA0003511272270000023
表示所述上级电力网络购买电能成本,
Figure BDA0003511272270000024
表示所述分布式发电机组运行成本,
Figure BDA0003511272270000025
表示所述热电联产机组运行成本,
Figure BDA0003511272270000026
表示所述同级电热网络购买电能成本。in,
Figure BDA0003511272270000022
represents the running cost,
Figure BDA0003511272270000023
represents the cost of purchasing power from the upper-level power network,
Figure BDA0003511272270000024
represents the operating cost of the distributed generator set,
Figure BDA0003511272270000025
represents the operating cost of the cogeneration unit,
Figure BDA0003511272270000026
Indicates the cost of electric energy purchased by the electric heating network at the same level.

根据本发明提供的一种基于P2P交易模式的互联综合能源网络调度方法,所述上级电力网络购买电能成本采用以下公式确定:According to an interconnected comprehensive energy network scheduling method based on the P2P transaction mode provided by the present invention, the cost of purchasing electric energy from the upper-level electric power network is determined by the following formula:

Figure BDA0003511272270000031
Figure BDA0003511272270000031

其中,

Figure BDA0003511272270000032
表示从上级电力网络购买电能的单价,
Figure BDA0003511272270000033
表示关于所述上级电力网络购买电能成本的第一电能数量,所述电力网络具有如下模型:in,
Figure BDA0003511272270000032
Represents the unit price of electric energy purchased from the upper-level power network,
Figure BDA0003511272270000033
Represents the first amount of electrical energy with respect to the cost of purchasing electrical energy from the upper-level electrical network, the electrical network having the following model:

Figure BDA0003511272270000034
Figure BDA0003511272270000034

Figure BDA0003511272270000035
Figure BDA0003511272270000035

Vj,t=Vi,t-(rijPij,t+xijQij,t)/V0 V j,t =V i,t -(r ij P ij,t +x ij Q ij,t )/V 0

其中,pj,t表示所述电力网络中节点j处注入的总有功功率,包括关于所述上级电力网络购买电能成本的第一电能数量

Figure BDA0003511272270000036
关于所述同级电热网络购买电能成本的第二电能数量
Figure BDA0003511272270000037
所述分布式发电机组的有功出力
Figure BDA0003511272270000038
所述热电联产机组的有功出力
Figure BDA0003511272270000039
所述风电机组的有功出力
Figure BDA00035112722700000310
所述储电装置的充电功率
Figure BDA00035112722700000311
和放电功率
Figure BDA00035112722700000312
Figure BDA00035112722700000313
表示所述电力网络中节点j处的总有功负荷,包括基础电负荷和所述热泵消耗的有功功率
Figure BDA00035112722700000314
qj,t表示所述电力网络中节点j处注入的总无功功率,包括来自上级电力网络的无功功率
Figure BDA00035112722700000315
和所述分布式发电机组的无功出力
Figure BDA00035112722700000316
Figure BDA00035112722700000317
表示所述电力网络中节点j处的无功负荷;Pij,t和Qij,t分别表示所述电力网络中节点i到节点j的线路有功功率和无功功率;rij和xij分别表示所述电力网络中节点i到节点j的线路电阻和线路电抗;Vi,t表示所述电力网络中节点i的电压幅值;V0表示基准电压;
Figure BDA0003511272270000041
表示节点j的下游节点集合。Wherein, p j,t represents the total active power injected at node j in the power network, including the first amount of electrical energy related to the cost of electrical energy purchased by the upper-level power network
Figure BDA0003511272270000036
The second amount of electric energy about the cost of electric energy purchased by the electric heating network at the same level
Figure BDA0003511272270000037
Active power output of the distributed generator set
Figure BDA0003511272270000038
Active power output of the cogeneration unit
Figure BDA0003511272270000039
Active power output of the wind turbine
Figure BDA00035112722700000310
The charging power of the power storage device
Figure BDA00035112722700000311
and discharge power
Figure BDA00035112722700000312
Figure BDA00035112722700000313
represents the total active load at node j in the power network, including the base electrical load and the active power consumed by the heat pump
Figure BDA00035112722700000314
q j,t represents the total reactive power injected at node j in the power network, including the reactive power from the upper-level power network
Figure BDA00035112722700000315
and the reactive power output of the distributed generator set
Figure BDA00035112722700000316
Figure BDA00035112722700000317
represents the reactive load at node j in the power network; P ij,t and Q ij,t respectively represent the active power and reactive power of the line from node i to node j in the power network; r ij and x ij respectively represents the line resistance and line reactance from node i to node j in the power network; V i,t represents the voltage amplitude of node i in the power network; V 0 represents the reference voltage;
Figure BDA0003511272270000041
Represents the set of downstream nodes of node j.

根据本发明提供的一种基于P2P交易模式的互联综合能源网络调度方法,所述分布式发电机组运行成本采用以下公式确定:According to an interconnected comprehensive energy network scheduling method based on a P2P transaction mode provided by the present invention, the operating cost of the distributed generator set is determined by the following formula:

Figure BDA0003511272270000042
Figure BDA0003511272270000042

其中,

Figure BDA0003511272270000043
表示所述分布式发电机组输出的有功功率,
Figure BDA0003511272270000044
表示第一常系数,
Figure BDA0003511272270000045
表示第二常系数,
Figure BDA0003511272270000046
表示第三常系数,其中,所述分布式发电机组具有如下模型:in,
Figure BDA0003511272270000043
represents the active power output by the distributed generator set,
Figure BDA0003511272270000044
represents the first constant coefficient,
Figure BDA0003511272270000045
represents the second constant coefficient,
Figure BDA0003511272270000046
represents the third constant coefficient, wherein the distributed generator set has the following model:

Figure BDA0003511272270000047
Figure BDA0003511272270000047

Figure BDA0003511272270000048
Figure BDA0003511272270000048

其中,

Figure BDA0003511272270000049
表示所述分布式发电机组输出的无功功率;
Figure BDA00035112722700000410
Figure BDA00035112722700000411
分别表示所述分布式发电机组的有功功率的上限和下限;
Figure BDA00035112722700000412
Figure BDA00035112722700000413
分别表示所述分布式发电机组的无功功率的上限和下限。in,
Figure BDA0003511272270000049
Represents the reactive power output by the distributed generator set;
Figure BDA00035112722700000410
and
Figure BDA00035112722700000411
respectively represent the upper limit and lower limit of the active power of the distributed generator set;
Figure BDA00035112722700000412
and
Figure BDA00035112722700000413
respectively represent the upper limit and lower limit of the reactive power of the distributed generator set.

根据本发明提供的一种基于P2P交易模式的互联综合能源网络调度方法,所述热电联产机组运行成本采用以下公式确定:According to an interconnected comprehensive energy network scheduling method based on the P2P transaction mode provided by the present invention, the operating cost of the cogeneration unit is determined by the following formula:

Figure BDA00035112722700000414
Figure BDA00035112722700000414

其中,

Figure BDA00035112722700000415
表示天然气单价,
Figure BDA00035112722700000416
表示所述热电联产机组输入的天然气功率,其中,所述热电联产机组具有如下模型:in,
Figure BDA00035112722700000415
represents the unit price of natural gas,
Figure BDA00035112722700000416
Represents the natural gas power input by the cogeneration unit, wherein the cogeneration unit has the following model:

Figure BDA00035112722700000417
Figure BDA00035112722700000417

Figure BDA00035112722700000418
Figure BDA00035112722700000418

Figure BDA00035112722700000419
Figure BDA00035112722700000419

其中,

Figure BDA00035112722700000420
Figure BDA00035112722700000421
分别表示所述热电联产机组输出的电功率和热功率;
Figure BDA00035112722700000422
Figure BDA00035112722700000423
分别表示所述热电联产机组的气转电效率和气转热效率;
Figure BDA0003511272270000051
Figure BDA0003511272270000052
分别表示所述热电联产机组输入天然气功率的上限和下限。in,
Figure BDA00035112722700000420
and
Figure BDA00035112722700000421
respectively represent the electrical power and thermal power output by the cogeneration unit;
Figure BDA00035112722700000422
and
Figure BDA00035112722700000423
respectively represent the gas-to-electricity conversion efficiency and gas-to-heat conversion efficiency of the cogeneration unit;
Figure BDA0003511272270000051
and
Figure BDA0003511272270000052
respectively represent the upper limit and lower limit of the input natural gas power of the cogeneration unit.

根据本发明提供的一种基于P2P交易模式的互联综合能源网络调度方法,所述同级电热网络购买电能成本采用以下公式确定:According to an interconnected comprehensive energy network scheduling method based on a P2P transaction mode provided by the present invention, the electricity purchase cost of the electric heating network at the same level is determined by the following formula:

Figure BDA0003511272270000053
Figure BDA0003511272270000053

其中,

Figure BDA0003511272270000054
表示基于P2P交易模式的同级电热网络间购买电能的单价,
Figure BDA0003511272270000055
表示关于子电热网络m和子电热网络n之间的同级电热网络购买电能成本的第二电能数量,其中,连接子电热网络m和子电热网络n的所述软开关具有如下模型:in,
Figure BDA0003511272270000054
Indicates the unit price of electric energy purchased between electric heating networks of the same level based on the P2P transaction mode,
Figure BDA0003511272270000055
Represents the second electric energy quantity with respect to the cost of electric energy purchased by the electric heating network at the same level between the sub electric heating network m and the sub electric heating network n, wherein the soft switch connecting the sub electric heating network m and the sub electric heating network n has the following model:

Figure BDA0003511272270000056
Figure BDA0003511272270000056

Figure BDA0003511272270000057
Figure BDA0003511272270000057

其中,

Figure BDA0003511272270000058
表示所述软开关中的有功功率损耗;
Figure BDA0003511272270000059
表示所述软开关的功率损耗系数;Mn表示与所述子电热网络n连接的子电热网络集合。in,
Figure BDA0003511272270000058
represents the active power loss in the soft switching;
Figure BDA0003511272270000059
represents the power loss coefficient of the soft switch; Mn represents the set of sub-electrical heating networks connected to the sub-electrical heating network n.

根据本发明提供的一种基于P2P交易模式的互联综合能源网络调度方法,所述对所述运行模型进行分布式求解,包括:获取目标辅助变量,其中,所述目标辅助变量为关于所述同级电热网络购买电能成本的第二电能数量的辅助变量;基于P2P交易模式的需求和供给的相等性以及所述目标辅助变量,在所述运行模型中隐去所述同级电热网络购买电能成本,得到简化后运行模型;对所述简化后运行模型进行矩阵转换,得到关于所述简化后运行模型的矩阵模型,并构建关于所述矩阵模型的增广拉格朗日函数;基于所述增广拉格朗日函数,利用交替方向乘子法对所述运行模型进行分布式求解。According to an interconnected comprehensive energy network scheduling method based on a P2P transaction mode provided by the present invention, the distributed solution to the operating model includes: acquiring target auxiliary variables, wherein the target auxiliary variables are related to the same The auxiliary variable of the second electric energy quantity of the electric energy purchased by the electric heating network of the same level; based on the equality of demand and supply in the P2P transaction mode and the target auxiliary variable, the electric energy purchased by the electric heating network of the same level is hidden in the operating model. , obtain a simplified running model; perform matrix transformation on the simplified running model to obtain a matrix model about the simplified running model, and construct an augmented Lagrangian function about the matrix model; Broad Lagrangian function, distributed solution of the operating model using alternating direction multiplier method.

根据本发明提供的一种基于P2P交易模式的互联综合能源网络调度方法,所述简化后运行模型包括约束函数,所述约束函数包括关于所述同级电热网络购买电能成本的第二电能数量,所述关于所述简化后运行模型的矩阵模型具有如下模型:According to an interconnected integrated energy network scheduling method based on a P2P transaction mode provided by the present invention, the simplified operation model includes a constraint function, and the constraint function includes a second electric energy quantity related to the cost of electric energy purchased by the electric heating network at the same level, The matrix model about the simplified running model has the following model:

Figure BDA0003511272270000061
Figure BDA0003511272270000061

Figure BDA0003511272270000062
Figure BDA0003511272270000062

Figure BDA0003511272270000063
Figure BDA0003511272270000063

Figure BDA0003511272270000064
Figure BDA0003511272270000064

其中,yn表示所述简化后运行模型中除所述关于所述同级电热网络购买电能成本的第二电能数量之外的剩余决策变量;zn表示所述简化后运行模型中所述约束函数的关于所述同级电热网络购买电能成本的第二电能数量;

Figure BDA0003511272270000065
表示所述目标辅助变量;fn、dn、Cn、Dn和En均表示常系数。Wherein, y n represents the remaining decision variables in the simplified operation model except for the second electric energy quantity related to the electric energy purchased by the electric heating network of the same level; z n represents the constraints in the simplified operation model a second amount of electric energy as a function of the cost of electric energy purchased by the electric heating network at the same level;
Figure BDA0003511272270000065
represents the target auxiliary variable; f n , d n , C n , D n and En all represent constant coefficients.

根据本发明提供的一种基于P2P交易模式的互联综合能源网络调度方法,所述增广拉格朗日函数采用以下公式确定:According to an interconnected integrated energy network scheduling method based on a P2P transaction mode provided by the present invention, the augmented Lagrangian function is determined by the following formula:

Figure BDA0003511272270000066
Figure BDA0003511272270000066

其中,λn表示关于约束函数

Figure BDA0003511272270000067
的对偶变量,用于表示基于P2P交易模式的同级电热网络间购买电能的单价;ρ表示惩罚项参数。Among them, λ n represents the constraint function with respect to
Figure BDA0003511272270000067
The dual variable is used to represent the unit price of electric energy purchased between the same-level electric heating networks based on the P2P transaction mode; ρ represents the penalty item parameter.

根据本发明提供的一种基于P2P交易模式的互联综合能源网络调度方法,所述基于所述增广拉格朗日函数,利用交替方向乘子法对所述运行模型进行分布式求解,包括:According to an interconnected comprehensive energy network scheduling method based on a P2P transaction mode provided by the present invention, the distributed solution to the operation model by using the alternating direction multiplier method based on the augmented Lagrangian function includes:

S1:确定收敛阈值ε、确定初始化的基于P2P交易模式的同级电热网络间购买电能的单价

Figure BDA0003511272270000068
以及设置迭代轮次次数k=0,其中,收敛阈值ε>0;S1: Determine the convergence threshold ε, and determine the unit price of electric energy purchased between the same-level electric heating networks based on the initialized P2P transaction mode
Figure BDA0003511272270000068
and setting the number of iteration rounds k=0, where the convergence threshold ε>0;

S2:基于各个所述子电热网络的独立性,并行更新所述简化后运行模型中除所述关于所述同级电热网络购买电能成本的第二电能数量之外的剩余决策变量yn,以及所述简化后运行模型中所述约束函数的关于所述同级电热网络购买电能成本的第二电能数量zn,其中,S2: Based on the independence of each of the sub-electric heating networks, update the remaining decision variables yn in the simplified operating model in parallel except for the second amount of electric energy related to the cost of electric energy purchased by the electric heating network at the same level, and the second electric energy quantity z n of the constraint function in the simplified operation model with respect to the electric energy purchased by the electric heating network of the same level, wherein,

Figure BDA0003511272270000071
Figure BDA0003511272270000071

s.t.Cnyn+Dnzn≤fn stC n y n +D n z n ≤f n

S3:将所述子电热网络的更新后的第二电能数量zn k+1分享至所述互联综合能源网络系统中的其他子电热网络,并对目标辅助变量

Figure BDA0003511272270000072
进行更新,其中,S3: Share the updated second electric energy quantity z n k+1 of the sub-electric heating network to other sub-electric heating networks in the interconnected integrated energy network system, and adjust the target auxiliary variable
Figure BDA0003511272270000072
to update where,

Figure BDA0003511272270000073
Figure BDA0003511272270000073

Figure BDA0003511272270000074
Figure BDA0003511272270000074

S4:更新基于P2P交易模式的同级电热网络间购买电能的单价

Figure BDA0003511272270000075
其中,S4: Update the unit price of electric energy purchased between electric heating networks of the same level based on the P2P transaction mode
Figure BDA0003511272270000075
in,

Figure BDA0003511272270000076
Figure BDA0003511272270000076

S5:进行收敛性检验,若

Figure BDA0003511272270000077
则终止计算并输出最终的结果
Figure BDA0003511272270000078
否则,更新k←k+1并返回S2。S5: Convergence test is performed, if
Figure BDA0003511272270000077
then terminate the calculation and output the final result
Figure BDA0003511272270000078
Otherwise, update k←k+1 and return to S2.

根据本发明提供的一种基于P2P交易模式的互联综合能源网络调度方法,所述热力网络具有如下模型:According to an interconnected comprehensive energy network scheduling method based on a P2P transaction mode provided by the present invention, the thermal network has the following model:

Figure BDA0003511272270000079
Figure BDA0003511272270000079

Figure BDA00035112722700000710
Figure BDA00035112722700000710

Figure BDA00035112722700000711
Figure BDA00035112722700000711

Figure BDA00035112722700000712
Figure BDA00035112722700000712

Figure BDA0003511272270000081
Figure BDA0003511272270000081

其中,b表示所述热力网络的管道;

Figure BDA0003511272270000082
表示热源注入所述热力网络的总热功率,包括所述热电联产机组的热出力
Figure BDA0003511272270000083
所述热泵的热出力
Figure BDA0003511272270000084
所述储热装置的充热功率
Figure BDA0003511272270000085
和所述储热装置的放热功率
Figure BDA0003511272270000086
Figure BDA0003511272270000087
表示热负荷的热消耗功率;cp表示水的比热容;
Figure BDA0003511272270000088
表示热源处从回水管道注入供水管道的循环水质量流量;
Figure BDA0003511272270000089
表示热负荷处从供水管道注入回水管道的循环水质量流量;
Figure BDA00035112722700000810
Figure BDA00035112722700000811
分别表示供水温度和回水温度;mb,t表示管道b的循环水质量流量;
Figure BDA00035112722700000812
Figure BDA00035112722700000813
分别表示管道b的入口温度和出口温度;γb表示管道b的温度损耗系数;Lb表示管道b的长度;
Figure BDA00035112722700000814
表示环境温度;
Figure BDA00035112722700000815
表示汇合节点处的流体混合温度;
Figure BDA00035112722700000816
表示以节点i为末端的管道集合;
Figure BDA00035112722700000817
表示以节点i为首端的管道集合。Wherein, b represents the pipeline of the thermal network;
Figure BDA0003511272270000082
Indicates the total thermal power injected by the heat source into the thermal network, including the thermal output of the cogeneration unit
Figure BDA0003511272270000083
The heat output of the heat pump
Figure BDA0003511272270000084
The charging power of the heat storage device
Figure BDA0003511272270000085
and the exothermic power of the heat storage device
Figure BDA0003511272270000086
Figure BDA0003511272270000087
Represents the heat consumption power of the heat load; c p represents the specific heat capacity of water;
Figure BDA0003511272270000088
Represents the mass flow of circulating water injected from the return pipe into the water supply pipe at the heat source;
Figure BDA0003511272270000089
Represents the mass flow of circulating water injected from the water supply pipeline into the return pipeline at the heat load;
Figure BDA00035112722700000810
and
Figure BDA00035112722700000811
respectively represent the water supply temperature and return water temperature; m b, t represent the mass flow of circulating water in pipeline b;
Figure BDA00035112722700000812
and
Figure BDA00035112722700000813
represent the inlet temperature and outlet temperature of pipe b, respectively; γ b represents the temperature loss coefficient of pipe b; L b represents the length of pipe b;
Figure BDA00035112722700000814
Indicates the ambient temperature;
Figure BDA00035112722700000815
represents the fluid mixing temperature at the confluence node;
Figure BDA00035112722700000816
Represents a collection of pipes ending with node i;
Figure BDA00035112722700000817
Represents a collection of pipes starting with node i.

根据本发明提供的一种基于P2P交易模式的互联综合能源网络调度方法,所述热泵具有如下模型:According to an interconnected comprehensive energy network scheduling method based on a P2P transaction mode provided by the present invention, the heat pump has the following model:

Figure BDA00035112722700000818
Figure BDA00035112722700000818

Figure BDA00035112722700000819
Figure BDA00035112722700000819

其中,

Figure BDA00035112722700000820
Figure BDA00035112722700000821
分别表示所述热泵消耗的电功率和输出的热功率;COPi表示所述热泵的能效系数;
Figure BDA00035112722700000822
Figure BDA00035112722700000823
分别表示所述热泵输出热功率的上限和下限。in,
Figure BDA00035112722700000820
and
Figure BDA00035112722700000821
respectively represent the electrical power consumed by the heat pump and the output thermal power; COP i represents the energy efficiency coefficient of the heat pump;
Figure BDA00035112722700000822
and
Figure BDA00035112722700000823
respectively represent the upper limit and lower limit of the output heat power of the heat pump.

根据本发明提供的一种基于P2P交易模式的互联综合能源网络调度方法,所述储热装置具有如下模型:According to an interconnected comprehensive energy network scheduling method based on a P2P transaction mode provided by the present invention, the heat storage device has the following model:

Figure BDA0003511272270000091
Figure BDA0003511272270000091

Figure BDA0003511272270000092
Figure BDA0003511272270000092

Figure BDA0003511272270000093
Figure BDA0003511272270000093

其中,

Figure BDA0003511272270000094
Figure BDA0003511272270000095
分别表示所述储热装置的充热功率和放热功率;
Figure BDA0003511272270000096
Figure BDA0003511272270000097
分别表示所述储热装置的充热效率和放热效率;
Figure BDA0003511272270000098
表示所述储热装置的热能损耗率;
Figure BDA0003511272270000099
表示存储在所述储热装置的热能;
Figure BDA00035112722700000910
Figure BDA00035112722700000911
分别表示所述储热装置的充热功率上限和下限;
Figure BDA00035112722700000912
Figure BDA00035112722700000913
分别表示所述储热装置的放热功率上限和下限;
Figure BDA00035112722700000914
Figure BDA00035112722700000915
分别表示所述储热装置的存储热能的上限和下限;Δt表示调度的时间间隔。in,
Figure BDA0003511272270000094
and
Figure BDA0003511272270000095
respectively represent the charging power and the exothermic power of the heat storage device;
Figure BDA0003511272270000096
and
Figure BDA0003511272270000097
respectively represent the heat charging efficiency and the heat release efficiency of the heat storage device;
Figure BDA0003511272270000098
represents the thermal energy loss rate of the thermal storage device;
Figure BDA0003511272270000099
represents the thermal energy stored in said thermal storage device;
Figure BDA00035112722700000910
and
Figure BDA00035112722700000911
respectively represent the upper limit and lower limit of the charging power of the heat storage device;
Figure BDA00035112722700000912
and
Figure BDA00035112722700000913
respectively represent the upper limit and lower limit of the exothermic power of the heat storage device;
Figure BDA00035112722700000914
and
Figure BDA00035112722700000915
respectively represent the upper limit and lower limit of the stored thermal energy of the thermal storage device; Δt represents the scheduling time interval.

根据本发明提供的一种基于P2P交易模式的互联综合能源网络调度方法,所述储电装置具有如下模型:According to an interconnected comprehensive energy network scheduling method based on a P2P transaction mode provided by the present invention, the power storage device has the following model:

Figure BDA00035112722700000916
Figure BDA00035112722700000916

Figure BDA00035112722700000917
Figure BDA00035112722700000917

Figure BDA00035112722700000918
Figure BDA00035112722700000918

其中,

Figure BDA00035112722700000919
Figure BDA00035112722700000920
分别表示所述储电装置的充电功率和放电功率;
Figure BDA00035112722700000921
Figure BDA00035112722700000922
分别表示所述储电装置的充电效率和放电效率;
Figure BDA00035112722700000923
表示所述储电装置的电能损耗率;
Figure BDA00035112722700000924
表示存储在所述储电装置的电能;
Figure BDA00035112722700000925
Figure BDA00035112722700000926
分别表示所述储电装置的充电功率上限和下限;
Figure BDA00035112722700000927
Figure BDA00035112722700000928
分别表示所述储电装置的放电功率上限和下限;
Figure BDA0003511272270000101
Figure BDA0003511272270000102
分别表示所述储电装置的存储电能的上限和下限;Δt表示调度的时间间隔。in,
Figure BDA00035112722700000919
and
Figure BDA00035112722700000920
respectively represent the charging power and the discharging power of the power storage device;
Figure BDA00035112722700000921
and
Figure BDA00035112722700000922
respectively represent the charging efficiency and the discharging efficiency of the power storage device;
Figure BDA00035112722700000923
represents the power loss rate of the power storage device;
Figure BDA00035112722700000924
represents the electrical energy stored in the electrical storage device;
Figure BDA00035112722700000925
and
Figure BDA00035112722700000926
respectively represent the upper limit and lower limit of the charging power of the power storage device;
Figure BDA00035112722700000927
and
Figure BDA00035112722700000928
respectively represent the upper limit and lower limit of the discharge power of the power storage device;
Figure BDA0003511272270000101
and
Figure BDA0003511272270000102
respectively represent the upper limit and lower limit of the stored electrical energy of the power storage device; Δt represents the scheduling time interval.

本发明还提供一种基于P2P交易模式的互联综合能源网络调度装置,所述装置应用于互联综合能源网络系统,其中,所述互联综合能源网络系统包括多个子电热网络,所述子电热网络至少包括电力网络、热力网络、分布式发电机组、风电机组、热电联产机组、热泵、储电装置以及储热装置,所述子电热网络之间通过软开关连接且采用P2P交易模式进行交易,所述装置包括:建立模块,用于基于所述P2P交易模式,建立关于所述互联综合能源网络系统的运行模型,其中,所述运行模型包括各个所述子电热网络的运行成本,所述运行成本包括上级电力网络购买电能成本、分布式发电机组运行成本、热电联产机组运行成本和同级电热网络购买电能成本;处理模块,用于对所述运行模型进行分布式求解,得到关于所述上级电力网络购买电能成本的第一电能数量、关于所述分布式发电机组运行成本的分布式发电机组输出的有功功率、关于所述热电联产机组运行成本的热电联产机组输入的天然气功率,以及关于所述同级电热网络购买电能成本的第二电能数量,以使各个所述子电热网络的运行成本和所述互联综合能源网络系统的运行成本最低。The present invention also provides an interconnected integrated energy network scheduling device based on a P2P transaction mode. The device is applied to an interconnected integrated energy network system, wherein the interconnected integrated energy network system includes a plurality of sub-electric heating networks, and the sub-electric heating networks at least Including power network, thermal network, distributed generator set, wind turbine, cogeneration unit, heat pump, power storage device and heat storage device, the sub-electric heating networks are connected through soft switches and trade in P2P trading mode, all The device includes: a building module for establishing an operation model about the interconnected integrated energy network system based on the P2P transaction mode, wherein the operation model includes the operation cost of each of the sub-electric heating networks, and the operation cost Including the cost of purchasing electric energy from the upper-level power network, the operating cost of distributed generator sets, the operating cost of cogeneration units, and the cost of purchasing electric energy from the same-level electric heating network; the processing module is used to perform distributed solutions to the operating model, and obtain information about the upper-level power network. a first amount of electrical energy purchased by the power network for the cost of electrical energy, active power output by the distributed generator set in relation to the operating cost of the distributed generator set, natural gas power input by the cogeneration unit in relation to the operating cost of the cogeneration unit, and The second amount of electric energy with respect to the cost of electric energy purchased by the electric heating network at the same level, so as to minimize the operation cost of each of the sub-electric heating networks and the operation cost of the interconnected integrated energy network system.

本发明还提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述任一种所述的基于P2P交易模式的互联综合能源网络调度方法。The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, the processor implementing the P2P-based P2P-based program described above when the processor executes the program Interconnected integrated energy network scheduling method in transaction mode.

本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一种所述的基于P2P交易模式的互联综合能源网络调度方法。The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, realizes the interconnected comprehensive energy network scheduling method based on any one of the above-mentioned P2P transaction mode .

本发明还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述任一种所述的基于P2P交易模式的互联综合能源网络调度方法。The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements the interconnected integrated energy network scheduling method based on the P2P transaction mode described in any of the above.

本发明提供的基于P2P交易模式的互联综合能源网络调度方法及装置,应用于互联综合能源网络系统,其中,互联综合能源网络系统包括多个子电热网络。本发明通过P2P交易模式确定各子电热网络之间的交易规则,用以激励每个子电热网络参与到P2P交易中,并建立起基于P2P交易的互联综合能源网络系统的运行模型。再对运行模型进行分布式求解,在保护各个子电热网络的隐私数据的前提下,得到上级电力网络购买电能成本的第一电能数量、分布式发电机组输出的有功功率、热电联产机组输入的天然气功率,以及同级电热网络购买电能成本的第二电能数量,以使各个子电热网络的运行成本和互联综合能源网络系统的运行成本最低。本发明提出的基于P2P交易模式的互联综合能源网络调度方法,无需各个子电热网络分享隐私数据,并且满足激励相容原理,实现了在每个子电热网络追求自身利益的同时就是在最大化的互联综合能源网络系统整体利益,从而保证每个电热主体自身利益基础上,实现互联综合能源网络系统的整体利益的最大化。The interconnected integrated energy network scheduling method and device based on the P2P transaction mode provided by the present invention is applied to an interconnected integrated energy network system, wherein the interconnected integrated energy network system includes a plurality of sub-electric heating networks. The invention determines the transaction rules between the sub-electric heating networks through the P2P transaction mode to encourage each sub-electric heating network to participate in the P2P transaction, and establishes the operation model of the interconnected comprehensive energy network system based on the P2P transaction. Then, the operation model is solved in a distributed manner, and under the premise of protecting the privacy data of each sub-electric heating network, the first electric energy quantity of the purchase electric energy cost of the superior electric power network, the active power output by the distributed generator set, and the input value of the cogeneration set are obtained. Natural gas power, and the second amount of electric energy purchased by the electric heating network at the same level, so as to minimize the operation cost of each sub-electric heating network and the operation cost of the interconnected integrated energy network system. The interconnected comprehensive energy network scheduling method based on the P2P transaction mode proposed by the present invention does not require each sub-electric heating network to share private data, and satisfies the principle of incentive compatibility, and realizes that each sub-electric heating network pursues its own interests while maximizing the interconnection. The overall interests of the integrated energy network system are guaranteed to maximize the overall interests of the interconnected integrated energy network system on the basis of the interests of each electric heating subject.

附图说明Description of drawings

为了更清楚地说明本发明或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are the For some embodiments of the invention, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1是本发明提供的基于P2P交易模式的互联综合能源网络调度方法的流程示意图之一;Fig. 1 is one of the schematic flow charts of the interconnected integrated energy network scheduling method based on the P2P transaction mode provided by the present invention;

图2是本发明提供的对运行模型进行分布式求解的流程示意图;Fig. 2 is the schematic flowchart of the distributed solution to the running model provided by the present invention;

图3是本发明提供的基于增广拉格朗日函数,利用交替方向乘子法对运行模型进行分布式求解的流程示意图;Fig. 3 is the schematic flow chart of the distributed solution of the running model by the alternate direction multiplier method based on the augmented Lagrangian function provided by the present invention;

图4是本发明提供的基于P2P交易模式的互联综合能源网络调度装置的结构示意图;4 is a schematic structural diagram of an interconnected integrated energy network dispatching device based on a P2P transaction mode provided by the present invention;

图5是本发明提供的电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device provided by the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention. , not all examples. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

随着分布式发电资源的发展,越来越多的子电热网络开始采用互联运行的方式来提升整体(对应互联综合能源网络系统)的能源利用效率。对于互联综合能源网络系统,互联综合能源网络系统中的每个子电热网络都是一个独立的个体,追求自身利益的最大化,而采用P2P(peer-to-peer,点对点)交易的方式可以很好地兼顾每个主体的利益,从而激励各个子电热网络参与到整体的协调运行中。为此,亟需设计一种基于P2P交易模式的互联综合能源网络调度方法,以最大程度降低互联综合能源网络系统的运行成本。With the development of distributed power generation resources, more and more sub-electric heating networks have begun to use interconnected operation to improve the overall energy utilization efficiency (corresponding to the interconnected integrated energy network system). For the interconnected integrated energy network system, each sub-electric heating network in the interconnected integrated energy network system is an independent individual, pursuing the maximization of its own interests, and the way of P2P (peer-to-peer, peer-to-peer) transaction can be very good. Taking into account the interests of each subject, thereby encouraging each sub-electric heating network to participate in the overall coordinated operation. Therefore, it is urgent to design an interconnected integrated energy network scheduling method based on the P2P transaction mode to minimize the operating cost of the interconnected integrated energy network system.

本发明提供的基于P2P交易模式的互联综合能源网络调度方法,在保证每个电热主体自身利益基础上,追求互联电热系统整体利益的最大化。The interconnected comprehensive energy network scheduling method based on the P2P transaction mode provided by the invention pursues the maximization of the overall interests of the interconnected electric heating system on the basis of ensuring the self-interest of each electric heating subject.

本发明将结合图1对基于P2P交易模式的互联综合能源网络调度方法的过程进行说明。The present invention will describe the process of the interconnected integrated energy network scheduling method based on the P2P transaction mode with reference to FIG. 1 .

图1是本发明提供的基于P2P交易模式的互联综合能源网络调度方法的流程示意图之一。FIG. 1 is one of the schematic flow charts of the interconnected integrated energy network scheduling method based on the P2P transaction mode provided by the present invention.

在本发明一示例性实施例中,基于P2P交易模式的互联综合能源网络调度方法可以应用于互联综合能源网络系统。其中,互联综合能源网络系统可以包括多个子电热网络,对于子电热网络来说,一般通过公共连接点接入上级电网。其中,每个子电热网络至少可以包括电力网络、热力网络、分布式发电机组、风电机组、热电联产机组、热泵、储电装置以及储热装置。子电热网络之间可以通过软开关连接且采用P2P交易模式进行交易。In an exemplary embodiment of the present invention, an interconnected integrated energy network scheduling method based on a P2P transaction mode can be applied to an interconnected integrated energy network system. Wherein, the interconnected integrated energy network system may include a plurality of sub-electrical heating networks. For the sub-electrical heating networks, it is generally connected to the upper-level power grid through a common connection point. Wherein, each sub-electric heating network may include at least an electric power network, a thermal network, a distributed generator set, a wind turbine set, a combined heat and power set, a heat pump, an electricity storage device and a heat storage device. Sub-electric heating networks can be connected through soft switches and trade in P2P trading mode.

软开关是一种新型的电力电子装置,一般由两个电压源型逆变器组成,可以灵活地控制两端的功率流动,软开关的两端可以分别连接在两个子电热网络的某一电网节点处,从而实现两个网络之间灵活可控的功率交换,为后续的P2P交易市场的建立提供了坚实的物理基础。Soft switch is a new type of power electronic device, generally composed of two voltage source inverters, which can flexibly control the power flow at both ends. Both ends of the soft switch can be connected to a grid node of two sub-electric heating networks respectively In this way, flexible and controllable power exchange between the two networks is realized, which provides a solid physical foundation for the establishment of the subsequent P2P trading market.

结合图1可知,基于P2P交易模式的互联综合能源网络调度方法可以包括步骤110和步骤120,下面将分别介绍各步骤。1, the interconnected integrated energy network scheduling method based on the P2P transaction mode may include step 110 and step 120, and each step will be introduced separately below.

在步骤110中,基于P2P交易模式,建立关于互联综合能源网络系统的运行模型,其中,运行模型包括各个子电热网络的运行成本,运行成本包括上级电力网络购买电能成本、分布式发电机组运行成本、热电联产机组运行成本和同级电热网络购买电能成本。In step 110, based on the P2P transaction mode, an operation model of the interconnected integrated energy network system is established, wherein the operation model includes the operation cost of each sub-electric heating network, and the operation cost includes the cost of purchasing electric energy from the upper-level power network and the operation cost of the distributed generator set. , the operating cost of the cogeneration unit and the cost of purchasing electricity from the electric heating network at the same level.

在互联综合能源网络系统中,每个子电热网络的目标是追求自身利益的最大化或自身运行成本的最小化。因此,可以将所有子电热网络的运行成本相加得到社会运行总成本(对应互联综合能源网络系统)。可以看到,最小化社会运行总成本(最大化社会福利)即是追求的目标。在一示例中,关于互联综合能源网络系统的运行模型可以包括各个子电热网络的运行成本之和。In the interconnected integrated energy network system, the goal of each sub-electric heating network is to maximize its own benefits or minimize its own operating costs. Therefore, the operating costs of all sub-electric heating networks can be added up to obtain the total social operating cost (corresponding to the interconnected integrated energy network system). It can be seen that minimizing the total cost of social operation (maximizing social welfare) is the goal pursued. In one example, the operating model for the interconnected integrated energy network system may include the sum of the operating costs of the various sub-electrical heating networks.

在步骤120中,对运行模型进行分布式求解,得到关于上级电力网络购买电能成本的第一电能数量、关于分布式发电机组运行成本的分布式发电机组输出的有功功率、关于热电联产机组运行成本的热电联产机组输入的天然气功率,以及关于同级电热网络购买电能成本的第二电能数量,以使各个子电热网络的运行成本和互联综合能源网络系统的运行成本最低。In step 120, the operation model is solved in a distributed manner to obtain the first amount of electric energy related to the cost of purchasing electric energy from the upper-level power network, the active power output by the distributed generator set related to the operating cost of the distributed generator set, and the operation cost of the cogeneration generator set. The natural gas power input by the cogeneration unit of the cost, and the second amount of electric energy related to the cost of electric energy purchased by the electric heating network at the same level, so as to minimize the operating cost of each sub-electric heating network and the operating cost of the interconnected integrated energy network system.

由于关于同级电热网络购买电能成本之间的交易单价并不是一个事先给定的已知量,只有在求解出问题之后才能获得相应的市场均衡价格。这给问题的求解带来了一个悖论。二是各子电热网络都是不同的利益主体,不愿意将自身的隐私数据进行共享,因此传统的集中式求解算法无法适用。在一示例中,可以对运行模型进行分布式求解,在保护各个子电热网络的隐私数据的前提下,得到上级电力网络购买电能成本的第一电能数量、分布式发电机组输出的有功功率、热电联产机组输入的天然气功率,以及同级电热网络购买电能成本的第二电能数量,以使各个子电热网络的运行成本和互联综合能源网络系统的运行成本最低。Since the transaction unit price between the cost of electric energy purchased by the electric heating network at the same level is not a known quantity given in advance, the corresponding market equilibrium price can be obtained only after the problem is solved. This brings a paradox to the solution of the problem. Second, each sub-electric heating network has different stakeholders and is unwilling to share its own private data, so the traditional centralized solution algorithm cannot be applied. In an example, the operating model can be solved in a distributed manner, and on the premise of protecting the privacy data of each sub-electric heating network, the first electric energy quantity of the electric energy purchased by the superior electric power network, the active power output by the distributed generator set, the thermoelectric power The natural gas power input by the co-generation unit and the second amount of electric energy purchased by the electric heating network at the same level are used to minimize the operating cost of each sub-electric heating network and the operating cost of the interconnected integrated energy network system.

需要说明的是,关于上级电力网络购买电能成本的第一电能数量可以是来自上级电网的有功功率。关于同级电热网络购买电能成本的第二电能数量可以是基于P2P交易获得的其余子电热网络的有功功率。It should be noted that, the first amount of electric energy related to the cost of purchasing electric energy from the upper-level electric power network may be the active power from the upper-level electric power grid. The second amount of electric energy with respect to the cost of electric energy purchased by the electric heating network at the same level may be the active power of the remaining sub electric heating networks obtained based on the P2P transaction.

本发明提供的基于P2P交易模式的互联综合能源网络调度方法,应用于互联综合能源网络系统,其中,互联综合能源网络系统包括多个子电热网络。本发明通过P2P交易模式确定各子电热网络之间的交易规则,用以激励每个子电热网络参与到P2P交易中,并建立起基于P2P交易的互联综合能源网络系统的运行模型。再对运行模型进行分布式求解,在保护各个子电热网络的隐私数据的前提下,得到上级电力网络购买电能成本的第一电能数量、分布式发电机组输出的有功功率、热电联产机组输入的天然气功率,以及同级电热网络购买电能成本的第二电能数量,以使各个子电热网络的运行成本和互联综合能源网络系统的运行成本最低。本发明提出的基于P2P交易模式的互联综合能源网络调度方法,无需各个子电热网络分享隐私数据,并且满足激励相容原理,实现了在每个子电热网络追求自身利益的同时就是在最大化的互联综合能源网络系统整体利益,从而保证每个电热主体自身利益基础上,实现互联综合能源网络系统的整体利益的最大化。The interconnected integrated energy network scheduling method based on the P2P transaction mode provided by the present invention is applied to an interconnected integrated energy network system, wherein the interconnected integrated energy network system includes a plurality of sub-electric heating networks. The invention determines the transaction rules between the sub-electric heating networks through the P2P transaction mode to encourage each sub-electric heating network to participate in the P2P transaction, and establishes the operation model of the interconnected comprehensive energy network system based on the P2P transaction. Then, the operation model is solved in a distributed manner, and under the premise of protecting the privacy data of each sub-electric heating network, the first electric energy quantity of the purchase electric energy cost of the superior electric power network, the active power output by the distributed generator set, and the input value of the cogeneration set are obtained. Natural gas power, and the second amount of electric energy purchased by the electric heating network at the same level, so as to minimize the operation cost of each sub-electric heating network and the operation cost of the interconnected integrated energy network system. The interconnected integrated energy network scheduling method based on the P2P transaction mode proposed by the present invention does not require each sub-electric heating network to share private data, and satisfies the principle of incentive compatibility, and realizes that each sub-electric heating network pursues its own interests while maximizing the interconnection. The overall interests of the integrated energy network system are guaranteed to maximize the overall interests of the interconnected integrated energy network system on the basis of the interests of each electric heating subject.

为了进一步介绍本发明提供的基于P2P交易模式的互联综合能源网络调度方法,下面将结合下述实施例进行说明。In order to further introduce the interconnected comprehensive energy network scheduling method based on the P2P transaction mode provided by the present invention, the following will be described with reference to the following embodiments.

在一种实施例中,可以建立互联综合能源网络系统的数学模型。互联综合能源网络系统中的子电热网络至少包括电力网络、热力网络、分布式发电机组、风电机组、热电联产机组、热泵、储电装置以及储热装置。对于电力网络而言,一般辐射状网络,因此可以采用线性化的支路潮流模型进行描述。In one embodiment, a mathematical model of an interconnected integrated energy grid system may be established. The sub-electric heating network in the interconnected integrated energy network system includes at least an electric power network, a thermal network, a distributed generator set, a wind turbine set, a combined heat and power set, a heat pump, an electricity storage device and a heat storage device. For the power network, it is generally a radial network, so a linearized branch power flow model can be used to describe it.

在一种实施例中,电力网络可以具有如下模型:In one embodiment, the power network may have the following model:

Figure BDA0003511272270000151
Figure BDA0003511272270000151

Figure BDA0003511272270000152
Figure BDA0003511272270000152

Vj,t=Vi,t-(rijPij,t+xijQij,t)/V0 (3)V j,t =V i,t -(r ij P ij,t +x ij Q ij,t )/V 0 (3)

其中,pj,t表示电力网络中节点j处注入的总有功功率,包括关于上级电力网络购买电能成本的第一电能数量(又称来自上级电力网络的有功功率)

Figure BDA0003511272270000153
关于同级电热网络购买电能成本的第二电能数量(又称来自其余子电热网络的有功功率)
Figure BDA0003511272270000154
分布式发电机组的有功出力
Figure BDA0003511272270000155
热电联产机组的有功出力
Figure BDA0003511272270000156
风电机组的有功出力
Figure BDA0003511272270000157
储电装置的充电功率
Figure BDA0003511272270000158
和放电功率
Figure BDA0003511272270000159
Figure BDA00035112722700001510
表示电力网络中节点j处的总有功负荷,包括基础电负荷和热泵消耗的有功功率
Figure BDA00035112722700001511
qj,t表示电力网络中节点j处注入的总无功功率,包括来自上级电力网络的无功功率
Figure BDA00035112722700001512
和分布式发电机组的无功出力
Figure BDA00035112722700001513
Figure BDA00035112722700001514
表示电力网络中节点j处的无功负荷;Pij,t和Qij,t分别表示电力网络中节点i到节点j的线路有功功率和无功功率;rij和xij分别表示电力网络中节点i到节点j的线路电阻和线路电抗;Vi,t表示电力网络中节点i的电压幅值;V0表示基准电压;
Figure BDA0003511272270000161
表示节点j的下游节点集合。Among them, p j,t represents the total active power injected at node j in the power network, including the first amount of electric energy (also known as the active power from the superior power network) about the cost of purchasing power from the superior power network.
Figure BDA0003511272270000153
The second quantity of electric energy (also known as the active power from the remaining sub-electric heating networks) about the cost of electric energy purchased by the electric heating network at the same level
Figure BDA0003511272270000154
Active Power Output of Distributed Generating Sets
Figure BDA0003511272270000155
Active power output of cogeneration units
Figure BDA0003511272270000156
Active output of wind turbines
Figure BDA0003511272270000157
The charging power of the storage device
Figure BDA0003511272270000158
and discharge power
Figure BDA0003511272270000159
Figure BDA00035112722700001510
represents the total active load at node j in the power network, including the base electrical load and the active power consumed by the heat pump
Figure BDA00035112722700001511
q j,t represents the total reactive power injected at node j in the power network, including the reactive power from the upper-level power network
Figure BDA00035112722700001512
and reactive power output of distributed generator sets
Figure BDA00035112722700001513
Figure BDA00035112722700001514
Represents the reactive load at node j in the power network; P ij,t and Q ij,t represent the active power and reactive power of the line from node i to node j in the power network, respectively; r ij and x ij represent the power network. Line resistance and line reactance from node i to node j; V i,t represents the voltage amplitude of node i in the power network; V 0 represents the reference voltage;
Figure BDA0003511272270000161
Represents the set of downstream nodes of node j.

其中,约束(1)和约束(2)表示节点j处的有功功率和无功功率平衡条件;约束(3)描述了节点i到节点j的电压降落与该线路上的有功潮流和无功潮流之间的关系。Among them, constraint (1) and constraint (2) represent the active power and reactive power balance conditions at node j; constraint (3) describes the voltage drop from node i to node j and the active power flow and reactive power flow on the line The relationship between.

热力网络可以由供水管道和回水管道组成,并利用循环水进行热量的传输和分配。在热源节点(一般配置热电联产机组或者热泵),热源可以通过热交换器向热力网络注入能量。在热负荷节点,热交换器可以利用供回水温度差向热负荷提供能量。通常来说,热力网络的热流模型可以通过流量方程和传热方程进行描述,为一个高度非凸的数学模型。在本实施例中,可以采用热力网络运行中常用的“定质量流量-变温度”的调度模式,将流量方程描述的循环水质量流量给定,从而将热流模型描述成仅包含传热方程的线性形式。The thermal network can consist of water supply pipes and return water pipes, and uses circulating water for heat transmission and distribution. At the heat source node (usually configured with a cogeneration unit or heat pump), the heat source can inject energy into the thermal network through a heat exchanger. At the heat load node, the heat exchanger can use the temperature difference between the supply and return water to provide energy to the heat load. Generally speaking, the heat flow model of the thermal network can be described by the flow equation and the heat transfer equation, which is a highly non-convex mathematical model. In this embodiment, the "constant mass flow-variable temperature" scheduling mode commonly used in the operation of the thermal network can be used, and the circulating water mass flow described by the flow equation can be given, so that the heat flow model can be described as a heat flow model that only includes the heat transfer equation. Linear form.

在一种实施例中,热力网络可以具有如下模型:In one embodiment, the thermal network may have the following model:

Figure BDA0003511272270000162
Figure BDA0003511272270000162

Figure BDA0003511272270000163
Figure BDA0003511272270000163

Figure BDA0003511272270000164
Figure BDA0003511272270000164

Figure BDA0003511272270000165
Figure BDA0003511272270000165

Figure BDA0003511272270000166
Figure BDA0003511272270000166

其中,b表示热力网络的管道;

Figure BDA0003511272270000167
表示热源注入热力网络的总热功率,包括热电联产机组的热出力
Figure BDA0003511272270000168
热泵的热出力
Figure BDA0003511272270000169
储热装置的充热功率
Figure BDA0003511272270000171
和储热装置的放热功率
Figure BDA0003511272270000172
Figure BDA0003511272270000173
表示热负荷的热消耗功率;cp表示水的比热容;
Figure BDA0003511272270000174
表示热源处从回水管道注入供水管道的循环水质量流量;
Figure BDA0003511272270000175
表示热负荷处从供水管道注入回水管道的循环水质量流量;
Figure BDA0003511272270000176
Figure BDA0003511272270000177
分别表示供水温度和回水温度;mb,t表示管道b的循环水质量流量;
Figure BDA0003511272270000178
Figure BDA0003511272270000179
分别表示管道b的入口温度和出口温度;γb表示管道b的温度损耗系数;Lb表示管道b的长度;
Figure BDA00035112722700001710
表示环境温度;
Figure BDA00035112722700001711
表示汇合节点处的流体混合温度;
Figure BDA00035112722700001712
表示以节点i为末端的管道集合;
Figure BDA00035112722700001713
表示以节点i为首端的管道集合。Among them, b represents the pipeline of the thermal network;
Figure BDA0003511272270000167
Indicates the total thermal power injected by the heat source into the thermal network, including the thermal output of the cogeneration unit
Figure BDA0003511272270000168
heat output of heat pump
Figure BDA0003511272270000169
The charging power of the heat storage device
Figure BDA0003511272270000171
and the exothermic power of the heat storage device
Figure BDA0003511272270000172
Figure BDA0003511272270000173
Represents the heat consumption power of the heat load; c p represents the specific heat capacity of water;
Figure BDA0003511272270000174
Represents the mass flow of circulating water injected from the return pipe into the water supply pipe at the heat source;
Figure BDA0003511272270000175
Represents the mass flow of circulating water injected from the water supply pipeline into the return pipeline at the heat load;
Figure BDA0003511272270000176
and
Figure BDA0003511272270000177
respectively represent the water supply temperature and return water temperature; m b, t represent the mass flow of circulating water in pipeline b;
Figure BDA0003511272270000178
and
Figure BDA0003511272270000179
represent the inlet temperature and outlet temperature of pipe b, respectively; γ b represents the temperature loss coefficient of pipe b; L b represents the length of pipe b;
Figure BDA00035112722700001710
Indicates the ambient temperature;
Figure BDA00035112722700001711
represents the fluid mixing temperature at the confluence node;
Figure BDA00035112722700001712
Represents a collection of pipes ending with node i;
Figure BDA00035112722700001713
Represents a collection of pipes starting with node i.

其中,约束(4)和(5)分别表示热源和热负荷节点处的能量交换过程;约束(6)描述了管道的首端温度到末端温度的下降过程;约束(7)表示在热网汇合节点i处进入的水流温度与该节点混合温度的关系;约束(8)描述了从热网汇合节点i处离开的水流温度与该节点混合温度的关系。Among them, constraints (4) and (5) represent the energy exchange process at the heat source and heat load nodes, respectively; constraint (6) describes the drop process of the temperature from the head end to the end of the pipeline; constraint (7) represents the confluence of the heat network The relationship between the temperature of the incoming water flow at node i and the mixing temperature at this node; Constraint (8) describes the relationship between the temperature of the water flow leaving at node i where the heat network converges and the mixing temperature at this node.

子电热网络可以包括本地的分布式发电机组(如,分布式燃气机组),可以同时提供有功功率和无功功率以满足系统的供能需求。在一种实施例中,分布式发电机组可以具有如下模型:The sub-electric heating network may include local distributed generating units (eg, distributed gas-fired units), which can simultaneously provide active power and reactive power to meet the energy supply requirements of the system. In one embodiment, a distributed generator set may have the following model:

Figure BDA00035112722700001714
Figure BDA00035112722700001714

Figure BDA00035112722700001715
Figure BDA00035112722700001715

其中,

Figure BDA00035112722700001716
表示分布式发电机组输出的有功功率;
Figure BDA00035112722700001717
表示分布式发电机组输出的无功功率;
Figure BDA00035112722700001718
Figure BDA00035112722700001719
分别表示分布式发电机组的有功功率的上限和下限;
Figure BDA00035112722700001720
Figure BDA00035112722700001721
分别表示分布式发电机组的无功功率的上限和下限。in,
Figure BDA00035112722700001716
Indicates the active power output by the distributed generator set;
Figure BDA00035112722700001717
Represents the reactive power output by the distributed generator set;
Figure BDA00035112722700001718
and
Figure BDA00035112722700001719
respectively represent the upper limit and lower limit of the active power of the distributed generator set;
Figure BDA00035112722700001720
and
Figure BDA00035112722700001721
Represent the upper and lower limits of the reactive power of the distributed generator set, respectively.

其中,约束(9)和(10)分别描述了分布式发电机组的有功功率和无功功率的出力范围。Among them, constraints (9) and (10) describe the output ranges of active power and reactive power of the distributed generator set, respectively.

需要说明的是,风电机组一般只能提供有功功率

Figure BDA00035112722700001722
而且其可用出力会受到天气等因素的影响。It should be noted that wind turbines generally only provide active power
Figure BDA00035112722700001722
And its available output will be affected by factors such as weather.

热电联产机组是电热系统中的关键耦合元件,可以同时提供电能和热能以满足多元化的供能需求。在本发明研究的电热网络中,热电联产机组一般消耗天然气资源进行供能。The cogeneration unit is a key coupling element in the electric heating system, which can simultaneously provide electric energy and thermal energy to meet the diversified energy supply needs. In the electric heating network studied in the present invention, the cogeneration unit generally consumes natural gas resources for energy supply.

在一种实施例中,热电联产机组可以具有如下模型:In one embodiment, a cogeneration plant may have the following model:

Figure BDA0003511272270000181
Figure BDA0003511272270000181

Figure BDA0003511272270000182
Figure BDA0003511272270000182

Figure BDA0003511272270000183
Figure BDA0003511272270000183

其中,

Figure BDA0003511272270000184
Figure BDA0003511272270000185
分别表示热电联产机组输出的电功率和热功率;
Figure BDA0003511272270000186
表示热电联产机组输入的天然气功率;
Figure BDA0003511272270000187
Figure BDA0003511272270000188
分别表示热电联产机组的气转电效率和气转热效率;
Figure BDA0003511272270000189
Figure BDA00035112722700001810
分别表示热电联产机组输入天然气功率的上限和下限。in,
Figure BDA0003511272270000184
and
Figure BDA0003511272270000185
Respectively represent the electrical power and thermal power output by the cogeneration unit;
Figure BDA0003511272270000186
Indicates the natural gas power input by the cogeneration unit;
Figure BDA0003511272270000187
and
Figure BDA0003511272270000188
respectively represent the gas-to-electricity and gas-to-heat efficiency of the cogeneration unit;
Figure BDA0003511272270000189
and
Figure BDA00035112722700001810
represent the upper and lower limits of the input natural gas power of the cogeneration unit, respectively.

其中,约束(11)和(12)可以表示热电联产机组输入的天然气功率与生产的电功率和热功率之间的关系。在一示例中,热电联产机组的气到电和气到热的比例为一固定常数;约束(13)描述了热电联产机组的出力范围。Among them, constraints (11) and (12) can represent the relationship between the natural gas power input by the cogeneration unit and the electric power and thermal power produced. In one example, the gas-to-electricity and gas-to-heat ratios of the CHP unit are fixed constants; constraint (13) describes the output range of the CHP unit.

热泵是子电热网络中另一个关键的耦合元件,可以通过消耗电能以逆循环方式迫使热量从低温区域流向高温区域,从而实现热能的高效供给。通常来说,热泵的热功率与其消耗的电功率之比可达到3~4倍,这一比值也被称为热泵的能效系数。The heat pump is another key coupling element in the sub-electric heating network, which can force the heat to flow from the low temperature area to the high temperature area in a reverse cycle by consuming electric energy, so as to realize the efficient supply of heat energy. Generally speaking, the ratio of the thermal power of the heat pump to the electric power it consumes can reach 3 to 4 times, which is also called the energy efficiency coefficient of the heat pump.

在一种实施例中,热泵可以具有如下模型:In one embodiment, the heat pump may have the following model:

Figure BDA00035112722700001811
Figure BDA00035112722700001811

Figure BDA00035112722700001812
Figure BDA00035112722700001812

其中,

Figure BDA00035112722700001813
Figure BDA00035112722700001814
分别表示热泵消耗的电功率和输出的热功率;COPi表示热泵的能效系数;
Figure BDA00035112722700001815
Figure BDA00035112722700001816
分别表示热泵输出热功率的上限和下限。in,
Figure BDA00035112722700001813
and
Figure BDA00035112722700001814
Represents the electrical power consumed by the heat pump and the output thermal power; COP i represents the energy efficiency coefficient of the heat pump;
Figure BDA00035112722700001815
and
Figure BDA00035112722700001816
represent the upper and lower limits of the heat pump output heat power, respectively.

其中,约束(14)表示热泵输出的热功率与消耗的电功率之间的关系;约束(15)则描述了热泵的热出力范围。Among them, the constraint (14) represents the relationship between the thermal power output by the heat pump and the electrical power consumed; the constraint (15) describes the heat output range of the heat pump.

在子电热网络的运行中,储电装置和储热装置发挥两大核心作用。一是发挥了削峰填谷的作用,可以根据能源价格信号对高峰负荷和低谷负荷进行交换,从而提升系统整体运行的经济性。二是发挥了发挥灵活性调节的作用,对系统中由于新能源波动造成的功率缺口进行补偿,从而提升系统运行的灵活性和可靠性。储电装置和储热装置的运行约束可由下列方程描述。In the operation of the sub-electric heating network, the power storage device and the heat storage device play two core roles. First, it plays the role of peak shaving and valley filling, which can exchange peak load and low valley load according to energy price signals, thereby improving the economy of the overall operation of the system. The second is to play the role of flexibility adjustment to compensate for the power gap caused by the fluctuation of new energy in the system, thereby improving the flexibility and reliability of system operation. The operating constraints of the electrical and thermal storage devices can be described by the following equations.

Figure BDA0003511272270000191
Figure BDA0003511272270000191

Figure BDA0003511272270000192
Figure BDA0003511272270000192

Figure BDA0003511272270000193
Figure BDA0003511272270000193

Figure BDA0003511272270000194
Figure BDA0003511272270000194

Figure BDA0003511272270000195
Figure BDA0003511272270000195

Figure BDA0003511272270000196
Figure BDA0003511272270000196

其中,

Figure BDA0003511272270000197
Figure BDA0003511272270000198
分别表示储电装置的充电功率和放电功率;
Figure BDA0003511272270000199
Figure BDA00035112722700001910
分别表示储电装置的充电效率和放电效率;
Figure BDA00035112722700001911
表示储电装置的电能损耗率;
Figure BDA00035112722700001912
表示存储在储电装置的电能;
Figure BDA00035112722700001913
Figure BDA00035112722700001914
分别表示储电装置的充电功率上限和下限;
Figure BDA00035112722700001915
Figure BDA00035112722700001916
分别表示储电装置的放电功率上限和下限;
Figure BDA00035112722700001917
Figure BDA00035112722700001918
分别表示储电装置的存储电能的上限和下限;
Figure BDA00035112722700001919
Figure BDA00035112722700001920
分别表示储热装置的充热功率和放热功率;
Figure BDA00035112722700001921
Figure BDA00035112722700001922
分别表示储热装置的充热效率和放热效率;
Figure BDA00035112722700001923
表示储热装置的热能损耗率;
Figure BDA00035112722700001924
表示存储在储热装置的热能;
Figure BDA0003511272270000201
Figure BDA0003511272270000202
分别表示储热装置的充热功率上限和下限;
Figure BDA0003511272270000203
Figure BDA0003511272270000204
分别表示储热装置的放热功率上限和下限;
Figure BDA0003511272270000205
Figure BDA0003511272270000206
分别表示储热装置的存储热能的上限和下限;Δt表示调度的时间间隔。in,
Figure BDA0003511272270000197
and
Figure BDA0003511272270000198
respectively represent the charging power and discharging power of the power storage device;
Figure BDA0003511272270000199
and
Figure BDA00035112722700001910
respectively represent the charging efficiency and discharging efficiency of the power storage device;
Figure BDA00035112722700001911
Represents the power loss rate of the power storage device;
Figure BDA00035112722700001912
Represents electrical energy stored in an electrical storage device;
Figure BDA00035112722700001913
and
Figure BDA00035112722700001914
respectively represent the upper limit and lower limit of the charging power of the power storage device;
Figure BDA00035112722700001915
and
Figure BDA00035112722700001916
respectively represent the upper limit and lower limit of the discharge power of the power storage device;
Figure BDA00035112722700001917
and
Figure BDA00035112722700001918
respectively represent the upper limit and lower limit of the stored electrical energy of the power storage device;
Figure BDA00035112722700001919
and
Figure BDA00035112722700001920
respectively represent the charging power and the exothermic power of the heat storage device;
Figure BDA00035112722700001921
and
Figure BDA00035112722700001922
respectively represent the heat charging efficiency and the heat release efficiency of the heat storage device;
Figure BDA00035112722700001923
Indicates the thermal energy loss rate of the thermal storage device;
Figure BDA00035112722700001924
represents the thermal energy stored in the thermal storage device;
Figure BDA0003511272270000201
and
Figure BDA0003511272270000202
respectively represent the upper limit and lower limit of the charging power of the heat storage device;
Figure BDA0003511272270000203
and
Figure BDA0003511272270000204
respectively represent the upper limit and lower limit of the exothermic power of the heat storage device;
Figure BDA0003511272270000205
and
Figure BDA0003511272270000206
respectively represent the upper limit and lower limit of the stored thermal energy of the heat storage device; Δt represents the scheduling time interval.

其中,约束(16)和(17)表示分别描述了储电装置和储热装置的充放电(热)过程,揭示了其存储能量与充放电功率的关系。约束(18)-(21)分别描述了充放电(热)功率和储能存储能量的上下界范围。Among them, constraints (16) and (17) describe the charging and discharging (thermal) processes of the electricity storage device and the heat storage device respectively, revealing the relationship between the stored energy and the charging and discharging power. Constraints (18)-(21) describe the upper and lower bounds of charge-discharge (thermal) power and energy storage, respectively.

软开关是一种由双端电压源型逆变器组成的电力电子设备,可以灵活自由地控制通过其连接的子电热网络之间的有功功率交换。对于通过软开关连接的子电热网络m和子电热网络n来说,其连接处的功率平衡约束如下所示。A soft switch is a power electronic device composed of double-terminal voltage source inverters, which can flexibly and freely control the active power exchange between the sub-electric heating networks connected through it. For the sub-electrothermal network m and the sub-electrothermal network n connected by soft switching, the power balance constraints at the connection are as follows.

Figure BDA0003511272270000207
Figure BDA0003511272270000207

Figure BDA0003511272270000208
Figure BDA0003511272270000208

其中,

Figure BDA0003511272270000209
表示从子电热网络m流向子电热网络n的有功功率(又称关于子电热网络m和子电热网络n之间的同级电热网络购买电能成本的第二电能数量);
Figure BDA00035112722700002010
表示软开关中的有功功率损耗;
Figure BDA00035112722700002011
表示软开关的功率损耗系数;Mn表示与子电热网络n连接的子电热网络集合。in,
Figure BDA0003511272270000209
Represents the active power flowing from the sub-electric heating network m to the sub-electric heating network n (also known as the second amount of electric energy about the cost of purchasing electric energy from the electric heating network at the same level between the sub-electric heating network m and the sub-electric heating network n);
Figure BDA00035112722700002010
represents the active power loss in soft switching;
Figure BDA00035112722700002011
Represents the power loss coefficient of the soft switch; Mn represents the set of sub-electrical heating networks connected to the sub-electrical heating network n.

其中,约束(22)表示软开关中的有功功率平衡条件;约束(23)描述了软开关中的功率损耗与传输功率之间的关系。通常来说,软开关中的功率损耗远小于其传输功率(例如可以为0.02)。因此,在本实施例中将功率损耗忽略,从而将功率平衡条件(22)描述成如下更为简单的形式,如下:Among them, constraint (22) represents the active power balance condition in soft switching; constraint (23) describes the relationship between power loss and transmission power in soft switching. Generally speaking, the power loss in soft switching is much smaller than its transmission power (for example, it can be 0.02). Therefore, the power loss is ignored in this embodiment, so that the power balance condition (22) is described in a simpler form as follows:

Figure BDA00035112722700002012
Figure BDA00035112722700002012

在本发明中,通过建立互联综合能源网络系统的数学模型,可以为建立基于P2P交易模式的互联综合能源网络调度方法打下基础。在应用过程中,可以基于构建的上述数学模型,建立关于联综合能源网络系统的运行模型。In the present invention, by establishing the mathematical model of the interconnected integrated energy network system, a foundation can be laid for establishing the interconnected integrated energy network dispatch method based on the P2P transaction mode. In the application process, an operation model of the combined integrated energy network system can be established based on the above-mentioned mathematical model constructed.

在一种实施例中,关于互联综合能源网络系统的运行模型可以包括各个子电热网络的运行成本之和。其中,对于任意子电热网络n,其运行成本由四部分:In one embodiment, the operating model for the interconnected integrated energy network system may include the sum of the operating costs of each sub-electrical heating network. Among them, for any sub-electric heating network n, its operating cost consists of four parts:

Figure BDA0003511272270000211
Figure BDA0003511272270000211

其中,

Figure BDA0003511272270000212
表示运行成本,
Figure BDA0003511272270000213
表示上级电力网络购买电能成本(又称子电热网络n以价格
Figure BDA0003511272270000214
从上级电网购买电能的成本),
Figure BDA0003511272270000215
表示分布式发电机组运行成本,
Figure BDA0003511272270000216
表示热电联产机组运行成本,
Figure BDA0003511272270000217
表示同级电热网络购买电能成本(又称子电热网络n在P2P交易市场中从其余子电热网络购买电能的成本)。in,
Figure BDA0003511272270000212
represents the running cost,
Figure BDA0003511272270000213
Indicates the cost of purchasing electric energy from the superior power network (also known as the price of the sub-electric heating network n).
Figure BDA0003511272270000214
the cost of purchasing electricity from the upper grid),
Figure BDA0003511272270000215
represents the operating cost of the distributed generator set,
Figure BDA0003511272270000216
represents the operating cost of the cogeneration unit,
Figure BDA0003511272270000217
Indicates the cost of purchasing electric energy from the electric heating network at the same level (also known as the cost of purchasing electric energy for the sub electric heating network n from the remaining sub electric heating networks in the P2P trading market).

在一种实施例中,上级电力网络购买电能成本可以采用以下公式确定:In one embodiment, the cost of purchasing electric energy from the upper-level electric power network can be determined by the following formula:

Figure BDA0003511272270000218
Figure BDA0003511272270000218

其中,

Figure BDA0003511272270000219
表示从上级电力网络购买电能的单价,
Figure BDA00035112722700002110
表示关于上级电力网络购买电能成本的第一电能数量。in,
Figure BDA0003511272270000219
Represents the unit price of electric energy purchased from the upper-level power network,
Figure BDA00035112722700002110
Represents a first amount of electrical energy with respect to the cost of purchasing electrical energy from the upper-level electrical network.

在一种实施例中,分布式发电机组运行成本可以采用以下公式确定:In an embodiment, the operating cost of the distributed generator set can be determined by the following formula:

Figure BDA00035112722700002111
Figure BDA00035112722700002111

可以理解的是,分布式发电机组的运行成本

Figure BDA00035112722700002112
是一个凸二次函数,可以通过分段线性近似的方法转成分段线性函数。其中,
Figure BDA00035112722700002113
表示分布式发电机组输出的有功功率,
Figure BDA00035112722700002114
表示第一常系数,
Figure BDA00035112722700002115
表示第二常系数,
Figure BDA00035112722700002116
表示第三常系数。Understandably, the operating cost of a distributed generator set
Figure BDA00035112722700002112
is a convex quadratic function, which can be transformed into a piecewise linear function by piecewise linear approximation. in,
Figure BDA00035112722700002113
represents the active power output by the distributed generator set,
Figure BDA00035112722700002114
represents the first constant coefficient,
Figure BDA00035112722700002115
represents the second constant coefficient,
Figure BDA00035112722700002116
represents the third constant coefficient.

在一种实施例中,热电联产机组运行成本可以采用以下公式确定:In an embodiment, the operating cost of the cogeneration unit can be determined by the following formula:

Figure BDA0003511272270000221
Figure BDA0003511272270000221

其中,

Figure BDA0003511272270000222
表示天然气单价,
Figure BDA0003511272270000223
表示热电联产机组输入的天然气功率。in,
Figure BDA0003511272270000222
represents the unit price of natural gas,
Figure BDA0003511272270000223
Indicates the natural gas power input by the cogeneration unit.

在一种实施例中,同级电热网络购买电能成本可以采用以下公式确定:In an embodiment, the cost of purchasing electric energy for the same-level electric heating network can be determined by the following formula:

Figure BDA0003511272270000224
Figure BDA0003511272270000224

同级电热网络购买电能成本

Figure BDA0003511272270000225
又可以称作子电热网络n在P2P交易市场中从其余子电热网络购买电能的成本,或向其余电热网络卖出电能的收益。其中,
Figure BDA0003511272270000226
表示基于P2P交易模式的同级电热网络间购买电能的单价;
Figure BDA0003511272270000227
表示关于子电热网络m和子电热网络n之间的同级电热网络购买电能成本的第二电能数量。可以理解的是,
Figure BDA0003511272270000228
的值可正可负,取决于交换功率的传输方向。这一特性表明,在P2P交易市场中,部分子电热网络扮演生产者的角色,部分子电热网络则扮演消费者的角色,从而实现市场的双向交易。需要说明的是,P2P交易价格
Figure BDA0003511272270000229
并不是一个事先给定的已知量,其数值将在求解P2P交易均衡过程中产生。The cost of purchasing electricity from the same-level electric heating network
Figure BDA0003511272270000225
It can also be called the cost of purchasing electric energy from other sub-electric heating networks in the P2P trading market, or the income of selling electric energy to the remaining electric heating networks. in,
Figure BDA0003511272270000226
Indicates the unit price of electric energy purchased between electric heating networks of the same level based on the P2P transaction mode;
Figure BDA0003511272270000227
Represents the second electric energy quantity with respect to the cost of electric energy purchased by the electric heating network of the same level between the sub electric heating network m and the sub electric heating network n. Understandably,
Figure BDA0003511272270000228
The value of can be positive or negative, depending on the transfer direction of the exchanged power. This characteristic shows that in the P2P trading market, some sub-electric heating networks play the role of producers, and some sub-electric heating networks play the role of consumers, so as to realize two-way transactions in the market. It should be noted that the P2P transaction price
Figure BDA0003511272270000229
It is not a known quantity given in advance, and its value will be generated during the process of solving the P2P transaction equilibrium.

此外,热泵的运行过程中消耗电能,其运行成本已经被考虑在电能生产过程之中,因此不再需要单独计算。基于上述分析,子热网络n的总运行成本

Figure BDA00035112722700002210
可以表示为:In addition, the heat pump consumes electrical energy during its operation, and its operating cost has been considered in the electrical energy production process, so it no longer needs to be calculated separately. Based on the above analysis, the total operating cost of the sub-thermal network n
Figure BDA00035112722700002210
It can be expressed as:

Figure BDA00035112722700002211
Figure BDA00035112722700002211

在互联综合能源网络系统中,每个子电热网络主体的目标是追求自身利益的最大化或自身运行成本的最小化。因此,可以将所有电热网络的运行成本相加得到社会运行总成本(对应互联综合能源网络系统)。可以看到,最小化社会运行总成本(最大化社会福利)即是追求的目标,因此可以得到如下关于互联综合能源网络系统的运行模型:In the interconnected integrated energy network system, the goal of each sub-electric heating network main body is to maximize its own interests or minimize its own operating costs. Therefore, the operating costs of all electric and heating networks can be added to obtain the total social operating cost (corresponding to the interconnected integrated energy network system). It can be seen that minimizing the total cost of social operation (maximizing social welfare) is the goal pursued, so the following operation model of the interconnected integrated energy network system can be obtained:

Figure BDA0003511272270000231
Figure BDA0003511272270000231

其中,N表示子电热网络的集合;T表示时刻的集合。Among them, N represents the set of sub-electric heating networks; T represents the set of moments.

可以理解的是,模型(30)的求解有两大障碍。一是目标函数并不是一个明确定义的表达式。这是因为P2P交易价格

Figure BDA0003511272270000232
并不是一个事先给定的已知量,只有在求解出问题(30)之后才能获得相应的市场均衡价格。这给问题的求解带来了一个悖论。二是各子电热网络都是不同的利益主体,不愿意将自身的隐私数据进行共享,因此传统的集中式求解算法无法适用。为此,如何设计出合理的分布式求解算法成为一个亟待研究的问题,其中,耦合约束(24)的存在无疑给问题的分布式求解带来了更多的阻碍。Understandably, there are two major obstacles to the solution of model (30). One is that the objective function is not a well-defined expression. This is because of the P2P transaction price
Figure BDA0003511272270000232
It is not a known quantity given in advance, and the corresponding market equilibrium price can be obtained only after solving the problem (30). This brings a paradox to the solution of the problem. Second, each sub-electric heating network has different stakeholders and is unwilling to share its own private data, so the traditional centralized solution algorithm cannot be applied. Therefore, how to design a reasonable distributed solution algorithm has become an urgent problem to be studied. Among them, the existence of the coupling constraint (24) undoubtedly brings more obstacles to the distributed solution of the problem.

为了设计出合理的分布式求解算法,在本发明中将对运行模型进行分布式求解得到关于上级电力网络购买电能成本的第一电能数量、关于分布式发电机组运行成本的分布式发电机组输出的有功功率、关于热电联产机组运行成本的热电联产机组输入的天然气功率,以及关于同级电热网络购买电能成本的第二电能数量,以使各个子电热网络的运行成本和互联综合能源网络系统的运行成本最低。In order to design a reasonable distributed solution algorithm, in the present invention, the operation model will be solved in a distributed manner to obtain the first amount of electric energy related to the cost of purchasing electric energy from the upper-level power network, and the output of the distributed generator set related to the operating cost of the distributed generator set. Active power, the natural gas power input by the cogeneration unit regarding the operating cost of the cogeneration unit, and the second amount of electric energy regarding the cost of electric energy purchased by the electric heating network at the same level, so that the operating cost of each sub-electric heating network and the interconnected integrated energy network system lowest operating cost.

需要说明的是,处理关于互联综合能源网络系统的运行模型的求解中包括两个关键问题:一是如何设计分布式算法来求解协调运行模型(30);二是如何以分布式的手段设计合理的机制决定P2P交易的价格,以激励各个电热网络主体参与到P2P交易市场中。It should be noted that the solution of the operation model of the interconnected integrated energy network system includes two key issues: one is how to design a distributed algorithm to solve the coordinated operation model (30); the other is how to design a reasonable distributed method The mechanism determines the price of P2P transactions, in order to encourage each electric heating network subject to participate in the P2P transaction market.

为了进一步介绍本发明提供的基于P2P交易模式的互联综合能源网络调度方法,下面将对运行模型进行分布式求解的过程进行说明。In order to further introduce the interconnected comprehensive energy network scheduling method based on the P2P transaction mode provided by the present invention, the process of distributed solution of the operating model will be described below.

图2是本发明提供的对运行模型进行分布式求解的流程示意图。FIG. 2 is a schematic flowchart of the distributed solution to the running model provided by the present invention.

在本发明一示例性实施例中,如图2所示,对运行模型进行分布式求解可以包括步骤210至步骤240,下面将分别介绍各步骤。In an exemplary embodiment of the present invention, as shown in FIG. 2 , the distributed solution to the operating model may include steps 210 to 240 , and each step will be introduced separately below.

在步骤210中,获取目标辅助变量,其中,目标辅助变量为关于同级电热网络购买电能成本的第二电能数量的辅助变量。In step 210, a target auxiliary variable is obtained, wherein the target auxiliary variable is an auxiliary variable related to the second electric energy quantity of the electric energy purchased by the electric heating network of the same level.

在步骤220中,基于P2P交易模式的需求和供给的相等性以及目标辅助变量,在运行模型中隐去同级电热网络购买电能成本,得到简化后运行模型。In step 220, based on the equality of demand and supply in the P2P transaction mode and target auxiliary variables, the cost of purchasing electric energy from the electric heating network at the same level is hidden in the operation model, and a simplified operation model is obtained.

在步骤230中,对简化后运行模型进行矩阵转换,得到关于简化后运行模型的矩阵模型,并构建关于矩阵模型的增广拉格朗日函数。In step 230, matrix transformation is performed on the simplified operating model to obtain a matrix model related to the simplified operating model, and an augmented Lagrangian function related to the matrix model is constructed.

在步骤240中,基于增广拉格朗日函数,利用交替方向乘子法对运行模型进行分布式求解。In step 240, based on the augmented Lagrangian function, the operating model is solved distributedly using the alternating direction multiplier method.

根据P2P交易成本(28)的定义,在P2P交易市场中,消费者花费金钱购买电能(对应P2P交易成本为正数),而生产者通过卖出电能获取收益(对应P2P交易成本为负数)。由于需求和供给的相等性,互联综合能源网络系统中P2P交易成本相加之和必然为0。在一种实施例中,问题(30)中的目标函数可以进一步简化,得到简化后运行模型,从而写成如下的形式:According to the definition of P2P transaction cost (28), in the P2P transaction market, consumers spend money to buy electricity (corresponding to a positive P2P transaction cost), while producers obtain income by selling electricity (corresponding to a negative P2P transaction cost). Due to the equality of demand and supply, the sum of P2P transaction costs in the interconnected integrated energy network system must be zero. In an embodiment, the objective function in problem (30) can be further simplified, and the simplified running model is obtained, so that it can be written in the following form:

Figure BDA0003511272270000241
Figure BDA0003511272270000241

可以理解的是,在问题(31)中,P2P交易成本(又称同级电热网络购买电能成本)

Figure BDA0003511272270000242
不再显式地出现在目标函数中,因此,目标函数也不再受到P2P交易功率和未知的P2P交易价格
Figure BDA0003511272270000243
的影响。It is understandable that in problem (31), the P2P transaction cost (also known as the cost of purchasing electricity from the same-level electric heating network)
Figure BDA0003511272270000242
is no longer explicitly present in the objective function, therefore, the objective function is also no longer subject to P2P transaction power and unknown P2P transaction price
Figure BDA0003511272270000243
Impact.

为了构建分布式求解策略,可以引入目标辅助变量

Figure BDA0003511272270000244
将问题(31)中的约束
Figure BDA0003511272270000245
等价转化为如下的形式:In order to build a distributed solution strategy, target auxiliary variables can be introduced
Figure BDA0003511272270000244
Put the constraints in problem (31)
Figure BDA0003511272270000245
Equivalently translates into the following form:

Figure BDA0003511272270000246
Figure BDA0003511272270000246

Figure BDA0003511272270000247
Figure BDA0003511272270000247

其中,约束(32)和(33)为设计P2P交易价格

Figure BDA0003511272270000251
提供了一个可行的路径。从经济学的角度考虑,约束(33)的对偶变量代表了
Figure BDA0003511272270000252
改变一个单位时目标函数(总成本)对应的改变量,因此这个对偶变量可以作为子电热网络m和n进行P2P交易的价格。Among them, constraints (32) and (33) are the design P2P transaction price
Figure BDA0003511272270000251
provides a feasible path. From an economic point of view, the dual variable of constraint (33) represents
Figure BDA0003511272270000252
The amount of change corresponding to the objective function (total cost) when one unit is changed, so this dual variable can be used as the price of the P2P transaction for the sub-electric heating networks m and n.

在一示例中,可以令zn

Figure BDA0003511272270000253
和yn分别表示P2P交易变量(又称简化后运行模型中约束函数的关于同级电热网络购买电能成本的第二电能数量)
Figure BDA0003511272270000254
目标辅助变量
Figure BDA0003511272270000255
和模型(31)中的剩余决策变量(又称简化后运行模型中除关于同级电热网络购买电能成本的第二电能数量之外的剩余决策变量)。可以看到,yn和zn是属于每个子电热网络n的局部变量,不管在目标函数还是约束中,都与其余子电热网络没有耦合关系。In an example, z n ,
Figure BDA0003511272270000253
and y n respectively represent the P2P transaction variable (also known as the second electric energy quantity about the cost of electric energy purchased by the electric heating network at the same level of the constraint function in the simplified operation model)
Figure BDA0003511272270000254
target auxiliary variable
Figure BDA0003511272270000255
and the remaining decision variables in the model (31) (also known as the remaining decision variables in the simplified operating model except for the second amount of electrical energy related to the cost of purchasing electrical energy from the electric heating network at the same level). It can be seen that y n and z n are local variables belonging to each sub-electrothermal network n, no matter in the objective function or constraints, there is no coupling relationship with the rest of the sub-electrothermal network.

在一种实施例中,简化后运行模型包括约束函数,约束函数包括关于同级电热网络购买电能成本的第二电能数量

Figure BDA0003511272270000256
进一步,简化后运行模型(31)进行矩阵转换,可以得到关于简化后运行模型的矩阵模型,并可以表示为如下矩阵形式:In one embodiment, the simplified operating model includes a constraint function including a second amount of electrical energy with respect to the cost of purchasing electrical energy from the same-level electrical heating network
Figure BDA0003511272270000256
Further, by performing matrix transformation on the simplified running model (31), a matrix model of the simplified running model can be obtained, which can be expressed as the following matrix form:

Figure BDA0003511272270000257
Figure BDA0003511272270000257

其中,yn表示简化后运行模型中除关于所述同级电热网络购买电能成本的第二电能数量之外的剩余决策变量,zn表示简化后运行模型中约束函数的关于同级电热网络购买电能成本的第二电能数量;

Figure BDA0003511272270000258
表示目标辅助变量;fn、dn、Cn、Dn和En均表示常系数。Wherein, y n represents the remaining decision variables in the simplified operation model except for the second electric energy quantity related to the purchase cost of electric energy of the electric heating network at the same level, and z n represents the constraint function in the simplified operation model regarding the purchase of electric energy of the same level electric heating network the second electrical energy quantity of the electrical energy cost;
Figure BDA0003511272270000258
represents the target auxiliary variable; f n , d n , C n , D n and En all represent constant coefficients.

需要说明的是,在矩阵模型(34)中,第一个约束表示每个子电热网络的局部约束;第二个约束表示不同子电热网络之间P2P交易的功率平衡,对应约束(32),显然是各子电热网络之间的耦合约束;第三个约束是约束(33)的矩阵形式,其对偶变量代表了P2P交易价格。It should be noted that in the matrix model (34), the first constraint represents the local constraint of each sub-electrical heating network; the second constraint represents the power balance of P2P transactions between different sub-electrical heating networks, corresponding to constraint (32), obviously is the coupling constraint between each sub-electrical heating network; the third constraint is the matrix form of constraint (33), whose dual variable represents the P2P transaction price.

为了构建问题(34)的分布式求解算法,可以构建关于矩阵模型的增广拉格朗日函数。在一示例中,增广拉格朗日函数可以采用以下公式确定:To construct a distributed solution algorithm for problem (34), an augmented Lagrangian function on the matrix model can be constructed. In one example, the augmented Lagrangian function can be determined using the following formula:

Figure BDA0003511272270000261
Figure BDA0003511272270000261

其中,λn表示关于约束函数

Figure BDA0003511272270000262
的对偶变量,用于表示基于P2P交易模式的同级电热网络间购买电能的单价;ρ表示惩罚项参数。Among them, λ n represents the constraint function with respect to
Figure BDA0003511272270000262
The dual variable is used to represent the unit price of electric energy purchased between the same-level electric heating networks based on the P2P transaction mode; ρ represents the penalty item parameter.

在又一种实施例中,基于增广拉格朗日函数(35),问题(34)可以利用两分区的交替方向乘子法进行分布式求解。即基于增广拉格朗日函数,利用交替方向乘子法对运行模型进行分布式求解。In yet another embodiment, based on the augmented Lagrangian function (35), the problem (34) can be distributed distributedly solved using a two-partition alternating direction multiplier method. That is, based on the augmented Lagrangian function, the running model is solved in a distributed manner using the alternating direction multiplier method.

图3是本发明提供的基于增广拉格朗日函数,利用交替方向乘子法对运行模型进行分布式求解的流程示意图。FIG. 3 is a schematic flowchart of the distributed solution of the running model based on the augmented Lagrangian function using the alternating direction multiplier method provided by the present invention.

下面将结合图3对于增广拉格朗日函数,利用交替方向乘子法对运行模型进行分布式求解的过程进行说明。The process of performing distributed solution to the operating model by using the alternating direction multiplier method for the augmented Lagrangian function will be described below with reference to FIG. 3 .

在本发明一示例性实施例中,如图3所示,增广拉格朗日函数,利用交替方向乘子法对运行模型进行分布式求解可以包括步骤310至步骤350,下面将分别介绍各步骤。In an exemplary embodiment of the present invention, as shown in FIG. 3 , the augmented Lagrangian function and the distributed solution of the running model using the alternating direction multiplier method may include steps 310 to 350 , which will be introduced separately below. step.

在步骤310中,S1:确定收敛阈值ε、确定初始化的基于P2P交易模式的同级电热网络间购买电能的单价

Figure BDA0003511272270000263
以及设置迭代轮次次数k=0,其中,收敛阈值ε>0。In step 310, S1: determine the convergence threshold ε, and determine the unit price of electric energy purchased between the initialized P2P transaction mode-based electric heating networks at the same level
Figure BDA0003511272270000263
And set the number of iteration rounds k=0, where the convergence threshold ε>0.

在步骤320中,S2:基于各个子电热网络的独立性,并行更新简化后运行模型中除关于所述同级电热网络购买电能成本的第二电能数量之外的剩余决策变量yn,以及简化后运行模型中约束函数的关于同级电热网络购买电能成本的第二电能数量znIn step 320, S2: based on the independence of each sub-electric heating network, update the remaining decision variables y n in the simplified operating model in parallel except for the second electric energy quantity related to the cost of purchasing electric energy of the electric heating network at the same level, and simplify The second electric energy quantity z n of the constraint function in the post-run model with respect to the cost of electric energy purchased by the electric heating network at the same level.

其中,更新后的第二电能数量Zn k+1和更新后的剩余决策变量yn k+1满足如下关系:Among them, the updated second electric energy quantity Z n k+1 and the updated remaining decision variable y n k+1 satisfy the following relationship:

Figure BDA0003511272270000271
Figure BDA0003511272270000271

在一种实施例中,可以更新局部变量yn和zn。由于变量yn和zn的局部性,每个子电热网络可以并行独立地求解(36),以更新yn和zn,得到更新后的第二电能数量zn k+1和更新后的剩余决策变量yn k+1In one embodiment, the local variables yn and zn may be updated. Due to the locality of variables yn and zn, each sub-electrothermal network can be solved independently in parallel (36) to update yn and zn to obtain an updated second electrical energy quantity znk + 1 and an updated residual Decision variable y n k+1 .

在步骤330中,S3:将子电热网络的更新后的第二电能数量zn k+1分享至互联综合能源网络系统中的其他子电热网络,并对目标辅助变量

Figure BDA0003511272270000272
进行更新,其中,更新后的目标辅助变量
Figure BDA0003511272270000273
可以满足如下关系:In step 330, S3: Share the updated second electric energy quantity z n k+1 of the sub-electric heating network to other sub-electric heating networks in the interconnected integrated energy network system, and adjust the target auxiliary variable
Figure BDA0003511272270000272
make an update, where the updated target auxiliary variable
Figure BDA0003511272270000273
The following relationship can be satisfied:

Figure BDA0003511272270000274
Figure BDA0003511272270000274

在一种实施例中,可以更新耦合变量(又称目标辅助变量)

Figure BDA0003511272270000275
以得到更新后的目标辅助变量(又称更新后的耦合变量)
Figure BDA0003511272270000276
在应用过程中,每个子电热网络可以将P2P交易功率量(又称第二电能数量)zn k+1分享至互联综合能源网络系统中的其他子电热网络,通过求解(37)更新耦合变量
Figure BDA0003511272270000277
In one embodiment, coupling variables (aka target auxiliary variables) can be updated
Figure BDA0003511272270000275
to get the updated target auxiliary variable (also known as the updated coupling variable)
Figure BDA0003511272270000276
In the application process, each sub-electric heating network can share the P2P transaction power amount (also known as the second electric energy amount) z n k+1 to other sub-electric heating networks in the interconnected integrated energy network system, and update the coupling variables by solving (37)
Figure BDA0003511272270000277

在步骤340中,S4:更新基于P2P交易模式的同级电热网络间购买电能的单价

Figure BDA0003511272270000278
其中,更新后的同级电热网络间购买电能的单价
Figure BDA0003511272270000279
满足如下关系:In step 340, S4: Update the unit price of electric energy purchased between electric heating networks of the same level based on the P2P transaction mode
Figure BDA0003511272270000278
Among them, the unit price of electric energy purchased between the updated electric heating networks of the same level
Figure BDA0003511272270000279
Satisfy the following relationship:

Figure BDA0003511272270000281
Figure BDA0003511272270000281

在一种实施例中,更新P2P交易模式的同级电热网络间购买电能的单价

Figure BDA0003511272270000282
其中,每个子电热网络可以通计算(38)更新P2P交易模式的同级电热网络间购买电能的单价。In an embodiment, the unit price of electric energy purchased between electric heating networks of the same level in the P2P transaction mode is updated
Figure BDA0003511272270000282
Wherein, each sub-electric heating network can update the unit price of electric energy purchased between the electric heating networks of the same level in the P2P transaction mode through calculation (38).

在步骤350中,S5:进行收敛性检验,若更新后的同级电热网络间购买电能的单价收敛,则终止计算并输出最终的结果;否则,更新并返回S2。In step 350, S5: Convergence check is performed, if the updated unit price of electric power purchased between the electric heating networks of the same level converges, terminate the calculation and output the final result; otherwise, update and return to S2.

其中,更新后的同级电热网络间购买电能的单价收敛可以通过以下公式表示:Among them, the unit price convergence of purchased electric energy between the updated electric heating networks of the same level can be expressed by the following formula:

Figure BDA0003511272270000283
Figure BDA0003511272270000283

输出最终的结果可以包括

Figure BDA0003511272270000284
The output final result can include
Figure BDA0003511272270000284

至此,可以完成互联综合能源网络系统的运行模型(30)的分布式求解,并给出了合理的机制决定P2P交易的价格。So far, the distributed solution of the operation model (30) of the interconnected integrated energy network system can be completed, and a reasonable mechanism to determine the price of the P2P transaction is given.

本发明提出的基于P2P交易模式的互联综合能源网络调度方法,,其优点是:在互联电热系统中,每个电热系统属于独立主体,追求自身利益的最大化,因此亟需设计一种合理的机制在保证每个主体利益时最大化系统整体利益。本发明首先建立了互联电热系统的数学模型,随后采用P2P交易机制设计了各个电热系统之间的交易规则,从而激励每个主体参与到P2P交易市场中,从而建立起了基于P2P交易的互联电热系统协调运行模型。最后,基于交替方向乘子法设计了基于P2P交易的互联电热系统协调运行模型的分布式求解算法,从而保护了各个电热系统的隐私数据。本发明提出的方法无需各个电热系统分享隐私数据,同时设计的方法满足激励相容原理,每个电热系统追求自身利益的同时就是在最大化整体利益,因而具有隐私性强、计算简单、易于投入工程实践等优点。The interconnected comprehensive energy network scheduling method based on the P2P transaction mode proposed by the present invention has the advantages that: in the interconnected electric heating system, each electric heating system belongs to an independent subject and pursues the maximization of its own interests, so it is urgent to design a reasonable The mechanism maximizes the overall interests of the system while ensuring the interests of each subject. The present invention firstly establishes the mathematical model of the interconnected electric heating system, and then adopts the P2P trading mechanism to design the trading rules between the various electric heating systems, thereby encouraging each subject to participate in the P2P trading market, thereby establishing the interconnected electric heating system based on P2P trading. System coordination operation model. Finally, a distributed solution algorithm for the coordinated operation model of interconnected electric heating systems based on P2P transactions is designed based on the alternate direction multiplier method, thereby protecting the privacy data of each electric heating system. The method proposed by the invention does not require each electric heating system to share private data, and the designed method satisfies the principle of incentive compatibility. Each electric heating system pursues its own interests while maximizing the overall interests, so it has strong privacy, simple calculation and easy investment. Engineering practice, etc.

根据上述描述可知,本发明提供的基于P2P交易模式的互联综合能源网络调度方法,应用于互联综合能源网络系统,其中,互联综合能源网络系统包括多个子电热网络。本发明通过P2P交易模式确定各子电热网络之间的交易规则,用以激励每个子电热网络参与到P2P交易中,并建立起基于P2P交易的互联综合能源网络系统的运行模型。再对运行模型进行分布式求解,在保护各个子电热网络的隐私数据的前提下,得到上级电力网络购买电能成本的第一电能数量、分布式发电机组输出的有功功率、热电联产机组输入的天然气功率,以及同级电热网络购买电能成本的第二电能数量,以使各个子电热网络的运行成本和互联综合能源网络系统的运行成本最低。本发明提出的基于P2P交易模式的互联综合能源网络调度方法,无需各个子电热网络分享隐私数据,并且满足激励相容原理,实现了在每个子电热网络追求自身利益的同时就是在最大化的互联综合能源网络系统整体利益,从而保证每个电热主体自身利益基础上,实现互联综合能源网络系统的整体利益的最大化。According to the above description, the interconnected integrated energy network scheduling method based on the P2P transaction mode provided by the present invention is applied to an interconnected integrated energy network system, wherein the interconnected integrated energy network system includes a plurality of sub-electric heating networks. The invention determines the transaction rules between the sub-electric heating networks through the P2P transaction mode to encourage each sub-electric heating network to participate in the P2P transaction, and establishes the operation model of the interconnected comprehensive energy network system based on the P2P transaction. Then, the operation model is solved in a distributed manner, and under the premise of protecting the privacy data of each sub-electric heating network, the first electric energy quantity of the purchase electric energy cost of the superior electric power network, the active power output by the distributed generator set, and the input value of the cogeneration set are obtained. Natural gas power, and the second amount of electric energy purchased by the electric heating network at the same level, so as to minimize the operation cost of each sub-electric heating network and the operation cost of the interconnected integrated energy network system. The interconnected comprehensive energy network scheduling method based on the P2P transaction mode proposed by the present invention does not require each sub-electric heating network to share private data, and satisfies the principle of incentive compatibility, and realizes that each sub-electric heating network pursues its own interests while maximizing the interconnection. The overall interests of the integrated energy network system are guaranteed to maximize the overall interests of the interconnected integrated energy network system on the basis of the interests of each electric heating subject.

基于相同的构思,本发明还提供一种基于P2P交易模式的互联综合能源网络调度装置。Based on the same concept, the present invention also provides an interconnected integrated energy network dispatching device based on a P2P transaction mode.

下面对本发明提供的基于P2P交易模式的互联综合能源网络调度装置进行描述,下文描述的基于P2P交易模式的互联综合能源网络调度装置与上文描述的基于P2P交易模式的互联综合能源网络调度方法可相互对应参照。The interconnected integrated energy network scheduling device based on the P2P transaction mode provided by the present invention will be described below. The interconnected integrated energy network scheduling device based on the P2P transaction mode described below and the interconnected integrated energy network scheduling method based on the P2P transaction mode described above can be refer to each other.

图4是本发明提供的基于P2P交易模式的互联综合能源网络调度装置的结构示意图。FIG. 4 is a schematic structural diagram of an interconnected integrated energy network dispatching device based on a P2P transaction mode provided by the present invention.

在本发明一示例性实施例中,基于P2P交易模式的互联综合能源网络调度装置可以应用于互联综合能源网络系统,其中,互联综合能源网络系统可以包括多个子电热网络。子电热网络至少可以包括电力网络、热力网络、分布式发电机组、风电机组、热电联产机组、热泵、储电装置以及储热装置,子电热网络之间可以通过软开关连接且采用P2P交易模式进行交易。In an exemplary embodiment of the present invention, the interconnected integrated energy network scheduling apparatus based on the P2P transaction mode can be applied to an interconnected integrated energy network system, wherein the interconnected integrated energy network system may include a plurality of sub-electric heating networks. The sub-electric heating network can at least include power network, thermal network, distributed generator sets, wind turbines, cogeneration units, heat pumps, power storage devices and heat storage devices. The sub-electric heating networks can be connected through soft switches and adopt P2P transaction mode. Trading.

如图4所示,基于P2P交易模式的互联综合能源网络调度装置可以包括建立模块410和处理模块420,下面将分别介绍各模块。As shown in FIG. 4 , the interconnected integrated energy network dispatching device based on the P2P transaction mode may include a building module 410 and a processing module 420 , each of which will be introduced separately below.

建立模块410可以被配置为用于基于P2P交易模式,建立关于互联综合能源网络系统的运行模型,其中,运行模型可以包括各个子电热网络的运行成本,运行成本可以包括上级电力网络购买电能成本、分布式发电机组运行成本、热电联产机组运行成本和同级电热网络购买电能成本。The establishment module 410 may be configured to establish an operation model of the interconnected integrated energy network system based on the P2P transaction mode, wherein the operation model may include the operation cost of each sub-electric heating network, and the operation cost may include the cost of purchasing electric energy from the upper-level power network, The operating cost of distributed generating units, the operating cost of cogeneration units and the cost of purchasing electricity from the same-level electric heating network.

处理模块420可以被配置为用于对运行模型进行分布式求解,得到关于上级电力网络购买电能成本的第一电能数量、关于分布式发电机组运行成本的分布式发电机组输出的有功功率、关于热电联产机组运行成本的热电联产机组输入的天然气功率,以及关于同级电热网络购买电能成本的第二电能数量,以使各个子电热网络的运行成本和互联综合能源网络系统的运行成本最低。The processing module 420 may be configured to perform a distributed solution to the operating model to obtain a first amount of electrical energy related to the cost of purchasing electrical energy from the upper-level power network, the active power output of the distributed generator set related to the operating cost of the distributed generator set, and the related thermal power. The natural gas power input by the cogeneration unit, which is the operating cost of the cogeneration unit, and the second amount of electric energy related to the cost of purchasing electric energy from the electric heating network at the same level, so as to minimize the operating cost of each sub-electrical heating network and the operating cost of the interconnected integrated energy network system.

在本发明一示例性实施例中,关于互联综合能源网络系统的运行模型可以包括各个子电热网络的运行成本之和,建立模块410可以采用以下公式确定运行成本:In an exemplary embodiment of the present invention, the operation model of the interconnected integrated energy network system may include the sum of the operation costs of each sub-electric heating network, and the establishment module 410 may use the following formula to determine the operation cost:

Figure BDA0003511272270000301
Figure BDA0003511272270000301

其中,

Figure BDA0003511272270000302
表示运行成本,
Figure BDA0003511272270000303
表示上级电力网络购买电能成本,
Figure BDA0003511272270000304
表示分布式发电机组运行成本,
Figure BDA0003511272270000305
表示热电联产机组运行成本,
Figure BDA0003511272270000306
表示同级电热网络购买电能成本。in,
Figure BDA0003511272270000302
represents the running cost,
Figure BDA0003511272270000303
represents the cost of purchasing electricity from the superior power network,
Figure BDA0003511272270000304
represents the operating cost of the distributed generator set,
Figure BDA0003511272270000305
represents the operating cost of the cogeneration unit,
Figure BDA0003511272270000306
Indicates the cost of electric energy purchased by the electric heating network at the same level.

在本发明一示例性实施例中,建立模块410可以采用以下公式确定上级电力网络购买电能成本:In an exemplary embodiment of the present invention, the establishment module 410 may use the following formula to determine the cost of purchasing electric energy from the upper-level electric power network:

Figure BDA0003511272270000307
Figure BDA0003511272270000307

其中,

Figure BDA0003511272270000308
表示从上级电力网络购买电能的单价,
Figure BDA0003511272270000309
表示关于上级电力网络购买电能成本的第一电能数量,电力网络具有如下模型:in,
Figure BDA0003511272270000308
Represents the unit price of electric energy purchased from the upper-level power network,
Figure BDA0003511272270000309
Represents the first amount of electric energy about the cost of purchasing electric energy from the upper-level electric power network, and the electric power network has the following model:

Figure BDA0003511272270000311
Figure BDA0003511272270000311

Figure BDA0003511272270000312
Figure BDA0003511272270000312

Vj,t=Vi,t-(rijPij,t+xijQij,t)/V0 (3)V j,t =V i,t -(r ij P ij,t +x ij Q ij,t )/V 0 (3)

其中,pj,t表示电力网络中节点j处注入的总有功功率,包括关于上级电力网络购买电能成本的第一电能数量

Figure BDA0003511272270000313
关于同级电热网络购买电能成本的第二电能数量
Figure BDA0003511272270000314
分布式发电机组的有功出力
Figure BDA0003511272270000315
热电联产机组的有功出力
Figure BDA0003511272270000316
风电机组的有功出力
Figure BDA0003511272270000317
储电装置的充电功率
Figure BDA0003511272270000318
和放电功率
Figure BDA0003511272270000319
Figure BDA00035112722700003110
表示电力网络中节点j处的总有功负荷,包括基础电负荷和所述热泵消耗的有功功率
Figure BDA00035112722700003111
qj,t表示电力网络中节点j处注入的总无功功率,包括来自上级电力网络的无功功率
Figure BDA00035112722700003112
和分布式发电机组的无功出力
Figure BDA00035112722700003113
Figure BDA00035112722700003114
表示电力网络中节点j处的无功负荷;Pij,t和Qij,t分别表示电力网络中节点i到节点j的线路有功功率和无功功率;rij和xij分别表示电力网络中节点i到节点j的线路电阻和线路电抗;Vi,t表示电力网络中节点i的电压幅值;V0表示基准电压;
Figure BDA00035112722700003115
表示节点j的下游节点集合。Among them, p j, t represents the total active power injected at node j in the power network, including the first amount of electrical energy about the cost of purchasing electrical energy from the upper-level power network
Figure BDA0003511272270000313
The second amount of electric energy about the cost of electric energy purchased by the electric heating network at the same level
Figure BDA0003511272270000314
Active Power Output of Distributed Generating Sets
Figure BDA0003511272270000315
Active power output of cogeneration units
Figure BDA0003511272270000316
Active output of wind turbines
Figure BDA0003511272270000317
The charging power of the storage device
Figure BDA0003511272270000318
and discharge power
Figure BDA0003511272270000319
Figure BDA00035112722700003110
represents the total active load at node j in the power network, including the base electrical load and the active power consumed by the heat pump
Figure BDA00035112722700003111
q j,t represents the total reactive power injected at node j in the power network, including the reactive power from the upper-level power network
Figure BDA00035112722700003112
and reactive power output of distributed generator sets
Figure BDA00035112722700003113
Figure BDA00035112722700003114
Represents the reactive load at node j in the power network; P ij,t and Q ij,t represent the active power and reactive power of the line from node i to node j in the power network, respectively; r ij and x ij represent the power network. Line resistance and line reactance from node i to node j; V i,t represents the voltage amplitude of node i in the power network; V 0 represents the reference voltage;
Figure BDA00035112722700003115
Represents the set of downstream nodes of node j.

在本发明一示例性实施例中,建立模块410可以采用以下公式确定分布式发电机组运行成本:In an exemplary embodiment of the present invention, the establishment module 410 may use the following formula to determine the operating cost of the distributed generator set:

Figure BDA00035112722700003116
Figure BDA00035112722700003116

其中,

Figure BDA00035112722700003117
表示分布式发电机组输出的有功功率,
Figure BDA00035112722700003118
表示第一常系数,
Figure BDA0003511272270000321
表示第二常系数,
Figure BDA0003511272270000322
表示第三常系数,其中,分布式发电机组具有如下模型:in,
Figure BDA00035112722700003117
represents the active power output by the distributed generator set,
Figure BDA00035112722700003118
represents the first constant coefficient,
Figure BDA0003511272270000321
represents the second constant coefficient,
Figure BDA0003511272270000322
represents the third constant coefficient, where the distributed generator set has the following model:

Figure BDA0003511272270000323
Figure BDA0003511272270000323

Figure BDA0003511272270000324
Figure BDA0003511272270000324

其中,

Figure BDA0003511272270000325
表示分布式发电机组输出的无功功率;
Figure BDA0003511272270000326
Figure BDA0003511272270000327
分别表示分布式发电机组的有功功率的上限和下限;
Figure BDA0003511272270000328
Figure BDA0003511272270000329
分别表示分布式发电机组的无功功率的上限和下限。in,
Figure BDA0003511272270000325
Represents the reactive power output by the distributed generator set;
Figure BDA0003511272270000326
and
Figure BDA0003511272270000327
respectively represent the upper limit and lower limit of the active power of the distributed generator set;
Figure BDA0003511272270000328
and
Figure BDA0003511272270000329
Represent the upper and lower limits of the reactive power of the distributed generator set, respectively.

在本发明一示例性实施例中,建立模块410可以采用以下公式确定热电联产机组运行成本:In an exemplary embodiment of the present invention, the establishment module 410 can use the following formula to determine the operating cost of the cogeneration unit:

Figure BDA00035112722700003210
Figure BDA00035112722700003210

其中,

Figure BDA00035112722700003211
表示天然气单价,
Figure BDA00035112722700003212
表示热电联产机组输入的天然气功率,其中,热电联产机组具有如下模型:in,
Figure BDA00035112722700003211
represents the unit price of natural gas,
Figure BDA00035112722700003212
Represents the natural gas power input by the cogeneration unit, where the cogeneration unit has the following model:

Figure BDA00035112722700003213
Figure BDA00035112722700003213

Figure BDA00035112722700003214
Figure BDA00035112722700003214

Figure BDA00035112722700003215
Figure BDA00035112722700003215

其中,

Figure BDA00035112722700003216
Figure BDA00035112722700003217
分别表示热电联产机组输出的电功率和热功率;
Figure BDA00035112722700003218
Figure BDA00035112722700003219
分别表示热电联产机组的气转电效率和气转热效率;
Figure BDA00035112722700003220
Figure BDA00035112722700003221
分别表示热电联产机组输入天然气功率的上限和下限。in,
Figure BDA00035112722700003216
and
Figure BDA00035112722700003217
Respectively represent the electrical power and thermal power output by the cogeneration unit;
Figure BDA00035112722700003218
and
Figure BDA00035112722700003219
respectively represent the gas-to-electricity and gas-to-heat efficiency of the cogeneration unit;
Figure BDA00035112722700003220
and
Figure BDA00035112722700003221
represent the upper and lower limits of the input natural gas power of the cogeneration unit, respectively.

在本发明一示例性实施例中,建立模块410可以采用以下公式确定同级电热网络购买电能成本:In an exemplary embodiment of the present invention, the establishment module 410 can use the following formula to determine the cost of purchasing electric energy from the electric heating network at the same level:

Figure BDA00035112722700003222
Figure BDA00035112722700003222

其中,

Figure BDA0003511272270000331
表示基于P2P交易模式的同级电热网络间购买电能的单价,
Figure BDA0003511272270000332
表示关于子电热网络m和子电热网络n之间的同级电热网络购买电能成本的第二电能数量,其中,连接子电热网络m和子电热网络n的所述软开关具有如下模型:in,
Figure BDA0003511272270000331
Indicates the unit price of electric energy purchased between electric heating networks of the same level based on the P2P transaction mode,
Figure BDA0003511272270000332
Represents the second electric energy quantity with respect to the cost of electric energy purchased by the electric heating network at the same level between the sub electric heating network m and the sub electric heating network n, wherein the soft switch connecting the sub electric heating network m and the sub electric heating network n has the following model:

Figure BDA0003511272270000333
Figure BDA0003511272270000333

Figure BDA0003511272270000334
Figure BDA0003511272270000334

其中,

Figure BDA0003511272270000335
表示软开关中的有功功率损耗;
Figure BDA0003511272270000336
表示软开关的功率损耗系数;Mn表示与子电热网络n连接的子电热网络集合。in,
Figure BDA0003511272270000335
represents the active power loss in soft switching;
Figure BDA0003511272270000336
Represents the power loss coefficient of the soft switch; Mn represents the set of sub-electrical heating networks connected to the sub-electrical heating network n.

在本发明一示例性实施例中,处理模块420可以采用以下方式对运行模型进行分布式求解:In an exemplary embodiment of the present invention, the processing module 420 may perform a distributed solution to the operating model in the following manner:

获取目标辅助变量,其中,目标辅助变量为关于同级电热网络购买电能成本的第二电能数量的辅助变量;基于P2P交易模式的需求和供给的相等性以及目标辅助变量,在运行模型中隐去同级电热网络购买电能成本,得到简化后运行模型;对所述简化后运行模型进行矩阵转换,得到关于简化后运行模型的矩阵模型,并构建关于矩阵模型的增广拉格朗日函数;基于增广拉格朗日函数,利用交替方向乘子法对运行模型进行分布式求解。Obtain the target auxiliary variable, where the target auxiliary variable is the auxiliary variable of the second electric energy quantity related to the cost of purchasing electric energy of the same-level electric heating network; based on the equality of demand and supply in the P2P transaction mode and the target auxiliary variable, it is hidden in the operation model The cost of electric energy purchased by the same-level electric heating network is obtained, and the simplified operation model is obtained; the matrix transformation of the simplified operation model is performed to obtain the matrix model of the simplified operation model, and the augmented Lagrangian function of the matrix model is constructed; based on Augmented Lagrangian function, distributed solution of running model using alternating direction multiplier method.

在本发明一示例性实施例中,简化后运行模型可以包括约束函数,约束函数可以包括关于同级电热网络购买电能成本的第二电能数量,处理模块420可以采用以下模型确定关于简化后运行模型的矩阵模型:In an exemplary embodiment of the present invention, the simplified operation model may include a constraint function, and the constraint function may include a second amount of electric energy related to the cost of electric energy purchased by the electric heating network at the same level. The matrix model of :

Figure BDA0003511272270000341
Figure BDA0003511272270000341

其中,yn表示简化后运行模型中除所述关于同级电热网络购买电能成本的第二电能数量之外的剩余决策变量,zn表示简化后运行模型中约束函数的关于同级电热网络购买电能成本的第二电能数量;

Figure BDA0003511272270000342
表示目标辅助变量;fn、dn、Cn、Dn和En均表示常系数。Among them, y n represents the remaining decision variables in the simplified operation model except for the second electric energy quantity related to the purchase cost of the electric heating network at the same level; the second electrical energy quantity of the electrical energy cost;
Figure BDA0003511272270000342
represents the target auxiliary variable; f n , d n , C n , D n and En all represent constant coefficients.

在本发明一示例性实施例中,处理模块420可以采用以下公式确定增广拉格朗日函数:In an exemplary embodiment of the present invention, the processing module 420 may use the following formula to determine the augmented Lagrangian function:

Figure BDA0003511272270000343
Figure BDA0003511272270000343

其中,λn表示关于约束函数

Figure BDA0003511272270000344
的对偶变量,用于表示基于P2P交易模式的同级电热网络间购买电能的单价;ρ表示惩罚项参数。Among them, λ n represents the constraint function with respect to
Figure BDA0003511272270000344
The dual variable is used to represent the unit price of electric energy purchased between the same-level electric heating network based on the P2P transaction mode; ρ represents the penalty item parameter.

在本发明一示例性实施例中,处理模块420可以采用以下方式基于增广拉格朗日函数,利用交替方向乘子法对运行模型进行分布式求解:In an exemplary embodiment of the present invention, the processing module 420 may use the alternate direction multiplier method to perform a distributed solution to the running model based on the augmented Lagrangian function in the following manner:

S1:确定收敛阈值ε、确定初始化的基于P2P交易模式的同级电热网络间购买电能的单价

Figure BDA0003511272270000345
以及设置迭代轮次次数k=0,其中,收敛阈值ε>0;S1: Determine the convergence threshold ε, and determine the unit price of electric energy purchased between the same-level electric heating networks based on the initialized P2P transaction mode
Figure BDA0003511272270000345
and setting the number of iteration rounds k=0, where the convergence threshold ε>0;

S2:基于各个子电热网络的独立性,并行更新简化后运行模型中除关于同级电热网络购买电能成本的第二电能数量之外的剩余决策变量yn,以及简化后运行模型中约束函数的关于同级电热网络购买电能成本的第二电能数量zn,其中,S2: Based on the independence of each sub-electric heating network, update the remaining decision variables yn in the simplified operation model in parallel except for the second electric energy quantity related to the cost of electric energy purchased by the electric heating network at the same level, and the constraint function in the simplified operation model. The second electric energy quantity z n about the electric energy purchased by the electric heating network of the same level, wherein,

Figure BDA0003511272270000351
Figure BDA0003511272270000351

S3:将子电热网络的更新后的第二电能数量

Figure BDA0003511272270000352
分享至互联综合能源网络系统中的其他子电热网络,并对目标辅助变量
Figure BDA0003511272270000353
进行更新,其中,S3: the updated second electric energy quantity of the sub-electric heating network
Figure BDA0003511272270000352
Share to other sub-electric heating networks in the interconnected integrated energy network system, and adjust the target auxiliary variables
Figure BDA0003511272270000353
to update where,

Figure BDA0003511272270000354
Figure BDA0003511272270000354

S4:更新基于P2P交易模式的同级电热网络间购买电能的单价

Figure BDA0003511272270000355
其中,S4: Update the unit price of electric energy purchased between electric heating networks of the same level based on the P2P transaction mode
Figure BDA0003511272270000355
in,

Figure BDA0003511272270000356
Figure BDA0003511272270000356

S5:进行收敛性检验,若

Figure BDA0003511272270000357
则终止计算并输出最终的结果
Figure BDA0003511272270000358
否则,更新k←k+1并返回S2。S5: Convergence test is performed, if
Figure BDA0003511272270000357
then terminate the calculation and output the final result
Figure BDA0003511272270000358
Otherwise, update k←k+1 and return to S2.

在本发明一示例性实施例中,建立模块410可以采用以下模型确定热力网络:In an exemplary embodiment of the present invention, the establishment module 410 may use the following model to determine the thermal network:

Figure BDA0003511272270000359
Figure BDA0003511272270000359

Figure BDA00035112722700003510
Figure BDA00035112722700003510

Figure BDA00035112722700003511
Figure BDA00035112722700003511

Figure BDA00035112722700003512
Figure BDA00035112722700003512

Figure BDA00035112722700003513
Figure BDA00035112722700003513

其中,b表示热力网络的管道;

Figure BDA00035112722700003514
表示热源注入所述热力网络的总热功率,包括热电联产机组的热出力
Figure BDA0003511272270000361
热泵的热出力
Figure BDA0003511272270000362
储热装置的充热功率
Figure BDA0003511272270000363
和储热装置的放热功率
Figure BDA0003511272270000364
Figure BDA0003511272270000365
表示热负荷的热消耗功率;cp表示水的比热容;
Figure BDA0003511272270000366
表示热源处从回水管道注入供水管道的循环水质量流量;
Figure BDA0003511272270000367
表示热负荷处从供水管道注入回水管道的循环水质量流量;
Figure BDA0003511272270000368
Figure BDA0003511272270000369
分别表示供水温度和回水温度;mb,t表示管道b的循环水质量流量;
Figure BDA00035112722700003610
Figure BDA00035112722700003611
分别表示管道b的入口温度和出口温度;γb表示管道b的温度损耗系数;Lb表示管道b的长度;
Figure BDA00035112722700003612
表示环境温度;
Figure BDA00035112722700003613
表示汇合节点处的流体混合温度;
Figure BDA00035112722700003614
表示以节点i为末端的管道集合;
Figure BDA00035112722700003615
表示以节点i为首端的管道集合。Among them, b represents the pipeline of the thermal network;
Figure BDA00035112722700003514
Indicates the total thermal power injected by the heat source into the thermal network, including the thermal output of the cogeneration unit
Figure BDA0003511272270000361
heat output of heat pump
Figure BDA0003511272270000362
The charging power of the heat storage device
Figure BDA0003511272270000363
and the exothermic power of the heat storage device
Figure BDA0003511272270000364
Figure BDA0003511272270000365
Represents the heat consumption power of the heat load; c p represents the specific heat capacity of water;
Figure BDA0003511272270000366
Represents the mass flow of circulating water injected from the return pipe into the water supply pipe at the heat source;
Figure BDA0003511272270000367
Represents the mass flow of circulating water injected from the water supply pipeline into the return pipeline at the heat load;
Figure BDA0003511272270000368
and
Figure BDA0003511272270000369
respectively represent the water supply temperature and return water temperature; m b, t represent the mass flow of circulating water in pipeline b;
Figure BDA00035112722700003610
and
Figure BDA00035112722700003611
represent the inlet temperature and outlet temperature of pipe b, respectively; γ b represents the temperature loss coefficient of pipe b; L b represents the length of pipe b;
Figure BDA00035112722700003612
Indicates the ambient temperature;
Figure BDA00035112722700003613
represents the fluid mixing temperature at the confluence node;
Figure BDA00035112722700003614
Represents a collection of pipes ending with node i;
Figure BDA00035112722700003615
Represents a collection of pipes starting with node i.

在本发明一示例性实施例中,建立模块410可以采用以下模型确定热泵:In an exemplary embodiment of the present invention, the establishment module 410 may use the following model to determine the heat pump:

Figure BDA00035112722700003616
Figure BDA00035112722700003616

Figure BDA00035112722700003617
Figure BDA00035112722700003617

其中,

Figure BDA00035112722700003618
Figure BDA00035112722700003619
分别表示热泵消耗的电功率和输出的热功率;COPi表示热泵的能效系数;
Figure BDA00035112722700003620
Figure BDA00035112722700003621
分别表示热泵输出热功率的上限和下限。in,
Figure BDA00035112722700003618
and
Figure BDA00035112722700003619
Represents the electrical power consumed by the heat pump and the output thermal power; COP i represents the energy efficiency coefficient of the heat pump;
Figure BDA00035112722700003620
and
Figure BDA00035112722700003621
represent the upper and lower limits of the heat pump output heat power, respectively.

在本发明一示例性实施例中,建立模块410可以采用以下模型确定储热装置:In an exemplary embodiment of the present invention, the establishment module 410 may use the following model to determine the heat storage device:

Figure BDA00035112722700003622
Figure BDA00035112722700003622

Figure BDA00035112722700003623
Figure BDA00035112722700003623

Figure BDA0003511272270000371
Figure BDA0003511272270000371

其中,

Figure BDA0003511272270000372
Figure BDA0003511272270000373
分别表示储热装置的充热功率和放热功率;
Figure BDA0003511272270000374
Figure BDA0003511272270000375
分别表示储热装置的充热效率和放热效率;
Figure BDA0003511272270000376
表示储热装置的热能损耗率;
Figure BDA0003511272270000377
表示存储在储热装置的热能;
Figure BDA0003511272270000378
Figure BDA0003511272270000379
分别表示储热装置的充热功率上限和下限;
Figure BDA00035112722700003710
Figure BDA00035112722700003711
分别表示储热装置的放热功率上限和下限;
Figure BDA00035112722700003712
Figure BDA00035112722700003713
分别表示储热装置的存储热能的上限和下限;Δt表示调度的时间间隔。in,
Figure BDA0003511272270000372
and
Figure BDA0003511272270000373
respectively represent the charging power and the exothermic power of the heat storage device;
Figure BDA0003511272270000374
and
Figure BDA0003511272270000375
respectively represent the heat charging efficiency and the heat release efficiency of the heat storage device;
Figure BDA0003511272270000376
Indicates the thermal energy loss rate of the thermal storage device;
Figure BDA0003511272270000377
represents the thermal energy stored in the thermal storage device;
Figure BDA0003511272270000378
and
Figure BDA0003511272270000379
respectively represent the upper limit and lower limit of the charging power of the heat storage device;
Figure BDA00035112722700003710
and
Figure BDA00035112722700003711
respectively represent the upper limit and lower limit of the exothermic power of the heat storage device;
Figure BDA00035112722700003712
and
Figure BDA00035112722700003713
respectively represent the upper limit and lower limit of the stored thermal energy of the heat storage device; Δt represents the scheduling time interval.

在本发明一示例性实施例中,建立模块410可以采用以下模型确定储电装置:In an exemplary embodiment of the present invention, the establishment module 410 may use the following model to determine the power storage device:

Figure BDA00035112722700003714
Figure BDA00035112722700003714

Figure BDA00035112722700003715
Figure BDA00035112722700003715

Figure BDA00035112722700003716
Figure BDA00035112722700003716

其中,

Figure BDA00035112722700003717
Figure BDA00035112722700003718
分别表示储电装置的充电功率和放电功率;
Figure BDA00035112722700003719
Figure BDA00035112722700003720
分别表示储电装置的充电效率和放电效率;
Figure BDA00035112722700003721
表示储电装置的电能损耗率;
Figure BDA00035112722700003722
表示存储在储电装置的电能;
Figure BDA00035112722700003723
Figure BDA00035112722700003724
分别表示储电装置的充电功率上限和下限;
Figure BDA00035112722700003725
Figure BDA00035112722700003726
分别表示储电装置的放电功率上限和下限;
Figure BDA00035112722700003727
Figure BDA00035112722700003728
分别表示储电装置的存储电能的上限和下限;Δt表示调度的时间间隔。in,
Figure BDA00035112722700003717
and
Figure BDA00035112722700003718
respectively represent the charging power and discharging power of the power storage device;
Figure BDA00035112722700003719
and
Figure BDA00035112722700003720
respectively represent the charging efficiency and discharging efficiency of the power storage device;
Figure BDA00035112722700003721
Represents the power loss rate of the power storage device;
Figure BDA00035112722700003722
Represents electrical energy stored in an electrical storage device;
Figure BDA00035112722700003723
and
Figure BDA00035112722700003724
respectively represent the upper limit and lower limit of the charging power of the power storage device;
Figure BDA00035112722700003725
and
Figure BDA00035112722700003726
respectively represent the upper limit and lower limit of the discharge power of the power storage device;
Figure BDA00035112722700003727
and
Figure BDA00035112722700003728
respectively represent the upper limit and lower limit of the stored electrical energy of the power storage device; Δt represents the scheduling time interval.

图5示例了一种电子设备的实体结构示意图,如图5所示,该电子设备可以包括:处理器(processor)510、通信接口(Communications Interface)520、存储器(memory)530和通信总线540,其中,处理器510,通信接口520,存储器530通过通信总线540完成相互间的通信。处理器510可以调用存储器530中的逻辑指令,以执行基于P2P交易模式的互联综合能源网络调度方法,所述方法应用于互联综合能源网络系统,其中,互联综合能源网络系统包括多个子电热网络,子电热网络至少包括电力网络、热力网络、分布式发电机组、风电机组、热电联产机组、热泵、储电装置以及储热装置,子电热网络之间通过软开关连接且采用P2P交易模式进行交易,所述方法包括:基于P2P交易模式,建立关于互联综合能源网络系统的运行模型,其中,运行模型包括各个子电热网络的运行成本,运行成本包括上级电力网络购买电能成本、分布式发电机组运行成本、热电联产机组运行成本和同级电热网络购买电能成本;对运行模型进行分布式求解,得到关于上级电力网络购买电能成本的第一电能数量、关于分布式发电机组运行成本的分布式发电机组输出的有功功率、关于热电联产机组运行成本的热电联产机组输入的天然气功率,以及关于同级电热网络购买电能成本的第二电能数量,以使各个子电热网络的运行成本和互联综合能源网络系统的运行成本最低。FIG. 5 illustrates a schematic diagram of the physical structure of an electronic device. As shown in FIG. 5 , the electronic device may include: a processor (processor) 510, a communication interface (Communications Interface) 520, a memory (memory) 530 and a communication bus 540, The processor 510 , the communication interface 520 , and the memory 530 communicate with each other through the communication bus 540 . The processor 510 can call the logic instructions in the memory 530 to execute the interconnected integrated energy network scheduling method based on the P2P transaction mode, and the method is applied to the interconnected integrated energy network system, wherein the interconnected integrated energy network system includes a plurality of sub-electric heating networks, The sub-electric heating network includes at least electric power network, thermal network, distributed generating units, wind turbines, cogeneration units, heat pumps, power storage devices and heat storage devices. The sub-electric heating networks are connected through soft switches and trade in a P2P transaction mode. , the method includes: based on the P2P transaction mode, establishing an operation model about the interconnected integrated energy network system, wherein the operation model includes the operation cost of each sub-electric heating network, and the operation cost includes the cost of purchasing electric energy from the upper-level power network, the operation of the distributed generator set Cost, operating cost of cogeneration unit, and cost of purchasing electricity from the same-level electric heating network; distributed solution to the operating model to obtain the first amount of electricity about the cost of purchasing electricity from the upper-level power network, and the distributed generation about the operating cost of distributed generating units. The active power output by the unit, the natural gas power input by the cogeneration unit regarding the operating cost of the cogeneration unit, and the second amount of electric energy regarding the cost of electric energy purchased by the electric heating network at the same level, so that the operating cost and interconnection of each sub-electric heating network can be integrated. The energy grid system has the lowest operating cost.

此外,上述的存储器530中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above-mentioned logic instructions in the memory 530 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

另一方面,本发明还提供一种计算机程序产品,所述计算机程序产品包括计算机程序,计算机程序可存储在非暂态计算机可读存储介质上,所述计算机程序被处理器执行时,计算机能够执行上述各方法所提供的基于P2P交易模式的互联综合能源网络调度方法,所述方法应用于互联综合能源网络系统,其中,互联综合能源网络系统包括多个子电热网络,子电热网络至少包括电力网络、热力网络、分布式发电机组、风电机组、热电联产机组、热泵、储电装置以及储热装置,子电热网络之间通过软开关连接且采用P2P交易模式进行交易,所述方法包括:基于P2P交易模式,建立关于互联综合能源网络系统的运行模型,其中,运行模型包括各个子电热网络的运行成本,运行成本包括上级电力网络购买电能成本、分布式发电机组运行成本、热电联产机组运行成本和同级电热网络购买电能成本;对运行模型进行分布式求解,得到关于上级电力网络购买电能成本的第一电能数量、关于分布式发电机组运行成本的分布式发电机组输出的有功功率、关于热电联产机组运行成本的热电联产机组输入的天然气功率,以及关于同级电热网络购买电能成本的第二电能数量,以使各个子电热网络的运行成本和互联综合能源网络系统的运行成本最低。In another aspect, the present invention also provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can Execute the interconnected integrated energy network scheduling method based on the P2P transaction mode provided by the above methods, and the method is applied to an interconnected integrated energy network system, wherein the interconnected integrated energy network system includes a plurality of sub-electrical heating networks, and the sub-electrical heating network includes at least a power network , thermal network, distributed generator sets, wind turbines, cogeneration units, heat pumps, power storage devices and heat storage devices, the sub-electric heating networks are connected through soft switches and trade in a P2P transaction mode, the method includes: based on In the P2P transaction mode, an operation model of the interconnected integrated energy network system is established. The operation model includes the operation cost of each sub-electrical heating network, and the operation cost includes the cost of purchasing electricity from the upper-level power network, the operation cost of distributed generators, and the operation of cogeneration units. cost and the cost of electric energy purchased by the electric heating network at the same level; the operation model is solved in a distributed manner to obtain the first amount of electric energy related to the cost of electric energy purchased by the superior power network, the active power output by the distributed generator set related to the operating cost of the distributed generator set, and the related The natural gas power input by the cogeneration unit, which is the operating cost of the cogeneration unit, and the second amount of electric energy related to the cost of electric energy purchased by the electric heating network at the same level, so as to minimize the operating cost of each sub-electrical heating network and the operating cost of the interconnected integrated energy network system .

又一方面,本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各方法提供的基于P2P交易模式的互联综合能源网络调度方法,所述方法应用于互联综合能源网络系统,其中,互联综合能源网络系统包括多个子电热网络,子电热网络至少包括电力网络、热力网络、分布式发电机组、风电机组、热电联产机组、热泵、储电装置以及储热装置,子电热网络之间通过软开关连接且采用P2P交易模式进行交易,所述方法包括:基于P2P交易模式,建立关于互联综合能源网络系统的运行模型,其中,运行模型包括各个子电热网络的运行成本,运行成本包括上级电力网络购买电能成本、分布式发电机组运行成本、热电联产机组运行成本和同级电热网络购买电能成本;对运行模型进行分布式求解,得到关于上级电力网络购买电能成本的第一电能数量、关于分布式发电机组运行成本的分布式发电机组输出的有功功率、关于热电联产机组运行成本的热电联产机组输入的天然气功率,以及关于同级电热网络购买电能成本的第二电能数量,以使各个子电热网络的运行成本和互联综合能源网络系统的运行成本最低。In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, it is implemented to execute the interconnected integrated energy based on the P2P transaction mode provided by the above methods A network scheduling method, the method is applied to an interconnected integrated energy network system, wherein the interconnected integrated energy network system includes a plurality of sub-electric heating networks, and the sub-electric heating networks at least include an electric power network, a thermal network, a distributed generator set, a wind turbine, and a combined heat and power generation. A unit, a heat pump, a power storage device and a heat storage device, the sub-electric heating networks are connected through soft switches and trade in a P2P transaction mode, the method includes: establishing an operation model for an interconnected integrated energy network system based on the P2P transaction mode, Among them, the operating model includes the operating cost of each sub-electric heating network, and the operating cost includes the cost of purchasing electric energy from the upper-level power network, the operating cost of distributed generator sets, the operating cost of cogeneration units, and the cost of purchasing electric energy from the same-level electric heating network; the operating model is distributed. The first electric energy quantity related to the cost of purchasing electric energy from the upper power network, the active power output by the distributed generator set related to the operating cost of the distributed generator set, and the natural gas power input by the cogeneration set related to the operating cost of the cogeneration set , and the second amount of electric energy related to the cost of electric energy purchased by the electric heating network at the same level, so as to minimize the operating cost of each sub-electric heating network and the operating cost of the interconnected integrated energy network system.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on this understanding, the above-mentioned technical solutions can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic A disc, an optical disc, etc., includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments or some parts of the embodiments.

进一步可以理解的是,本公开实施例中尽管在附图中以特定的顺序描述操作,但是不应将其理解为要求按照所示的特定顺序或是串行顺序来执行这些操作,或是要求执行全部所示的操作以得到期望的结果。在特定环境中,多任务和并行处理可能是有利的。It is further to be understood that, although the operations in the embodiments of the present disclosure are described in a specific order in the drawings, it should not be construed as requiring that the operations be performed in the specific order shown or the serial order, or requiring Perform all operations shown to obtain the desired result. In certain circumstances, multitasking and parallel processing may be advantageous.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still be The technical solutions described in the foregoing embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (18)

1.一种基于P2P交易模式的互联综合能源网络调度方法,其特征在于,所述方法应用于互联综合能源网络系统,其中,所述互联综合能源网络系统包括多个子电热网络,所述子电热网络至少包括电力网络、热力网络、分布式发电机组、风电机组、热电联产机组、热泵、储电装置以及储热装置,所述子电热网络之间通过软开关连接且采用P2P交易模式进行交易,所述方法包括:1. An interconnected integrated energy network scheduling method based on a P2P transaction mode, wherein the method is applied to an interconnected integrated energy network system, wherein the interconnected integrated energy network system includes a plurality of sub-electric heating networks, and the sub-electric heating The network includes at least a power network, a thermal network, a distributed generator set, a wind turbine, a combined heat and power unit, a heat pump, an electricity storage device and a heat storage device, and the sub-electric heating networks are connected through soft switches and trade in a P2P transaction mode , the method includes: 基于所述P2P交易模式,建立关于所述互联综合能源网络系统的运行模型,其中,所述运行模型包括各个所述子电热网络的运行成本,所述运行成本包括上级电力网络购买电能成本、分布式发电机组运行成本、热电联产机组运行成本和同级电热网络购买电能成本;Based on the P2P transaction mode, an operation model of the interconnected integrated energy network system is established, wherein the operation model includes the operation cost of each of the sub-electric heating networks, and the operation cost includes the cost of purchasing electric energy from the upper-level electric network, distribution The operating cost of the generator set, the operating cost of the cogeneration unit and the cost of purchasing electricity from the electric heating network at the same level; 对所述运行模型进行分布式求解,得到关于所述上级电力网络购买电能成本的第一电能数量、关于所述分布式发电机组运行成本的分布式发电机组输出的有功功率、关于所述热电联产机组运行成本的热电联产机组输入的天然气功率,以及关于所述同级电热网络购买电能成本的第二电能数量,以使各个所述子电热网络的运行成本和所述互联综合能源网络系统的运行成本最低。Perform a distributed solution on the operating model to obtain a first amount of electrical energy related to the cost of purchasing electrical energy from the upper-level power network, active power output from the distributed generator set related to the operating cost of the distributed generator set, and information related to the combined heat and power. The natural gas power input by the cogeneration unit, which is the operating cost of the cogeneration unit, and the second amount of electric energy related to the cost of electric energy purchased by the electric heating network at the same level, so that the operating cost of each of the sub-electric heating networks and the interconnected integrated energy network system lowest operating cost. 2.根据权利要求1所述的基于P2P交易模式的互联综合能源网络调度方法,其特征在于,所述关于所述互联综合能源网络系统的运行模型包括各个所述子电热网络的运行成本之和,所述运行成本采用以下公式确定:2 . The interconnected integrated energy network scheduling method based on P2P transaction mode according to claim 1 , wherein the operation model about the interconnected integrated energy network system includes the sum of the operation costs of each of the sub-electric heating networks. 3 . , the operating cost is determined by the following formula:
Figure FDA0003511272260000011
Figure FDA0003511272260000011
其中,ft n表示所述运行成本,f1,t n表示所述上级电力网络购买电能成本,f2,t n表示所述分布式发电机组运行成本,f3,t n表示所述热电联产机组运行成本,f4,t n表示所述同级电热网络购买电能成本。Wherein, f t n represents the operating cost, f 1,t n represents the power purchase cost of the upper power network, f 2,t n represents the operating cost of the distributed generator set, and f 3,t n represents the thermal power The operating cost of the co-generation unit, f 4,t n represents the cost of purchasing electricity from the electric heating network at the same level.
3.根据权利要求2所述的基于P2P交易模式的互联综合能源网络调度方法,其特征在于,所述上级电力网络购买电能成本采用以下公式确定:3. The interconnected comprehensive energy network scheduling method based on P2P transaction mode according to claim 2, wherein the cost of purchasing electric energy from the upper-level electric power network is determined by the following formula:
Figure FDA0003511272260000021
Figure FDA0003511272260000021
其中,
Figure FDA0003511272260000022
表示从上级电力网络购买电能的单价,
Figure FDA0003511272260000023
表示关于所述上级电力网络购买电能成本的第一电能数量,所述电力网络具有如下模型:
in,
Figure FDA0003511272260000022
Represents the unit price of electric energy purchased from the upper-level power network,
Figure FDA0003511272260000023
Represents the first amount of electrical energy with respect to the cost of purchasing electrical energy from the upper-level electrical network, the electrical network having the following model:
Figure FDA0003511272260000024
Figure FDA0003511272260000024
Figure FDA0003511272260000025
Figure FDA0003511272260000025
Vj,t=Vi,t-(rijPij,t+xijQij,t)/V0 V j,t =V i,t -(r ij P ij,t +x ij Q ij,t )/V 0 其中,pj,t表示所述电力网络中节点j处注入的总有功功率,包括关于所述上级电力网络购买电能成本的第一电能数量
Figure FDA0003511272260000026
关于所述同级电热网络购买电能成本的第二电能数量
Figure FDA0003511272260000027
所述分布式发电机组的有功出力
Figure FDA0003511272260000028
所述热电联产机组的有功出力
Figure FDA0003511272260000029
所述风电机组的有功出力
Figure FDA00035112722600000210
所述储电装置的充电功率pj,t c和放电功率pj,t d
Figure FDA00035112722600000211
表示所述电力网络中节点j处的总有功负荷,包括基础电负荷和所述热泵消耗的有功功率
Figure FDA00035112722600000212
qj,t表示所述电力网络中节点j处注入的总无功功率,包括来自上级电力网络的无功功率
Figure FDA00035112722600000213
和所述分布式发电机组的无功出力
Figure FDA00035112722600000214
Figure FDA00035112722600000215
表示所述电力网络中节点j处的无功负荷;Pij,t和Qij,t分别表示所述电力网络中节点i到节点j的线路有功功率和无功功率;rij和xij分别表示所述电力网络中节点i到节点j的线路电阻和线路电抗;Vi,t表示所述电力网络中节点i的电压幅值;V0表示基准电压;
Figure FDA00035112722600000216
表示节点j的下游节点集合。
Wherein, p j,t represents the total active power injected at node j in the power network, including the first amount of electrical energy related to the cost of electrical energy purchased by the upper-level power network
Figure FDA0003511272260000026
The second amount of electric energy about the cost of electric energy purchased by the electric heating network at the same level
Figure FDA0003511272260000027
Active power output of the distributed generator set
Figure FDA0003511272260000028
Active power output of the cogeneration unit
Figure FDA0003511272260000029
Active power output of the wind turbine
Figure FDA00035112722600000210
the charging power p j,t c and the discharging power p j,t d of the power storage device;
Figure FDA00035112722600000211
represents the total active load at node j in the power network, including the base electrical load and the active power consumed by the heat pump
Figure FDA00035112722600000212
q j,t represents the total reactive power injected at node j in the power network, including the reactive power from the upper-level power network
Figure FDA00035112722600000213
and the reactive power output of the distributed generator set
Figure FDA00035112722600000214
Figure FDA00035112722600000215
represents the reactive load at node j in the power network; P ij,t and Q ij,t respectively represent the active power and reactive power of the line from node i to node j in the power network; r ij and x ij respectively represents the line resistance and line reactance from node i to node j in the power network; V i,t represents the voltage amplitude of node i in the power network; V 0 represents the reference voltage;
Figure FDA00035112722600000216
Represents the set of downstream nodes of node j.
4.根据权利要求2所述的基于P2P交易模式的互联综合能源网络调度方法,其特征在于,所述分布式发电机组运行成本采用以下公式确定:4. The interconnected comprehensive energy network scheduling method based on the P2P transaction mode according to claim 2, wherein the operating cost of the distributed generator set is determined by the following formula:
Figure FDA0003511272260000031
Figure FDA0003511272260000031
其中,
Figure FDA0003511272260000032
表示所述分布式发电机组输出的有功功率,
Figure FDA0003511272260000033
表示第一常系数,
Figure FDA0003511272260000034
表示第二常系数,
Figure FDA0003511272260000035
表示第三常系数,其中,所述分布式发电机组具有如下模型:
in,
Figure FDA0003511272260000032
represents the active power output by the distributed generator set,
Figure FDA0003511272260000033
represents the first constant coefficient,
Figure FDA0003511272260000034
represents the second constant coefficient,
Figure FDA0003511272260000035
represents the third constant coefficient, wherein the distributed generator set has the following model:
Figure FDA0003511272260000036
Figure FDA0003511272260000036
Figure FDA0003511272260000037
Figure FDA0003511272260000037
其中,
Figure FDA0003511272260000038
表示所述分布式发电机组输出的无功功率;
Figure FDA0003511272260000039
Figure FDA00035112722600000310
分别表示所述分布式发电机组的有功功率的上限和下限;
Figure FDA00035112722600000311
Figure FDA00035112722600000312
分别表示所述分布式发电机组的无功功率的上限和下限。
in,
Figure FDA0003511272260000038
Represents the reactive power output by the distributed generator set;
Figure FDA0003511272260000039
and
Figure FDA00035112722600000310
respectively represent the upper limit and lower limit of the active power of the distributed generator set;
Figure FDA00035112722600000311
and
Figure FDA00035112722600000312
respectively represent the upper limit and lower limit of the reactive power of the distributed generator set.
5.根据权利要求2所述的基于P2P交易模式的互联综合能源网络调度方法,其特征在于,所述热电联产机组运行成本采用以下公式确定:5. The interconnected comprehensive energy network scheduling method based on P2P transaction mode according to claim 2, wherein the operation cost of the cogeneration unit is determined by the following formula:
Figure FDA00035112722600000313
Figure FDA00035112722600000313
其中,
Figure FDA00035112722600000314
表示天然气单价,
Figure FDA00035112722600000315
表示所述热电联产机组输入的天然气功率,其中,所述热电联产机组具有如下模型:
in,
Figure FDA00035112722600000314
represents the unit price of natural gas,
Figure FDA00035112722600000315
Represents the natural gas power input by the cogeneration unit, wherein the cogeneration unit has the following model:
Figure FDA00035112722600000316
Figure FDA00035112722600000316
Figure FDA00035112722600000317
Figure FDA00035112722600000317
Figure FDA00035112722600000318
Figure FDA00035112722600000318
其中,
Figure FDA00035112722600000319
Figure FDA00035112722600000320
分别表示所述热电联产机组输出的电功率和热功率;
Figure FDA00035112722600000321
Figure FDA00035112722600000322
分别表示所述热电联产机组的气转电效率和气转热效率;
Figure FDA00035112722600000323
Figure FDA00035112722600000324
分别表示所述热电联产机组输入天然气功率的上限和下限。
in,
Figure FDA00035112722600000319
and
Figure FDA00035112722600000320
respectively represent the electrical power and thermal power output by the cogeneration unit;
Figure FDA00035112722600000321
and
Figure FDA00035112722600000322
respectively represent the gas-to-electricity conversion efficiency and gas-to-heat conversion efficiency of the cogeneration unit;
Figure FDA00035112722600000323
and
Figure FDA00035112722600000324
respectively represent the upper limit and lower limit of the input natural gas power of the cogeneration unit.
6.根据权利要求2所述的基于P2P交易模式的互联综合能源网络调度方法,其特征在于,所述同级电热网络购买电能成本采用以下公式确定:6. The interconnected comprehensive energy network scheduling method based on P2P transaction mode according to claim 2, wherein the electricity purchase cost of the electric heating network at the same level is determined by the following formula:
Figure FDA0003511272260000041
Figure FDA0003511272260000041
其中,
Figure FDA0003511272260000042
表示基于P2P交易模式的同级电热网络间购买电能的单价;
Figure FDA0003511272260000043
表示关于子电热网络m和子电热网络n之间的同级电热网络购买电能成本的第二电能数量,其中,连接子电热网络m和子电热网络n的所述软开关具有如下模型:
in,
Figure FDA0003511272260000042
Indicates the unit price of electric energy purchased between electric heating networks of the same level based on the P2P transaction mode;
Figure FDA0003511272260000043
Represents the second electric energy quantity with respect to the cost of electric energy purchased by the electric heating network at the same level between the sub electric heating network m and the sub electric heating network n, wherein the soft switch connecting the sub electric heating network m and the sub electric heating network n has the following model:
Figure FDA0003511272260000044
Figure FDA0003511272260000044
Figure FDA0003511272260000045
Figure FDA0003511272260000045
其中,
Figure FDA0003511272260000046
表示所述软开关中的有功功率损耗;
Figure FDA0003511272260000047
表示所述软开关的功率损耗系数;Mn表示与所述子电热网络n连接的子电热网络集合。
in,
Figure FDA0003511272260000046
represents the active power loss in the soft switching;
Figure FDA0003511272260000047
represents the power loss coefficient of the soft switch; Mn represents the set of sub-electrical heating networks connected to the sub-electrical heating network n.
7.根据权利要求2所述的基于P2P交易模式的互联综合能源网络调度方法,其特征在于,所述对所述运行模型进行分布式求解,包括:7. The interconnected comprehensive energy network scheduling method based on P2P transaction mode according to claim 2, wherein the distributed solution to the operating model comprises: 获取目标辅助变量,其中,所述目标辅助变量为关于所述同级电热网络购买电能成本的第二电能数量的辅助变量;acquiring a target auxiliary variable, wherein the target auxiliary variable is an auxiliary variable related to the second electric energy quantity of the electric energy purchased by the electric heating network of the same level; 基于P2P交易模式的需求和供给的相等性以及所述目标辅助变量,在所述运行模型中隐去所述同级电热网络购买电能成本,得到简化后运行模型;Based on the equality of demand and supply in the P2P transaction mode and the target auxiliary variable, the electricity purchase cost of the electric heating network at the same level is hidden in the operation model, and a simplified operation model is obtained; 对所述简化后运行模型进行矩阵转换,得到关于所述简化后运行模型的矩阵模型,并构建关于所述矩阵模型的增广拉格朗日函数;performing matrix transformation on the simplified running model to obtain a matrix model about the simplified running model, and constructing an augmented Lagrangian function about the matrix model; 基于所述增广拉格朗日函数,利用交替方向乘子法对所述运行模型进行分布式求解。Based on the augmented Lagrangian function, the operating model is distributedly solved using an alternating direction multiplier method. 8.根据权利要求7所述的基于P2P交易模式的互联综合能源网络调度方法,其特征在于,所述简化后运行模型包括约束函数,所述约束函数包括关于所述同级电热网络购买电能成本的第二电能数量,所述关于所述简化后运行模型的矩阵模型具有如下模型:8 . The interconnected integrated energy network scheduling method based on the P2P transaction mode according to claim 7 , wherein the simplified operation model includes a constraint function, and the constraint function includes the cost of purchasing electric energy for the electric heating network at the same level. 9 . The second amount of electrical energy, the matrix model about the simplified operating model has the following model:
Figure FDA0003511272260000051
Figure FDA0003511272260000051
s.t.Cnyn+Dnzn≤fn,
Figure FDA0003511272260000052
stC n y n +D n z n ≤f n ,
Figure FDA0003511272260000052
Figure FDA0003511272260000053
Figure FDA0003511272260000053
Figure FDA0003511272260000054
Figure FDA0003511272260000054
其中,yn表示所述简化后运行模型中除所述关于所述同级电热网络购买电能成本的第二电能数量之外的剩余决策变量;zn表示所述简化后运行模型中所述约束函数的关于所述同级电热网络购买电能成本的第二电能数量;
Figure FDA0003511272260000055
表示所述目标辅助变量;fn、dn、Cn、Dn和En均表示常系数。
Wherein, y n represents the remaining decision variables in the simplified operation model except for the second electric energy quantity related to the electric energy purchased by the electric heating network of the same level; z n represents the constraints in the simplified operation model a second amount of electric energy as a function of the cost of electric energy purchased by the electric heating network at the same level;
Figure FDA0003511272260000055
represents the target auxiliary variable; f n , d n , C n , D n and En all represent constant coefficients.
9.根据权利要求8所述的基于P2P交易模式的互联综合能源网络调度方法,其特征在于,所述增广拉格朗日函数采用以下公式确定:9. The interconnected integrated energy network scheduling method based on P2P transaction mode according to claim 8, wherein the augmented Lagrangian function is determined by the following formula:
Figure FDA0003511272260000056
Figure FDA0003511272260000056
其中,λn表示关于约束函数
Figure FDA0003511272260000057
的对偶变量,用于表示基于P2P交易模式的同级电热网络间购买电能的单价;ρ表示惩罚项参数。
Among them, λ n represents the constraint function with respect to
Figure FDA0003511272260000057
The dual variable is used to represent the unit price of electric energy purchased between the same-level electric heating networks based on the P2P transaction mode; ρ represents the penalty item parameter.
10.根据权利要求9所述的基于P2P交易模式的互联综合能源网络调度方法,其特征在于,所述基于所述增广拉格朗日函数,利用交替方向乘子法对所述运行模型进行分布式求解,包括:10 . The interconnected integrated energy network scheduling method based on P2P transaction mode according to claim 9 , wherein, based on the augmented Lagrangian function, the operation model is performed using an alternating direction multiplier method. 11 . Distributed solving, including: S1:确定收敛阈值ε、确定初始化的基于P2P交易模式的同级电热网络间购买电能的单价
Figure FDA0003511272260000058
以及设置迭代轮次次数k=0,其中,收敛阈值ε>0;
S1: Determine the convergence threshold ε, and determine the unit price of electric energy purchased between the same-level electric heating networks based on the initialized P2P transaction mode
Figure FDA0003511272260000058
and setting the number of iteration rounds k=0, where the convergence threshold ε>0;
S2:基于各个所述子电热网络的独立性,并行更新所述简化后运行模型中除所述关于所述同级电热网络购买电能成本的第二电能数量之外的剩余决策变量yn,以及所述简化后运行模型中所述约束函数的关于所述同级电热网络购买电能成本的第二电能数量zn,其中,S2: Based on the independence of each of the sub-electric heating networks, update the remaining decision variables yn in the simplified operating model in parallel except for the second amount of electric energy related to the cost of electric energy purchased by the electric heating network at the same level, and The second electric energy quantity z n of the constraint function in the simplified operation model with respect to the electric energy purchased by the electric heating network of the same level, wherein,
Figure FDA0003511272260000061
Figure FDA0003511272260000061
s.t.Cnyn+Dnzn≤fn stC n y n +D n z n ≤f n S3:将所述子电热网络的更新后的第二电能数量zn k+1分享至所述互联综合能源网络系统中的其他子电热网络,并对目标辅助变量
Figure FDA0003511272260000062
进行更新,其中,
S3: Share the updated second electric energy quantity z n k+1 of the sub-electric heating network to other sub-electric heating networks in the interconnected integrated energy network system, and adjust the target auxiliary variable
Figure FDA0003511272260000062
to update where,
Figure FDA0003511272260000063
Figure FDA0003511272260000063
Figure FDA0003511272260000064
Figure FDA0003511272260000064
S4:更新基于P2P交易模式的同级电热网络间购买电能的单价λn k,其中,S4: Update the unit price λ n k of electric energy purchased between the same-level electric heating networks based on the P2P transaction mode, wherein,
Figure FDA0003511272260000065
Figure FDA0003511272260000065
S5:进行收敛性检验,若
Figure FDA0003511272260000066
则终止计算并输出最终的结果
Figure FDA0003511272260000067
否则,更新k←k+1并返回S2。
S5: Convergence test is performed, if
Figure FDA0003511272260000066
then terminate the calculation and output the final result
Figure FDA0003511272260000067
Otherwise, update k←k+1 and return to S2.
11.根据权利要求1所述的基于P2P交易模式的互联综合能源网络调度方法,其特征在于,所述热力网络具有如下模型:11. The interconnected comprehensive energy network scheduling method based on P2P transaction mode according to claim 1, wherein the thermal network has the following model:
Figure FDA0003511272260000068
Figure FDA0003511272260000068
Figure FDA0003511272260000069
Figure FDA0003511272260000069
Figure FDA00035112722600000610
Figure FDA00035112722600000610
Figure FDA00035112722600000611
Figure FDA00035112722600000611
Figure FDA00035112722600000612
Figure FDA00035112722600000612
其中,b表示所述热力网络的管道;
Figure FDA00035112722600000613
表示热源注入所述热力网络的总热功率,包括所述热电联产机组的热出力
Figure FDA0003511272260000071
所述热泵的热出力
Figure FDA0003511272260000072
所述储热装置的充热功率hi,t c和所述储热装置的放热功率hi,t d
Figure FDA0003511272260000073
表示热负荷的热消耗功率;cp表示水的比热容;
Figure FDA0003511272260000074
表示热源处从回水管道注入供水管道的循环水质量流量;
Figure FDA0003511272260000075
表示热负荷处从供水管道注入回水管道的循环水质量流量;
Figure FDA0003511272260000076
Figure FDA0003511272260000077
分别表示供水温度和回水温度;mb,t表示管道b的循环水质量流量;
Figure FDA0003511272260000078
Figure FDA0003511272260000079
分别表示管道b的入口温度和出口温度;γb表示管道b的温度损耗系数;Lb表示管道b的长度;Tt a表示环境温度;
Figure FDA00035112722600000710
表示汇合节点处的流体混合温度;
Figure FDA00035112722600000711
表示以节点i为末端的管道集合;
Figure FDA00035112722600000712
表示以节点i为首端的管道集合。
Wherein, b represents the pipeline of the thermal network;
Figure FDA00035112722600000613
Indicates the total thermal power injected by the heat source into the thermal network, including the thermal output of the cogeneration unit
Figure FDA0003511272260000071
The heat output of the heat pump
Figure FDA0003511272260000072
the charging power h i,t c of the heat storage device and the heat releasing power h i,t d of the heat storage device;
Figure FDA0003511272260000073
Represents the heat consumption power of the heat load; c p represents the specific heat capacity of water;
Figure FDA0003511272260000074
Represents the mass flow of circulating water injected from the return pipe into the water supply pipe at the heat source;
Figure FDA0003511272260000075
Represents the mass flow of circulating water injected from the water supply pipeline into the return pipeline at the heat load;
Figure FDA0003511272260000076
and
Figure FDA0003511272260000077
respectively represent the water supply temperature and return water temperature; m b, t represent the mass flow of circulating water in pipeline b;
Figure FDA0003511272260000078
and
Figure FDA0003511272260000079
represent the inlet temperature and outlet temperature of pipe b, respectively; γ b represents the temperature loss coefficient of pipe b; L b represents the length of pipe b; T t a represents the ambient temperature;
Figure FDA00035112722600000710
represents the fluid mixing temperature at the confluence node;
Figure FDA00035112722600000711
Represents a collection of pipes ending with node i;
Figure FDA00035112722600000712
Represents a collection of pipes starting with node i.
12.根据权利要求1所述的基于P2P交易模式的互联综合能源网络调度方法,其特征在于,所述热泵具有如下模型:12. The interconnected comprehensive energy network scheduling method based on P2P transaction mode according to claim 1, wherein the heat pump has the following model:
Figure FDA00035112722600000713
Figure FDA00035112722600000713
Figure FDA00035112722600000714
Figure FDA00035112722600000714
其中,
Figure FDA00035112722600000715
Figure FDA00035112722600000716
分别表示所述热泵消耗的电功率和输出的热功率;COPi表示所述热泵的能效系数;
Figure FDA00035112722600000717
h i HP分别表示所述热泵输出热功率的上限和下限。
in,
Figure FDA00035112722600000715
and
Figure FDA00035112722600000716
respectively represent the electrical power consumed by the heat pump and the output thermal power; COP i represents the energy efficiency coefficient of the heat pump;
Figure FDA00035112722600000717
and h i HP represent the upper and lower limits of the heat pump output thermal power, respectively.
13.根据权利要求1所述的基于P2P交易模式的互联综合能源网络调度方法,其特征在于,所述储热装置具有如下模型:13. The interconnected comprehensive energy network scheduling method based on P2P transaction mode according to claim 1, wherein the heat storage device has the following model:
Figure FDA00035112722600000718
Figure FDA00035112722600000718
Figure FDA00035112722600000719
Figure FDA00035112722600000719
Figure FDA00035112722600000720
Figure FDA00035112722600000720
其中,
Figure FDA00035112722600000721
Figure FDA00035112722600000722
分别表示所述储热装置的充热功率和放热功率;
Figure FDA00035112722600000723
Figure FDA00035112722600000724
分别表示所述储热装置的充热效率和放热效率;
Figure FDA00035112722600000725
表示所述储热装置的热能损耗率;
Figure FDA00035112722600000726
表示存储在所述储热装置的热能;
Figure FDA00035112722600000727
Figure FDA00035112722600000728
分别表示所述储热装置的充热功率上限和下限;
Figure FDA0003511272260000081
h i d分别表示所述储热装置的放热功率上限和下限;
Figure FDA0003511272260000082
W i T分别表示所述储热装置的存储热能的上限和下限;Δt表示调度的时间间隔。
in,
Figure FDA00035112722600000721
and
Figure FDA00035112722600000722
respectively represent the charging power and the exothermic power of the heat storage device;
Figure FDA00035112722600000723
and
Figure FDA00035112722600000724
respectively represent the heat charging efficiency and the heat release efficiency of the heat storage device;
Figure FDA00035112722600000725
represents the thermal energy loss rate of the thermal storage device;
Figure FDA00035112722600000726
represents the thermal energy stored in said thermal storage device;
Figure FDA00035112722600000727
and
Figure FDA00035112722600000728
respectively represent the upper limit and lower limit of the charging power of the heat storage device;
Figure FDA0003511272260000081
and h id respectively represent the upper limit and lower limit of the heat release power of the heat storage device;
Figure FDA0003511272260000082
and W i T represent the upper and lower limits of the thermal energy storage of the thermal storage device, respectively; Δt represents the scheduling time interval.
14.根据权利要求1所述的基于P2P交易模式的互联综合能源网络调度方法,其特征在于,所述储电装置具有如下模型:14. The interconnected comprehensive energy network scheduling method based on P2P transaction mode according to claim 1, wherein the power storage device has the following model:
Figure FDA0003511272260000083
Figure FDA0003511272260000083
Figure FDA0003511272260000084
Figure FDA0003511272260000084
Figure FDA0003511272260000085
Figure FDA0003511272260000085
其中,
Figure FDA0003511272260000086
Figure FDA0003511272260000087
分别表示所述储电装置的充电功率和放电功率;
Figure FDA0003511272260000088
Figure FDA0003511272260000089
分别表示所述储电装置的充电效率和放电效率;
Figure FDA00035112722600000810
表示所述储电装置的电能损耗率;
Figure FDA00035112722600000811
表示存储在所述储电装置的电能;
Figure FDA00035112722600000812
Figure FDA00035112722600000813
分别表示所述储电装置的充电功率上限和下限;
Figure FDA00035112722600000814
Figure FDA00035112722600000815
分别表示所述储电装置的放电功率上限和下限;
Figure FDA00035112722600000816
W i E分别表示所述储电装置的存储电能的上限和下限;Δt表示调度的时间间隔。
in,
Figure FDA0003511272260000086
and
Figure FDA0003511272260000087
respectively represent the charging power and the discharging power of the power storage device;
Figure FDA0003511272260000088
and
Figure FDA0003511272260000089
respectively represent the charging efficiency and the discharging efficiency of the power storage device;
Figure FDA00035112722600000810
represents the power loss rate of the power storage device;
Figure FDA00035112722600000811
represents the electrical energy stored in the electrical storage device;
Figure FDA00035112722600000812
and
Figure FDA00035112722600000813
respectively represent the upper limit and lower limit of the charging power of the power storage device;
Figure FDA00035112722600000814
and
Figure FDA00035112722600000815
respectively represent the upper limit and lower limit of the discharge power of the power storage device;
Figure FDA00035112722600000816
and W i E represent the upper limit and lower limit of the stored electrical energy of the power storage device, respectively; Δt represents the scheduling time interval.
15.一种基于P2P交易模式的互联综合能源网络调度装置,其特征在于,所述装置应用于互联综合能源网络系统,其中,所述互联综合能源网络系统包括多个子电热网络,所述子电热网络至少包括电力网络、热力网络、分布式发电机组、风电机组、热电联产机组、热泵、储电装置以及储热装置,所述子电热网络之间通过软开关连接且采用P2P交易模式进行交易,所述装置包括:15. An interconnected integrated energy network scheduling device based on a P2P transaction mode, characterized in that the device is applied to an interconnected integrated energy network system, wherein the interconnected integrated energy network system includes a plurality of sub-electric heating networks, and the sub-electric heating The network includes at least a power network, a thermal network, a distributed generator set, a wind turbine, a combined heat and power unit, a heat pump, an electricity storage device and a heat storage device, and the sub-electric heating networks are connected through soft switches and trade in a P2P transaction mode , the device includes: 建立模块,用于基于所述P2P交易模式,建立关于所述互联综合能源网络系统的运行模型,其中,所述运行模型包括各个所述子电热网络的运行成本,所述运行成本包括上级电力网络购买电能成本、分布式发电机组运行成本、热电联产机组运行成本和同级电热网络购买电能成本;A establishing module for establishing an operation model of the interconnected integrated energy network system based on the P2P transaction mode, wherein the operation model includes the operation cost of each of the sub-electric heating networks, and the operation cost includes the upper-level power network The cost of purchasing electric energy, the operating cost of distributed generating units, the operating cost of cogeneration units, and the cost of purchasing electric energy from the same-level electric heating network; 处理模块,用于对所述运行模型进行分布式求解,得到关于所述上级电力网络购买电能成本的第一电能数量、关于所述分布式发电机组运行成本的分布式发电机组输出的有功功率、关于所述热电联产机组运行成本的热电联产机组输入的天然气功率,以及关于所述同级电热网络购买电能成本的第二电能数量,以使各个所述子电热网络的运行成本和所述互联综合能源网络系统的运行成本最低。a processing module, configured to perform a distributed solution to the operating model to obtain a first quantity of electrical energy related to the cost of purchasing electrical energy from the upper-level power network, active power output by the distributed generator set related to the operating cost of the distributed generator set, The natural gas power input by the cogeneration unit regarding the operating cost of the cogeneration unit, and the second amount of electric energy regarding the cost of purchasing electric energy for the electric heating network at the same level, so that the operating cost of each of the sub-electrical heating networks and the An interconnected integrated energy network system has the lowest operating cost. 16.一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1至14任一项所述的基于P2P交易模式的互联综合能源网络调度方法。16. An electronic device comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor implements the program as claimed in claim 1 when the processor executes the program The interconnected integrated energy network scheduling method based on the P2P transaction mode described in any one of to 14. 17.一种非暂态计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至14任一项所述的基于P2P交易模式的互联综合能源网络调度方法。17. A non-transitory computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the P2P-based transaction mode according to any one of claims 1 to 14 is implemented The interconnected integrated energy network scheduling method. 18.一种计算机程序产品,包括计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至14任一项所述的基于P2P交易模式的互联综合能源网络调度方法。18. A computer program product, comprising a computer program, characterized in that, when the computer program is executed by a processor, the interconnected integrated energy network scheduling method based on a P2P transaction mode according to any one of claims 1 to 14 is implemented.
CN202210152840.4A 2022-02-18 2022-02-18 P2P transaction mode-based interconnected comprehensive energy network scheduling method and device Pending CN114764681A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210152840.4A CN114764681A (en) 2022-02-18 2022-02-18 P2P transaction mode-based interconnected comprehensive energy network scheduling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210152840.4A CN114764681A (en) 2022-02-18 2022-02-18 P2P transaction mode-based interconnected comprehensive energy network scheduling method and device

Publications (1)

Publication Number Publication Date
CN114764681A true CN114764681A (en) 2022-07-19

Family

ID=82365316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210152840.4A Pending CN114764681A (en) 2022-02-18 2022-02-18 P2P transaction mode-based interconnected comprehensive energy network scheduling method and device

Country Status (1)

Country Link
CN (1) CN114764681A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109711601A (en) * 2018-11-28 2019-05-03 国网浙江省电力有限公司电力科学研究院 Distributed optimal scheduling method and device for electricity-gas-heat integrated energy system
CN112150287A (en) * 2020-09-29 2020-12-29 天津大学 An end-to-end electric energy trading method for multi-region flexible interconnected distribution network
CN113609653A (en) * 2021-07-15 2021-11-05 东北电力大学 Intelligent building group distributed optimal scheduling method based on point-to-point electric energy sharing
CN113780620A (en) * 2021-07-30 2021-12-10 河海大学 Point-to-point platform and comprehensive energy operator collaborative operation scheduling method
CN113904337A (en) * 2021-10-18 2022-01-07 山东大学 Distributed optimal scheduling method for comprehensive energy system considering flexibility of power distribution network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109711601A (en) * 2018-11-28 2019-05-03 国网浙江省电力有限公司电力科学研究院 Distributed optimal scheduling method and device for electricity-gas-heat integrated energy system
CN112150287A (en) * 2020-09-29 2020-12-29 天津大学 An end-to-end electric energy trading method for multi-region flexible interconnected distribution network
CN113609653A (en) * 2021-07-15 2021-11-05 东北电力大学 Intelligent building group distributed optimal scheduling method based on point-to-point electric energy sharing
CN113780620A (en) * 2021-07-30 2021-12-10 河海大学 Point-to-point platform and comprehensive energy operator collaborative operation scheduling method
CN113904337A (en) * 2021-10-18 2022-01-07 山东大学 Distributed optimal scheduling method for comprehensive energy system considering flexibility of power distribution network

Similar Documents

Publication Publication Date Title
JP7261507B2 (en) Electric heat pump - regulation method and system for optimizing cogeneration systems
Niknam et al. Impact of thermal recovery and hydrogen production of fuel cell power plants on distribution feeder reconfiguration
CN110378729B (en) A Comprehensive Demand Response Method Based on Dynamic Energy Pricing Strategy
CN109636056B (en) A decentralized optimization scheduling method for multi-energy microgrids based on multi-agent technology
Chen et al. Optimally coordinated dispatch of combined‐heat‐and‐electrical network with demand response
Awad et al. Integrated optimal power flow for electric power and heat in a microgrid
CN114723175A (en) A calculation method for the distribution of energy flow and carbon flow in an integrated energy system
CN112531788B (en) Transparent micro-grid group planning method considering multiple uncertainties and self-optimization-approaching operation
CN113780620B (en) Point-to-point platform and comprehensive energy operator collaborative operation scheduling method
CN111553544A (en) Industrial park distributed comprehensive demand response method based on consistency algorithm
CN112381473B (en) Regional comprehensive energy system cluster division and participation day-ahead market clearing method
CN115204562A (en) A distributed collaborative optimization scheduling method and system for interconnected micro-energy network considering multi-energy sharing
CN117494993A (en) A collaborative low-carbon dispatching method for source-grid-load distribution based on ladder carbon trading
CN105956693B (en) A Distributed Gradient Algorithm Based Economic Dispatch Method for Virtual Power Plant
CN115293457A (en) Seasonal hydrogen storage optimization configuration method of comprehensive energy system based on distributed collaborative optimization strategy
CN111724026B (en) An optimization method for coupled operation of multi-energy network and water distribution network
CN118469750A (en) Collaborative optimization operation method for park comprehensive energy system
Yu et al. Energy hub model for energy management in energy internet
CN115082235B (en) Transaction method and system for sharing multiple functions in virtual energy station
CN114764681A (en) P2P transaction mode-based interconnected comprehensive energy network scheduling method and device
CN114825325A (en) Power distribution network operation parameter optimization method and device
CN109002963A (en) Electric heating energy market equilibrium method for solving and device
CN114977271A (en) Novel power system scheduling method considering social factors
Fang et al. The stackelberg game bidding strategy of chp units in district integrated heat and power grid
CN109687430B (en) Economic operation method of distribution network based on network reconfiguration and uncertain demand response

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination