CN116485398A - System and method for new energy power transaction considering blockchain - Google Patents
System and method for new energy power transaction considering blockchain Download PDFInfo
- Publication number
- CN116485398A CN116485398A CN202211574498.3A CN202211574498A CN116485398A CN 116485398 A CN116485398 A CN 116485398A CN 202211574498 A CN202211574498 A CN 202211574498A CN 116485398 A CN116485398 A CN 116485398A
- Authority
- CN
- China
- Prior art keywords
- power
- transaction
- data
- electricity
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000000903 blocking effect Effects 0.000 claims abstract description 26
- 238000005516 engineering process Methods 0.000 claims abstract description 11
- 230000005611 electricity Effects 0.000 claims description 84
- 238000007726 management method Methods 0.000 claims description 19
- 230000005540 biological transmission Effects 0.000 claims description 17
- 230000007246 mechanism Effects 0.000 claims description 15
- 238000004422 calculation algorithm Methods 0.000 claims description 14
- 230000008859 change Effects 0.000 claims description 12
- 238000006243 chemical reaction Methods 0.000 claims description 12
- 238000012550 audit Methods 0.000 claims description 11
- 230000006870 function Effects 0.000 claims description 10
- 238000012795 verification Methods 0.000 claims description 10
- 238000005457 optimization Methods 0.000 claims description 9
- 238000013500 data storage Methods 0.000 claims description 6
- 238000004146 energy storage Methods 0.000 claims description 6
- 238000010248 power generation Methods 0.000 claims description 6
- 238000004364 calculation method Methods 0.000 claims description 4
- 230000000977 initiatory effect Effects 0.000 claims description 4
- 230000003993 interaction Effects 0.000 claims description 4
- 230000002452 interceptive effect Effects 0.000 claims description 4
- 238000012545 processing Methods 0.000 claims description 4
- 238000013528 artificial neural network Methods 0.000 claims description 3
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 claims description 2
- 229910052799 carbon Inorganic materials 0.000 claims description 2
- 230000007613 environmental effect Effects 0.000 claims description 2
- 238000004519 manufacturing process Methods 0.000 claims description 2
- 238000005259 measurement Methods 0.000 claims description 2
- 230000001172 regenerating effect Effects 0.000 claims description 2
- 238000012549 training Methods 0.000 claims 3
- 210000002569 neuron Anatomy 0.000 claims 2
- 101001095088 Homo sapiens Melanoma antigen preferentially expressed in tumors Proteins 0.000 claims 1
- 102100037020 Melanoma antigen preferentially expressed in tumors Human genes 0.000 claims 1
- 239000011159 matrix material Substances 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000009826 distribution Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000002159 abnormal effect Effects 0.000 description 4
- 230000006399 behavior Effects 0.000 description 4
- 238000009499 grossing Methods 0.000 description 4
- 238000013475 authorization Methods 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 3
- 238000007781 pre-processing Methods 0.000 description 3
- 108010074506 Transfer Factor Proteins 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 238000013523 data management Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000003416 augmentation Effects 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000002146 bilateral effect Effects 0.000 description 1
- 238000007621 cluster analysis Methods 0.000 description 1
- 238000011217 control strategy Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000012417 linear regression Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000004804 winding Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for ac mains or ac distribution networks
- H02J3/008—Circuit arrangements for ac mains or ac distribution networks involving trading of energy or energy transmission rights
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/50—Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Bioethics (AREA)
- General Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Software Systems (AREA)
- Economics (AREA)
- Computer Hardware Design (AREA)
- General Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Water Supply & Treatment (AREA)
- Tourism & Hospitality (AREA)
- Power Engineering (AREA)
- Computing Systems (AREA)
- Primary Health Care (AREA)
- Data Mining & Analysis (AREA)
- Marketing (AREA)
- Human Resources & Organizations (AREA)
- Public Health (AREA)
- Finance (AREA)
- Medical Informatics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application provides a system and a method for new energy power transaction considering a blockchain, wherein the system comprises: the power transaction platform provides an optimal power supply line for the power utilization side after purchasing power according to the selected transaction strategy; the block chain subsystem is used for completing block chain consensus after data uplink; the system is used for storing privacy data and basic data generated by electric power transaction, and adopts a hierarchical encryption technology to carry out fine granularity protection on transaction data on a chain; the user transaction subsystem is used for generating transaction according to the provided optimal power supply line, performing blocking judgment on the optimal power supply line, performing examination and consensus, and uploading transaction data to a database in the electric power transaction platform; the CA certificate subsystem is used for issuing a digital certificate for the user; and the wind-electricity photovoltaic prediction subsystem is used for predicting the power output of the new energy and transmitting the power output of the new energy to the power transaction platform. To solve the centralization problem of the electric power market.
Description
Technical Field
The present document relates to the field of power transaction technologies, and in particular, to a system and a method for new energy power transaction considering blockchain.
Background
The existing green electric power trading center can solve the problem of direct purchase of large electric quantity in a cross region, but the application range is smaller, the effect is not ideal, and the following three problems exist according to the specific gravity between the market trading electric quantity and the whole social electric quantity and the problems found in the actual market trading operation process. Firstly, the green electric power trading center is controlled by a power supply enterprise, cannot independently and independently operate well, and the market regulation function of the electric power trading center is not fully exerted yet. And secondly, the green power transaction is mainly medium-and-long-term transaction, but the transaction electric quantity, time and price of the medium-and-long-term transaction are in a relatively long period in the future, have certain hysteresis, cannot follow the change of the future power energy market, and have unsatisfactory effect of responding to the latest demand of the market and poor market competitiveness. Thirdly, the problem that the two parties of the electric power energy transaction are behind the negotiation mechanism is solved. Market exchange of buyers and sellers led by the green electric power exchange center is mainly carried out in a field bilateral negotiation mode, because of limited participants, the number of alternative electric power energy producers is small, and in addition, the information is asymmetric and a pricing mechanism is opaque, so that the negotiation process time is long and inflexible, and the achieved transaction result does not necessarily meet the safe scheduling condition of system operation. Under the decentralized regional power energy transaction scene, the security risks of information leakage and external attack exist, and the privacy protection and transaction mutual trust of users are also problems to be solved.
The blockchain technology can get rid of the control of the centralization mechanism on big data information to a certain extent, and ensures the transmission of personal privacy data through an encryption means, but at present, many exchanges and wallets are still centralization operation modes, and the personal data of users can be inevitably stored. In addition, the privacy information of the user can be easily obtained from the public transparent record through the existing big data analysis and cluster analysis and a certain network attack means. The electric power energy is different from other commodities, is a necessity for modern people, and can have serious consequences if the transaction is not properly operated, so that people are required to monitor the electric power market transaction, the line capacity and the line loss are considered, and the electric power network company is required to adjust, so that the system cannot be completely decentralised.
Disclosure of Invention
The invention provides a system and a method for new energy power transaction considering a blockchain, which adopt the blockchain technology to respectively put a user and a supervision department on a blockchain side chain and a main chain, so that the throughput of the transaction is improved; recording transaction data of the electric power transaction system by adopting a blockchain technology, wherein a plurality of nodes in the system can be synchronized in real time, so that the inquiry and traceability of the transaction data of the electric power transaction system are realized; hierarchical encryption is adopted to carry out hierarchical encryption on the public information and the non-public information, so that on one hand, the data disclosure is ensured, and more users are attracted to join the system; on the other hand, the transmission of private data of an individual can be prevented.
The invention provides a new energy power transaction system considering block chains, which comprises:
the power transaction platform is in interactive connection with the block chain subsystem, the user transaction subsystem, the CA certificate subsystem and the wind power photovoltaic prediction subsystem and is used for providing a registration and login platform for users of green power transaction, wherein the users comprise a power generator and a power utilization side; the system is used for issuing electricity selling information for the electricity generator; the system comprises a wind power photovoltaic prediction subsystem, a power utilization side and a power supply system, wherein the power utilization side is used for receiving an optimal transaction strategy provided by the wind power photovoltaic prediction subsystem; the system comprises a power supply line generation module, a transaction data storage module and a data storage module, wherein the power supply line generation module is used for generating orders according to power supply lines selected by a power utilization side and storing transaction data into a database;
the system comprises a blockchain subsystem, wherein the blockchain subsystem is designed in a blockchain form and comprises a main chain and a side chain, wherein side chain members comprise a generator and a power utilization side, the main chain members comprise a power transaction center and a transaction supervision department, and the blockchain subsystem is used for completing power and electricity price conversion of the power transaction center; the block chain consensus is used for completing the data uplink; the system is used for storing privacy data and basic data generated by electric power transaction, carrying out information interaction between a main chain and a side chain through the side chain, carrying out safe sharing on data of each transaction party, and carrying out fine granularity protection on the transaction data on the chain by adopting a hierarchical encryption technology; the transaction data is used for applying for accessing transaction data stored in the electric power transaction platform;
the user transaction subsystem is used for generating transaction according to the provided optimal power supply line, performing blocking judgment on the optimal power supply line, performing examination and consensus, and uploading transaction data to the database in the power transaction platform;
the CA certificate subsystem is used for issuing a digital certificate after node verification and network access verification are carried out on a user through an intelligent contract;
and the wind-electricity photovoltaic prediction subsystem is used for searching the optimal model parameters through an LSTM method improved by a hybrid algorithm and generating an optimal transaction strategy.
The invention provides a new energy power transaction method considering block chains, which comprises the following steps:
s1, a user registers on an electric power transaction platform, an intelligent contract examines, the user can log in after the examination passes, an electricity producer can upload electricity selling information on the electric power transaction platform, and an electricity using side can select according to the electricity selling information uploaded by the electricity producer;
s2, purchasing electricity according to the electricity utilization side, initiating an order after successful payment, judging whether the balance of the electricity utilization side meets the order requirement, and generating the order if the balance of the electricity utilization side meets the order requirement;
s3, the generated order passes through the blocking management module and judges whether the safety condition is met or not, and intelligent contract examination is carried out after the safety condition is met;
s4, after the intelligent contract examination is completed, block chain consensus is conducted, and transaction data are uploaded to a database.
According to the invention, transaction data of the electric power transaction system is recorded through a blockchain technology, and a plurality of nodes in the system can be synchronized in real time, so that the inquiry and traceability of the transaction data of the electric power transaction system are realized; hierarchical encryption is adopted to carry out hierarchical encryption on the public information and the non-public information, so that on one hand, the data disclosure is ensured, and more users are attracted to join the system; on the other hand, the transmission of private data of an individual can be prevented.
Drawings
For a clearer description of one or more embodiments of the present description or of the solutions of the prior art, the drawings that are necessary for the description of the embodiments or of the prior art will be briefly described, it being apparent that the drawings in the description that follow are only some of the embodiments described in the description, from which, for a person skilled in the art, other drawings can be obtained without inventive faculty.
FIG. 1 is a block chain based system architecture diagram of a new energy power transaction in accordance with an embodiment of the present invention;
FIG. 2 is a flow chart of a method for new energy power transaction that considers blockchain in accordance with an embodiment of the present invention;
FIG. 3 is a system frame diagram of a blockchain subsystem in accordance with an embodiment of the present invention;
FIG. 4 is a schematic diagram of a double-stranded structure according to an embodiment of the present invention;
FIG. 5 is a hierarchical encryption flow chart of an embodiment of the present invention;
FIG. 6 is a flow chart of a hybrid optimization algorithm for optimizing an LSTM neural network in accordance with an embodiment of the present invention;
fig. 7 is a schematic diagram of a wind-driven photovoltaic prediction structure according to an embodiment of the present invention.
Detailed Description
In order to enable a person skilled in the art to better understand the technical solutions in one or more embodiments of the present specification, the technical solutions in one or more embodiments of the present specification will be clearly and completely described below with reference to the drawings in one or more embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one or more embodiments of the present disclosure without inventive faculty, are intended to be within the scope of the present disclosure.
System embodiment
An embodiment of the present invention provides a system for new energy power transaction considering a blockchain, and fig. 1 is a schematic diagram of a system for new energy power transaction considering a blockchain according to an embodiment of the present invention, and according to the system shown in fig. 1, the system for new energy power transaction service according to an embodiment of the present invention includes:
the power transaction platform is in interactive connection with the block chain subsystem, the user transaction subsystem, the CA certificate subsystem and the wind power photovoltaic prediction subsystem and is used for providing a registration and login platform for users of green power transaction, wherein the users comprise a power generator and a power utilization side; the system is used for issuing electricity selling information for the electricity generator; the system comprises a wind power photovoltaic prediction subsystem, a power utilization side and a power supply system, wherein the wind power photovoltaic prediction subsystem is used for receiving an optimal transaction strategy provided by the wind power photovoltaic prediction subsystem for the power utilization side, and according to the optimal transaction strategy, the power utilization side is used for providing an optimal power supply line after purchasing power according to the selected transaction strategy; the system comprises a power supply line generation module, a transaction data storage module and a data storage module, wherein the power supply line generation module is used for generating orders according to power supply lines selected by a power utilization side and storing transaction data into a database;
a blockchain subsystem, wherein the blockchain subsystem is designed in a blockchain form and comprises a main chain and a side chain, and fig. 4 is a schematic diagram of a double-chain structure according to an embodiment of the present invention; the system comprises a side chain member, a main chain member, a block chain subsystem and a control system, wherein the side chain member comprises a generator and a power utilization side, the main chain member comprises a power transaction center and a transaction supervision department, and the block chain subsystem is used for completing power and electricity price conversion of the power transaction center; the block chain consensus is used for completing the data uplink; the system is used for storing privacy data and basic data generated by electric power transaction, carrying out information interaction between the main chain and the side chain through the side chain, carrying out safe sharing on data of each transaction party, and carrying out fine granularity protection on the transaction data on the chain by adopting a hierarchical encryption technology; the transaction data is used for applying for accessing transaction data stored in the electric power transaction platform; the blockchain system specifically includes: the electricity price conversion module is used for sending the current market clearing boundary conditions, the current market clearing boundary conditions and the current market pricing to the electric power transaction center, and the electric power transaction center is used for publishing the electricity selling information of the highest electricity price and the lowest electricity price which meet the current time period electricity price specification and are sent by each electricity generator; the consensus module is used for completing consensus of the alliance chain by adopting a dBFT mechanism; the hierarchical encryption and decryption module specifically comprises: and carrying out hierarchical encryption on the private data stored in the main chain and the basic data stored in the side chain by adopting a hierarchical encryption technology. FIG. 3 is a system frame diagram of a blockchain subsystem in accordance with an embodiment of the present invention;
the user transaction subsystem is used for generating transaction according to the provided optimal power supply line, performing blocking judgment on the optimal power supply line, performing examination and consensus, and uploading transaction data to the database in the power transaction platform; the user transaction subsystem specifically comprises: the transaction module is used for generating transaction data according to the order submitted by the user; the blocking management module is used for judging whether to perform blocking management according to the line constraint condition and regenerating a transaction strategy for the line needing blocking management; the security checking module is used for carrying out security checking and checking consensus on the transaction and is used for acquiring transaction data which is subjected to intelligent contract checking through the CA certificate subsystem and is consensus through the blockchain subsystem; and the data uploading module is used for uploading the transaction data in the examination consensus module to a database.
The CA certificate subsystem is used for issuing a digital certificate after node verification and network access verification are carried out on the user through an intelligent contract;
and the wind-electricity photovoltaic prediction subsystem is used for searching the optimal model parameters through an LSTM method improved by a hybrid optimization algorithm and generating an optimal transaction strategy. Wherein the stroke photovoltaic prediction subsystem comprises: the system comprises M groups of wind power generating units, photovoltaic generating units, thermal power generating units, N edge computing servers, cloud computing servers, a comprehensive regulation and control device, a user side comprehensive measurement and control terminal, a remote controller, a wind power data collector and a load data collector; the wind power data collector is used for collecting capacity information of the generated output electric quantity of the wind generating set; the collected capacity information is sent to an edge computing server; each edge server obtains the energy production information of a plurality of wind generating sets from the wind power data collector, obtains the power consumption of user power consumption equipment from the load data collector, calculates the power change rate and the load change rate of the wind generating sets at the next moment, sends the power change rate and the load change rate to the cloud computing server, and the cloud computing is used for adjusting through the energy storage battery pack and the thermal power generating set; the cloud computing server receives the change rate of the electric quantity required by the user terminal at the next moment predicted by each edge server, predicts the energy storage at the next moment and the capacity information required by the thermal power generating unit according to the working state of the quick switch of the user power consumption equipment acquired by the comprehensive regulation device, and feeds the information back to the comprehensive regulation device; the comprehensive regulation and control device generates a regulation and control signal from the capacity information fed back by the cloud computing server, and sends the regulation and control signal to the comprehensive control terminal and the remote controller at the user side to respectively control the working state of the remote control switch at the next moment, the energy storage and the power generation output of the thermal power generating unit. And the comprehensive regulation device performs information interaction with the mobile phone terminal at the user side.
When the power consumption peak period is reached, the cloud computing server prompts a user to close some power consumption devices on the mobile phone terminal, and the user selects a remote control switch of the power consumption devices of the user to adopt an intelligent mode or a manual mode on an interactive interface of the mobile phone terminal of the user side: in the intelligent mode, the working state of a remote control switch of the user power consumption equipment is automatically switched according to the entrance/exit behaviors of the user; in a manual mode, a user can control a remote control switch of the power consumption equipment of the user by himself, and the information is changed at any time; the user side mobile phone terminal receives the working state information, the real-time electricity price and the compensation information of the adjustable electric switch sent by the comprehensive regulation device through the wireless network transmission mode. The wind-electricity photovoltaic prediction subsystem is used for short-term transaction prediction and medium-term and long-term transaction prediction: the short-term prediction is performed once every two hours, 15min is a time interval, and an optimal transaction strategy is automatically matched according to the price of a power supplier, the electric quantity requirement of the power utilization side and the result of the blocking module; the medium-long term prediction is performed once in months, quarters or half a year, and the optimal transaction strategy is obtained.
The specific load prediction step comprises the following steps: inputting historical data of the power load and preprocessing, wherein the preprocessing comprises smoothing of abnormal data and filling of missing values, and analyzing factors affecting power load change, and the preprocessing comprises the following steps: analyzing the influence of time and weather on the power load; inputting a load prediction model, carrying out dispersion normalization on variables of the load prediction model, and mapping data to a [0,1] interval; in load prediction analysis, constructing a prediction model by using linear regression, support vector regression and gradient lifting regression; and taking the gradient lifting regression tree as a base classifier, and predicting the future power load by adopting an iterative algorithm. The method comprises the steps that transverse smoothing processing and longitudinal smoothing processing are usually adopted for abnormal data, when the data to be processed have a fluctuation range exceeding the maximum fluctuation range of the front moment and the rear moment, an average value is adopted to replace the abnormal data; when the data is subjected to longitudinal smoothing, because different dates have similarity at the same moment, load fluctuation occurs in a certain range, and when the load fluctuation exceeds the range, the average value of the load at the same moment in the last days is used for replacing abnormal data.
The short-term green energy power transaction needs to be compatible with characteristics of clean energy volatility, randomness and the like, and the running state and possible changes of a power system must be closely tracked as close to real time as possible. The specific method for acquiring the short-term prediction and the optimal transaction strategy in the application comprises the following steps:
(1) According to the load prediction result, establishing an objective function which takes the minimum electric power transaction cost as a target and takes each preset factor affecting the social cost as a variable, and establishing a constraint function under a preset constraint condition;
(2) Constructing an interior point penalty function according to the objective function and the constraint function, and solving an optimal solution of the interior point penalty function to obtain a power transaction scheme;
(3) Carrying out tide calculation on the power transaction plan to obtain tide value of each line;
(4) Judging whether an out-of-limit line exists according to the obtained tide value; if not, the power trading plan is taken as an optimal trading strategy, and if so, step 5 is executed.
(5) And calling a safety correction blocking management scheme to adjust the power transaction scheme so as to re-acquire the power transaction scheme after eliminating the out-of-limit line.
And after the short-term optimal transaction strategy is acquired, displaying the optimal transaction strategy, the load prediction and the transaction information in the system as a rolling window.
When a user node requests to enter a blockchain network, node check and network access check are firstly required to be carried out on the user units in the CA network, any check is not passed, a user cannot issue transaction information through the intelligent contract, the intelligent contract is utilized to solidify standards in a software program, the function condition, the carbon emission, the safety requirement, the environmental protection standard and the like of the user information units participating in the transaction are checked, and therefore the user meeting the related standards is ensured to participate in the transaction, and a digital certificate is issued to the user after meeting the conditions.
After the user submits the order, the electricity data is sent to the blocking management module, the power transaction meets the trend constraint, so that before the final determination of the transaction, the security check is needed, after the calculation is completed, if the security condition is met, the intelligent contract is entered for examination, the blockchain main chain carries out consensus, after the consensus is completed, the transaction data is uploaded to the database, and the user can check the public transaction data through the private key.
The block management module of the user transaction subsystem is specifically configured to: numbering all unit nodes of an n-node power grid system, wherein the power grid unit nodes are 1,2, … and n-1, the node n is a node connected with a power distribution network, and the node n is regarded as a balance node. At this time, the admittance matrix is defined as Y, which is reduced to a matrix B that only retains the imaginary part of Y if a dc model is used. The flow equation can be expressed as:
Bθ=P G -P D
wherein B represents a (n-1) x (n-1) matrix without balance nodes;
P G represents an n-1-dimensional node power generation vector, P G =[P g1 ,P g2 ,…P g(n-1) ] T ;
P D Representing an n-1-dimensional node equivalent load vector, P D =[P L1 ,P L2 ,…P L(n-1) ] T 。
θ can be expressed as: θ=b -1 (P G -P D )
Definition of impedance array z=b -1 Definition ofAnd is also provided withAn augmented equation can be obtained:
obviously for the power of any branch connecting nodes i and j in the distribution networkCan be expressed as:
defining the association matrix of the branch nodes as A (defining the left node as positive and the right node as negative), the above can be written as a matrix form:
substituting the augmentation equation into the above equation:
defining a power transfer factor:
wherein: PTDF (pulse-duration factor) k-i Representing the power transfer factor of node i to leg k.
The tidal current value of each line can be obtained correspondingly from the power transmission factor, and the result is compared with the capacity of the corresponding line to check whether the tidal current limit is exceeded.
T in k The maximum transmission power of the line k is represented, and the smaller of the thermal stability and dynamic stability constraint values is taken.
The security verification process in a transaction cycle can be roughly divided into the following three steps:
the first step is to determine the line power flow, and according to the line structure parameters, a power transmission matrix PTDF can be obtained, and the power transmission matrix is unchanged under the condition that the system topology is not changed. After the matching transaction, the distribution network can determine the flow of each line (i lines and m nodes) in the distribution system according to the transaction electric quantity and the declared electric quantity (selling and purchasing).
P in the formula l Representing the power transmission to which the line l is subjected under the current trade scheme;
PTDF represents the power transmission matrix;
the representation unit m declares the generated energy under the current transaction scheme;
the presentation unit m declares the amount of electricity used under the current transaction scheme.
The second step is to judge out of limit of the power flow, after the power distribution network obtains the power flow of each line, the power flow of each line is compared with the maximum transmission power flow of the line, and whether the problem of out of limit of the power flow exists is judged;
|P l |≤T l
and thirdly, carrying out power flow out limit processing, and broadcasting the power flow out-of-limit lines to each unit if the power flow out-of-limit problem exists in the lines l. By power transmission factor PTDF l-i It is determined whether the micro network unit i has an influence on the blocked line i.
P in the formula l-i Representing the power contribution of the micro-grid element i to the line i.
Definition if P l And P l-i When the numbers are the same, i.e. the power flows are the same, the micro-grid unit i makes a positive contribution to the line l, otherwise it makes a negative contribution.
If the micro-grid unit i makes negative contribution to the line l, the power flow contribution degree beta l-i 0, and the sum of the negative contributing powers is:
ΔP l =|sum(P l-i )|
in DeltaP l Representing the sum of the negative contributing powers.
If the micro-grid unit i makes positive contribution to the line l, the power flow contribution degree is as follows:
in distributed blocking management, each unit determines a power flow contribution coefficient to a power flow blocking line, and then determines a blocking management power price:
Δc i+1 =Δc i +Kβ l-i |T k ||P l-i -T k |
at the initial time, the congestion management electricity price of the unit i is zero, and the declared price of the congestion management electricity price correction is used:
in the middle ofThe kth quotation for element i;
blocking electricity price for the kth iteration of unit i.
And after correcting the quotation by using the blocking electricity price, re-matching the transaction according to the market transaction strategy until the line blocking is eliminated and the safety verification is passed.
The power transaction can generate a line blocking problem, after a user submits an order, power consumption data are sent to a blocking management module, the blocking management module analyzes transaction data, the transaction can be performed after the line safety is met, the power transaction also has a line loss problem, and a method for converting power and electricity price is provided; after transaction data are generated, the members passing through the back block chain main chain are subjected to intelligent contract checking, the transaction data are uploaded to a database after the checking is finished, all the transaction data in the database are divided into public data and non-public data, the database is encrypted in a grading mode by an HDES, all the data can be seen by the main chain members, and only the public data can be seen by the side chain members.
After the auditing of the intelligent contract is met, 90% of a new energy power station declaration output curve is used as a spot market clearing boundary condition, 10% of a running day short-term predicted output and ultra-short term predicted output curve participate in spot market clearing and market pricing, the spot market clearing and market pricing are sent to an electric power trading center MChain_cen, the electric power trading center audits electricity prices and electric quantity sent by all power generators, and the current time period electricity price is met at a specified highest electricity price P max,t And the lowest electricity price P min,t Then, the information is published on the blockchain, and after some constraint conditions of buyers and sellers are met, the electricity utilization side can purchase according to the satisfied requirements. The blockchain audit mechanism is constructed on the blockchain and can audit all data operation behaviors on the chain. The mechanism records any read-write operation and updated data of the main chain MChain and the side chain SChain, and enhances the operation compliance of each side of MChain, SChain.
The method for converting the electricity and the electricity price is to convert the electricity and the price declared by the buyer market body at the buyer node into the seller node according to the following formula according to all available transaction paths
price s,j,t =price b,j,t ×coe 1 -price
P min,t ≤price b,j,t ≤P max,t
Wherein: power device b,j,t Reporting power for the buyer market subject j in the t period;
power s,j,t reporting power conversion to the power of the seller node for the buyer market subject j during the period t;
price b,j,t electricity price of the buyer market subject j in the t period;
price s,j,t the electricity price of the price to the seller node is calculated for the buyer market subject j in the period t;
coe 1 is a conversion parameter;
price coe is an intermediate conversion variable;
m is a cross-zone channel in the transaction path, and a provincial interconnecting line or a serial number of a regional shared power grid;
ρ m the transmission network loss rate of the inter-provincial tie lines or regional shared power network is the mth-section trans-regional channel from the seller node to the buyer node in the transaction path;
Pt m the method comprises the steps that a transmission price of a power grid is shared by inter-provincial tie lines or areas for an mth-section trans-regional channel from a seller node to a buyer node in a transaction path;
n is the total number of cross-zone channels in the transaction path, inter-provincial interconnecting lines or regional shared power grids.
P max,t The highest electricity price, P, specified for the current time period min,t The lowest electricity price specified for the current time period.
Line constraint conditions:
wherein: f (F) max Representing maximum capacity, f i Representing all user capacity;
when (when)Exceeding F max When this line is blocked, it is necessary to manage it so that these users can regenerate the transaction policy.
The consensus module of the block chain subsystem after the data is uplink is used for: and adopting a dBFT mechanism to complete the consensus process of the alliance chain. After the data is uplink, the data is recorded in the block after being commonly recognized by each node on the alliance chain. The MChain_cen is used as a main node in the system, and the node only plays a role in initiating and guiding a consensus process, so that the uplink requests can be ordered. Other nodes except the main node on the MChain are set as proxy nodes, and the nodes on the SChain are common nodes. The proxy node has the right to account, and the common node can see the consensus process and synchronize account information, but does not participate in accounting. The specific consensus process is as follows
1) After the data of each transaction party is generated, the data is transmitted to the power transaction center node psi i After the abstract is extracted through pretreatment, the abstract value record is respectively broadcast to a main chain and a side chain in a block chain network, wherein D C1 ,D C2 Transaction data of the encrypted generator and the electricity consumption side are as follows:
Dig(D C1 ,Hash(D C1 )
Sig key_cen (D C1 ,Hash(D C1 )
ψ i →ψ n :D C2 ,Hash(D C2 )
Sig key_cen (D C2 ,Hash(D C2 )
Timestamp
2) After receiving enough transaction data, the master node sorts and uploads the data to the new block, signs the new block and hashes the new block with Hash value (D Ci ) Broadcast into the backbone network. After other proxy nodes on the MChain receive the block, the data of each transaction party in the block is addedAdding the data to the account book of the user, performing Hash operation on the data of each transaction party in the block, and performing Hash operation on the data and a new block Hash value (D Ci ') comparing, if the two Hash values are the same, the proxy node considers the block to be correct, and broadcasts a confirmation message to the blockchain network.
ψ i →ψ n :Ver[Sig key_cen (D C ,Hash(D C ))]
if:
Hash(D Ci )=Hash(D Ci ')
else:
Hash(D Ci )≠Hash(D Ci ')
Timestamp
3) The proxy node needs to collect the confirmation information broadcast by other proxy nodes besides verifying the data integrity of the transaction information sent by the main node. If the proxy node receives more than 2n+1 Commit's acknowledgement, the node considers this block valid and synchronizes it to the local ledger. The common node can synchronize the blocks newly generated by the proxy node. If the proxy node receives the negative acknowledgement information of not more than n Deny, the main node signs the new block again and broadcasts the Hash value to the main network for re-verification. And if the authentication still fails, synchronizing the confirmation information results of other proxy nodes to the local ledger. The master node and the MChain_cen audit and trace the information of the block, and conduct responsibility pursuit on malicious attack behaviors for modifying the information of the block. n is the number of transmission error nodes which can be tolerated by the blockchain, and the system can tolerate the number of the nodes which does not exceed the whole network according to the entrusted Bayesian fault-tolerant mechanismIs a node error of (a).
The hierarchical encryption and decryption module of the blockchain subsystem is specifically used for: the transaction data management module in the system carries out transaction data management in two stages by adopting an HDES hierarchical encryption mode, all transaction data are stored in a blockchain, the main chain can see all the transaction data, and the side chain can only see the public information and the transaction information related to the side chain. The MChain cen grants authority between the main chains of government regulatory authorities and transaction management authorities, performs public-private key pair distribution on the authorities on the MChain, and grants blockchain audit authorities authority by the MChain cen. Public and private key pair distribution is also carried out on the SCHain, the data security of users in each party can be ensured through hierarchical encryption, and the institutions or individuals on the MChain and the SCHain obtain keys corresponding to different levels through the authorization of the electric power transaction center to decrypt the data. And performing blockchain audit on all transaction information operations by a blockchain audit method to derive a privacy data visitor record. The MChain_cen can read the record of the data visitor, so that the mastering of the data flow direction is enhanced, and meanwhile, if the data is leaked, the MChain_cen can trace the data leakage behavior, so as to carry out responsibility pursuit and punishment on personnel stealing personal information. The extent of data that can be seen is different due to the different rights of the various institutions MChain, SChain. That is, the institution on the MChain can see all the transaction data, and in order to prevent the data leakage of the transaction parties, the institution on the MChain can only see the public transaction information and the transaction data related to the institution.
All transaction data are divided into public data and non-public data, wherein the public data are transaction electricity price and electric quantity; the non-public data is transaction address, basic information of both transaction parties, transaction time and transaction order number.
The encryption all transaction data algorithm selects the AES-256 algorithm and the encryption public transaction data selects the CRT-RSA-OAEP algorithm. A, B is assumed to be the backbone-based mechanism MChain A 、MChain B C is the mechanism SCHain on the side chain C . And mchain_cen has been authorized and assigned to MChain A And MChain B Private Key Key __ MP A 、Key_MP B And public Key Key_MS A 、Key_MS B And assigned to SChain C Private Key Key_SP C And public Key Key_SS C . Fig. 5 is a hierarchical encryption flow chart of an embodiment of the present invention.
First-stage encryption:
step 1 with MChain A As an example. First, a key_MS is randomly generated as a main chain node public Key by using a smart contract A =(n 1 ,e 1 ) The private Key is Key_MP A =(n 1 ,d 1 ) The method comprises the steps of carrying out a first treatment on the surface of the Wherein n is 1 Is the product of two random large prime numbers,and is also provided with
Step 2K generated using Smart contracts RE1 For all transaction DATA information DATA A Performing one-by-one symmetric encryption to form ciphertextAt this time with the public transaction DATA information DATA B Is in plaintext state->Deriving similar information 1:Will be->And (3) winding;
step 3MChain A Key_MS using MChain_cen grant assignment A For K RE1 Asymmetric encryption, K RE1 -C A To use Key_MP A Encryption K RE1 Is the ciphertext of (a);
step 4 derives a method similar to MChain A ∶K RE1 -C A And written to the blockchain.
Second-stage encryption:
step 1 with MChain A And SChain A As an example. FirstRandom generation of side chain node public Key Key_SS using smart contracts C =(n 2 ,e 2 ) And private Key Key_SP C =(n 2 ,d 2 ) Wherein n is 2 Is the product of two random large prime numbers,and is also provided with
Step 2 Using K RE2 For a pair ofAnd->Encryption one by one is carried out, and the encryption is carried out>Representing the second-stage encrypted ciphertext, at which time DATA A Is in a secondary encryption state, DATA B Is in a primary encryption state;
step 3MChain A And SChain C . Key assigned using MChain authorization A And Key_SS C . For K RE2 Asymmetric encryption is performed one by one, where K RE2 -C C . To use Key_SS C Encryption K RE2 Is the ciphertext of (a);
step 4 derives a method similar to SChain C ∶K RE2 -C C Is written into the block chain;
step 5 deriving a similar information 1:and written to the blockchain.
The flow of decrypting transaction data on the main and side chains is as follows, and MChain is now A Decrypting the data on the block chain, wherein the specific flow is as follows:
first level decryption:
step 1MChain A Data acquisition request is sent to a data system, and the current time stamp is sent and encrypted, and the format is adoptedThe following is a request 1 _C A =(DATA B PDATA S ) The data system then verifies the MChain A MChain when the identity of (a) A A verification time stamp is regenerated and encrypted in the following format: verify A _C 2 =(DATA B PDATA S PTimestamp'), if the data system verifies the identity successfully
Data after encryptionReturn to MChain A . Auditing by a blockchain auditing mechanism;
step 2MChain A Key_MP read from blockchain using smart contracts A :K RE2 -C A Key value pair, MChain A Private Key Key_MP distributed using MChain_cen authorization A For K RE2 -C A Decryption is performed. Auditing by a blockchain auditing mechanism to generate a data operation record;
step 3MChain A Using K RE2 For a pair ofDecryption is carried out, and audit is carried out by a blockchain audit mechanism. Due to K RE2 DATA that can only be decrypted B DATA at this time A Still is ciphertext state->
Step 4 willAnd->Separating (S) the parts>For second layer decryption.
Second level decryption:
step 1MChain A Reading K from blockchain data system using smart contracts RE1 -C A ,MChain A Key_MP distributed using MChain_cen grant A For K RE1 Decrypting and auditing by a block chain auditing mechanism to generate a data operation record;
step 2 to obtain K RE1 After that, MChain A Acquiring data 1:1 in a blockchain data system using smart contractsKey value pairs of (2); />
Step 3MChain A Using K RE1 For a pair ofDecryption is carried out to obtain +.>And audited by a blockchain audit mechanism.
The individual or institution on the side chain only needs to perform the first level decryption to obtain the basic DATA DATA B 。
When a node on the main chain or the side chain exits from the blockchain, or the MChain_cen forcible blocks the node, the authority of the node needs to be revoked. But because the blockchain is non-tamper-evident, the similar MChain: K cannot be deleted directly from the blockchain ledger RE1 -C key-value pair to revoke rights, the system needs to revoke rights to the node to view information by adding revocation information to the blockchain ledger. The new revocation information is added to the blockchain ledger, and the blocks on the blockchain are connected together in time sequence, so that when the access strategy is checked, the latest added access control information is checked first, and once the access control strategy of the node is searched, the search is stopped immediately. The node can check the revocation of the personal information authority.
Method embodiment
An embodiment of the present invention provides a method for trading new energy power by considering a blockchain, and fig. 2 is a flowchart of a method for trading new energy power by considering a blockchain according to an embodiment of the present invention, and according to fig. 2, a method for trading new energy power by considering a blockchain according to an embodiment of the present invention includes:
s1, a user registers on an electric power transaction platform, an intelligent contract examines and logs in after the examination passes, a generator uploads electricity selling information on the electric power transaction platform, and an electricity using side selects according to the electricity selling information uploaded by the generator;
s2, purchasing electricity according to the electricity utilization side, initiating an order after successful payment, judging whether the balance of the electricity utilization side meets the order requirement, and generating the order if the balance of the electricity utilization side meets the order requirement;
s3, the generated order passes through the blocking management module and judges whether the safety condition is met or not, and intelligent contract examination is carried out after the safety condition is met;
s4, after the intelligent contract examination is completed, block chain consensus is conducted, and transaction data are uploaded to a database.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.
Claims (10)
1. A system for new energy power trading in view of blockchains, comprising:
the power transaction platform is in interactive connection with the block chain subsystem, the user transaction subsystem, the CA certificate subsystem and the wind power photovoltaic prediction subsystem and is used for providing a registration and login platform for users of green power transaction, wherein the users comprise a power generator and a power utilization side; the system is used for issuing electricity selling information for the electricity generator; the system comprises a wind power photovoltaic prediction subsystem, a power utilization side, a wind power generation system and a wind power generation system, wherein the wind power photovoltaic prediction subsystem is used for receiving an optimal transaction strategy provided by the wind power photovoltaic prediction subsystem, and providing an optimal power supply line after purchasing power for the power utilization side according to the selected transaction strategy according to the optimal transaction strategy; the system comprises a power supply line generation module, a transaction data storage module and a data storage module, wherein the power supply line generation module is used for generating orders according to power supply lines selected by a power utilization side and storing transaction data into a database;
the system comprises a blockchain subsystem, wherein the blockchain subsystem is designed in a blockchain form and comprises a main chain and side chains, wherein side chain members comprise a generator and a power utilization side, the main chain members comprise a power transaction center and a transaction supervision department, and the blockchain subsystem is used for completing power and electricity price conversion of the power transaction center; the block chain consensus is used for completing the data uplink; the system is used for storing privacy data and basic data generated by electric power transaction, carrying out information interaction between the main chain and the side chain through the side chain, carrying out safe sharing on data of each transaction party, and carrying out fine granularity protection on the transaction data on the chain by adopting a hierarchical encryption technology; the transaction data is used for applying for accessing transaction data stored in the electric power transaction platform;
the user transaction subsystem is used for generating transaction according to the provided optimal power supply line, performing blocking judgment on the optimal power supply line, performing examination and consensus, and uploading transaction data to the database in the power transaction platform;
the CA certificate subsystem is used for issuing a digital certificate after node verification and network access verification are carried out on the user through an intelligent contract;
the wind power photovoltaic load prediction subsystem comprises M groups of wind power generator sets, M groups of photovoltaic power generator sets, a thermal power generator set, N edge calculation servers, a cloud calculation server, a comprehensive regulation and control device, a user side comprehensive measurement and control terminal, a remote controller, a wind power data collector, a photovoltaic data collector and a load data collector, wherein M is more than or equal to 1, and N is more than or equal to 1.
2. The system of claim 1, wherein the user transaction subsystem specifically comprises:
the user transaction module is used for generating transaction data according to the order submitted by the user;
the blocking management module is used for judging whether to perform blocking management according to the line constraint condition and regenerating a transaction strategy for the line needing blocking management;
a security check module for performing security check on the transaction
The examination consensus module is used for acquiring transaction data which is subjected to intelligent contract examination through the CA certificate subsystem and is consensus through the blockchain subsystem;
and the data uploading module is used for uploading the transaction data in the examination consensus module to a database.
3. The system according to claim 2, wherein the user transaction module is specifically configured to:
when a user enters the system, the required electric quantity and the budget electricity price range are input according to the requirements, the system automatically matches an optimal transaction strategy according to the price of a power supplier, the electric quantity requirement of the electricity utilization side and the result of the blocking module, the user purchases electricity according to the optimal transaction strategy, and if the user does not want to use the optimal transaction strategy, the user can also automatically match the transaction.
4. The system of claim 1, wherein the wind photovoltaic load prediction subsystem specifically comprises:
searching optimal model parameters by an LSTM method improved by a hybrid optimization algorithm, and acquiring capacity information of the generated output electric quantity of a wind generating set by using the wind power data acquisition device with the difference between a predicted value and a true value to be minimum; the collected capacity information is sent to an edge computing server;
each edge server obtains the energy production information of a plurality of wind generating sets from the wind power data collector, obtains the power consumption of user power consumption equipment from the load data collector, calculates the power change rate and the load change rate of the wind generating sets at the next moment, sends the power change rate and the load change rate to the cloud computing server, and the cloud computing is used for adjusting through the energy storage battery pack and the thermal power generating set;
the cloud computing server receives the change rate of the electric quantity required by the user terminal at the next moment predicted by each edge server, predicts the energy storage at the next moment and the capacity information required by the thermal power generating unit according to the working state of the quick switch of the user power consumption equipment acquired by the comprehensive regulation device, and feeds the information back to the comprehensive regulation device;
the comprehensive regulation and control device generates a regulation and control signal from the capacity information fed back by the cloud computing server, and sends the regulation and control signal to the comprehensive control terminal and the remote controller at the user side to respectively control the working state of the remote control switch at the next moment, the energy storage and the power generation output of the thermal power generating unit.
5. The system of claim 4, wherein the hybrid optimization algorithm improves LSTM neural networks:
the improved LSTM neural network of the hybrid optimization algorithm takes three key super parameters (neuron number L1, learning rate epsilon and training iteration number k) of the LSTM as optimizing variables of the hybrid optimization algorithm, and the optimal model parameters are obtained by searching the social state with the best adaptability, so that the predicted adaptability value is the lowest. The flow of improving LSTM model parameters by the hybrid optimization algorithm is as follows:
1) The power load history data is preprocessed. Eliminating data with obvious deviation and problems, and carrying out standardized processing on the data;
2) And establishing an LSTM model. Determining parameters to be optimized, the quantity L1 of neurons, the learning rate epsilon and the training iteration number k, and determining the respective optimizing ranges of the parameters;
3) Initializing parameters of a hybrid optimization algorithm.
4) Taking the MAPE value of the prediction model as a fitness function, and searching for optimal model parameters;
5) And comparing fitness values of the hybrid optimization algorithm. Searching an individual optimal position and a global optimal position, and updating an optimal fitness value.
6) And judging whether the maximum iteration times are reached. And if the maximum iteration number is reached, transmitting the obtained optimal parameters to the LSTM model, and training and predicting. If the requirement is not met, returning to the step (5).
6. The system of claim 1, wherein the wind-to-photovoltaic prediction subsystem is specifically for use in pre-day and intra-day transactions:
the day-ahead transaction power transaction center receives a power generation curve of a generator one day in advance, predicts a load power consumption curve, uses a thermal power unit to adjust, keeps basic power and electricity balance, and makes a day-ahead transaction plan;
the daily transaction is to predict every two hours in the day by a new energy generator due to inaccurate new energy prediction and the fact that a user can select a seller by himself, and optimally adjust a daily transaction plan until the daily transaction is finished in 15min which is a time interval.
7. The system according to claim 1, wherein the blockchain system specifically comprises:
the electricity price conversion module is used for sending the current market clearing boundary conditions, the current market clearing boundary conditions and the current market pricing to the electric power transaction center, and the electric power transaction center is used for publishing the electricity selling information of the highest electricity price and the lowest electricity price which meet the current time period electricity price specification and are sent by each electricity generator;
the consensus module is used for completing consensus of the alliance chain by adopting a dBFT mechanism;
the hierarchical encryption and decryption module specifically comprises: and carrying out hierarchical encryption on the private data stored in the main chain and the basic data stored in the side chain by adopting a hierarchical encryption technology.
8. The system of claim 6, wherein the electricity price conversion module is specifically configured to:
taking 90% of a new energy power station declaration output curve as a spot market clearing boundary condition, participating 10% of a running day short-term predicted output and ultra-short term predicted output curve in spot market clearing and market pricing, sending the current market clearing and market pricing to a power trading center, and checking the electricity price and the electric quantity sent by each power producer by the power trading center to meet the condition that the electricity price in the current time period is at the specified highest electricity price P max,t And the lowest electricity price P min,t Then, it is published on the blockchain; the power transaction center audits electricity prices and electricity quantities sent by all power generators specifically comprises the following steps: reporting a buyer market subject at a buyer nodeAccording to all available trade paths, determining whether the current time period electricity rate is at the prescribed highest electricity rate P according to formulas 15 to 19 max,t And the lowest electricity price P min,t Inner:
wherein the power b,j,t Reporting power for the buyer market subject j in the t period; power device s,j,t Reporting power conversion to the power of the seller node for the buyer market subject j during the period t; price b,j,t Electricity price of the buyer market subject j in the t period; price s,j,t The electricity price of the price to the seller node is calculated for the buyer market subject j in the period t; coe 1 Is a conversion parameter; price coe Is an intermediate conversion variable; m is a cross-zone channel in the transaction path, and a provincial interconnecting line or a serial number of a regional shared power grid; ρ m The transmission network loss rate of the inter-provincial tie lines or regional shared power network is the mth-section trans-regional channel from the seller node to the buyer node in the transaction path; pt (Pt) m The method comprises the steps that a transmission price of a power grid is shared by inter-provincial tie lines or areas for an mth-section trans-regional channel from a seller node to a buyer node in a transaction path; n isThe total number of cross-zone channels, inter-provincial tie lines or regional shared power grids in the transaction path; p (P) max,t The highest electricity price, P, specified for the current time period min,t The lowest electricity price specified for the current time period.
9. The system according to claim 1, wherein the CA certificate system specifically comprises:
the intelligent contract checking module is used for checking node check and network access check of the user nodes required to enter the blockchain subsystem through the intelligent contracts, then issuing transaction information through the intelligent contracts, and checking the function conditions, the carbon emission, the safety requirements, the environmental protection standards and the like of the user information units participating in the transaction by utilizing the intelligent contracts so as to ensure that the users meeting the related standards participate in the transaction;
and the issuing certificate module is used for issuing the digital certificate to the user subjected to contract examination.
10. A method of new energy power trading in view of blockchain, characterized in that a system for new energy power trading in view of blockchain according to any of claims 1-9, comprises:
s1, a user registers on an electric power transaction platform, an intelligent contract examines and logs in after the examination passes, a generator uploads electricity selling information on the electric power transaction platform, and an electricity using side selects according to the electricity selling information uploaded by the generator;
s2, purchasing electricity according to the electricity utilization side, initiating an order after successful payment, judging whether the balance of the electricity utilization side meets the order requirement, and generating the order if the balance of the electricity utilization side meets the order requirement;
s3, the generated order passes through the blocking management module and judges whether the safety condition is met or not, and intelligent contract examination is carried out after the safety condition is met;
s4, after the intelligent contract examination is completed, block chain consensus is conducted, and transaction data are uploaded to a database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211574498.3A CN116485398A (en) | 2022-12-08 | 2022-12-08 | System and method for new energy power transaction considering blockchain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211574498.3A CN116485398A (en) | 2022-12-08 | 2022-12-08 | System and method for new energy power transaction considering blockchain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116485398A true CN116485398A (en) | 2023-07-25 |
Family
ID=87218374
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211574498.3A Pending CN116485398A (en) | 2022-12-08 | 2022-12-08 | System and method for new energy power transaction considering blockchain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116485398A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116805785A (en) * | 2023-08-17 | 2023-09-26 | 国网浙江省电力有限公司金华供电公司 | Power load hierarchy time sequence prediction method based on random clustering |
CN117114885A (en) * | 2023-10-17 | 2023-11-24 | 华北电力大学 | Data interaction model construction method and system for electric power transaction |
CN117856443A (en) * | 2023-12-25 | 2024-04-09 | 广州菲利斯太阳能科技有限公司 | Micro-grid switching method based on optical storage charging enhancement and household energy storage optimization |
CN118656225A (en) * | 2024-08-22 | 2024-09-17 | 泉州大数据运营服务有限公司 | Data asset management platform |
-
2022
- 2022-12-08 CN CN202211574498.3A patent/CN116485398A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116805785A (en) * | 2023-08-17 | 2023-09-26 | 国网浙江省电力有限公司金华供电公司 | Power load hierarchy time sequence prediction method based on random clustering |
CN116805785B (en) * | 2023-08-17 | 2023-11-28 | 国网浙江省电力有限公司金华供电公司 | Power load hierarchy time sequence prediction method based on random clustering |
CN117114885A (en) * | 2023-10-17 | 2023-11-24 | 华北电力大学 | Data interaction model construction method and system for electric power transaction |
CN117114885B (en) * | 2023-10-17 | 2024-01-23 | 华北电力大学 | Data interaction model construction method and system for electric power transaction |
CN117856443A (en) * | 2023-12-25 | 2024-04-09 | 广州菲利斯太阳能科技有限公司 | Micro-grid switching method based on optical storage charging enhancement and household energy storage optimization |
CN118656225A (en) * | 2024-08-22 | 2024-09-17 | 泉州大数据运营服务有限公司 | Data asset management platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116485398A (en) | System and method for new energy power transaction considering blockchain | |
Kumari et al. | When blockchain meets smart grid: Secure energy trading in demand response management | |
Wang et al. | AEBIS: AI-enabled blockchain-based electric vehicle integration system for power management in smart grid platform | |
CN107423978A (en) | A kind of distributed energy business confirmation method based on alliance's block chain | |
CN110084377A (en) | Method and apparatus for constructing decision tree | |
CN110223062A (en) | Distributed power transaction system and method based on block chain | |
CN111882385A (en) | Electric power market trading and evaluating method based on weak centralized alliance block chain | |
Cali et al. | Prioritizing energy blockchain use cases using type-2 neutrosophic number-based EDAS | |
CN111461890A (en) | Distributed power generation transaction system and method based on multiple prediction and block chain technologies | |
CN111459461A (en) | Energy use right verification and transaction system and method based on Internet of things and block chain technology | |
CN110704531A (en) | Block chain-based electricity consumption client credit management method and system | |
US20210326984A1 (en) | Power transaction data storage system based on private blockchain platform and method for verifying and distributedly storing power transaction data using the same | |
CN112434026B (en) | Secure intellectual property mortgage financing method based on hash chain | |
CN113379485A (en) | Demand response bidding trading method and system based on Hash algorithm and secondary quotation | |
Ren et al. | A novel authentication scheme based on edge computing for blockchain-based distributed energy trading system | |
CN115115458B (en) | Energy trading system and method for near-zero carbon emission park based on block chain | |
CN111090890A (en) | New energy power utilization data processing method and device based on block chain and participating node | |
CN111815070A (en) | Data processing method, device, equipment and storage medium based on block chain | |
CN116071159A (en) | System and method for service green power transaction | |
Song et al. | Reliable reputation review and secure energy transaction of microgrid community based on hybrid blockchain | |
Yang et al. | A double-chain blockchain with economic attributes and network constraints of prosumer transactions | |
CN113673893A (en) | Retired power battery management method and system | |
Ma et al. | Study on the transaction management mode of virtual power plants based on blockchain technology | |
CN116228412A (en) | Carbon transaction system and method of operating the same | |
CN109034824A (en) | A kind of intelligence block chain electric power interacted system |
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 |