CN110992179A - Power distribution network electric energy transaction and verification method based on distributed account book and state estimation - Google Patents

Power distribution network electric energy transaction and verification method based on distributed account book and state estimation Download PDF

Info

Publication number
CN110992179A
CN110992179A CN201911187206.9A CN201911187206A CN110992179A CN 110992179 A CN110992179 A CN 110992179A CN 201911187206 A CN201911187206 A CN 201911187206A CN 110992179 A CN110992179 A CN 110992179A
Authority
CN
China
Prior art keywords
transaction
electric energy
user node
reported
node
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.)
Granted
Application number
CN201911187206.9A
Other languages
Chinese (zh)
Other versions
CN110992179B (en
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.)
Tianjin University
Original Assignee
Tianjin University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin University filed Critical Tianjin University
Priority to CN201911187206.9A priority Critical patent/CN110992179B/en
Publication of CN110992179A publication Critical patent/CN110992179A/en
Application granted granted Critical
Publication of CN110992179B publication Critical patent/CN110992179B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Health & Medical Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Human Resources & Organizations (AREA)
  • General Health & Medical Sciences (AREA)
  • Water Supply & Treatment (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

According to the power distribution network electric energy transaction and verification method based on the distributed account book and the state estimation, the indirect measurement of the user electric energy is realized by adopting the high-frequency power distribution network state estimation calculation, and the electric energy transaction and verification method based on the distributed account book is established. The method does not depend on traditional metering equipment such as an intelligent ammeter and the like, and accurate user electric energy statistics is realized; based on an intelligent contract technology on a distributed account book, the reporting, transaction and verification of system and user electric energy data in an electric power market environment are realized, and the method has the characteristics of high safety and stability, no tampering, traceability of transaction and the like.

Description

Power distribution network electric energy transaction and verification method based on distributed account book and state estimation
Technical Field
The invention relates to a power distribution network electric energy trading and checking method. In particular to a power distribution network electric energy transaction and verification method based on a distributed account book and state estimation.
Background
In recent years, as power electronic equipment on the network side of an active power distribution system is put into application and measurement and communication networks are gradually covered, the controllability and observability level of the system are greatly improved; the load terminal on the user side puts higher demands on the quality of electric energy and the reliability of power supply, and presents a trend of customizing electric power. The interaction between the refined regulation and control of the power distribution network and the customization requirements of the users promotes the interaction between the network and the users, and the interaction content of the network and the users is more diverse and complex. More specifically, aiming at the interaction in the electric power market transaction environment, users in the power distribution network can report the electric energy data independently, and the network verifies the electric energy data reported by the users, so that the transaction interaction of both electric energy buyers and sellers is realized.
At present, most of electric power markets adopt a single centralized operation platform for trading, the mode can realize the unified management of market trading, but also face increasingly prominent potential problems of information security and the like, particularly market trading interruption, trading data loss or tampering and the like caused by network attacks or equipment faults and the like. The emerging distributed book technology has the advantages of complete distribution, data non-falsification, distrust and the like, and can effectively avoid the problems of power transaction interruption, data loss or falsification and the like. If the electric energy trading and checking platform of the electric power market adopts the distributed accounting book technology, the safety and traceability of network and user trading data in the trading platform can be guaranteed.
In the interaction process of the network and the user, the network needs to accurately measure the electric energy data of the user. The current power distribution network mainly depends on meters such as a smart meter in an advanced metering system to realize the metering of user electric energy, and if the high-precision measurement is utilized to carry out high-frequency state estimation on the network in the sensing fields such as power distribution network state estimation and the like, a user power estimation value with finer granularity and higher accuracy on the time level can be obtained; the user power estimated values of different discontinuous surfaces are further integrated, so that user power statistics in any time period can be approximately realized, and the user power is approximately estimated by using a state estimation method. Therefore, the user electric energy transaction and verification between the network and the user do not need to rely on the metering data of meters such as the intelligent electric meter and the like on the user side. Therefore, under the power market environment, the power distribution network realizes the electric energy statistics by adopting the state estimation method, and realizes the transaction and the verification of the electric energy on the distributed account book, and the method has important practical significance for realizing the electric energy transaction interaction between the network and the user and improving the safety and the stability of the transaction process.
Disclosure of Invention
The invention aims to solve the technical problem of providing a power distribution network electric energy trading and checking method based on a distributed account book and state estimation, which adopts power distribution network state estimation to accurately and indirectly measure user electric energy and utilizes a distributed account book technology to realize electric energy trading and checking.
The technical scheme adopted by the invention is as follows: a power distribution network electric energy transaction and verification method based on a distributed account book and state estimation comprises the following steps:
1) aiming at a given active power distribution network with users participating in electric energy transaction, acquiring a topological connection relation of the power distribution network, impedance parameters of each branch, user positions participating in the electric energy transaction and configuration conditions of measurement points in the system; obtaining electric energy transaction period TtraElectric energy transaction starting time hs:msElectric energy transaction ending time he:meTransaction data check threshold epsilon and power distribution network state estimation calculation period TseWherein h represents hour, m represents minute; number k for defining electric energy transaction starting time periods, ks=(hs*60+ms)/TtraNumber k of electric energy transaction end time periode,ke=(he*60+me)/TtraNumber of state estimation calculations n for a single power transaction periodse,nse=Ttra/Tse+ 1; defining the electric energy transaction time period number k, k belonging to ks,ks+1,ks+2,…,ke-1,keK is initializedsDefining an electric energy transaction time period xk、xk-1、xk-2
2) A system node and a plurality of electric energy transaction user nodes are arranged on a distributed account book, and each electric energy transaction user node corresponds to a user actually participating in electric energy transaction in a power distribution network; the method for deploying the electric energy transaction data verification intelligent contract on the distributed account book comprises the following steps: defining intelligent contract variables r, w,
Figure RE-GDA0002385735970000021
Figure RE-GDA0002385735970000022
Wherein r is a transaction report number and takes a value of 0 or 1, w is a transaction check number and takes a value of 0 or 1,
Figure RE-GDA0002385735970000023
respectively the system node reporting state when the transaction reporting number r or the transaction verification number w is 0, the user node address reported by the system node and the user node transaction electric quantity reported by the system node,
Figure RE-GDA0002385735970000024
respectively the user node reporting state when the transaction reporting number r or the transaction verification number w is 0, the user node address reported by the user node and the transaction electric quantity reported by the user node,
Figure RE-GDA0002385735970000025
respectively the system node reporting state when the transaction reporting number r or the transaction verification number w is 1, the user node address reported by the system node and the user node transaction electric quantity reported by the system node,
Figure RE-GDA0002385735970000026
setting the reporting state of the user node, the address of the user node reported by the user node and the transaction electric quantity reported by the user node when the transaction reporting number r or the transaction verification number w is 1 respectively
Figure RE-GDA0002385735970000027
Is 0,
Figure RE-GDA0002385735970000028
Is empty,
Figure RE-GDA0002385735970000029
Is empty,
Figure RE-GDA00023857359700000210
Is empty,
Figure RE-GDA00023857359700000211
Is empty,
Figure RE-GDA00023857359700000212
Is empty,
Figure RE-GDA00023857359700000213
Is 0,
Figure RE-GDA00023857359700000214
Is empty,
Figure RE-GDA00023857359700000215
Is empty,
Figure RE-GDA00023857359700000216
Is empty,
Figure RE-GDA00023857359700000217
Is empty,
Figure RE-GDA00023857359700000218
Is empty; defining a transaction data verification event;
3) setting an electric energy transaction time period xkIs [ kT ]tra/60:kTtra%60,(k+1)Ttra/60:(k+1)Ttra%60]And electric energy transaction time period xk-1Is [ (k-1) Ttra/60:(k-1)Ttra%60,kTtra/60:kTtra%60]And electric energy transaction time period xk-2Is [ (k-2) Ttra/60:(k-2)Ttra%60,(k-1)Ttra/60:(k-1)Ttra%60]The transaction reporting number r is k% 2, and the transaction verification number w is 1-r;
4) electric energy transaction time period xkIn the method, the system node calculates to obtain the electric energy transaction time period xk-1The transaction electric quantity of all user nodes participating in the transaction is reported to an electric energy transaction data verification intelligent contract, and the user node address and the user node transaction electric quantity are reported to the electric energy transaction data verification intelligent contract, and the electric energy transaction data verification intelligent contract stores the reporting information of the system node in an electric energy transaction data verification intelligent contract variable; during the electric energy transaction time period xkIn the method, each user node participating in electric energy transaction reports an electric energy transaction time period x to an electric energy transaction data verification intelligent contract respectivelyk-1The electric energy transaction data check intelligent contract respectively stores the reported information of each user node in an electric energy transaction data check intelligent contract variable; during the electric energy transaction time period xkIn the method, electric energy transaction data verification intelligent contracts verify electric energy transaction time periods x of each electric energy transaction user nodek-2Whether the internal transaction electric quantity is accurate or not;
5) judging whether the electric energy transaction time period number k +1 is less than keIf less than keSetting k to be k +1, returning to the step 3), and otherwise, entering the next step;
6) setting a trade verification serial number w as r, and verifying the electric energy trade time period x of each electric energy trade user node by an electric energy trade data verification intelligent contractk-1And if the internal transaction electric quantity is accurate, ending the electric energy transaction and verification process.
According to the power distribution network electric energy transaction and verification method based on the distributed account book and the state estimation, the indirect measurement of the user electric energy is realized by adopting the high-frequency power distribution network state estimation calculation, and the electric energy transaction and verification method based on the distributed account book is established. The method does not depend on traditional metering equipment such as an intelligent ammeter and the like, and accurate user electric energy statistics is realized; based on an intelligent contract technology on a distributed account book, the reporting, transaction and verification of system and user electric energy data in an electric power market environment are realized, and the method has the characteristics of high safety and stability, no tampering, traceability of transaction and the like.
Drawings
FIG. 1 is a flow chart of a power distribution network electric energy transaction and verification method based on a distributed ledger and state estimation according to the present invention;
fig. 2 is a diagram of network topology connections and measurement configuration of an example IEEE 13 node.
Detailed Description
The following describes in detail a power distribution network electric energy transaction and verification method based on a distributed ledger and state estimation according to the present invention with reference to embodiments and drawings.
As shown in fig. 1, the method for trading and checking the power distribution network electric energy based on the distributed ledger and the state estimation of the present invention includes the following steps:
1) aiming at a given active power distribution network with users participating in electric energy transaction, acquiring a topological connection relation of the power distribution network, impedance parameters of each branch, user positions participating in the electric energy transaction and configuration conditions of measurement points in the system; obtaining electric energy transaction period TtraElectric energy transaction starting time hs:msElectric energy transaction ending time he:meTransaction data check threshold epsilon and power distribution network state estimation calculation period TseWherein h represents hour, m represents minute; number k for defining electric energy transaction starting time periods, ks=(hs*60+ms)/TtraNumber k of electric energy transaction end time periode,ke=(he*60+me)/TtraNumber of state estimation calculations n for a single power transaction periodse,nse=Ttra/Tse+ 1; defining the electric energy transaction time period number k, k belonging to ks,ks+1,ks+2,…,ke-1,keK is initializedsDefining an electric energy transaction time period xk、xk-1、xk-2
2) A system node and a plurality of electric energy transaction user nodes are arranged on a distributed account book, and each electric energy transaction user node corresponds to a user actually participating in electric energy transaction in a power distribution network; system node deployment electric energy on distributed account bookA transaction data verification smart contract comprising: defining intelligent contract variables r, w,
Figure RE-GDA0002385735970000031
Figure RE-GDA0002385735970000032
Wherein r is a transaction report number and takes a value of 0 or 1, w is a transaction check number and takes a value of 0 or 1,
Figure RE-GDA0002385735970000033
respectively the system node reporting state when the transaction reporting number r or the transaction verification number w is 0, the user node address reported by the system node and the user node transaction electric quantity reported by the system node,
Figure RE-GDA0002385735970000034
respectively the user node reporting state when the transaction reporting number r or the transaction verification number w is 0, the user node address reported by the user node and the transaction electric quantity reported by the user node,
Figure RE-GDA0002385735970000035
respectively the system node reporting state when the transaction reporting number r or the transaction verification number w is 1, the user node address reported by the system node and the user node transaction electric quantity reported by the system node,
Figure RE-GDA0002385735970000036
setting the reporting state of the user node, the address of the user node reported by the user node and the transaction electric quantity reported by the user node when the transaction reporting number r or the transaction verification number w is 1 respectively
Figure RE-GDA0002385735970000037
Is 0,
Figure RE-GDA0002385735970000038
Is empty,
Figure RE-GDA0002385735970000039
Is empty,
Figure RE-GDA00023857359700000310
Is empty,
Figure RE-GDA00023857359700000311
Is empty,
Figure RE-GDA00023857359700000312
Is empty,
Figure RE-GDA00023857359700000313
Is 0,
Figure RE-GDA00023857359700000314
Is empty,
Figure RE-GDA00023857359700000315
Is empty,
Figure RE-GDA00023857359700000316
Is empty,
Figure RE-GDA00023857359700000317
Is empty,
Figure RE-GDA00023857359700000318
Is empty; defining a transaction data verification event; wherein the content of the first and second substances,
the user nodes are as follows: and considering various users including distributed power sources, energy storage and loads in the active power distribution network, the transaction electric quantity is a positive value or a negative value.
The transaction data verification event is as follows: writing user node addresses, user node transaction electric quantity reported by system nodes, transaction electric quantity reported by the user nodes, user node transaction electric quantity after transaction data verification, whether the transaction electric quantity reported by the user nodes is accurate or not and an electric energy transaction time period x into a distributed account book transaction logk-1Is started at (k-1) Ttra/60:(k- 1Ttra%60。
3) Setting an electric energy transaction time period xkIs [ kT ]tra/60:kTtra%60,(k+1)Ttra/60:(k+1)Ttra%60]And electric energy transaction time period xk-1Is [ (k-1) Ttra/60:(k-1)Ttra%60,kTtra/60:kTtra%60]And electric energy transaction time period xk-2Is [ (k-2) Ttra/60:(k-2)Ttra%60,(k-1)Ttra/60:(k-1)Ttra%60]The transaction reporting number r is k% 2, and the transaction verification number w is 1-r;
4) electric energy transaction time period xkIn the method, the system node calculates to obtain the electric energy transaction time period xk-1The transaction electric quantity of all user nodes participating in the transaction is reported to an electric energy transaction data verification intelligent contract, and the user node address and the user node transaction electric quantity are reported to the electric energy transaction data verification intelligent contract, and the electric energy transaction data verification intelligent contract stores the reporting information of the system node in an electric energy transaction data verification intelligent contract variable; during the electric energy transaction time period xkIn the method, each user node participating in electric energy transaction reports an electric energy transaction time period x to an electric energy transaction data verification intelligent contract respectivelyk-1The electric energy transaction data check intelligent contract respectively stores the reported information of each user node in an electric energy transaction data check intelligent contract variable; during the electric energy transaction time period xkIn the method, electric energy transaction data verification intelligent contracts verify electric energy transaction time periods x of each electric energy transaction user nodek-2Whether the internal transaction electric quantity is accurate or not; wherein the content of the first and second substances,
the system node calculates and obtains an electric energy transaction time period xk-1The transaction electric quantity of all user nodes participating in the transaction comprises:
(1) setting the state estimation calculation number n as 1 and the state estimation calculation time
Figure RE-GDA00023857359700000421
Figure RE-GDA00023857359700000422
(2) Obtaining a state estimation computation time
Figure RE-GDA0002385735970000041
The measurement values of all measurement points are subjected to three-phase state estimation calculation of the power distribution network to obtain state estimation calculation time
Figure RE-GDA0002385735970000042
Active power estimation value of each user node
Figure RE-GDA0002385735970000043
Judging whether the state estimation calculation number n is less than the state estimation calculation times n of a single electric energy transaction time periodseIf it is less than nseN is set to n +1,
Figure RE-GDA0002385735970000044
returning to the step (2), otherwise, entering the next step;
(3) based on electric energy transaction time period xk-1Obtaining the transaction electric quantity of all user nodes participating in the transaction in the electric energy transaction time period by three-phase state estimation results at different calculation moments
Figure RE-GDA0002385735970000045
For the transaction electricity quantity of user node i
Figure RE-GDA0002385735970000046
Expressed as:
Figure RE-GDA0002385735970000047
in the formula (I), the compound is shown in the specification,
Figure RE-GDA0002385735970000048
computing time of day for state estimation
Figure RE-GDA0002385735970000049
The j-phase active power estimate for user node i,
Figure RE-GDA00023857359700000410
is state estimationCounting the time of day
Figure RE-GDA00023857359700000411
And j is 0, 1 and 2, and correspondingly represents A phase, B phase and C phase respectively.
The electric energy transaction data verification intelligent contract stores the reported information of the system nodes in the electric energy transaction data verification intelligent contract variables: judging the reporting state of the system node
Figure RE-GDA00023857359700000412
If the value is 0, setting the reporting state of the system node if the value is 0
Figure RE-GDA00023857359700000413
Respectively storing the user node address reported by the system node and the user node transaction electric quantity in the user node address reported by the system node
Figure RE-GDA00023857359700000414
And user node transaction electric quantity reported by system node
Figure RE-GDA00023857359700000415
In (1).
The electric energy transaction data verification intelligent contract respectively stores the reported information of each user node in the electric energy transaction data verification intelligent contract variables is as follows: for any user node i participating in electric energy transaction, judging the reporting state of the user node i
Figure RE-GDA00023857359700000416
If the value is 0, setting the reporting state of the user node i if the value is 0
Figure RE-GDA00023857359700000417
Respectively storing the address of the user node i and the reported transaction electric quantity in the user node address reported by the user node
Figure RE-GDA00023857359700000418
And transaction electric quantity reported by user node
Figure RE-GDA00023857359700000419
In (1).
The electric energy transaction data verification intelligent contract verifies the electric energy transaction time period x of each electric energy transaction user nodek-2Whether the transaction power is accurate or not includes:
(1) judging whether the electric energy transaction time period number k is greater than ksIf greater than ksEntering the next step, otherwise, ending the verification process;
(2) judging the reporting state of the system node
Figure RE-GDA00023857359700000420
If the value is 1, turning to the step (4) if the value is 1, otherwise entering the next step;
(3) traversing user node address reported by user node
Figure RE-GDA0002385735970000051
For any user node i, setting the transaction electric quantity of the user node reported by a system node of the user node i to be 0, and setting the transaction electric quantity after the transaction data of the user node i is verified to be the transaction electric quantity reported by the user node i
Figure RE-GDA0002385735970000052
Setting the transaction electric quantity reported by the user node i to be accurate, and then triggering a transaction data verification event;
(4) user node address reported by traversing system node
Figure RE-GDA0002385735970000053
For any user node i, judging the address of the user node i reported by the system node
Figure RE-GDA0002385735970000054
Whether the user node address reported by the user node exists or not
Figure RE-GDA0002385735970000055
If yes, judging whether the transaction electric quantity reported by the user node is accurate or not based on the electric energy data check criterion; otherwise, setting the transaction electric quantity reported by the user node i as 0, and setting the transaction electric quantity after the transaction data of the user node i is verified as the transaction electric quantity of the user node i reported by the system node
Figure RE-GDA0002385735970000056
Setting that the transaction electric quantity reported by the user node i is inaccurate, and then triggering a transaction data verification event; the electric energy data checking criterion is as follows:
for the user node i, the transaction electric quantity reported by the user node is judged
Figure RE-GDA0002385735970000057
The transaction electric quantity of the user node i reported by the system node
Figure RE-GDA0002385735970000058
Whether the absolute value of the deviation of (2) is greater than epsilon
Figure RE-GDA0002385735970000059
Namely, it is
Figure RE-GDA00023857359700000510
If the condition is satisfied, setting the transaction electric quantity after the transaction data of the user node i is verified as the transaction electric quantity of the user node i reported by the system node
Figure RE-GDA00023857359700000511
Setting that the transaction electric quantity reported by the user node i is inaccurate, and then triggering a transaction data verification event; if the condition is not satisfied, setting the transaction electric quantity after the transaction data of the user node i is verified as the transaction electric quantity reported by the user node i
Figure RE-GDA00023857359700000512
Setting the transaction electric quantity reported by the user node i to be accurate, and then triggering transaction data check affairsAnd (3) a component.
(5) Setting system node reporting state
Figure RE-GDA00023857359700000513
0, user node address reported by system node
Figure RE-GDA00023857359700000514
User node transaction electric quantity reported by null and system nodes
Figure RE-GDA00023857359700000515
Reporting state for empty user node
Figure RE-GDA00023857359700000516
User node address reported by null user node
Figure RE-GDA00023857359700000517
Transaction electric quantity reported by empty and user nodes
Figure RE-GDA00023857359700000518
Is empty.
5) Judging whether the electric energy transaction time period number k +1 is less than keIf less than keSetting k to be k +1, returning to the step 3), and otherwise, entering the next step;
6) setting a trade verification serial number w as r, and verifying the electric energy trade time period x of each electric energy trade user node by an electric energy trade data verification intelligent contractk-1And if the internal transaction electric quantity is accurate, ending the electric energy transaction and verification process.
Specific examples are given below:
the method provided by the invention is verified by adopting an improved IEEE 13 node example, the network topology connection and measurement point configuration conditions of the IEEE 13 node example are shown in figure 2, and the relationship between the user node number participating in the electric energy transaction and the network node is shown in table 1. Setting electric energy transaction period TtraThe electric energy transaction starting time is 08:00, the electric energy transaction ending time is 09:00, the transaction data verification threshold epsilon is 0.05, and the state of the power distribution network is 5minEstimating a computation period Tse=1/60min。
Table 1 user-network node corresponding table participating in electric energy transaction
Figure RE-GDA00023857359700000519
And 1 system node and 9 electric energy transaction user nodes are arranged on the Etherhouse private block chain. The trading and verification processes of electric energy are respectively explained by taking electric energy trading time periods [08:05,08:10) and [08:10,08:15) as examples:
during the transaction time period [08:05,08:10), the system node performs n based on the measurement of the time period [08:00,08:05 ]seThe method comprises the steps of (1) estimating three-phase states of the network 301 times to obtain active power calculation values of different discontinuous sections, calculating by a time integration acquisition method to obtain transaction electric quantities of all transaction user nodes, reporting to an intelligent contract, and reporting data as shown in a table 2; in the time period, each electric energy transaction user node reports the transaction electric quantity in the time period [08:00,08:05) to the intelligent contract respectively, and the reported data is shown in table 3.
Table 2 electric energy transaction time period [08:05,08:10) transaction electric quantity reported by network node
Figure RE-GDA0002385735970000061
Table 3 electric energy transaction time period [08:05,08:10) transaction electric quantity reported by each transaction user node
Figure RE-GDA0002385735970000062
And in the electric energy transaction time period [08:10,08:15), the intelligent contract checks whether the transaction electric quantity of each transaction user node in the electric energy transaction time period [08:00,08:05) is accurate or not, and writes the check result into a transaction log of the block chain, wherein the result is shown in a table 4.
Table 4 electric energy trade time period 08:10,08:15 trade electric quantity check result
Figure RE-GDA0002385735970000063
Figure RE-GDA0002385735970000071
According to the analysis, the power distribution network electric energy transaction and verification method based on the distributed account book and the state estimation does not need to rely on metering equipment such as an intelligent electric meter, the power consumption of each user of the network is indirectly calculated by adopting a high-frequency state estimation result, the electric energy transaction data verification between the network and the user is realized on the distributed account book, and the safety and traceability of the network and user transaction are effectively guaranteed.

