CN111401993A - Green power dispatching system and method based on block chain - Google Patents

Green power dispatching system and method based on block chain Download PDF

Info

Publication number
CN111401993A
CN111401993A CN202010154321.2A CN202010154321A CN111401993A CN 111401993 A CN111401993 A CN 111401993A CN 202010154321 A CN202010154321 A CN 202010154321A CN 111401993 A CN111401993 A CN 111401993A
Authority
CN
China
Prior art keywords
seller
user
price
transaction
electricity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010154321.2A
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xinneng Boan Technology Beijing Co ltd
Original Assignee
Xinneng Boan Technology Beijing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xinneng Boan Technology Beijing Co ltd filed Critical Xinneng Boan Technology Beijing Co ltd
Priority to CN202010154321.2A priority Critical patent/CN111401993A/en
Publication of CN111401993A publication Critical patent/CN111401993A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0611Request for offers or quotes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The invention discloses a green power dispatching system and a green power dispatching method based on a block chain, which are applied to a target block chain, wherein a seller user and a buyer user are respectively registered as nodes on a block chain platform, the expected electricity price of the buyer user is matched with the electricity price of the seller user, and the seller user with matched electricity price is selected from a seller queue; the buyer user and the seller user sign an intelligent contract; the power dispatching module dispatches the seller users power to the buyer users according to the intelligent contract. The power dispatching method greatly improves the trust integrity of point-to-point transaction information and greatly improves the transparency and safety of transactions.

Description

