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 PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 102
- 238000005485 electric heating Methods 0.000 claims abstract description 236
- VNWKTOKETHGBQD-UHFFFAOYSA-N methane Chemical compound C VNWKTOKETHGBQD-UHFFFAOYSA-N 0.000 claims abstract description 60
- 239000003345 natural gas Substances 0.000 claims abstract description 30
- 238000003860 storage Methods 0.000 claims description 67
- 230000006870 function Effects 0.000 claims description 47
- 238000005338 heat storage Methods 0.000 claims description 41
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 39
- 238000010438 heat treatment Methods 0.000 claims description 25
- 230000005611 electricity Effects 0.000 claims description 23
- 230000003190 augmentative effect Effects 0.000 claims description 21
- 239000011159 matrix material Substances 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 18
- 238000007599 discharging Methods 0.000 claims description 11
- 238000012545 processing Methods 0.000 claims description 8
- 230000009977 dual effect Effects 0.000 claims description 7
- 238000004146 energy storage Methods 0.000 claims description 7
- 238000004364 calculation method Methods 0.000 claims description 6
- 230000009466 transformation Effects 0.000 claims description 5
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 239000012530 fluid Substances 0.000 claims description 4
- 238000012360 testing method Methods 0.000 claims description 3
- 238000009826 distribution Methods 0.000 claims description 2
- 230000008901 benefit Effects 0.000 abstract description 5
- 230000008878 coupling Effects 0.000 description 9
- 238000010168 coupling process Methods 0.000 description 9
- 238000005859 coupling reaction Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 9
- 238000013461 design Methods 0.000 description 8
- 238000004422 calculation algorithm Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 238000013178 mathematical model Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 238000012546 transfer Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000010248 power generation Methods 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000003912 environmental pollution Methods 0.000 description 1
- 238000012886 linear function Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000012887 quadratic function Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06311—Scheduling, planning or task assignment for a person or group
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0201—Market modelling; Market analysis; Collecting market data
- G06Q30/0206—Price or cost determination based on market factors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy 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
Description
技术领域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:
其中,表示所述运行成本,表示所述上级电力网络购买电能成本,表示所述分布式发电机组运行成本,表示所述热电联产机组运行成本,表示所述同级电热网络购买电能成本。in, represents the running cost, represents the cost of purchasing power from the upper-level power network, represents the operating cost of the distributed generator set, represents the operating cost of the cogeneration unit, 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:
其中,表示从上级电力网络购买电能的单价,表示关于所述上级电力网络购买电能成本的第一电能数量,所述电力网络具有如下模型:in, Represents the unit price of electric energy purchased from the upper-level power network, 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:
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处注入的总有功功率,包括关于所述上级电力网络购买电能成本的第一电能数量关于所述同级电热网络购买电能成本的第二电能数量所述分布式发电机组的有功出力所述热电联产机组的有功出力所述风电机组的有功出力所述储电装置的充电功率和放电功率 表示所述电力网络中节点j处的总有功负荷,包括基础电负荷和所述热泵消耗的有功功率qj,t表示所述电力网络中节点j处注入的总无功功率,包括来自上级电力网络的无功功率和所述分布式发电机组的无功出力 表示所述电力网络中节点j处的无功负荷;Pij,t和Qij,t分别表示所述电力网络中节点i到节点j的线路有功功率和无功功率;rij和xij分别表示所述电力网络中节点i到节点j的线路电阻和线路电抗;Vi,t表示所述电力网络中节点i的电压幅值;V0表示基准电压;表示节点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 The second amount of electric energy about the cost of electric energy purchased by the electric heating network at the same level Active power output of the distributed generator set Active power output of the cogeneration unit Active power output of the wind turbine The charging power of the power storage device and discharge power 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 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 and the reactive power output of the distributed generator set 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; 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:
其中,表示所述分布式发电机组输出的有功功率,表示第一常系数,表示第二常系数,表示第三常系数,其中,所述分布式发电机组具有如下模型:in, represents the active power output by the distributed generator set, represents the first constant coefficient, represents the second constant coefficient, represents the third constant coefficient, wherein the distributed generator set has the following model:
其中,表示所述分布式发电机组输出的无功功率;和分别表示所述分布式发电机组的有功功率的上限和下限;和分别表示所述分布式发电机组的无功功率的上限和下限。in, Represents the reactive power output by the distributed generator set; and respectively represent the upper limit and lower limit of the active power of the distributed generator set; and 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:
其中,表示天然气单价,表示所述热电联产机组输入的天然气功率,其中,所述热电联产机组具有如下模型:in, represents the unit price of natural gas, Represents the natural gas power input by the cogeneration unit, wherein the cogeneration unit has the following model:
其中,和分别表示所述热电联产机组输出的电功率和热功率;和分别表示所述热电联产机组的气转电效率和气转热效率;和分别表示所述热电联产机组输入天然气功率的上限和下限。in, and respectively represent the electrical power and thermal power output by the cogeneration unit; and respectively represent the gas-to-electricity conversion efficiency and gas-to-heat conversion efficiency of the cogeneration unit; and 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:
其中,表示基于P2P交易模式的同级电热网络间购买电能的单价,表示关于子电热网络m和子电热网络n之间的同级电热网络购买电能成本的第二电能数量,其中,连接子电热网络m和子电热网络n的所述软开关具有如下模型:in, Indicates the unit price of electric energy purchased between electric heating networks of the same level based on the P2P transaction mode, 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:
其中,表示所述软开关中的有功功率损耗;表示所述软开关的功率损耗系数;Mn表示与所述子电热网络n连接的子电热网络集合。in, represents the active power loss in the soft switching; 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:
其中,yn表示所述简化后运行模型中除所述关于所述同级电热网络购买电能成本的第二电能数量之外的剩余决策变量;zn表示所述简化后运行模型中所述约束函数的关于所述同级电热网络购买电能成本的第二电能数量;表示所述目标辅助变量;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; 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:
其中,λn表示关于约束函数的对偶变量,用于表示基于P2P交易模式的同级电热网络间购买电能的单价;ρ表示惩罚项参数。Among them, λ n represents the constraint function with respect to 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交易模式的同级电热网络间购买电能的单价以及设置迭代轮次次数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 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,
s.t.Cnyn+Dnzn≤fn stC n y n +D n z n ≤f n
S3:将所述子电热网络的更新后的第二电能数量zn k+1分享至所述互联综合能源网络系统中的其他子电热网络,并对目标辅助变量进行更新,其中,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 to update where,
S4:更新基于P2P交易模式的同级电热网络间购买电能的单价其中,S4: Update the unit price of electric energy purchased between electric heating networks of the same level based on the P2P transaction mode in,
S5:进行收敛性检验,若则终止计算并输出最终的结果否则,更新k←k+1并返回S2。S5: Convergence test is performed, if then terminate the calculation and output the final result 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:
其中,b表示所述热力网络的管道;表示热源注入所述热力网络的总热功率,包括所述热电联产机组的热出力所述热泵的热出力所述储热装置的充热功率和所述储热装置的放热功率 表示热负荷的热消耗功率;cp表示水的比热容;表示热源处从回水管道注入供水管道的循环水质量流量;表示热负荷处从供水管道注入回水管道的循环水质量流量;和分别表示供水温度和回水温度;mb,t表示管道b的循环水质量流量;和分别表示管道b的入口温度和出口温度;γb表示管道b的温度损耗系数;Lb表示管道b的长度;表示环境温度;表示汇合节点处的流体混合温度;表示以节点i为末端的管道集合;表示以节点i为首端的管道集合。Wherein, b represents the pipeline of the thermal network; Indicates the total thermal power injected by the heat source into the thermal network, including the thermal output of the cogeneration unit The heat output of the heat pump The charging power of the heat storage device and the exothermic power of the heat storage device Represents the heat consumption power of the heat load; c p represents the specific heat capacity of water; Represents the mass flow of circulating water injected from the return pipe into the water supply pipe at the heat source; Represents the mass flow of circulating water injected from the water supply pipeline into the return pipeline at the heat load; and respectively represent the water supply temperature and return water temperature; m b, t represent the mass flow of circulating water in pipeline b; and 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; Indicates the ambient temperature; represents the fluid mixing temperature at the confluence node; Represents a collection of pipes ending with node i; 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:
其中,和分别表示所述热泵消耗的电功率和输出的热功率;COPi表示所述热泵的能效系数;和分别表示所述热泵输出热功率的上限和下限。in, and 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; and 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:
其中,和分别表示所述储热装置的充热功率和放热功率;和分别表示所述储热装置的充热效率和放热效率;表示所述储热装置的热能损耗率;表示存储在所述储热装置的热能;和分别表示所述储热装置的充热功率上限和下限;和分别表示所述储热装置的放热功率上限和下限;和分别表示所述储热装置的存储热能的上限和下限;Δt表示调度的时间间隔。in, and respectively represent the charging power and the exothermic power of the heat storage device; and respectively represent the heat charging efficiency and the heat release efficiency of the heat storage device; represents the thermal energy loss rate of the thermal storage device; represents the thermal energy stored in said thermal storage device; and respectively represent the upper limit and lower limit of the charging power of the heat storage device; and respectively represent the upper limit and lower limit of the exothermic power of the heat storage device; and 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:
其中,和分别表示所述储电装置的充电功率和放电功率;和分别表示所述储电装置的充电效率和放电效率;表示所述储电装置的电能损耗率;表示存储在所述储电装置的电能;和分别表示所述储电装置的充电功率上限和下限;和分别表示所述储电装置的放电功率上限和下限;和分别表示所述储电装置的存储电能的上限和下限;Δt表示调度的时间间隔。in, and respectively represent the charging power and the discharging power of the power storage device; and respectively represent the charging efficiency and the discharging efficiency of the power storage device; represents the power loss rate of the power storage device; represents the electrical energy stored in the electrical storage device; and respectively represent the upper limit and lower limit of the charging power of the power storage device; and respectively represent the upper limit and lower limit of the discharge power of the power storage device; and 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
在步骤110中,基于P2P交易模式,建立关于互联综合能源网络系统的运行模型,其中,运行模型包括各个子电热网络的运行成本,运行成本包括上级电力网络购买电能成本、分布式发电机组运行成本、热电联产机组运行成本和同级电热网络购买电能成本。In
在互联综合能源网络系统中,每个子电热网络的目标是追求自身利益的最大化或自身运行成本的最小化。因此,可以将所有子电热网络的运行成本相加得到社会运行总成本(对应互联综合能源网络系统)。可以看到,最小化社会运行总成本(最大化社会福利)即是追求的目标。在一示例中,关于互联综合能源网络系统的运行模型可以包括各个子电热网络的运行成本之和。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
由于关于同级电热网络购买电能成本之间的交易单价并不是一个事先给定的已知量,只有在求解出问题之后才能获得相应的市场均衡价格。这给问题的求解带来了一个悖论。二是各子电热网络都是不同的利益主体,不愿意将自身的隐私数据进行共享,因此传统的集中式求解算法无法适用。在一示例中,可以对运行模型进行分布式求解,在保护各个子电热网络的隐私数据的前提下,得到上级电力网络购买电能成本的第一电能数量、分布式发电机组输出的有功功率、热电联产机组输入的天然气功率,以及同级电热网络购买电能成本的第二电能数量,以使各个子电热网络的运行成本和互联综合能源网络系统的运行成本最低。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:
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处注入的总有功功率,包括关于上级电力网络购买电能成本的第一电能数量(又称来自上级电力网络的有功功率)关于同级电热网络购买电能成本的第二电能数量(又称来自其余子电热网络的有功功率)分布式发电机组的有功出力热电联产机组的有功出力风电机组的有功出力储电装置的充电功率和放电功率 表示电力网络中节点j处的总有功负荷,包括基础电负荷和热泵消耗的有功功率qj,t表示电力网络中节点j处注入的总无功功率,包括来自上级电力网络的无功功率和分布式发电机组的无功出力 表示电力网络中节点j处的无功负荷;Pij,t和Qij,t分别表示电力网络中节点i到节点j的线路有功功率和无功功率;rij和xij分别表示电力网络中节点i到节点j的线路电阻和线路电抗;Vi,t表示电力网络中节点i的电压幅值;V0表示基准电压;表示节点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. 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 Active Power Output of Distributed Generating Sets Active power output of cogeneration units Active output of wind turbines The charging power of the storage device and discharge power 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 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 and reactive power output of distributed generator sets 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; 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:
其中,b表示热力网络的管道;表示热源注入热力网络的总热功率,包括热电联产机组的热出力热泵的热出力储热装置的充热功率和储热装置的放热功率 表示热负荷的热消耗功率;cp表示水的比热容;表示热源处从回水管道注入供水管道的循环水质量流量;表示热负荷处从供水管道注入回水管道的循环水质量流量;和分别表示供水温度和回水温度;mb,t表示管道b的循环水质量流量;和分别表示管道b的入口温度和出口温度;γb表示管道b的温度损耗系数;Lb表示管道b的长度;表示环境温度;表示汇合节点处的流体混合温度;表示以节点i为末端的管道集合;表示以节点i为首端的管道集合。Among them, b represents the pipeline of the thermal network; Indicates the total thermal power injected by the heat source into the thermal network, including the thermal output of the cogeneration unit heat output of heat pump The charging power of the heat storage device and the exothermic power of the heat storage device Represents the heat consumption power of the heat load; c p represents the specific heat capacity of water; Represents the mass flow of circulating water injected from the return pipe into the water supply pipe at the heat source; Represents the mass flow of circulating water injected from the water supply pipeline into the return pipeline at the heat load; and respectively represent the water supply temperature and return water temperature; m b, t represent the mass flow of circulating water in pipeline b; and 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; Indicates the ambient temperature; represents the fluid mixing temperature at the confluence node; Represents a collection of pipes ending with node i; 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:
其中,表示分布式发电机组输出的有功功率;表示分布式发电机组输出的无功功率;和分别表示分布式发电机组的有功功率的上限和下限;和分别表示分布式发电机组的无功功率的上限和下限。in, Indicates the active power output by the distributed generator set; Represents the reactive power output by the distributed generator set; and respectively represent the upper limit and lower limit of the active power of the distributed generator set; and 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.
需要说明的是,风电机组一般只能提供有功功率而且其可用出力会受到天气等因素的影响。It should be noted that wind turbines generally only provide active power 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:
其中,和分别表示热电联产机组输出的电功率和热功率;表示热电联产机组输入的天然气功率;和分别表示热电联产机组的气转电效率和气转热效率;和分别表示热电联产机组输入天然气功率的上限和下限。in, and Respectively represent the electrical power and thermal power output by the cogeneration unit; Indicates the natural gas power input by the cogeneration unit; and respectively represent the gas-to-electricity and gas-to-heat efficiency of the cogeneration unit; and 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:
其中,和分别表示热泵消耗的电功率和输出的热功率;COPi表示热泵的能效系数;和分别表示热泵输出热功率的上限和下限。in, and 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; and 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.
其中,和分别表示储电装置的充电功率和放电功率;和分别表示储电装置的充电效率和放电效率;表示储电装置的电能损耗率;表示存储在储电装置的电能;和分别表示储电装置的充电功率上限和下限;和分别表示储电装置的放电功率上限和下限;和分别表示储电装置的存储电能的上限和下限;和分别表示储热装置的充热功率和放热功率;和分别表示储热装置的充热效率和放热效率;表示储热装置的热能损耗率;表示存储在储热装置的热能;和分别表示储热装置的充热功率上限和下限;和分别表示储热装置的放热功率上限和下限;和分别表示储热装置的存储热能的上限和下限;Δt表示调度的时间间隔。in, and respectively represent the charging power and discharging power of the power storage device; and respectively represent the charging efficiency and discharging efficiency of the power storage device; Represents the power loss rate of the power storage device; Represents electrical energy stored in an electrical storage device; and respectively represent the upper limit and lower limit of the charging power of the power storage device; and respectively represent the upper limit and lower limit of the discharge power of the power storage device; and respectively represent the upper limit and lower limit of the stored electrical energy of the power storage device; and respectively represent the charging power and the exothermic power of the heat storage device; and respectively represent the heat charging efficiency and the heat release efficiency of the heat storage device; Indicates the thermal energy loss rate of the thermal storage device; represents the thermal energy stored in the thermal storage device; and respectively represent the upper limit and lower limit of the charging power of the heat storage device; and respectively represent the upper limit and lower limit of the exothermic power of the heat storage device; and 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.
其中,表示从子电热网络m流向子电热网络n的有功功率(又称关于子电热网络m和子电热网络n之间的同级电热网络购买电能成本的第二电能数量);表示软开关中的有功功率损耗;表示软开关的功率损耗系数;Mn表示与子电热网络n连接的子电热网络集合。in, 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); represents the active power loss in soft switching; 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:
在本发明中,通过建立互联综合能源网络系统的数学模型,可以为建立基于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:
其中,表示运行成本,表示上级电力网络购买电能成本(又称子电热网络n以价格从上级电网购买电能的成本),表示分布式发电机组运行成本,表示热电联产机组运行成本,表示同级电热网络购买电能成本(又称子电热网络n在P2P交易市场中从其余子电热网络购买电能的成本)。in, represents the running cost, Indicates the cost of purchasing electric energy from the superior power network (also known as the price of the sub-electric heating network n). the cost of purchasing electricity from the upper grid), represents the operating cost of the distributed generator set, represents the operating cost of the cogeneration unit, 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:
其中,表示从上级电力网络购买电能的单价,表示关于上级电力网络购买电能成本的第一电能数量。in, Represents the unit price of electric energy purchased from the upper-level power network, 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:
可以理解的是,分布式发电机组的运行成本是一个凸二次函数,可以通过分段线性近似的方法转成分段线性函数。其中,表示分布式发电机组输出的有功功率,表示第一常系数,表示第二常系数,表示第三常系数。Understandably, the operating cost of a distributed generator set is a convex quadratic function, which can be transformed into a piecewise linear function by piecewise linear approximation. in, represents the active power output by the distributed generator set, represents the first constant coefficient, represents the second constant coefficient, represents the third constant coefficient.
在一种实施例中,热电联产机组运行成本可以采用以下公式确定:In an embodiment, the operating cost of the cogeneration unit can be determined by the following formula:
其中,表示天然气单价,表示热电联产机组输入的天然气功率。in, represents the unit price of natural gas, 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:
同级电热网络购买电能成本又可以称作子电热网络n在P2P交易市场中从其余子电热网络购买电能的成本,或向其余电热网络卖出电能的收益。其中,表示基于P2P交易模式的同级电热网络间购买电能的单价;表示关于子电热网络m和子电热网络n之间的同级电热网络购买电能成本的第二电能数量。可以理解的是,的值可正可负,取决于交换功率的传输方向。这一特性表明,在P2P交易市场中,部分子电热网络扮演生产者的角色,部分子电热网络则扮演消费者的角色,从而实现市场的双向交易。需要说明的是,P2P交易价格并不是一个事先给定的已知量,其数值将在求解P2P交易均衡过程中产生。The cost of purchasing electricity from the same-level electric heating network 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, Indicates the unit price of electric energy purchased between electric heating networks of the same level based on the P2P transaction mode; 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, 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 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的总运行成本可以表示为: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 It can be expressed as:
在互联综合能源网络系统中,每个子电热网络主体的目标是追求自身利益的最大化或自身运行成本的最小化。因此,可以将所有电热网络的运行成本相加得到社会运行总成本(对应互联综合能源网络系统)。可以看到,最小化社会运行总成本(最大化社会福利)即是追求的目标,因此可以得到如下关于互联综合能源网络系统的运行模型: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:
其中,N表示子电热网络的集合;T表示时刻的集合。Among them, N represents the set of sub-electric heating networks; T represents the set of moments.
可以理解的是,模型(30)的求解有两大障碍。一是目标函数并不是一个明确定义的表达式。这是因为P2P交易价格并不是一个事先给定的已知量,只有在求解出问题(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 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
在步骤210中,获取目标辅助变量,其中,目标辅助变量为关于同级电热网络购买电能成本的第二电能数量的辅助变量。In
在步骤220中,基于P2P交易模式的需求和供给的相等性以及目标辅助变量,在运行模型中隐去同级电热网络购买电能成本,得到简化后运行模型。In
在步骤230中,对简化后运行模型进行矩阵转换,得到关于简化后运行模型的矩阵模型,并构建关于矩阵模型的增广拉格朗日函数。In
在步骤240中,基于增广拉格朗日函数,利用交替方向乘子法对运行模型进行分布式求解。In
根据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:
可以理解的是,在问题(31)中,P2P交易成本(又称同级电热网络购买电能成本)不再显式地出现在目标函数中,因此,目标函数也不再受到P2P交易功率和未知的P2P交易价格的影响。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) 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 Impact.
为了构建分布式求解策略,可以引入目标辅助变量将问题(31)中的约束等价转化为如下的形式:In order to build a distributed solution strategy, target auxiliary variables can be introduced Put the constraints in problem (31) Equivalently translates into the following form:
其中,约束(32)和(33)为设计P2P交易价格提供了一个可行的路径。从经济学的角度考虑,约束(33)的对偶变量代表了改变一个单位时目标函数(总成本)对应的改变量,因此这个对偶变量可以作为子电热网络m和n进行P2P交易的价格。Among them, constraints (32) and (33) are the design P2P transaction price provides a feasible path. From an economic point of view, the dual variable of constraint (33) represents 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、和yn分别表示P2P交易变量(又称简化后运行模型中约束函数的关于同级电热网络购买电能成本的第二电能数量)目标辅助变量和模型(31)中的剩余决策变量(又称简化后运行模型中除关于同级电热网络购买电能成本的第二电能数量之外的剩余决策变量)。可以看到,yn和zn是属于每个子电热网络n的局部变量,不管在目标函数还是约束中,都与其余子电热网络没有耦合关系。In an example, z n , 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) target auxiliary variable 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.
在一种实施例中,简化后运行模型包括约束函数,约束函数包括关于同级电热网络购买电能成本的第二电能数量进一步,简化后运行模型(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 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:
其中,yn表示简化后运行模型中除关于所述同级电热网络购买电能成本的第二电能数量之外的剩余决策变量,zn表示简化后运行模型中约束函数的关于同级电热网络购买电能成本的第二电能数量;表示目标辅助变量;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; 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:
其中,λn表示关于约束函数的对偶变量,用于表示基于P2P交易模式的同级电热网络间购买电能的单价;ρ表示惩罚项参数。Among them, λ n represents the constraint function with respect to 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
在步骤310中,S1:确定收敛阈值ε、确定初始化的基于P2P交易模式的同级电热网络间购买电能的单价以及设置迭代轮次次数k=0,其中,收敛阈值ε>0。In
在步骤320中,S2:基于各个子电热网络的独立性,并行更新简化后运行模型中除关于所述同级电热网络购买电能成本的第二电能数量之外的剩余决策变量yn,以及简化后运行模型中约束函数的关于同级电热网络购买电能成本的第二电能数量zn。In
其中,更新后的第二电能数量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:
在一种实施例中,可以更新局部变量yn和zn。由于变量yn和zn的局部性,每个子电热网络可以并行独立地求解(36),以更新yn和zn,得到更新后的第二电能数量zn k+1和更新后的剩余决策变量yn k+1。In 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分享至互联综合能源网络系统中的其他子电热网络,并对目标辅助变量进行更新,其中,更新后的目标辅助变量可以满足如下关系:In
在一种实施例中,可以更新耦合变量(又称目标辅助变量)以得到更新后的目标辅助变量(又称更新后的耦合变量)在应用过程中,每个子电热网络可以将P2P交易功率量(又称第二电能数量)zn k+1分享至互联综合能源网络系统中的其他子电热网络,通过求解(37)更新耦合变量 In one embodiment, coupling variables (aka target auxiliary variables) can be updated to get the updated target auxiliary variable (also known as the updated coupling variable) 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)
在步骤340中,S4:更新基于P2P交易模式的同级电热网络间购买电能的单价其中,更新后的同级电热网络间购买电能的单价满足如下关系:In
在一种实施例中,更新P2P交易模式的同级电热网络间购买电能的单价其中,每个子电热网络可以通计算(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 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
其中,更新后的同级电热网络间购买电能的单价收敛可以通过以下公式表示: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:
输出最终的结果可以包括 The output final result can include
至此,可以完成互联综合能源网络系统的运行模型(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
建立模块410可以被配置为用于基于P2P交易模式,建立关于互联综合能源网络系统的运行模型,其中,运行模型可以包括各个子电热网络的运行成本,运行成本可以包括上级电力网络购买电能成本、分布式发电机组运行成本、热电联产机组运行成本和同级电热网络购买电能成本。The
处理模块420可以被配置为用于对运行模型进行分布式求解,得到关于上级电力网络购买电能成本的第一电能数量、关于分布式发电机组运行成本的分布式发电机组输出的有功功率、关于热电联产机组运行成本的热电联产机组输入的天然气功率,以及关于同级电热网络购买电能成本的第二电能数量,以使各个子电热网络的运行成本和互联综合能源网络系统的运行成本最低。The
在本发明一示例性实施例中,关于互联综合能源网络系统的运行模型可以包括各个子电热网络的运行成本之和,建立模块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
其中,表示运行成本,表示上级电力网络购买电能成本,表示分布式发电机组运行成本,表示热电联产机组运行成本,表示同级电热网络购买电能成本。in, represents the running cost, represents the cost of purchasing electricity from the superior power network, represents the operating cost of the distributed generator set, represents the operating cost of the cogeneration unit, 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
其中,表示从上级电力网络购买电能的单价,表示关于上级电力网络购买电能成本的第一电能数量,电力网络具有如下模型:in, Represents the unit price of electric energy purchased from the upper-level power network, 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:
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处注入的总有功功率,包括关于上级电力网络购买电能成本的第一电能数量关于同级电热网络购买电能成本的第二电能数量分布式发电机组的有功出力热电联产机组的有功出力风电机组的有功出力储电装置的充电功率和放电功率 表示电力网络中节点j处的总有功负荷,包括基础电负荷和所述热泵消耗的有功功率qj,t表示电力网络中节点j处注入的总无功功率,包括来自上级电力网络的无功功率和分布式发电机组的无功出力 表示电力网络中节点j处的无功负荷;Pij,t和Qij,t分别表示电力网络中节点i到节点j的线路有功功率和无功功率;rij和xij分别表示电力网络中节点i到节点j的线路电阻和线路电抗;Vi,t表示电力网络中节点i的电压幅值;V0表示基准电压;表示节点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 The second amount of electric energy about the cost of electric energy purchased by the electric heating network at the same level Active Power Output of Distributed Generating Sets Active power output of cogeneration units Active output of wind turbines The charging power of the storage device and discharge power 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 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 and reactive power output of distributed generator sets 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; Represents the set of downstream nodes of node j.
在本发明一示例性实施例中,建立模块410可以采用以下公式确定分布式发电机组运行成本:In an exemplary embodiment of the present invention, the
其中,表示分布式发电机组输出的有功功率,表示第一常系数,表示第二常系数,表示第三常系数,其中,分布式发电机组具有如下模型:in, represents the active power output by the distributed generator set, represents the first constant coefficient, represents the second constant coefficient, represents the third constant coefficient, where the distributed generator set has the following model:
其中,表示分布式发电机组输出的无功功率;和分别表示分布式发电机组的有功功率的上限和下限;和分别表示分布式发电机组的无功功率的上限和下限。in, Represents the reactive power output by the distributed generator set; and respectively represent the upper limit and lower limit of the active power of the distributed generator set; and 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
其中,表示天然气单价,表示热电联产机组输入的天然气功率,其中,热电联产机组具有如下模型:in, represents the unit price of natural gas, Represents the natural gas power input by the cogeneration unit, where the cogeneration unit has the following model:
其中,和分别表示热电联产机组输出的电功率和热功率;和分别表示热电联产机组的气转电效率和气转热效率;和分别表示热电联产机组输入天然气功率的上限和下限。in, and Respectively represent the electrical power and thermal power output by the cogeneration unit; and respectively represent the gas-to-electricity and gas-to-heat efficiency of the cogeneration unit; and 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
其中,表示基于P2P交易模式的同级电热网络间购买电能的单价,表示关于子电热网络m和子电热网络n之间的同级电热网络购买电能成本的第二电能数量,其中,连接子电热网络m和子电热网络n的所述软开关具有如下模型:in, Indicates the unit price of electric energy purchased between electric heating networks of the same level based on the P2P transaction mode, 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:
其中,表示软开关中的有功功率损耗;表示软开关的功率损耗系数;Mn表示与子电热网络n连接的子电热网络集合。in, represents the active power loss in soft switching; 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
获取目标辅助变量,其中,目标辅助变量为关于同级电热网络购买电能成本的第二电能数量的辅助变量;基于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 :
其中,yn表示简化后运行模型中除所述关于同级电热网络购买电能成本的第二电能数量之外的剩余决策变量,zn表示简化后运行模型中约束函数的关于同级电热网络购买电能成本的第二电能数量;表示目标辅助变量;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; 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
其中,λn表示关于约束函数的对偶变量,用于表示基于P2P交易模式的同级电热网络间购买电能的单价;ρ表示惩罚项参数。Among them, λ n represents the constraint function with respect to 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
S1:确定收敛阈值ε、确定初始化的基于P2P交易模式的同级电热网络间购买电能的单价以及设置迭代轮次次数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 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,
S3:将子电热网络的更新后的第二电能数量分享至互联综合能源网络系统中的其他子电热网络,并对目标辅助变量进行更新,其中,S3: the updated second electric energy quantity of the sub-electric heating network Share to other sub-electric heating networks in the interconnected integrated energy network system, and adjust the target auxiliary variables to update where,
S4:更新基于P2P交易模式的同级电热网络间购买电能的单价其中,S4: Update the unit price of electric energy purchased between electric heating networks of the same level based on the P2P transaction mode in,
S5:进行收敛性检验,若则终止计算并输出最终的结果否则,更新k←k+1并返回S2。S5: Convergence test is performed, if then terminate the calculation and output the final result Otherwise, update k←k+1 and return to S2.
在本发明一示例性实施例中,建立模块410可以采用以下模型确定热力网络:In an exemplary embodiment of the present invention, the
其中,b表示热力网络的管道;表示热源注入所述热力网络的总热功率,包括热电联产机组的热出力热泵的热出力储热装置的充热功率和储热装置的放热功率 表示热负荷的热消耗功率;cp表示水的比热容;表示热源处从回水管道注入供水管道的循环水质量流量;表示热负荷处从供水管道注入回水管道的循环水质量流量;和分别表示供水温度和回水温度;mb,t表示管道b的循环水质量流量;和分别表示管道b的入口温度和出口温度;γb表示管道b的温度损耗系数;Lb表示管道b的长度;表示环境温度;表示汇合节点处的流体混合温度;表示以节点i为末端的管道集合;表示以节点i为首端的管道集合。Among them, b represents the pipeline of the thermal network; Indicates the total thermal power injected by the heat source into the thermal network, including the thermal output of the cogeneration unit heat output of heat pump The charging power of the heat storage device and the exothermic power of the heat storage device Represents the heat consumption power of the heat load; c p represents the specific heat capacity of water; Represents the mass flow of circulating water injected from the return pipe into the water supply pipe at the heat source; Represents the mass flow of circulating water injected from the water supply pipeline into the return pipeline at the heat load; and respectively represent the water supply temperature and return water temperature; m b, t represent the mass flow of circulating water in pipeline b; and 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; Indicates the ambient temperature; represents the fluid mixing temperature at the confluence node; Represents a collection of pipes ending with node i; Represents a collection of pipes starting with node i.
在本发明一示例性实施例中,建立模块410可以采用以下模型确定热泵:In an exemplary embodiment of the present invention, the
其中,和分别表示热泵消耗的电功率和输出的热功率;COPi表示热泵的能效系数;和分别表示热泵输出热功率的上限和下限。in, and 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; and represent the upper and lower limits of the heat pump output heat power, respectively.
在本发明一示例性实施例中,建立模块410可以采用以下模型确定储热装置:In an exemplary embodiment of the present invention, the
其中,和分别表示储热装置的充热功率和放热功率;和分别表示储热装置的充热效率和放热效率;表示储热装置的热能损耗率;表示存储在储热装置的热能;和分别表示储热装置的充热功率上限和下限;和分别表示储热装置的放热功率上限和下限;和分别表示储热装置的存储热能的上限和下限;Δt表示调度的时间间隔。in, and respectively represent the charging power and the exothermic power of the heat storage device; and respectively represent the heat charging efficiency and the heat release efficiency of the heat storage device; Indicates the thermal energy loss rate of the thermal storage device; represents the thermal energy stored in the thermal storage device; and respectively represent the upper limit and lower limit of the charging power of the heat storage device; and respectively represent the upper limit and lower limit of the exothermic power of the heat storage device; and 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
其中,和分别表示储电装置的充电功率和放电功率;和分别表示储电装置的充电效率和放电效率;表示储电装置的电能损耗率;表示存储在储电装置的电能;和分别表示储电装置的充电功率上限和下限;和分别表示储电装置的放电功率上限和下限;和分别表示储电装置的存储电能的上限和下限;Δt表示调度的时间间隔。in, and respectively represent the charging power and discharging power of the power storage device; and respectively represent the charging efficiency and discharging efficiency of the power storage device; Represents the power loss rate of the power storage device; Represents electrical energy stored in an electrical storage device; and respectively represent the upper limit and lower limit of the charging power of the power storage device; and respectively represent the upper limit and lower limit of the discharge power of the power storage device; and 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
此外,上述的存储器530中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above-mentioned logic instructions in the
另一方面,本发明还提供一种计算机程序产品,所述计算机程序产品包括计算机程序,计算机程序可存储在非暂态计算机可读存储介质上,所述计算机程序被处理器执行时,计算机能够执行上述各方法所提供的基于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)
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)
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 |
-
2022
- 2022-02-18 CN CN202210152840.4A patent/CN114764681A/en active Pending
Patent Citations (5)
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 |