Claims (8)

1. A power distribution network electric energy transaction and verification method based on a distributed account book and state estimation is characterized by comprising the following steps:
1) aiming at a given active power distribution network with users participating in electric energy transaction, acquiring a topological connection relation of the power distribution network, impedance parameters of each branch, user positions participating in the electric energy transaction and configuration conditions of measurement points in the system; obtaining electric energy transaction period TtraElectric energy transaction starting time hs:msElectric energy transaction ending time he:meTransaction data check threshold epsilon and power distribution network state estimation calculation period TseWherein h represents hour, m represents minute; number k for defining electric energy transaction starting time periods,ks=(hs*60+ms)/TtraNumber k of electric energy transaction end time periode,ke=(he*60+me)/TtraNumber of state estimation calculations n for a single power transaction periodse,nse=Ttra/Tse+ 1; defining the electric energy transaction time period number k, k belonging to ks,ks+1,ks+2,…,ke-1,keK is initializedsDefining an electric energy transaction time period xk、xk-1、xk-2
2) Setting on distributed account bookThe system comprises a system node and a plurality of electric energy trading user nodes, wherein each electric energy trading user node corresponds to a user actually participating in electric energy trading in the power distribution network; the method for deploying the electric energy transaction data verification intelligent contract on the distributed account book comprises the following steps: defining intelligent contract variables r, w,
Figure RE-FDA0002385735960000011
Wherein r is a transaction report number and takes a value of 0 or 1, w is a transaction check number and takes a value of 0 or 1,
Figure RE-FDA0002385735960000012
respectively the system node reporting state when the transaction reporting number r or the transaction verification number w is 0, the user node address reported by the system node and the user node transaction electric quantity reported by the system node,
Figure RE-FDA0002385735960000013
respectively the user node reporting state when the transaction reporting number r or the transaction verification number w is 0, the user node address reported by the user node and the transaction electric quantity reported by the user node,
Figure RE-FDA0002385735960000014
respectively the system node reporting state when the transaction reporting number r or the transaction verification number w is 1, the user node address reported by the system node and the user node transaction electric quantity reported by the system node,
Figure RE-FDA0002385735960000015
setting the reporting state of the user node, the address of the user node reported by the user node and the transaction electric quantity reported by the user node when the transaction reporting number r or the transaction verification number w is 1 respectively
Figure RE-FDA0002385735960000016
Is 0,
Figure RE-FDA0002385735960000017
Is empty,
Figure RE-FDA0002385735960000018
Is empty,
Figure RE-FDA0002385735960000019
Is empty,
Figure RE-FDA00023857359600000110
Is empty,
Figure RE-FDA00023857359600000111
Is empty,
Figure RE-FDA00023857359600000112
Is 0,
Figure RE-FDA00023857359600000113
Is empty,
Figure RE-FDA00023857359600000114
Is empty,
Figure RE-FDA00023857359600000115
Is empty,
Figure RE-FDA00023857359600000116
Is empty,
Figure RE-FDA00023857359600000117
Is empty; defining a transaction data verification event;
3) setting an electric energy transaction time period xkIs [ kT ]tra/60:kTtra%60,(k+1)Ttra/60:(k+1)Ttra%60]And electric energy transaction time period xk-1Is [ (k-1) Ttra/60:(k-1)Ttra%60,kTtra/60:kTtra%60]And electric energy transaction time period xk-2Is [ (k-2) Ttra/60:(k-2)Ttra%60,(k-1)Ttra/60:(k-1)Ttra%60]The transaction reporting number r is k% 2, and the transaction verification number w is 1-r;
4) electric energy transaction time period xkIn the method, the system node calculates to obtain the electric energy transaction time period xk-1The transaction electric quantity of all user nodes participating in the transaction is reported to an electric energy transaction data verification intelligent contract, and the user node address and the user node transaction electric quantity are reported to the electric energy transaction data verification intelligent contract, and the electric energy transaction data verification intelligent contract stores the reporting information of the system node in an electric energy transaction data verification intelligent contract variable; during the electric energy transaction time period xkIn the method, each user node participating in electric energy transaction reports an electric energy transaction time period x to an electric energy transaction data verification intelligent contract respectivelyk-1The electric energy transaction data check intelligent contract respectively stores the reported information of each user node in an electric energy transaction data check intelligent contract variable; during the electric energy transaction time period xkIn the method, electric energy transaction data verification intelligent contracts verify electric energy transaction time periods x of each electric energy transaction user nodek-2Whether the internal transaction electric quantity is accurate or not;
5) judging whether the electric energy transaction time period number k +1 is less than keIf less than keSetting k to be k +1, returning to the step 3), and otherwise, entering the next step;
6) setting a trade verification serial number w as r, and verifying the electric energy trade time period x of each electric energy trade user node by an electric energy trade data verification intelligent contractk-1And if the internal transaction electric quantity is accurate, ending the electric energy transaction and verification process.
2. The distributed ledger and state estimation-based power distribution network electric energy transaction and verification method according to claim 1, characterized in that, in step 2), the user nodes are: and considering various users including distributed power sources, energy storage and loads in the active power distribution network, the transaction electric quantity is a positive value or a negative value.
3. The method for trading and verifying power distribution network electric energy based on the distributed ledger and state estimation as claimed in claim 1, wherein in step 2)The transaction data verification event is as follows: writing user node addresses, user node transaction electric quantity reported by system nodes, transaction electric quantity reported by the user nodes, user node transaction electric quantity after transaction data verification, whether the transaction electric quantity reported by the user nodes is accurate or not and an electric energy transaction time period x into a distributed account book transaction logk-1Is started at (k-1) Ttra/60:(k-1)Ttra%60。
4. The method for trading and checking power distribution network electric energy based on the distributed ledger and state estimation of claim 1, wherein the system node in step 4) calculates the electric energy trading time period xk-1The transaction electric quantity of all user nodes participating in the transaction comprises:
(1) setting the state estimation calculation number n as 1 and the state estimation calculation time
Figure RE-FDA0002385735960000021
Figure RE-FDA0002385735960000022
(2) Obtaining a state estimation computation time
Figure RE-FDA0002385735960000023
The measurement values of all measurement points are subjected to three-phase state estimation calculation of the power distribution network to obtain state estimation calculation time
Figure RE-FDA0002385735960000024
Active power estimation value of each user node
Figure RE-FDA0002385735960000025
Judging whether the state estimation calculation number n is less than the state estimation calculation times n of a single electric energy transaction time periodseIf it is less than nseN is set to n +1,
Figure RE-FDA0002385735960000026
Figure RE-FDA0002385735960000027
returning to the step (2), otherwise, entering the next step;
(3) based on electric energy transaction time period xk-1Obtaining the transaction electric quantity of all user nodes participating in the transaction in the electric energy transaction time period by three-phase state estimation results at different calculation moments
Figure RE-FDA0002385735960000028
For the transaction electricity quantity of user node i
Figure RE-FDA0002385735960000029
Expressed as:
Figure RE-FDA00023857359600000210
in the formula (I), the compound is shown in the specification,
Figure RE-FDA00023857359600000211
computing time of day for state estimation
Figure RE-FDA00023857359600000212
The j-phase active power estimate for user node i,
Figure RE-FDA00023857359600000213
computing time of day for state estimation
Figure RE-FDA00023857359600000214
And j is 0, 1 and 2, and correspondingly represents A phase, B phase and C phase respectively.
5. The method for trading and verifying power distribution network electric energy based on the distributed ledger and state estimation as claimed in claim 1, wherein the electric energy trading data verification intelligence in step 4)The energy contract stores the reported information of the system nodes in the electric energy transaction data verification intelligent contract variables: judging the reporting state of the system node
Figure RE-FDA00023857359600000215
If the value is 0, setting the reporting state of the system node if the value is 0
Figure RE-FDA00023857359600000216
Respectively storing the user node address reported by the system node and the user node transaction electric quantity in the user node address reported by the system node
Figure RE-FDA00023857359600000217
And user node transaction electric quantity reported by system node
Figure RE-FDA00023857359600000218
In (1).
6. The power distribution network electric energy transaction and verification method based on the distributed ledger and the state estimation of claim 1, wherein the electric energy transaction data verification intelligent contract in step 4) respectively stores the reported information of each user node in the electric energy transaction data verification intelligent contract variable is: for any user node i participating in electric energy transaction, judging the reporting state of the user node i
Figure RE-FDA00023857359600000219
If the value is 0, setting the reporting state of the user node i if the value is 0
Figure RE-FDA00023857359600000220
Respectively storing the address of the user node i and the reported transaction electric quantity in the user node address reported by the user node
Figure RE-FDA0002385735960000031
And transaction electric quantity reported by user node
Figure RE-FDA0002385735960000032
In (1).
7. The method for trading and verifying power distribution network electric energy based on the distributed ledger and state estimation as claimed in claim 1, wherein the electric energy trading data verification intelligent contract in step 4) verifies the electric energy trading time period x of each electric energy trading user nodek-2Whether the transaction power is accurate or not includes:
(1) judging whether the electric energy transaction time period number k is greater than ksIf greater than ksEntering the next step, otherwise, ending the verification process;
(2) judging the reporting state of the system node
Figure RE-FDA0002385735960000033
If the value is 1, turning to the step (4) if the value is 1, otherwise entering the next step;
(3) traversing user node address reported by user node
Figure RE-FDA0002385735960000034
For any user node i, setting the transaction electric quantity of the user node reported by a system node of the user node i to be 0, and setting the transaction electric quantity after the transaction data of the user node i is verified to be the transaction electric quantity reported by the user node i
Figure RE-FDA0002385735960000035
Setting the transaction electric quantity reported by the user node i to be accurate, and then triggering a transaction data verification event;
(4) user node address reported by traversing system node
Figure RE-FDA0002385735960000036
For any user node i, judging the address of the user node i reported by the system node
Figure RE-FDA0002385735960000037
Whether the user node address reported by the user node exists or not
Figure RE-FDA0002385735960000038
If yes, judging whether the transaction electric quantity reported by the user node is accurate or not based on the electric energy data check criterion; otherwise, setting the transaction electric quantity reported by the user node i as 0, and setting the transaction electric quantity after the transaction data of the user node i is verified as the transaction electric quantity of the user node i reported by the system node
Figure RE-FDA0002385735960000039
Setting that the transaction electric quantity reported by the user node i is inaccurate, and then triggering a transaction data verification event;
(5) setting system node reporting state
Figure RE-FDA00023857359600000310
0, user node address reported by system node
Figure RE-FDA00023857359600000311
User node transaction electric quantity reported by null and system nodes
Figure RE-FDA00023857359600000312
Reporting state for empty user node
Figure RE-FDA00023857359600000313
User node address reported by null user node
Figure RE-FDA00023857359600000314
Transaction electric quantity reported by empty and user nodes
Figure RE-FDA00023857359600000315
Is empty.
8. The power distribution network electric energy transaction and verification method based on the distributed ledger and state estimation according to claim 7, wherein the electric energy data verification criterion in step (4) is:
for the user node i, the transaction electric quantity reported by the user node is judged
Figure RE-FDA00023857359600000316
The transaction electric quantity of the user node i reported by the system node
Figure RE-FDA00023857359600000317
Whether the absolute value of the deviation of (2) is greater than epsilon
Figure RE-FDA00023857359600000318
Namely, it is
Figure RE-FDA00023857359600000319
If the condition is satisfied, setting the transaction electric quantity after the transaction data of the user node i is verified as the transaction electric quantity of the user node i reported by the system node
Figure RE-FDA00023857359600000320
Setting that the transaction electric quantity reported by the user node i is inaccurate, and then triggering a transaction data verification event; if the condition is not satisfied, setting the transaction electric quantity after the transaction data of the user node i is verified as the transaction electric quantity reported by the user node i
Figure RE-FDA00023857359600000321
And setting the transaction electric quantity reported by the user node i to be accurate, and then triggering a transaction data verification event.
CN201911187206.9A 2019-11-28 2019-11-28 Power distribution network electric energy transaction and verification method based on distributed account book and state estimation Active CN110992179B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911187206.9A CN110992179B (en) 2019-11-28 2019-11-28 Power distribution network electric energy transaction and verification method based on distributed account book and state estimation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911187206.9A CN110992179B (en) 2019-11-28 2019-11-28 Power distribution network electric energy transaction and verification method based on distributed account book and state estimation