Green power dispatching system and method based on block chain
Technical Field
The invention relates to the field of power dispatching, in particular to a green power dispatching system and method based on a block chain.
Background
The green electric power refers to the electric power of clean and non-fossil energy sources such as solar energy, wind power, hydroelectric power, nuclear power and the like. These power generation methods usually have the characteristics of autonomous production, self-consumption, autonomous storage and tradable transaction of consumers. From a global perspective, the traditional green electricity trade is to sell electricity to the national grid. The principle of our country's solar energy generation is ' self-generation, surplus electricity on-line and power grid regulation '. The electricity produced by the clean energy is used by itself, and the surplus electricity is transmitted to the power grid. Therefore, the traditional green energy transaction is the transaction of C2G, i.e. the transaction mode from the user to the national power grid, and direct point-to-point green electricity transaction between users cannot be achieved. This is policy driven, on the one hand, the lack of tradable platforms and technologies, which discourages trading and consumption of clean energy.
However, with the technical progress of green energy power generation, the electricity consumption cost L COE of power generation is continuously reduced, the reaction of electricity consumption price is often lagged, and in the scene of distributed power generation, families, hospitals, schools, factory roofs and the cost of green energy power generation depend on various factors, namely system cost, sunlight, wind power and other natural factors, so that in essence, the power generation cost of green power fluctuates relatively, so that a flexible price mechanism capable of correspondingly matching the power generation cost price and a corresponding real-time trading system capable of correspondingly matching the power generation cost price are required to be provided for matching and trading between a power generation side and a power utilization side, and further, a plurality of policies for matching the electricity consumption of the small green power generation and a real-time trading system capable of correspondingly matching the power generation cost price are provided for directly matching the electricity consumption side and trading between the power utilization side, and a plurality of loads of electricity consumption of the power generation side and the power utilization side are provided for directly matching the electricity consumption of the power generation, and the influence of the electricity consumption of the power generation and the power consumption of the power generation.
Disclosure of Invention
In order to overcome the defects of the prior art, the green power dispatching system and method based on the block chain are invented, and the transparency and the safety of point-to-point power transaction are greatly improved.
The technical scheme provided by the invention is as follows: a plurality of seller users and buyer users are respectively registered as nodes on the block chain platform, and the specific steps are as follows: s1: constructing a seller queue based on the electricity price of the seller user; s2: matching the expected electricity price of the buyer user with the electricity price of the seller user, and selecting the seller user with the matched electricity price from the seller queue; s3: and the buyer user and the seller user matched with the electricity price sign an intelligent contract, the intelligent contract is sent to the power dispatching module and all or part of nodes on the block chain platform, and the power dispatching module dispatches the power of the seller user to the buyer user according to the intelligent contract.
The S1: the seller queue is constructed based on the electricity price of the seller user, and specifically comprises the following steps: constructing a seller queue based on the electricity prices of seller users
Figure RE-186573DEST_PATH_IMAGE001
Wherein P is0Electricity rate, P, on behalf of the 1 st seller user1Electricity rate, P, on behalf of the 2 nd seller usern-1The electricity rate on behalf of the nth seller user,
Figure RE-904999DEST_PATH_IMAGE002
when a new seller user inserts into the seller queue based on the price of electricity, the seller queue is updated to
Figure RE-982677DEST_PATH_IMAGE003
Wherein P is0Electricity rate, P, on behalf of the 1 st seller user1Electricity rate, P, on behalf of the 2 nd seller usern-1Price of electricity, P, on behalf of the nth seller usernRepresents the electricity rate of the (n + 1) th seller user,
Figure RE-156169DEST_PATH_IMAGE004
(ii) a When a seller user exits the seller queue, the seller queue is updated to
Figure RE-901271DEST_PATH_IMAGE005
,Pn-2Representing the electricity rate of the (n-1) th seller user.
The S2: the matching of the expected electricity price of the buyer user and the electricity price of the seller user is specifically as follows: selecting a seller user in the seller queue when the seller queue TXnPrice P of a seller userqSatisfy the requirement of
Figure RE-587336DEST_PATH_IMAGE006
Which isIn (1),
Figure RE-355572DEST_PATH_IMAGE007
Figure RE-801597DEST_PATH_IMAGE008
for matching error, the seller queue TXnMedium price is PqThe seller user of (1) is set as a seller user matching the buyer user.
The S3: the step of the buyer user and the seller user matched with the electricity price for signing the intelligent contract comprises the following steps: determining a transaction pair, namely a buyer user, a seller user, transaction electric quantity, and fund accounts and electric power accounts of the buyer and the seller, taking the electric price of the seller user matched with the buyer user determined in the step S2 as a transaction electric price, obtaining transaction amount based on the transaction electric price and the transaction electric quantity, matching a payment mode with an intelligent contract, calling a third-party interface to complete payment of the transaction amount and clearing of the electric quantity, and finally forming a transaction order.
The transaction orders are sequenced and packaged to all nodes on the blockchain transaction platform after being identified by all nodes or part of nodes of the blockchain transaction platform, so that a transaction record used for tracing, auditing and non-tampering is formed, and the contents of the transaction record at least comprise: the transaction body, the transaction price, the transaction time and the transaction electric quantity. The consensus process is to verify the validity, correctness, and completeness of the trade order.
The system comprises: the system comprises a block chain platform, a deployment module, a matching module, a signing module and an electric power scheduling module; a plurality of seller users and buyer users are respectively registered as nodes on the block chain platform, and a seller queue is constructed by a deployment module based on the electricity price of the seller users; the matching module matches the expected electricity price of the buyer user with the electricity price of the seller user, and selects the seller user with matched electricity price from the seller queue; the signing module is used for signing an intelligent contract by a buyer user and a seller user matched with the electricity price and sending the intelligent contract to the power scheduling module and all or part of nodes on the block chain platform; and the power dispatching module is used for dispatching the power of the seller users to the buyer users according to the intelligent contract.
The deployment module constructs a seller queue based on the electricity price of the seller user, specifically comprising the following steps: constructing a seller queue based on the electricity prices of seller users
Figure RE-384894DEST_PATH_IMAGE009
Wherein P is0Electricity rate, P, on behalf of the 1 st seller user1Electricity rate, P, on behalf of the 2 nd seller usern-1The electricity rate on behalf of the nth seller user,
Figure RE-195855DEST_PATH_IMAGE010
. The matching module matches the expected electricity price of the buyer user with the electricity price of the seller user specifically as follows: selecting a seller user in the seller queue when the seller queue TXnPrice P of a seller userqSatisfy the requirement of
Figure RE-248125DEST_PATH_IMAGE011
Wherein, in the step (A),
Figure RE-497840DEST_PATH_IMAGE012
Figure RE-466802DEST_PATH_IMAGE008
for matching error, the seller queue TXnMedium price is PqThe seller user of (1) is set as a seller user matching the buyer user.
The step of the buyer user and the seller user matched with the electricity price for signing the intelligent contract comprises the following steps: determining a transaction pair, namely a buyer user, a seller user, transaction electric quantity, and fund accounts and electric power accounts of the buyer and the seller, taking the electric price of the seller user matched with the buyer user as a transaction electric price, obtaining transaction amount based on the transaction electric price and the transaction electric quantity, matching a payment mode with an intelligent contract, calling a third-party interface to complete payment of the transaction amount and clearing of the electric quantity, and finally forming a transaction order.
The power dispatching system and the method have the advantages that the validity, the integrity and the like of the transaction are verified through a consensus mechanism, so that the information and the trust integrity of point-to-point transaction are greatly improved, each transaction node can theoretically acquire each transaction record and an account book synchronized to the whole network, malicious nodes are prevented, the transparency and the safety of the transaction are greatly improved, and the fraudulent behaviors of an electricity buying party and an electricity selling party are avoided.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention in the prior art, the drawings used in the description of the embodiments or prior art are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a green power scheduling method based on a block chain according to an embodiment of the present disclosure;
fig. 2 is a block diagram of a green power scheduling system based on a block chain according to an embodiment of the present disclosure;
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
The invention discloses a green power dispatching system and a green power dispatching method based on a block chain, which are applied to the transaction process of power energy, utilize the characteristics that an intelligent contract in the block chain can not be tampered and traced, reduce the fraudulent behavior of a buyer and a seller, and erect a good credit bridge.
The block chain-based green power scheduling method has a flow as shown in fig. 1, and includes the following steps:
the first step is as follows: constructing a seller queue based on the electricity price of the seller user;
assuming that there are n users selling electricity, the price of electricity for each user is P, and P>0. The seller price may be defined as P [ N ], where N =0. So that a price index queue containing n users can be constructed
Figure RE-776561DEST_PATH_IMAGE013
= P0, P1.. Pn-1 }. Wherein P0<P1<P2..<Pn-1. The problems of queue joining, queue exiting and queue splitting are discussed in three cases below.
Case 1: n +1 user joining queue
Assuming that the current electricity selling queue is an ordered array, the members to be added into the ordered array currently can choose to adopt various sorting algorithms on time overhead and complexity to insert the user with the current price index Pn into the original electricity selling queue
Figure RE-316127DEST_PATH_IMAGE014
Thereby forming a price index queue containing n +1 users
Figure RE-41637DEST_PATH_IMAGE015
={P0,P1,...Pn-1,Pn}。
Case 2: m users exit the queue
If a user wants to quit or no transactable electric quantity exists, the corresponding position in the queue can be deleted, the length of the queue is marked again, or the original position is marked directly and set to be 0, and the length of the queue is not changed. In order to later match a certain buyer price. The user exits the transaction and the price index queue becomes
Figure RE-870965DEST_PATH_IMAGE016
= P0, P1.. Pn-2 or
Figure RE-351625DEST_PATH_IMAGE017
={P0,P1,...
Figure RE-112907DEST_PATH_IMAGE018
,.. The latter has the advantage that any exiting user, the transaction price queue length is unchanged and the order is unchanged. The former has the advantages of quitting, shortening the length of the queue, and having higher matching efficiency than the latter, but the order of the queue is rearranged.
Case 3: queue splitting
When the length of a single queue is linearly increased, the calculation of inserting the queue and matching the electricity price of the buyer increases the calculation overhead, for example, the time complexity of inserting the sequence is O (
Figure RE-970005DEST_PATH_IMAGE019
) The larger n, the more the computational time complexity increases in square exponential order. For matching the electricity prices of the buyers in real time, time efficiency is not optimized, so that the queue is considered to be split. The splitting is to split the electricity price into a plurality of queues according to a certain price interval, and the specific number of the split queues is determined according to the density and the variance of the electricity price distribution. In particular practice, electricity prices typically have an average price per region, with market prices fluctuating around the average price. Thus, the electricity rate queue can be split by region if the average electricity rate of a certain region is defined as
Figure RE-336395DEST_PATH_IMAGE020
The sample variance of a region is calculated by sampling a large amount of electricity price data of the region
Figure RE-706066DEST_PATH_IMAGE021
When the electricity price of a certain area
Figure RE-485803DEST_PATH_IMAGE022
At that time, the electricity prices can be added to the regional electricity price queue
Figure RE-881012DEST_PATH_IMAGE023
And sorted from high to low or from high to low. Therefore, the whole seller price queue is composed of a plurality of regional price subqueues, the length of the queue is obviously shortened compared with a single queue, and meanwhile, the queue is designed according to the model, and the method has an optimization effect on a subsequent matching search calculation method.
The second step is that: matching the expected electricity price of the buyer user with the electricity price of the seller user, and selecting the seller user with the matched electricity price from the seller queue;
at the time of transaction, a desired price is first given by the buyer
Figure RE-898647DEST_PATH_IMAGE024
. Then matching is carried out from the price queue of the seller, the matching process is that the price interval of the area is matched firstly, if so, the price interval is matched
Figure RE-908060DEST_PATH_IMAGE024
Within the price interval of this zone, i.e.
Figure RE-643935DEST_PATH_IMAGE025
Then the price queue of the target matching is found first, and the computation complexity of the matching process is
Figure RE-842835DEST_PATH_IMAGE026
Where n represents the number of regional electricity rate queues. The next step is to
Figure RE-980555DEST_PATH_IMAGE027
Is found to be equal to or close to
Figure RE-239498DEST_PATH_IMAGE028
The value and position of (c). First, a matching error is defined
Figure RE-915199DEST_PATH_IMAGE029
>0, this is
Figure RE-121053DEST_PATH_IMAGE029
It will affect the speed and accuracy of matching and depend on various factors and policies set by the user and platform in the business model, such as the price of the matched seller is higher than that of the matched seller
Figure RE-644438DEST_PATH_IMAGE024
The electricity purchasing user may not be willing to accept, and the user may accept the electricity purchasing user within a certain range if the electricity purchasing user is higher than the electricity purchasing user by a proper amount. If the matched electricity price is lower than
Figure RE-808703DEST_PATH_IMAGE024
The benefit of the seller may be impaired, and the seller is unwilling, so that it is desirable that the electricity prices of the buyer and the seller are completely equal and accurately matched. In fact, to achieve the above result, one situation is possible, but it is necessary to do a full traversal of the transaction pool (transaction pool consisting of transaction queues), and one situation is that even if one traversal is done, no perfectly matching value is found. So whether to find the optimal or sub-optimal solution. Sub-optimal means sacrificing accuracy, improving matching degree and matching time, and is a comprehensive consideration balancing matchability, computation time and complexity. The process of matching is to find the target queue
Figure RE-784749DEST_PATH_IMAGE030
So that
Figure RE-794293DEST_PATH_IMAGE031
Wherein
Figure RE-359136DEST_PATH_IMAGE032
How to find a solution according to the above formula
Figure RE-740307DEST_PATH_IMAGE033
Due to the fact that
Figure RE-469229DEST_PATH_IMAGE034
Is in an in-order queue that is,therefore, a binary search method plus a step-length-changing method is needed, namely, each time the value is taken from the middle position of the queue, the size comparison is carried out, then whether the search direction is towards the large or the small is judged next time, and then the two steps are circulated
Figure RE-220147DEST_PATH_IMAGE029
Error, so that when the target value approaches
Figure RE-718125DEST_PATH_IMAGE029
In time, the step length can be reduced
Figure RE-287776DEST_PATH_IMAGE035
So that the user can easily and conveniently select the required position,
Figure RE-503994DEST_PATH_IMAGE036
for example, the binary search is converted into the logarithmic step search, so that the search efficiency can be further improved, and the computing resources can be saved. If the seller's price satisfying the formula (1) is found, it is recorded
Figure RE-58603DEST_PATH_IMAGE037
The corresponding position N and the electricity price p. N corresponds to the electricity selling user and p corresponds to the seller price closest to the buyer's ideal price, so the final unit price of electricity for a deal is the price p of electricity corresponding to the customer N. The total price of the end user transaction is the amount of electricity purchased
Figure RE-847305DEST_PATH_IMAGE038
The third step: the buyer user and the seller user matched with the electricity price sign an intelligent contract, the intelligent contract is sent to the power dispatching module and all or part of nodes on the block chain platform, and the power dispatching module dispatches the power of the seller user to the buyer user according to the intelligent contract;
after the electricity price matching is successful, the following step is to complete the transaction. The subsequent transaction process includes order generation, payment and power delivery. The intelligent contract is mainly to complete the clearing and settlement of funds and electric power, namely, the link of 'accounting' is completed.
First, the intelligent contract is to determine a transaction pair, i.e., buyer and buyer, the buyer and buyer's fund account and power account. And based on the transaction price determined in the second step, automatic clearing and settlement based on the electricity price and the electric quantity are realized, and finally, an electric power delivery request is initiated to the power grid by an intelligent contract, and the electric power delivery is finally completed by the electric power system. Therefore, in the green power trading, whenever the intelligent contract receives a trading pair which has already reached the trading interest, a trading contract is initiated on the chain in real time, and the flow and the content of the trading contract are as follows:
TX_SC
{
buyer id:
seller id:
the buyer account:
the buyer account:
the payment method comprises the following steps:
automatically clearing based on the transaction electricity price and the electric quantity;
initiating a power delivery request to a power grid
}
Aiming at the order in the transaction, an intelligent contract is designed to complete the transaction process, the intelligent contract needs to match with a payment mode, call a third-party interface to complete payment and clearing of electric quantity, and finally a transaction order is formed. The transaction order is subjected to the consensus of all nodes or part of nodes (fragmentation consensus) of the p2p network, the consensus process is to verify the validity, correctness and integrity of the transaction record, and once the consensus passes, the transaction record is packaged into a block by the sequencing node and is linked to the previous block to form a traceable, auditable and non-falsifiable transaction record. At this time, the smart contract may initiate a request for power delivery to the power grid to complete the entire closed-loop transaction. If the consensus fails and the transaction is rejected by the network, the transaction content is checked by the system and the transaction request can be initiated again after waiting. The transaction record Tx _ hedger includes the following contents:
{
transaction body
Transaction price
Transaction time
Transaction amount of electricity
}
The intelligent contract has the characteristics of non-revocable property and denial prevention, so that the credibility of the transaction can be greatly improved. The transaction record uplink is helpful for credibly checking the transaction history, and the price model of the system and the price model of the customer have basic credible data support function for counting and analyzing the electricity purchasing behavior of the customer.
Based on the above green power scheduling method based on the blockchain, in the embodiment of the present invention, there is also provided a green power scheduling system based on the blockchain, which is applied to the blockchain, where the blockchain includes a seller user node and a buyer user node, where the seller user node and the buyer user node have stored thereon an intelligent contract, where the intelligent contract is used to issue the demands of the seller user node and the buyer user node and to complete the power transaction between the seller user node and the buyer user node, and the green power scheduling system based on the blockchain has a structure as shown in fig. 2, and includes: the system comprises a block chain platform, a deployment module, a matching module, a signing module and an electric power scheduling module; the deployment module constructs a seller queue based on the electricity price of the seller user; the matching module matches the expected electricity price of the buyer user with the electricity price of the seller user, and selects the seller user with matched electricity price from the seller queue; the signing module is used for signing an intelligent contract by a buyer user and a seller user matched with the electricity price and sending the intelligent contract to the power scheduling module and all or part of nodes on the block chain platform; and the power dispatching module is used for dispatching the power of the seller users to the buyer users according to the intelligent contract.
The present invention is not limited to the disclosed embodiments and the accompanying drawings, and is intended to cover various changes and modifications that fall within the spirit and scope of the invention.

Claims (10)

1. A green power scheduling method based on a block chain is characterized in that: a plurality of seller users and buyer users are respectively registered as nodes on the block chain platform, and the specific steps are as follows:
s1: constructing a seller queue based on the electricity price of the seller user;
s2: matching the expected electricity price of the buyer user with the electricity price of the seller user, and selecting the seller user with the matched electricity price from the seller queue;
s3: and the buyer user and the seller user matched with the electricity price sign an intelligent contract, and the intelligent contract is sent to a power dispatching module and nodes on a block chain platform, and the power dispatching module dispatches the power of the seller user to the buyer user according to the intelligent contract.
2. The block chain based green power scheduling method of claim 1, wherein: the S1: the seller queue is constructed based on the electricity price of the seller user, and specifically comprises the following steps: constructing a seller queue based on the electricity prices of seller users
Figure RE-RE-DEST_PATH_IMAGE001
Wherein P is0Electricity rate, P, on behalf of the 1 st seller user1Electricity rate, P, on behalf of the 2 nd seller usern-1The electricity rate on behalf of the nth seller user,
Figure RE-809307DEST_PATH_IMAGE002
3. the blockchain-based green power scheduling method of claim 2, wherein: when a new seller user inserts into the seller queue based on the price of electricity, the seller queue is updated to
Figure RE-RE-DEST_PATH_IMAGE003
Wherein P is0Electricity rate, P, on behalf of the 1 st seller user1Electricity rate, P, on behalf of the 2 nd seller usern-1Price of electricity, P, on behalf of the nth seller usernRepresents the electricity rate of the (n + 1) th seller user,
Figure RE-523185DEST_PATH_IMAGE004
(ii) a When a seller user exits the seller queue, the seller queue is updated to
Figure RE-RE-DEST_PATH_IMAGE005
,Pn-2Representing the electricity rate of the (n-1) th seller user.
4. The blockchain-based green power scheduling method of claim 2, wherein: the S2: the matching of the expected electricity price of the buyer user and the electricity price of the seller user is specifically as follows: selecting a seller user in the seller queue when the seller queue TXnPrice P of a seller userqSatisfy the requirement of
Figure RE-568502DEST_PATH_IMAGE006
Wherein, in the step (A),
Figure RE-RE-DEST_PATH_IMAGE007
Figure RE-760449DEST_PATH_IMAGE008
for matching error, the seller queue TXnMedium price is PqThe seller user of (1) is set as a seller user matching the buyer user.
5. The block chain based green power scheduling method of claim 1, wherein: the S3: the step of the buyer user and the seller user matched with the electricity price for signing the intelligent contract comprises the following steps: determining a transaction pair, namely a buyer user, a seller user, transaction electric quantity, and fund accounts and electric power accounts of the buyer and the seller, taking the electric price of the seller user matched with the buyer user determined in the step S2 as a transaction electric price, obtaining transaction amount based on the transaction electric price and the transaction electric quantity, matching a payment mode with an intelligent contract, calling a third-party interface to complete payment of the transaction amount and clearing of the electric quantity, and finally forming a transaction order.
6. The blockchain-based green power scheduling method of claim 5, wherein: the transaction orders are sequenced and packaged to all nodes on the blockchain transaction platform after being identified by all nodes or part of nodes of the blockchain transaction platform, so that a transaction record used for tracing, auditing and non-tampering is formed, and the contents of the transaction record at least comprise: the transaction body, the transaction price, the transaction time and the transaction electric quantity.
7. The utility model provides a green power dispatching system based on block chain which characterized in that: the system comprises: the system comprises a block chain platform, a deployment module, a matching module, a signing module and an electric power scheduling module; a plurality of seller users and buyer users are respectively registered as nodes on the block chain platform, and a seller queue is constructed by a deployment module based on the electricity price of the seller users; the matching module matches the expected electricity price of the buyer user with the electricity price of the seller user, and selects the seller user with matched electricity price from the seller queue; the signing module is used for signing an intelligent contract by a buyer user and a seller user matched with the electricity price and sending the intelligent contract to the power scheduling module and a node on the block chain platform; and the power dispatching module is used for dispatching the power of the seller users to the buyer users according to the intelligent contract.
8. The blockchain-based green power scheduling system of claim 7, wherein: the deployment module constructs a seller queue based on the electricity price of the seller user, specifically comprising the following steps: constructing a seller queue based on the electricity prices of seller users
Figure RE-RE-DEST_PATH_IMAGE009
Wherein P is0Electricity rate, P, on behalf of the 1 st seller user1Electricity rate, P, on behalf of the 2 nd seller usern-1The electricity rate on behalf of the nth seller user,
Figure RE-105979DEST_PATH_IMAGE010
9. the blockchain-based green power scheduling system of claim 8, wherein: the matching module matches the expected electricity price of the buyer user with the electricity price of the seller user specifically as follows: selecting a seller user in the seller queue when the seller queue TXnPrice P of a seller userqSatisfy the requirement of
Figure RE-DEST_PATH_IMAGE011
Wherein, in the step (A),
Figure RE-459600DEST_PATH_IMAGE012
Figure RE-DEST_PATH_IMAGE013
for matching error, the seller queue TXnMedium price is PqThe seller user of (1) is set as a seller user matching the buyer user.
10. The blockchain-based green power scheduling system of claim 9, wherein: the step of the buyer user and the seller user matched with the electricity price for signing the intelligent contract comprises the following steps: determining a transaction pair, namely a buyer user, a seller user, transaction electric quantity, and fund accounts and electric power accounts of the buyer and the seller, taking the electric price of the seller user matched with the buyer user as a transaction electric price, obtaining transaction amount based on the transaction electric price and the transaction electric quantity, matching a payment mode with an intelligent contract, calling a third-party interface to complete payment of the transaction amount and clearing of the electric quantity, and finally forming a transaction order.
CN202010154321.2A 2020-03-07 2020-03-07 Green power dispatching system and method based on block chain Pending CN111401993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010154321.2A CN111401993A (en) 2020-03-07 2020-03-07 Green power dispatching system and method based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010154321.2A CN111401993A (en) 2020-03-07 2020-03-07 Green power dispatching system and method based on block chain

Publications (1)

Publication Number Publication Date
CN111401993A true CN111401993A (en) 2020-07-10

Family

ID=71413275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010154321.2A Pending CN111401993A (en) 2020-03-07 2020-03-07 Green power dispatching system and method based on block chain

Country Status (1)

Country Link
CN (1) CN111401993A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112270621A (en) * 2020-11-19 2021-01-26 广东电网有限责任公司电力调度控制中心 Block chain-based power scheduling method, equipment and storage medium
CN113010605A (en) * 2021-03-19 2021-06-22 阳光电源股份有限公司 Green power source tracing method and device based on block chain
CN113822671A (en) * 2021-11-22 2021-12-21 武汉龙津科技有限公司 Private data transaction method, device, equipment and storage medium
CN116151450A (en) * 2023-02-14 2023-05-23 北京师范大学 Urban green roof planning layout method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109785131A (en) * 2018-12-21 2019-05-21 昆明理工大学 A kind of electricity transaction method based on block chain
US20190392511A1 (en) * 2018-06-21 2019-12-26 Rare Bits, Inc. Bid matching for blockchain-based goods/assets systems and methods

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190392511A1 (en) * 2018-06-21 2019-12-26 Rare Bits, Inc. Bid matching for blockchain-based goods/assets systems and methods
CN109785131A (en) * 2018-12-21 2019-05-21 昆明理工大学 A kind of electricity transaction method based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
四川大学金融研究所等: "《中国金融学 2008总第15辑》", 中国金融出版社 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112270621A (en) * 2020-11-19 2021-01-26 广东电网有限责任公司电力调度控制中心 Block chain-based power scheduling method, equipment and storage medium
CN113010605A (en) * 2021-03-19 2021-06-22 阳光电源股份有限公司 Green power source tracing method and device based on block chain
CN113822671A (en) * 2021-11-22 2021-12-21 武汉龙津科技有限公司 Private data transaction method, device, equipment and storage medium
CN116151450A (en) * 2023-02-14 2023-05-23 北京师范大学 Urban green roof planning layout method and system
CN116151450B (en) * 2023-02-14 2023-12-29 北京师范大学 Urban green roof planning layout method and system

Similar Documents

Publication Publication Date Title
Liu et al. Electric vehicle power trading mechanism based on blockchain and smart contract in V2G network
CN111401993A (en) Green power dispatching system and method based on block chain
US20220156856A1 (en) Energy resource network
Mengelkamp et al. A blockchain-based smart grid: towards sustainable local energy markets
CN111402047A (en) Distributed power supply regional power dispatching system and method based on block chain
CN108961018A (en) Micro-capacitance sensor electricity market decentralization mechanism of exchange based on intelligent contract
US20030055664A1 (en) Method and system for the management of structured commodity transactions and trading of related financial products
US7885888B2 (en) Auction for financially settled contracts
CN112837126B (en) Industrial park distributed energy trading method and system based on block chain
KR20220136998A (en) Blockchain-based green certificate transaction system
US20220397873A1 (en) Transaction harmony degree-based method and system for transaction matching between power grid and building energy
CN114358929A (en) Distributed energy centralized transaction method and system based on block chain
Gao et al. FogChain: A blockchain-based peer-to-peer solar power trading system powered by fog AI
CN113643131A (en) Microgrid distributed energy trading method and system based on block chain
Panda et al. Economic risk‐based bidding strategy for profit maximisation of wind‐integrated day‐ahead and real‐time double‐auctioned competitive power markets
Wang et al. A decentralized electricity transaction mode of microgrid based on blockchain and continuous double auction
Jin et al. Blockchain-enabled transactive method in distributed systems considering security constraints
CN113807961B (en) Multi-micro-grid energy transaction method and system based on alliance chain
Shil et al. Meeting peak electricity demand through combinatorial reverse auctioning of renewable energy
CN114529376A (en) Energy exchange data processing method and device, computer equipment and storage medium
CN114447923A (en) Electric energy and frequency modulation auxiliary service game optimization method for high wind power ratio electric power system
WO2020077613A1 (en) Transaction payment system and method employing blockchain transaction platform
KR102616424B1 (en) waste metal resource transaction management system and method using the same
CN112991054B (en) Electric futures contract design method based on block chain
Kekilli et al. GreenLink P2P Energy Trading Platform

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200710

WD01 Invention patent application deemed withdrawn after publication