CN115439255A - A trusted transaction method for layered virtual power plants based on blockchain - Google Patents
A trusted transaction method for layered virtual power plants based on blockchain Download PDFInfo
- Publication number
- CN115439255A CN115439255A CN202211396462.0A CN202211396462A CN115439255A CN 115439255 A CN115439255 A CN 115439255A CN 202211396462 A CN202211396462 A CN 202211396462A CN 115439255 A CN115439255 A CN 115439255A
- Authority
- CN
- China
- Prior art keywords
- power plant
- virtual power
- transaction
- layer
- distributed resource
- 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 42
- 230000002776 aggregation Effects 0.000 claims abstract description 44
- 238000004220 aggregation Methods 0.000 claims abstract description 44
- 238000005516 engineering process Methods 0.000 claims abstract description 28
- 230000008569 process Effects 0.000 claims abstract description 16
- 238000012550 audit Methods 0.000 claims description 9
- 238000010248 power generation Methods 0.000 claims description 7
- 230000004044 response Effects 0.000 claims description 6
- 238000004146 energy storage Methods 0.000 claims description 5
- 238000006116 polymerization reaction Methods 0.000 claims 3
- 125000004432 carbon atom Chemical group C* 0.000 claims 2
- 150000001875 compounds Chemical class 0.000 claims 1
- 239000006228 supernatant Substances 0.000 claims 1
- 238000012552 review Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000004088 simulation Methods 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Economics (AREA)
- Health & Medical Sciences (AREA)
- Theoretical Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Computer Networks & Wireless Communication (AREA)
- Development Economics (AREA)
- Medical Informatics (AREA)
- Computing Systems (AREA)
- Technology Law (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- Human Resources & Organizations (AREA)
- Primary Health Care (AREA)
- Tourism & Hospitality (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本发明涉及区块链技术领域,特别涉及一种基于区块链的分层虚拟电厂可信交易方法。The invention relates to the technical field of block chains, in particular to a trusted transaction method for layered virtual power plants based on block chains.
背景技术Background technique
虚拟电厂通过先进的信息通讯技术、计量工具和应用软件系统,在一定区域内实现将分布式电源、储能设备、需求侧资源等多种DERs进行聚合并对其进行协调控制,并且可作为一类特殊电厂参与电力市场建设和交易。虚拟电厂呈现两级特性,对内聚合资源,对外参与市场。由于内部聚合的各类资源分属不同的主体,相互独立;在外部参与市场时,虚拟电厂同样与其他独立主体进行交易。为了维持虚拟电厂内部的长期稳定发展,亟需一种去中心化、公平公正的交易方法。Through advanced information and communication technology, measurement tools and application software systems, virtual power plants can aggregate distributed power sources, energy storage equipment, demand-side resources and other DERs in a certain area and coordinate and control them, and can be used as a Such special power plants participate in the construction and trading of electricity markets. The virtual power plant presents a two-level characteristic, integrating resources internally and participating in the market externally. Since the various resources aggregated internally belong to different subjects and are independent of each other; when participating in the market externally, the virtual power plant also trades with other independent subjects. In order to maintain the long-term stable development of the virtual power plant, a decentralized, fair and just transaction method is urgently needed.
区块链技术是“互联网+”新业态的新型应用技术,其主要特性是去中心化、不易篡改、去信任。常常被应用于分布式能源交易、需求响应、电力市场交易等场景。私有中的联盟链,共享程度更高,其通过共识机制、非对称加密、P2P协议,适应于交易规模大、交易次数多、注重隐私保护的能源交易场景。因此将区块链技术引入至虚拟电厂能够解决虚拟电厂对内对外公平公正交易的问题。Blockchain technology is a new application technology of the "Internet +" new format, and its main characteristics are decentralization, not easy to tamper, and trustless. It is often used in scenarios such as distributed energy transactions, demand response, and electricity market transactions. The private alliance chain has a higher degree of sharing. Through the consensus mechanism, asymmetric encryption, and P2P protocol, it is suitable for energy trading scenarios with large transaction scale, high transaction frequency, and privacy protection. Therefore, the introduction of blockchain technology into virtual power plants can solve the problem of fair and just transactions in and out of virtual power plants.
其一,然而现有区块链技术在虚拟电厂中内外部交易的研究较少,目前区块链技术应用仅限于分布式资源层交易,但是针对虚拟电厂对内对外同时交易的整套流程很少涉及。其二,由于分布式能源主体与市场主体众多,虚拟电厂参与内外部交易时会形成海量数据,需要考虑海量数据导致区块链容量不足的问题。其三,区块链技术在分布式能源层交易应用限于仿真,在目前能源交易示范工程中同时存在“伪区块链应用”问题,缺少底层分布式资源层能够参与的交易平台。First, however, there are few studies on internal and external transactions of existing blockchain technology in virtual power plants. At present, the application of blockchain technology is limited to distributed resource layer transactions, but there are few complete sets of processes for simultaneous internal and external transactions of virtual power plants. involve. Second, due to the large number of distributed energy entities and market entities, massive data will be generated when virtual power plants participate in internal and external transactions. It is necessary to consider the problem of insufficient blockchain capacity caused by massive data. Third, the application of blockchain technology in distributed energy layer transactions is limited to simulation. In the current energy transaction demonstration project, there is also the problem of "pseudo-blockchain application", and there is a lack of trading platforms that can participate in the underlying distributed resource layer.
因此,在现有区块链技术的基础上,如何解决海量数据导致区块链容量不足问题,实现虚拟电厂对内对外同时交易,并构建底层分布式资源层能够参与的交易平台,成为本领域技术人员亟需解决的问题。Therefore, on the basis of the existing blockchain technology, how to solve the problem of insufficient blockchain capacity due to massive data, realize simultaneous internal and external transactions of virtual power plants, and build a trading platform that can participate in the underlying distributed resource layer has become an important issue in the field. Problems that technicians urgently need to solve.
发明内容Contents of the invention
鉴于上述问题,本发明提出了一种至少解决上述部分技术问题的基于区块链的分层虚拟电厂可信交易方法,该方法解决了海量数据导致的区块链容量不足的问题,实现了虚拟电厂内外同时交易。In view of the above problems, the present invention proposes a blockchain-based layered virtual power plant trusted transaction method that at least solves some of the above technical problems. This method solves the problem of insufficient blockchain capacity caused by massive data, and realizes the virtual Simultaneous transactions inside and outside the power plant.
本发明实施例提供一种基于区块链的分层虚拟电厂可信交易方法,包括:An embodiment of the present invention provides a blockchain-based layered virtual power plant trusted transaction method, including:
分别构建虚拟电厂分布式资源层、虚拟电厂聚合调控层和虚拟电厂外部市场层,生成区块链内部交易链和区块链外部交易链;根据所述区块链内部交易链和区块链外部交易链,生成基于区块链技术的虚拟电厂分层交易框架;Construct the virtual power plant distributed resource layer, the virtual power plant aggregation control layer and the virtual power plant external market layer respectively, and generate the blockchain internal transaction chain and the blockchain external transaction chain; according to the blockchain internal transaction chain and the blockchain external Transaction chain, generating a layered transaction framework for virtual power plants based on blockchain technology;
根据所述基于区块链技术的虚拟电厂分层交易框架,接收分布式资源主体注册的交易信息,完成所述虚拟电厂分布式资源层与所述虚拟电厂聚合调控层的交易流程;According to the layered transaction framework of the virtual power plant based on blockchain technology, the transaction information registered by the distributed resource subject is received, and the transaction process between the distributed resource layer of the virtual power plant and the aggregation control layer of the virtual power plant is completed;
根据所述基于区块链技术的虚拟电厂分层交易框架,获取分布式资源主体提交的申报量与申报时间段,完成所述虚拟电厂聚合调控层与所述虚拟电厂外部市场层的交易流程。According to the layered trading framework of the virtual power plant based on blockchain technology, the declaration amount and the declaration time period submitted by the distributed resource subject are obtained, and the transaction process between the aggregation control layer of the virtual power plant and the external market layer of the virtual power plant is completed.
进一步地,所述区块链内部交易链由虚拟电厂分布式资源层与虚拟电厂聚合调控层的交易构成;所述虚拟电厂分布式资源层与虚拟电厂聚合调控层通过区块链进行信息的查询和存储;Further, the internal transaction chain of the block chain is composed of transactions between the distributed resource layer of the virtual power plant and the aggregation control layer of the virtual power plant; the distributed resource layer of the virtual power plant and the aggregation control layer of the virtual power plant perform information query through the block chain and storage;
所述虚拟电厂分布式资源层中包含分布式光伏主体、风力发电主体、电动汽车主体、需求响应主体和储能主体;The virtual power plant distributed resource layer includes distributed photovoltaic main body, wind power main body, electric vehicle main body, demand response main body and energy storage main body;
所述虚拟电厂聚合调控层由虚拟电厂的调控中心为主导。The aggregation control layer of the virtual power plant is dominated by the control center of the virtual power plant.
进一步地,所述区块链外部交易链由虚拟电厂聚合调控层和虚拟电厂外部市场层的交易构成;Further, the external transaction chain of the blockchain is composed of transactions at the virtual power plant aggregation control layer and the virtual power plant external market layer;
所述虚拟电厂聚合调控层和虚拟电厂外部市场层通过区块链进行信息的查询和存储。The aggregation control layer of the virtual power plant and the external market layer of the virtual power plant perform information query and storage through the block chain.
进一步地,接收分布式资源主体注册的交易信息,完成所述虚拟电厂分布式资源层与所述虚拟电厂聚合调控层的交易流程,包括:Further, receiving the transaction information registered by the distributed resource subject, and completing the transaction process between the virtual power plant distributed resource layer and the virtual power plant aggregation control layer, including:
接收分布式资源主体注册的交易信息;Receive transaction information registered by distributed resource entities;
根据所述交易信息,生成审核结果;根据所述审核结果,生成审核通过的分布式资源主体;所述审核结果包括所述分布式资源主体的信誉度;Generate an audit result based on the transaction information; generate a distributed resource entity that has passed the audit based on the audit result; the audit result includes the reputation of the distributed resource entity;
获取所述审核通过的分布式资源主体的价格设定值,将所述价格设定值通过区块上的智能合约模块进行公布;Obtain the price setting value of the approved distributed resource subject, and publish the price setting value through the smart contract module on the block;
更新所述分布式资源主体的信誉度,在区块上重新存储;生成结算结果;完成所述虚拟电厂分布式资源层与所述虚拟电厂聚合调控层的交易流程。Updating the reputation of the distributed resource subject and storing it again on the block; generating settlement results; completing the transaction process between the distributed resource layer of the virtual power plant and the aggregation control layer of the virtual power plant.
进一步地,通过下式更新所述分布式资源主体的信誉度:Further, the reputation of the distributed resource subject is updated by the following formula:
上式中,为第t次交易时主体s的信誉度;为主体s前t-1次交易的信誉总得分;为主体s第t次交易的信誉得分;t为交易次数。In the above formula, is the credibility of subject s at the time of the t -th transaction; is the total reputation score of t -1 transactions before subject s ; is the reputation score of the tth transaction of subject s ; t is the number of transactions.
进一步地,通过下式确定所述结算结果:Further, the settlement result is determined by the following formula:
上式中,为主体s的交易结果;为预设交易价格;为主体s的交易量;为主体s的单位偏差惩罚成本。In the above formula, is the transaction result of subject s ; is the default transaction price; is the transaction volume of subject s ; Penalizes the cost per unit deviation for agent s .
进一步地,获取分布式资源主体提交的申报量与申报时间段,完成所述虚拟电厂聚合调控层与所述虚拟电厂外部市场层的交易流程,包括:Further, the declaration quantity and declaration time period submitted by the distributed resource subject are obtained, and the transaction process between the aggregation control layer of the virtual power plant and the external market layer of the virtual power plant is completed, including:
获取分布式资源主体提交的申报量与申报时间段;采用边际出清法得到各时段的出清价格;Obtain the declaration amount and declaration time period submitted by the distributed resource subject; use the marginal clearing method to obtain the clearing price of each time period;
根据所述各时段的出清价格,生成虚拟电厂的结算结果;完成所述虚拟电厂聚合调控层与所述虚拟电厂外部市场层的交易流程。Generate the settlement result of the virtual power plant according to the clearing price of each time period; complete the transaction process between the aggregation control layer of the virtual power plant and the external market layer of the virtual power plant.
进一步地,通过如下公式计算所述虚拟电厂的结算结果:Further, the settlement result of the virtual power plant is calculated by the following formula:
上式中,为虚拟电厂的结算结果;为各阶段的出清价格;为实际出清量;为要求出清量;为单位出清量偏差惩罚成本。In the above formula, is the settlement result of the virtual power plant; is the clearing price of each stage; is the actual clearance amount; For the required clearance amount; Penalizes costs for unit clearance deviations.
本发明实施例提供的上述技术方案的有益效果至少包括:The beneficial effects of the above-mentioned technical solutions provided by the embodiments of the present invention at least include:
本发明实施例提供的一种基于区块链的分层虚拟电厂可信交易方法,包括:分别构建虚拟电厂分布式资源层、虚拟电厂聚合调控层和虚拟电厂外部市场层,生成区块链内部交易链和区块链外部交易链;根据区块链内部交易链和区块链外部交易链,生成基于区块链技术的虚拟电厂分层交易框架;根据基于区块链技术的虚拟电厂分层交易框架,接收分布式资源主体注册的交易信息,完成虚拟电厂分布式资源层与虚拟电厂聚合调控层的交易流程;根据基于区块链技术的虚拟电厂分层交易框架,获取分布式资源主体提交的申报量与申报时间段,完成虚拟电厂聚合调控层与虚拟电厂外部市场层的交易流程。该方法解决了海量数据导致的区块链容量不足的问题,实现了虚拟电厂内外同时交易。The embodiment of the present invention provides a blockchain-based layered virtual power plant trusted transaction method, including: respectively constructing a virtual power plant distributed resource layer, a virtual power plant aggregation control layer and a virtual power plant external market layer, and generating a block chain internal Transaction chain and blockchain external transaction chain; According to the blockchain internal transaction chain and blockchain external transaction chain, a virtual power plant layered transaction framework based on blockchain technology is generated; according to the virtual power plant layered based on blockchain technology The transaction framework receives the transaction information registered by the distributed resource subject, and completes the transaction process of the distributed resource layer of the virtual power plant and the aggregation control layer of the virtual power plant; according to the layered transaction framework of the virtual power plant based on blockchain technology, obtains the submission of the distributed resource subject Complete the transaction process between the aggregation control layer of the virtual power plant and the external market layer of the virtual power plant. This method solves the problem of insufficient block chain capacity caused by massive data, and realizes simultaneous transactions inside and outside the virtual power plant.
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.
附图说明Description of drawings
附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present invention, and constitute a part of the description, and are used together with the embodiments of the present invention to explain the present invention, and do not constitute a limitation to the present invention. In the attached picture:
图1为本发明实施例提供的基于区块链的分层虚拟电厂可信交易方法流程图;Fig. 1 is a flowchart of a trusted transaction method for a layered virtual power plant based on blockchain provided by an embodiment of the present invention;
图2为本发明实施例提供的基于区块链技术的虚拟电厂分层交易框架图;Fig. 2 is the hierarchical transaction frame diagram of the virtual power plant based on block chain technology provided by the embodiment of the present invention;
图3为本发明实施例提供的分布式资源层与聚合调控层的区块链内部交易链框架图;Fig. 3 is a block chain internal transaction chain frame diagram of the distributed resource layer and the aggregation control layer provided by the embodiment of the present invention;
图4为本发明实施例提供的分布式资源层与聚合调控层的交易流程图;Fig. 4 is a transaction flowchart of the distributed resource layer and the aggregation control layer provided by the embodiment of the present invention;
图5为本发明实施例提供的聚合调控层与外部市场层的区块链内部交易链框架图;Fig. 5 is a frame diagram of the internal transaction chain of the blockchain provided by the aggregation control layer and the external market layer in the embodiment of the present invention;
图6为本发明实施例提供的聚合调控层与外部市场层的交易流程图。Fig. 6 is a flow chart of transactions between the aggregation regulation layer and the external market layer provided by the embodiment of the present invention.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
本发明实施例提供一种基于区块链的分层虚拟电厂可信交易方法,参照图1所示,包括:An embodiment of the present invention provides a blockchain-based layered virtual power plant trusted transaction method, as shown in Figure 1, including:
分别构建虚拟电厂分布式资源层、虚拟电厂聚合调控层和虚拟电厂外部市场层,生成区块链内部交易链和区块链外部交易链;根据区块链内部交易链和区块链外部交易链,生成基于区块链技术的虚拟电厂分层交易框架;Construct the virtual power plant distributed resource layer, the virtual power plant aggregation control layer and the virtual power plant external market layer respectively, and generate the blockchain internal transaction chain and the blockchain external transaction chain; according to the blockchain internal transaction chain and the blockchain external transaction chain , generate a virtual power plant layered transaction framework based on blockchain technology;
根据基于区块链技术的虚拟电厂分层交易框架,接收分布式资源主体注册的交易信息,完成虚拟电厂分布式资源层与虚拟电厂聚合调控层的交易流程;According to the virtual power plant layered transaction framework based on blockchain technology, the transaction information registered by the distributed resource subject is received, and the transaction process between the distributed resource layer of the virtual power plant and the aggregation control layer of the virtual power plant is completed;
根据基于区块链技术的虚拟电厂分层交易框架,获取分布式资源主体提交的申报量与申报时间段,完成虚拟电厂聚合调控层与虚拟电厂外部市场层的交易流程。According to the layered trading framework of virtual power plants based on blockchain technology, the declaration amount and declaration time period submitted by distributed resource entities are obtained, and the transaction process between the aggregation control layer of virtual power plants and the external market layer of virtual power plants is completed.
下面对该方法进行详细阐述:The method is described in detail below:
基于区块链技术的虚拟电厂分层交易框架设计:Design of hierarchical transaction framework for virtual power plants based on blockchain technology:
参照图2所示,基于区块链技术的虚拟电厂分层交易框架分为区块链的内部交易链与区块链的外部交易链。Referring to Figure 2, the hierarchical transaction framework of the virtual power plant based on blockchain technology is divided into the internal transaction chain of the blockchain and the external transaction chain of the blockchain.
区块链的内部交易链为虚拟电厂分布式资源层与聚合调控层的交易。分布式资源层中含分布式光伏、风力发电、电动汽车、需求响应、储能等主体。聚合调控层主要以虚拟电厂的调控中心为主导。分布式资源层与聚合调控层通过区块链进行信息的查询、存储,从而完成内部交易实现资源聚合。The internal transaction chain of the blockchain is the transaction between the distributed resource layer of the virtual power plant and the aggregation control layer. The distributed resource layer includes distributed photovoltaics, wind power generation, electric vehicles, demand response, energy storage and other entities. The aggregation control layer is mainly dominated by the control center of the virtual power plant. The distributed resource layer and the aggregation control layer query and store information through the blockchain, so as to complete internal transactions and realize resource aggregation.
区块链的外部交易链为虚拟电厂聚合调控层与外部市场层的交易。外部市场层的交易主体包括其他虚拟电厂、其余电力供给者、电力需求者等。虚拟电厂聚合调控层与外部市场层通过区块链进行信息的查询、存储,从而完成在电能量市场、调峰辅助服务市场的外部交易。The external transaction chain of the blockchain is the transaction between the virtual power plant aggregation control layer and the external market layer. The transaction subjects in the external market layer include other virtual power plants, other power suppliers, power demanders, etc. The virtual power plant aggregation control layer and the external market layer conduct information query and storage through the blockchain, thereby completing external transactions in the electric energy market and the peak-shaving auxiliary service market.
分布式资源层与聚合调控层交易设计:Distributed resource layer and aggregation control layer transaction design:
参照图3所示,为分布式资源层与聚合调控层的区块链内部交易链框架。由图3的交易可知,在前端模块包括注册模块与审批模块。分布式资源层参与虚拟电厂聚合之前需要通过注册模块提交相关信息;审批模块为虚拟电厂聚合调控中心对分布式资源层提交的注册信息进行审核。相关的注册信息与审核信息均存储在区块中。同时在区块链中还设置智能合约模块,智能合约中包含分布式资源层主体与虚拟电厂调控中心的交易价格、交易规模与交易执行等内容,为了交易信息的可查询性,相关的交易信息均存储在区块(指区块链的一个元件)上。同时为了保证交易双方的真实可信,交易也在区块上进行。Referring to Figure 3, it is the blockchain internal transaction chain framework of the distributed resource layer and the aggregation control layer. As can be seen from the transaction in Figure 3, the front-end module includes a registration module and an approval module. The distributed resource layer needs to submit relevant information through the registration module before participating in the virtual power plant aggregation; the approval module is the virtual power plant aggregation control center to review the registration information submitted by the distributed resource layer. Relevant registration information and audit information are stored in blocks. At the same time, a smart contract module is also set in the blockchain. The smart contract includes the transaction price, transaction scale and transaction execution between the distributed resource layer main body and the virtual power plant control center. For the queryability of transaction information, relevant transaction information are stored on a block (referring to an element of the blockchain). At the same time, in order to ensure the authenticity of both parties to the transaction, the transaction is also carried out on the block.
参照图4所示,为分布式资源层与聚合调控层的交易流程,包括:Referring to Figure 4, it is the transaction process between the distributed resource layer and the aggregation control layer, including:
(1)分布式资源主体根据自身的实际情况进行注册,包括:姓名、邮箱、用户角色、用户名和密码;风光等发电商需要提交装机规模;发电厂具体地理位置,历史出力曲线;储能商则需要提交安装容量,历史充放能曲线等;电动汽车主体提交充电曲线,行驶里程等相关参数;需求响应主体则提交可响应的最大规模、响应时段等。(1) Distributed resource entities register according to their own actual conditions, including: name, email address, user role, user name and password; power generation companies such as wind and solar need to submit installed capacity; specific geographical location of power plants, historical output curves; energy storage providers It is necessary to submit the installation capacity, historical charging and discharging curves, etc.; the electric vehicle subject submits charging curves, mileage and other related parameters; the demand response subject submits the maximum scale that can be responded to, and the response time period.
(2)虚拟电厂运营商审核。对于新主体,主要审核的是规模量是否能达到基础标准,具体如式(1)所示,除此之外,风光等新主体还需要评估其出力峰谷差,如峰谷差超过一定标准上限,则审核不通过,具体如式(2)所示。对于旧主体,则主要评估其结算阶段能否按照合约要求进行结算,采用信誉度进行评估,信誉度值计算具体如式(3)所示;若信誉度值低于某一值,则旧主体的信誉度评估不通过,具体如式(4)所示。虚拟电厂运营商对各主体的审核结果提交在存储区上,以供分布式资源层主体与虚拟电厂运营商进行查询。(2) Review of virtual power plant operators. For new entities, the main review is whether the scale can reach the basic standard, as shown in formula (1). In addition, new entities such as scenery also need to evaluate the peak-to-valley difference of their output, if the peak-to-valley difference exceeds a certain standard upper limit, the audit will not pass, as shown in formula (2). For the old entity, it mainly evaluates whether the settlement stage can be settled in accordance with the contract requirements, and the credibility value is used for evaluation. The calculation of the credibility value is shown in formula (3); if the credibility value is lower than a certain value, the old entity The credibility evaluation of is not passed, as shown in formula (4). The virtual power plant operator submits the audit results of each subject to the storage area for query by the distributed resource layer subject and the virtual power plant operator.
(1) (1)
(2) (2)
(3) (3)
(4) (4)
式中:为第s类资源主体注册规模量;为第s类资源主体注册规模量下限;、为风力发电与光伏发电的峰谷差;、为风力发电与光伏发电峰谷差的上限值;为第t次交易时主体s的信誉度;为主体s前t-1次交易的信誉总得分;为主体s第t次交易的信誉得分;t为交易次数;为信誉度最低标准。In the formula: Register the scale amount for the s -type resource entity; The lower limit of the registration scale for the s -type resource entity; , is the peak-to-valley difference between wind power generation and photovoltaic power generation; , is the upper limit of the peak-to-valley difference between wind power generation and photovoltaic power generation; is the credibility of subject s at the time of the t -th transaction; is the total reputation score of t -1 transactions before subject s ; is the reputation score of subject s ’ t -th transaction; t is the number of transactions; The minimum standard of credibility.
(3)虚拟电厂运营商与通过审核的分布式资源主体进行交易。虚拟电厂根据分布式资源主体提交的注册信息为每类资源主体进行价格制定(价格设定),并将价格制定在区块上的智能合约模块进行公布。各类资源主体根据虚拟电厂运营商制定的价格提交交易规模,并将交易规模提交至区块上。(3) Virtual power plant operators conduct transactions with approved distributed resource entities. The virtual power plant sets prices (price setting) for each type of resource subject according to the registration information submitted by the distributed resource subject, and publishes the price in the smart contract module on the block. Various resource entities submit the transaction scale according to the price set by the virtual power plant operator, and submit the transaction scale to the block.
(4)虚拟电厂运营商与通过审核的分布式资源主体进入交易执行与交易结算阶段。分析各分布式资源主体是否按照提交的交易规模进行交易,若是则记为1,否则记为0,并将写入区块上,根据式(3)更新各主体的信誉度,在区块上重新存储。根据分布式资源各主体的实际交易规模以及式(5)确定结算结果,结算结果同样存储在区块上。(4) Virtual power plant operators and distributed resource entities that have passed the review enter the stage of transaction execution and transaction settlement. Analyze whether each distributed resource subject conducts transactions according to the submitted transaction scale. If so, it will be recorded as 1, otherwise it will be recorded as 0, and will be written into the block, and the credibility of each subject will be updated according to formula (3). Save again. The settlement result is determined according to the actual transaction scale of each subject of distributed resources and formula (5), and the settlement result is also stored on the block.
(5) (5)
式中:为主体s的交易结果;为虚拟电厂运营商为分布式资源主体s制定的交易价格;为主体s的交易量;为主体s的单位偏差惩罚成本。In the formula: is the transaction result of subject s ; The transaction price set by the virtual power plant operator for the distributed resource entity s ; is the transaction volume of subject s ; Penalizes the cost per unit deviation for agent s .
聚合调控层与外部市场层交易设计:Aggregation control layer and external market layer transaction design:
参照图5所示,为聚合调控层与外部市场层的区块链外部交易链框架。由图5可知,前端模块包括申报模块与信息公布模块,申报模块主要是供虚拟电厂运营商在市场交易前提交申报量与申报的时间段。信息公布模块是市场运营中心根据市场中各主体的申报量与市场需求量提出的出清价格以及各主体的出清量。申报模块与信息公布模块的数据均存储在区块上。同时在区块链中还设置智能合约模块,智能合约中包含虚拟电厂调控中心在市场中的交易价格、交易规模与交易执行等内容,为了交易信息的可查询性,相关的交易信息均存储在区块上。同时为了保证交易双方的真实可信,交易也在区块上进行。Referring to Figure 5, it is the blockchain external transaction chain framework of the aggregation control layer and the external market layer. It can be seen from Figure 5 that the front-end module includes a declaration module and an information release module, and the declaration module is mainly for virtual power plant operators to submit the declaration amount and the time period for declaration before market transactions. The information release module is the clearing price proposed by the market operation center based on the declared volume of each subject in the market and the market demand, and the clearing volume of each subject. The data of the declaration module and the information release module are all stored on the block. At the same time, a smart contract module is also set in the blockchain. The smart contract includes the transaction price, transaction scale and transaction execution of the virtual power plant control center in the market. In order to make the transaction information queryable, the relevant transaction information is stored in the on the block. At the same time, in order to ensure the authenticity of both parties to the transaction, the transaction is also carried out on the block.
参照图6所示,为聚合调控层与外部市场层的交易流程,包括:Referring to Figure 6, it is the transaction process between the aggregation control layer and the external market layer, including:
(1)公布需求与申请阶段。市场运营主体在区块上的信息公布模块公布市场需求,虚拟电厂运营主体调用智能合约查询能够申报的规模,在申报模块进行申报量的提交,市场需求与申报量分别存储在区块上。(1) Publication of requirements and application stage. The information announcement module of the market operator on the block announces the market demand, the virtual power plant operator invokes the smart contract to query the scale that can be declared, and submits the declared amount in the declaration module, and the market demand and the declared amount are stored in the block respectively.
(2)出清阶段。市场运营主体根据各主体提交的申报量与申报时间段,采用边际出清法得到各时段的出清价格,出清价格同样在信息公布模块进行公布并存储。(2) Clearing stage. Market operators use the marginal clearing method to obtain the clearing prices for each time period based on the declaration volume and declaration time period submitted by each subject, and the clearing prices are also announced and stored in the information announcement module.
(3)结算阶段。虚拟电厂在信息公开模块查询出清价格,市场运营主体根据虚拟电厂实际出清量与要求出清量,进行虚拟电厂的结算,结算规则按照式(6)进行,结算结果同样存储在区块上。(3) Settlement stage. The clearing price of the virtual power plant is queried in the information disclosure module. The market operator performs the settlement of the virtual power plant according to the actual clearing amount of the virtual power plant and the required clearing amount. The settlement rule is carried out according to formula (6), and the settlement result is also stored on the block .
(6) (6)
式中:为虚拟电厂的结算结果;为出清价格;为实际出清量;为要求出清量;为单位出清量偏差惩罚成本。In the formula: is the settlement result of the virtual power plant; is the clearing price; is the actual clearance amount; For the required clearance amount; Penalizes costs for unit clearance deviations.
本实施例提供的基于区块链的分层虚拟电厂可信交易方法,通过分层交易结构解决海量数据导致区块链容量不足的问题;提出了区块链技术在虚拟电厂内外交易的具体流程与机制;构建了底层分布式资源层能够参与的交易平台。解决了海量数据导致区块链容量不足的问题,实现了虚拟电厂内外同时交易,并构建了底层分布式资源层能够参与的交易平台。The blockchain-based layered virtual power plant trusted transaction method provided in this embodiment solves the problem of insufficient blockchain capacity caused by massive data through a layered transaction structure; it proposes a specific process for blockchain technology to trade inside and outside the virtual power plant and mechanism; build a trading platform that the underlying distributed resource layer can participate in. It solves the problem of insufficient block chain capacity caused by massive data, realizes simultaneous transactions inside and outside the virtual power plant, and builds a trading platform that can participate in the underlying distributed resource layer.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211396462.0A CN115439255A (en) | 2022-11-09 | 2022-11-09 | A trusted transaction method for layered virtual power plants based on blockchain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211396462.0A CN115439255A (en) | 2022-11-09 | 2022-11-09 | A trusted transaction method for layered virtual power plants based on blockchain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115439255A true CN115439255A (en) | 2022-12-06 |
Family
ID=84252149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211396462.0A Pending CN115439255A (en) | 2022-11-09 | 2022-11-09 | A trusted transaction method for layered virtual power plants based on blockchain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115439255A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112434343A (en) * | 2020-11-25 | 2021-03-02 | 江西理工大学 | Virtual power plant safety scheduling and transaction method based on dual block chain technology |
CN112926958A (en) * | 2021-03-21 | 2021-06-08 | 江西理工大学 | Micro-grid community safety energy transaction method based on mixed block chain |
CN113643150A (en) * | 2021-07-29 | 2021-11-12 | 湖南工商大学 | A Distributed Electricity Trading Model and Method of Reputation Bidding |
CN114219218A (en) * | 2021-11-18 | 2022-03-22 | 国网天津市电力公司电力科学研究院 | Virtual power plant demand response service system and method based on block chain technology |
-
2022
- 2022-11-09 CN CN202211396462.0A patent/CN115439255A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112434343A (en) * | 2020-11-25 | 2021-03-02 | 江西理工大学 | Virtual power plant safety scheduling and transaction method based on dual block chain technology |
CN112926958A (en) * | 2021-03-21 | 2021-06-08 | 江西理工大学 | Micro-grid community safety energy transaction method based on mixed block chain |
CN113643150A (en) * | 2021-07-29 | 2021-11-12 | 湖南工商大学 | A Distributed Electricity Trading Model and Method of Reputation Bidding |
CN114219218A (en) * | 2021-11-18 | 2022-03-22 | 国网天津市电力公司电力科学研究院 | Virtual power plant demand response service system and method based on block chain technology |
Non-Patent Citations (1)
Title |
---|
殷爽睿 等: "虚拟电厂分层互动模式与可信交易框架研究与展望", 《电力系统自动化》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Sun et al. | Blockchain-enhanced high-confidence energy sharing in internet of electric vehicles | |
Thukral | Emergence of blockchain-technology application in peer-to-peer electrical-energy trading: A review | |
Bao et al. | A survey of blockchain applications in the energy sector | |
He et al. | Joint operation mechanism of distributed photovoltaic power generation market and carbon market based on cross-chain trading technology | |
Hahn et al. | Smart contract-based campus demonstration of decentralized transactive energy auctions | |
Kang et al. | Enabling localized peer-to-peer electricity trading among plug-in hybrid electric vehicles using consortium blockchains | |
CN112434343B (en) | Virtual power plant safety scheduling and trading method based on dual block chain technology | |
Lasla et al. | Blockchain based trading platform for electric vehicle charging in smart cities | |
Aggarwal et al. | A survey on energy trading in the smart grid: Taxonomy, research challenges and solutions | |
CN111047440A (en) | Distributed shared charging pile transaction system and method based on block chain | |
CN112465320A (en) | Virtual power plant transaction management method based on block chain technology | |
Cali et al. | Cybersecure and scalable, token-based renewable energy certificate framework using blockchain-enabled trading platform | |
Jogunola et al. | Demonstrating blockchain-enabled peer-to-peer energy trading and sharing | |
Zhang et al. | Security scheduling and transaction mechanism of virtual power plants based on dual blockchains | |
CN115481898A (en) | Electric power carbon emission factor confirmation model construction method and device and computer equipment | |
Kapassa et al. | Blockchain in smart energy grids: a market analysis | |
Su et al. | A blockchain system supporting cross-border data protection and consistency verification in unified global carbon emissions trading framework | |
Yang et al. | A double-chain blockchain with economic attributes and network constraints of prosumer transactions | |
CN116596671A (en) | Trading method of blockchain carbon trading system considering benefits of campus enterprises | |
Mohan et al. | Multi‐stage energy‐risk adjustments using practical byzantine fault tolerance consensus for blockchain‐powered peer‐to‐peer transactive markets | |
Alsunaidi et al. | Blockchain-based distributed renewable energy management framework | |
Zhou et al. | Two-stage credit management for peer-to-peer electricity trading in consortium blockchain | |
CN113626876B (en) | Consensus method based on power grid block chain | |
CN115439255A (en) | A trusted transaction method for layered virtual power plants based on blockchain | |
Erdayandi et al. | Towards privacy preserving local energy markets |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20221206 |