Publications (2)

Publication Number Publication Date
CN110992179A true CN110992179A (en) 2020-04-10
CN110992179B CN110992179B (en) 2023-02-17

Family

ID=70087630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911187206.9A Active CN110992179B (en) 2019-11-28 2019-11-28 Power distribution network electric energy transaction and verification method based on distributed account book and state estimation

Country Status (1)

Country Link
CN (1) CN110992179B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109359985A (en) * 2018-09-19 2019-02-19 南方电网科学研究院有限责任公司 Block chain-based distributed energy transaction execution method, device and equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109359985A (en) * 2018-09-19 2019-02-19 南方电网科学研究院有限责任公司 Block chain-based distributed energy transaction execution method, device and equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘明川: ""基于能源区块链的分布式电能交易系统设计"", 《硕士电子期刊》 *
朱抗: ""基于区块链的能源互联网去中心化电能交易关键技术研究"", 《硕士电子期刊》 *

Also Published As

Publication number Publication date
CN110992179B (en) 2023-02-17

Similar Documents

Publication Publication Date Title
CN108448568B (en) Power distribution network hybrid state estimation method based on multiple time period measurement data
Deng et al. A branch-estimation-based state estimation method for radial distribution systems
CN103048629B (en) Method and device for metering lithium battery electric quantity
CN104778367B (en) Wide area Thevenin's equivalence parameter on-line calculation method based on a single state section
CN110429653B (en) Rural power grid distributed photovoltaic absorption method considering energy storage and DR (digital radiography) and terminal equipment
CN109086963B (en) Line loss theoretical calculation lean management method
CN106355298A (en) Intelligent watt-hour meter reliability prediction cloud service platform
CN110196404A (en) A kind of metering chip calibration method, device and the terminal device of charging pile
CN106655152B (en) A kind of State Estimation for Distribution Network measuring characteristic based on AMI
CN111198799A (en) Machine room power consumption early warning method, system, terminal and storage medium based on LSTM
CN115640935A (en) Method and device for calculating carbon emission of power system and computer equipment
CN105552885B (en) Method and system for improving power distribution network state estimation observability
CN106443496A (en) Battery charge state estimation method with improved noise estimator
CN104656053A (en) State estimation method and system for electric energy metering devices
CN106372440B (en) A kind of adaptive robust state estimation method of the power distribution network of parallel computation and device
CN109858061B (en) Power distribution network equivalence and simplification method for voltage power sensitivity estimation
CN115685046A (en) Mutual inductor metering abnormity identification method, device, equipment and storage medium
CN110380409A (en) Consider the active distribution network distributed robust state estimation method and system of communication failure
CN108802628B (en) Method, device and equipment for measuring battery electric quantity
CN110992179B (en) Power distribution network electric energy transaction and verification method based on distributed account book and state estimation
CN110298570A (en) Distribution network system topology status discrimination method, device, storage medium and equipment
CN116400223A (en) Battery electric quantity information generation method, device and readable storage medium
CN111796143B (en) Energy-saving metering method for energy-saving equipment of power distribution and utilization system
CN111478311A (en) Line loss calculation method and system for any partition of power grid
CN113468729B (en) Method and system for measuring and calculating operation errors of electric power station metering device without calibration mode

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
GR01 Patent grant
GR01 Patent grant