The present disclosure relates to the technical field of energy trading blockchain, and in particular, to an electricity market trading and evaluation method based on a weak centralized consortium blockchain.
With the gradual liberalization of the electricity sales market and the increasing number of trading entities, a large amount of diversified trading data has been generated. The management of an electricity information system has become more difficult, and a distributed electricity trading platform is required to be more efficient and reliable. As an emerging distributed value transfer protocol, the blockchain technology has the technical characteristic of weak centralization, which helps electricity market trading entities to give full play to market-oriented autonomous behaviors, thus promoting fair, just and efficient operation of electricity market trading. Therefore, the blockchain technology is widely used in the field of electricity trading.
Yang Dechang et al. analyzed the compatibility of the blockchain and energy Internet as well as the application prospects of the blockchain technology in electricity system reform in Developing Status and Prospect Analysis of Blockchain in Energy Internet. Ouyang Xu et al. established the access mechanism and trading framework of the blockchain technology for direct purchase of electricity by big consumers in Preliminary Applications of Blockchain Technique in Large Consumers Direct Power Trading. In Analysis and Recommendations of Typical Market-based Distributed Generation Trading Mechanisms, Lin Li et al. optimized different electricity trading mechanism strategies based on the blockchain technology, and further analyzed the characteristics of typical energy blockchain projects abroad. She Wei et al. combined the blockchain technology with a virtual power plant operation scheduling model in Virtual Power Plant Operation and Scheduling Model Based on Energy Blockchain Network, and were committed to improving operation efficiency of a virtual power plant as well as data and storage security. In Distributed Energy Transaction Mechanism Design Based on Smart Contract, Yu S, Yang S et al. implemented the electricity market trading mechanism based on the blockchain smart contract, and analyzed the auditing, bidding, clearing and settlement process in the electricity trading process.
The current electricity trading model is gradually evolving from centralized to distributed, leading to hidden problems such as insufficient mutual trust among market entities, low data security, and difficult management under the distributed electricity trading model. The traditional centralized electricity trading model in which power grid companies supply power to users vertically can hardly meet the requirements of distributed electricity trading, and the reliability is greatly reduced. Therefore, the electricity market urgently needs to use the blockchain technology to make the electricity market trading mode weakly centralized.
The objective of the present disclosure is to provide a method that partially liberates central control authority of a power grid by a weak centralization characteristic of a blockchain technology, to realize flexible, autonomous, fair and just trading of electricity, while the method is capable of accommodating a large amount of trading data generated by distributed electricity trading.
In order to achieve the foregoing purpose, the present disclosure adopts the following technical solution: an electricity market trading method based on a weak centralized consortium blockchain, where through the consortium blockchain, a P2P network, and a delegated byzantine fault tolerance consensus mechanism, electricity market operating organizations and electricity market trading entities are classified into a full-node network and a light-node network respectively; the electricity market operating organizations are equivalent to full nodes, where the full nodes store all structured contract basic data and trading data starting from a genesis block, and protect user privacy and confidential information of trading through hash mapping.
The electricity market trading entities act as light nodes in a consortium blockchain energy trading network, and participate in an electricity trading process through a certain access mechanism; the light nodes, which are scalable and account for a major node proportion, are used to save contract-related trading hash values and trading data with adjacent timestamps that is necessary for brief payment verification, and can upload and download data from the full nodes.
In the foregoing electricity market trading method based on a weak centralized consortium blockchain, consensus nodes of the consortium blockchain energy trading network are responsible for permission control and bookkeeping, while offline rules restrict behaviors of participants.
In the foregoing electricity market trading method based on a weak centralized consortium blockchain, the peer-to-peer (P2P) network is introduced in a bottom layer of a communication architecture of the consortium blockchain energy trading network, while a central server of a conventional client/server (C/S) mode is removed; and central processing unit (CPU) computing resource sharing, disk storage sharing and information exchange are realized among nodes of the P2P network.
In the foregoing electricity market trading method based on a weak centralized consortium blockchain, electricity market operating organizations include an electricity trading center and an electricity scheduling organization; the electricity market trading entities include a power generation plant, an electricity retailer, a power grid enterprise, an electricity user, and an independent auxiliary service provider.
In the foregoing electricity market trading method based on a weak centralized consortium blockchain, the access mechanism of the electricity market trading entity includes: the electricity market trading entity submits an identity (ID), a geographic location, an energy type, and electricity generation feature information to the electricity trading center, and the ID, the geographic location, the energy type, and the electricity generation feature information are broadcast to the entire network through the consortium blockchain energy trading network; the full nodes of the consortium blockchain energy trading network verify information of a new light node according to a preset condition in a smart contract; an electricity market trading entity that passes the verification joins the consortium blockchain energy trading network, and obtains a specific ID as a unique identification.
In the foregoing electricity market trading method based on a weak centralized consortium blockchain, implementation of consensus communication by the delegated byzantine fault tolerance consensus mechanism includes: first selecting a bookkeeping node according to node rights, and then achieving consensus through a byzantine fault tolerance algorithm.
In the foregoing electricity market trading method based on a weak centralized consortium blockchain, where through corresponding modeling of two major indicators of invulnerability and survivability, reliability of the consortium blockchain energy trading network in an electricity trading market is quantified by a quantitative calculation method; specific steps are as follows:
calculating a comprehensive invulnerability indicator according to a structure, nodes, and links of the consortium blockchain energy trading network, with calculation formula (1) shown as follows:
where li denotes the number of available communication links connected to a node i; rij denotes communication reliability of the jth available communication link connected to the node i, and r denotes communication reliability of the node i;
calculating, according to the comprehensive invulnerability indicator, an average node invulnerability indicator Itotal of the consortium blockchain energy trading network composed of N nodes, with calculation formula (2) shown as follows:
where Ii denotes comprehensive invulnerability of the node i;
calculating asurvivability index of the consortium blockchain energy trading network, with calculation formula (3) shown as follows:
the survivability index is used to measure a connectivity ability of remaining network nodes and communication links to reorganize network topology after soundness of the communication network is destroyed, and reflects survivability of the nodes and circuitous characteristics of the links;
where t denotes a communication hop distance, pi denotes communication reliability of the node i, Pim denotes survivability of the node i in a hop plane m, which is equal to a product Pim=pn
calculating a system survivability indicator of the consortium blockchain energy trading network according to the survivability indicator, with calculation formulas (4) and (5) shown as follows:
for the N-node consortium blockchain energy trading network, the system survivability indicator Stotal is expressed in a weighted manner:
where αi denotes a survivability weighting factor of the node i; di is the number of nodes within a certain number of hops from the node i.
The present disclosure has the following beneficial effects: the underlying P2P network of the architecture satisfies the exchange of resources and services between various market entities, and adapts to the distribution characteristics of the electricity trading market; based on the byzantine fault tolerance consensus communication technology, the invulnerability and survivability indicators are established, and the reliability of the weak centralized blockchain technology in the electricity trading market is measured quantitatively.
The present disclosure adapts to the electricity trading management involving a large amount of diversified trading data of the continuously distributed power trading, and weakens the scheduling role of the grid in the electricity market trading by the consortium blockchain technology, and realize equal rights and responsibilities, transparent mutual trust, and intelligent autonomy between production and consumption users participating in the electricity trading; with the transformation based on the consortium blockchain technology, the invulnerability and survivability of electricity market trading are calculated quantitatively, thereby reducing the calculation and solution complexity of the quantitative analysis of communication reliability, and ensuring the reliability of the electricity market trading after improvement by the weak centralized consortium blockchain technology.
The implementations of the present disclosure are described below with reference to the accompanying drawings.
This embodiment uses a blockchain technology to weaken the centralization of an electricity market trading mode, and analyzes and selects among three major blockchain technologies: public blockchain, private blockchain, and consortium blockchain. Considering that the intelligent level of the power grid is not enough to achieve complete decentralization, the balance of supply and demand in the process of power generation, transmission and transformation, and power distribution is achieved through off-grid deployment. A consortium blockchain technology framework with a degree of weak centralization between the public blockchain and the private blockchain is selected, which is more suitable for scenarios of collaboration between different organizations in the electricity trading process. Consensus nodes of the consortium blockchain are responsible for permission control and bookkeeping, while offline rules restrict behaviors of participants.
In this embodiment, through the consortium blockchain, a P2P network, and a delegated byzantine fault tolerance consensus mechanism, electricity market operating organizations and electricity market trading entities are classified into a full-node network and a light-node network respectively; central control authority of the market operating organization is partially liberated by introducing the consortium blockchain technology and using a weak centralization characteristic thereof; the underlying P2P network of the architecture satisfies the exchange of resources and services between various market entities, and adapts to the distribution characteristics of the electricity trading market; based on the byzantine fault tolerance consensus communication technology, invulnerability and survivability indicators are established, and the reliability of the weak centralized blockchain technology in the electricity trading market is measured quantitatively.
This embodiment is implemented by the following technical solution: an electricity market trading method based on a weak centralized consortium blockchain, where electricity market operating organizations and electricity market trading entities are classified into a full-node network and a light-node network respectively. Full nodes store all structured contract basic data and trading data starting from a genesis block, and protect user privacy and confidential information of trading through hash mapping; the electricity market trading entities act as light nodes in a consortium blockchain energy trading network, and participate in an electricity trading process through a certain access mechanism; the light nodes, which are scalable and account for a major node proportion, are used to save contract-related trading hash values and trading data with adjacent timestamps that is necessary for brief payment verification, and can upload and download related data from the full nodes.
A peer-to-peer (P2P) network is introduced in a bottom layer of a communication architecture, while a central server of a conventional client/server (C/S) mode is removed. CPU computing resource sharing, disk storage sharing and information exchange are realized among nodes of the P2P network.
Moreover, based on a consortium blockchain system, node consensus is achieved by using a delegated byzantine fault tolerance (dBFT) consensus mechanism. A bookkeeping node is first selected according to node rights, and then consensus is achieved through a byzantine fault tolerance algorithm.
Moreover, two communication reliability performance indicators: invulnerability and survivability, are modeled, and indicator results are quantitatively calculated to reflect the reliability of electricity market trading: the invulnerability is analyzed comprehensively from the perspectives of certainty and randomness, and the complexity of calculation and solution is greatly reduced while the impact of the network structure, nodes and links is considered; based on the case of random failure of nodes and reliable links, the survivability indicator of the communication network is established to reflect the ability of reorganization and recovery after the communication network fails partially.
In specific implementation, as shown in
The electricity market trading entities participate in the electricity trading process through a certain access mechanism, and act as light nodes in the consortium blockchain energy trading network, which are scalable and account for a major node proportion, and save contract-related trading hash values and trading data with adjacent timestamps that is necessary for brief payment verification.
The electricity trading operating organizations are equivalent to full nodes, the number of full nodes is small, and each full node stores all the structured contract basic data and trading data starting from the genesis block.
As shown in
As shown in
As shown in
To ensure the reliability of the weak centralized blockchain technology, a reliability evaluation method for electricity market trading based on a weak centralized consortium blockchain is used, which includes: correspondingly modeling two major indicators of invulnerability and survivability, and quantifying reliability of the weak centralized blockchain technology in an electricity trading market by a quantitative calculation method.
Formula (1) is a comprehensive invulnerability indicator, which takes impact of a network structure, nodes and links into consideration while solving the problems that complex conditional probabilities need to be calculated in randomness measurement of the invulnerability, complex factors need to be considered, and a solution process is complex:
where Ii denotes the number of available communication links connected to a node i; rij denotes communication reliability of the jth available communication link connected to the node i; and ri denotes communication reliability of the node i.
An average node invulnerability indicator Itotal in a communication network composed of N nodes is expressed as:
where Ii denotes comprehensive invulnerability of the node i.
The survivability indicator shown in formula (3) is used to measure a connectivity ability of remaining network nodes and communication links to reorganize network topology after soundness of the communication network is destroyed, and reflects survivability of the nodes and circuitous characteristics of the links.
where t denotes a communication hop distance; pi denotes communication reliability of the node i; Pim denotes survivability of the node i in a hop plane m, which is equal to a product (Pim=pn
For an N-node electricity trading communication network, a system survivability indicator Stotal is expressed in a weighted manner:
where αi denotes a survivability weighting factor of the node i; di is the number of nodes within a certain number of hops from the node i.
It should be noted that, all content not described in detail in the specification belongs to the prior art.
Although the implementations of the present disclosure are described above with reference to the accompanying drawings, a person of ordinary skill in the art should understand that such implementations are merely examples for description, various variations or modifications may be made on the implementations without departing from the principle and essence of the present disclosure. The scope of the present disclosure is defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
202010661634.7 | Jul 2020 | CN | national |
The present application is a Continuation-In-Part Application of PCT application No. PCT/CN2020/140395 filed on Dec. 28, 2020, which claims the benefit of Chinese Patent Application No. 202010661634.7 filed on Jul. 10, 2020, the contents of which are hereby incorporated by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2020/140395 | Dec 2020 | US |
Child | 17226039 | US |