CN109816257B - Block chain-based dual-source energy internet transaction method and equipment - Google Patents

Block chain-based dual-source energy internet transaction method and equipment Download PDF

Info

Publication number
CN109816257B
CN109816257B CN201910092972.0A CN201910092972A CN109816257B CN 109816257 B CN109816257 B CN 109816257B CN 201910092972 A CN201910092972 A CN 201910092972A CN 109816257 B CN109816257 B CN 109816257B
Authority
CN
China
Prior art keywords
transaction
power
heat
unit
heat supply
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.)
Active
Application number
CN201910092972.0A
Other languages
Chinese (zh)
Other versions
CN109816257A (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.)
Guangdong Power Grid Co Ltd
Electric Power Dispatch Control Center of Guangdong Power Grid Co Ltd
Shenzhen Institute of Research and Innovation HKU
Original Assignee
Guangdong Power Grid Co Ltd
Electric Power Dispatch Control Center of Guangdong Power Grid Co Ltd
Shenzhen Institute of Research and Innovation HKU
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 Guangdong Power Grid Co Ltd, Electric Power Dispatch Control Center of Guangdong Power Grid Co Ltd, Shenzhen Institute of Research and Innovation HKU filed Critical Guangdong Power Grid Co Ltd
Priority to CN201910092972.0A priority Critical patent/CN109816257B/en
Publication of CN109816257A publication Critical patent/CN109816257A/en
Priority to PCT/CN2019/091048 priority patent/WO2020155515A1/en
Application granted granted Critical
Publication of CN109816257B publication Critical patent/CN109816257B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • 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
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E40/00Technologies for an efficient electrical power generation, transmission or distribution
    • Y02E40/70Smart grids as climate change mitigation technology in the energy generation sector
    • YGENERAL 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
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS 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/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

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

Abstract

The application provides a block chain-based dual-source energy internet transaction method and equipment, wherein the method comprises the following steps: s10, packaging data information issued by a power generation unit, a heat supply unit and a user into blocks, encrypting the blocks, and transmitting the blocks to each network node; s20, establishing a thermal load dynamic response model and an optimization solving model, and solving an optimal solution of the heating model based on heating demand data in the block; s30, establishing an energy Internet power optimization scheduling model based on intelligent contract game, and solving an optimal solution of the power scheduling model by using power demand data in the block; and S40, packaging the solved optimal solution data into blocks, transmitting the blocks to the whole network, and automatically completing value transfer when the transaction time arrives. The method breaks through the relatively closed barriers of different energy sources such as power supply, heat supply, cold supply and the like in the traditional energy system, and realizes the comprehensive utilization of multiple energy sources.

Description

Block chain-based dual-source energy internet transaction method and equipment
Technical Field
The application relates to the technical field of Internet, in particular to a block chain-based dual-source energy Internet transaction method and equipment.
Background
As people's awareness of the value of data has gradually increased, many big data based technologies have evolved. Based on this demand, "internet +" and cloud computing technologies have advanced significantly. The energy field has been developed for a long time, and the bottleneck period has been entered in the technology, for example, the phenomenon of domestic large-scale wind and light abandoning is difficult to change by the existing technical means, and the energy-saving and environment-friendly idea advocated at present is also violated. Therefore, many people start from the relationship between the Internet and the energy network, propose the concept of the energy Internet, and point out that the concept is the third industrial revolution for changing the social and economic development mode and life style of the human beings. The energy internet technology takes renewable energy as main energy, supports the access of a large-scale distributed power generation system and a distributed energy storage technology system, realizes the sharing of wide-area energy, and more importantly, accords with the electrified transformation process of the power system advocated in China at present. Based on the concept, the development prospect of the energy Internet is seen in all countries, various development plans are formulated in disputes, and more speaking rights are expected to be occupied in the technical field of the energy Internet.
Currently, in research and exploration of the energy internet, blockchain technology mainly characterized by a decentralization and trust mechanism is always a hot spot of research. Blockchain technology originates from bitcoin and is the underlying technology implementation of bitcoin. The block chain technology uses an encryption chain type block structure to verify and store data, and uses a distributed node consensus algorithm to generate and update data, and has the characteristics of decentralization, openness, transparency, safety and credibility. The method allows multi-user access, is beneficial to the consumption of more new energy and the access of more energy consumers, and changes the energy structure mainly comprising primary energy at present. Many researchers have proposed implementations of blockchain-based energy internet technology. For example, urban energy internet architecture based on active distribution network and flexible direct current technology are applied to energy internet. Still other scholars develop research on energy internet access port devices in order to achieve convenient access of more electric devices to the power network. By integrating the research results obtained at present, it is not difficult to find that the existing energy internet technology based on block chains is only aimed at the electric power field, and the barriers of different energy sources such as power supply, heat supply, cold supply and the like in the traditional energy system are relatively closed are not broken, so that the comprehensive utilization of multiple energy sources is realized. How to realize the energy Internet commonly accessed by a plurality of energy sources from the technical level is significant for realizing the final energy source interconnection.
Disclosure of Invention
The application provides a block chain-based dual-source energy internet transaction method and equipment, which are used for solving the technical problem that the traditional technology does not break the relatively closed barriers of different energy sources such as power supply, heat supply, cold supply and the like in the traditional energy system and realizing the comprehensive utilization of multiple energy sources.
In view of this, a first aspect of the present application provides a dual-source energy internet transaction method based on blockchain, including:
s10, packaging data information issued by a power generation unit, a heat supply unit and a user into blocks, encrypting the blocks, and transmitting the blocks to each network node;
s20, establishing a thermal load dynamic response model and an optimization solving model, and solving an optimal solution of the heating model based on heating demand data in the block;
s30, establishing an energy Internet power optimization scheduling model based on intelligent contract game, and solving an optimal solution of the power scheduling model according to the blocking price and the power demand data in the block;
and S40, packaging the solved optimal solution data into blocks, transmitting the blocks to the whole network, and automatically completing value transfer when the transaction time arrives.
Preferably, the step S20 includes:
s201, establishing a thermal load dynamic response model, wherein the model comprises the following steps:
temperature difference at beginning and end of heat supply pipeline:
the heat exchange thermal resistance of the heat exchanger model is as follows:
constructing a heat supply model: q (Q) a =m a C p (T s -T u );
S202, constructing an optimization solving model according to the step S201, wherein an objective function of the model minimizes the total heat purchase cost:
s203, establishing constraint conditions of the objective function;
s204, through scheduling adjustment and heating price adjustment game, the transaction achieved by game is recorded in the form of intelligent contract and is transmitted to all nodes of the whole network through a P2P network, all nodes of the whole network achieve transaction consensus through network communication among each other, and a transaction matrix T is obtained p
S205, judging whether the transaction matrix meets the constraint condition in S203, if so, recording the transaction meeting the requirement in a block and entering into step S30; if the constraint condition is not satisfied, go to step S206;
s206, repeatedly solving the simultaneous objective function and the constraint condition to obtain a transaction matrix T meeting the constraint condition, solving a security domain S consisting of all the matrices T, wherein the meeting of T is achieved in the S p Transaction matrix with minimal variance:
s207, recording the transaction meeting the requirements in the block and entering into step S30;
wherein DeltaT is the temperature difference between the beginning and the end of the heating pipeline, T start And T end Temperature, T, of the beginning and the end of the pipe respectively e Is ambient temperature; lambda is the total heat transfer coefficient per unit length of pipe; l is the length of the pipeline; c (C) p The specific heat capacity of the working medium; m is the mass flow of working medium in the pipeline, R H The heat resistance of the heat exchanger is Q is heat exchange quantity, and the inlet temperature of cold and hot fluid is T respectively c,i 、T h,i The outlet temperature of the cold and hot fluid is T respectively c,o 、T h,o ,Q a For the total heat exchange from the heating start point to the user, m a Then is the total flow, T s Temperature at the start point, T u For the temperature of the user end, C is the total heat purchase cost, NG is the number of heat supply units, I is the I-th node in the heat supply unit nodes, Q I For heat supply, A I 、B I Is the price coefficient, t IJ Is an element in a transaction matrix T, T pIJ For a transaction matrix T p Is a component of the group.
Preferably, the step S203 includes:
establishing a constraint condition equation set of the objective function includes:
balance constraint:
upper and lower limit constraint of unit heat output: q (Q) min <<Q a <<Q max
Line capacity constraint: sigma (sigma) m∈Mp Q user,m <<Q max,p
Pipeline water supply temperature constraint: t'. ymin ≤T′ y ≤T′ ymax
Wherein Q is j For the heat supply quantity of the j-th heat supply unit, NG is the quantity of the heat supply units,is the kth a The heat supply demand of each user, A is the total number of users, q f,l For unit heat loss of the first pipe, L l Is the length of the pipeline, B is the total number of the pipelines, Q min Lower limit of heat output of unit, Q max Upper limit of heat output of unit, Q user,m Heat supply quantity for mth user, Q max,p Maximum p pipe capacity, T ymin The lower limit of the water supply temperature for the pipeline, T' ymax An upper temperature limit is supplied to the pipeline.
Preferably, the step S30 includes:
s301, establishing an energy Internet power optimization scheduling model, wherein the model comprises the following steps:
the yield function of the generator is:
the price adjustment strategy of the generator is as follows:
p i (k+1)=p i (k)+σ j (r j (k)-1);
the adjustment strategy of the generating capacity of the generator is as follows:
s302, constructing an objective function based on the electricity purchase cost minimization of the electricity purchasers, wherein the objective function is as follows:
s303, through scheduling adjustment and electricity price adjustment game, recording the transaction achieved by game in the form of intelligent contract and transmitting the transaction to all nodes of the whole network through a P2P network, and achieving transaction consensus through network communication among all nodes of the whole network to obtain a transaction matrix S p
S304, establishing constraint conditions of the objective function;
s305, judging whether the transaction matrix meets the constraint condition in S304, if so, recording the transaction meeting the requirement in a block and entering into step S40; if the constraint condition is not satisfied, proceeding to step S306;
s306, establishing a blocking price model and updating the price, wherein the blocking price model is as follows:
s307, returning to the step S303 according to the updated blocking price;
wherein p is i The electricity price formulated for the generator; t (T) ij The transaction amount between the generator i and the user j; l (L) ij For transaction T ij The network loss to be shared; a, a i 、b i 、c i Is a coefficient related to the cost of power generation; s is(s) i Lambda is the actual sales power of the generator ij Representing the transmission charge to be paid for the transaction between generator i and user j, r j =D j /l j ,D j To actually demand electric quantity, l j To plan the generated energy; sigma (sigma) i Is positive coefficient, beta i (k) The calculation formula of the increment of the net loss caused by increasing the unit power generation amount is expressed asP loss Representing the network loss; lambda (lambda) i (k) Representing the transmission costs to be paid for all transactions of generator i, a j 、b j Pi is a coefficient related to the income of the electricity purchasers ij To block prices; l is transaction T ij A set of lines contributing to the blocking of the lines; p (P) L Is the actual power of line L; p (P) Lmax Is the maximum power that line L can withstand; alpha is the blocking price coefficient.
Preferably, the step S304 includes:
establishing a constraint condition equation set of the objective function includes:
balance constraint:
line capacity constraint: sigma (sigma) m∈Mz P user,m <<P max,z
Upper and lower limit constraint of unit load: p (P) min <<P z <<P max
Wherein P is j For the heat supply quantity of the j-th heat supply unit, NG is the quantity of the heat supply units,is the kth b The electricity consumption of each user, A is the total number of users, P f,l The net loss of the first pipeline is the net loss of the first pipeline, and B is the total number of pipelines; p (P) user,m For the power consumption of the mth user, P max,z Is the maximum value of the capacity of the transmission line of the z-th power grid; p (P) min For the lower limit of the load output of the unit, P max Output for unit loadUpper limit, P z Generating power for the unit.
Preferably, the system also comprises a computer group power generation P p Comprises the steps of:
calculating through a calculation formula, wherein the calculation formula is as follows: p=p p +P Q
Wherein P is the maximum load of the unit, P Q For the thermal power of the unit, P p Is the generated power.
Preferably, the method further comprises the steps of:
accounting the thermal power P by an accounting formula Q
The accounting formula is as follows:Q x the D, E value is a preset coefficient for the heat load of the x-th unit.
A second aspect of the present application provides a blockchain-based dual-source energy internet transaction device, the device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute a blockchain-based dual-source energy internet transaction method according to the first aspect according to instructions in the program code.
A third aspect of the present application provides a computer readable storage medium for storing program code for performing a blockchain-based dual-source energy internet transaction method as in the first aspect.
A fourth aspect of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform a blockchain-based dual-source energy internet transaction method as in the first aspect.
From the above technical scheme, the application has the following advantages:
the application provides a block chain-based dual-source energy internet transaction method and equipment, wherein the method comprises the following steps: s10, packaging data information issued by a power generation unit, a heat supply unit and a user into blocks, encrypting the blocks, and transmitting the blocks to each network node; s20, establishing a thermal load dynamic response model and an optimization solving model, and solving an optimal solution of the heating model based on heating demand data in the block; s30, establishing an energy Internet power optimization scheduling model based on intelligent contract game, and solving an optimal solution of the power scheduling model by using power demand data in the block; and S40, packaging the solved optimal solution data into blocks, transmitting the blocks to the whole network, and automatically completing value transfer when the transaction time arrives. The method breaks through the relatively closed barriers of different energy sources such as power supply, heat supply, cold supply and the like in the traditional energy system, and realizes the comprehensive utilization of multiple energy sources.
Drawings
For a clearer description of embodiments of the present application, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described, it being apparent that the drawings in the description below are only some embodiments of the present application, and that other drawings may be obtained from these drawings by a person of ordinary skill in the art without inventive faculty.
FIG. 1 is a block chain-based dual-source energy Internet transaction method implementation step diagram;
FIG. 2 is a block chain-based dual-source energy Internet transaction method flow diagram provided by the application;
FIG. 3 is a schematic diagram of an energy flow model.
Detailed Description
The application provides a block chain-based dual-source energy internet transaction method and equipment, which are used for solving the technical problem that the traditional technology does not break the relatively closed barriers of different energy sources such as power supply, heat supply, cold supply and the like in the traditional energy system and realizing the comprehensive utilization of multiple energy sources.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the embodiments described below are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
FIG. 1 is a block chain based dual source energy Internet transaction method implementation step diagram; FIG. 2 is a block chain based dual source energy Internet transaction method flow diagram; fig. 3 is a schematic diagram of an energy flow model, and it can be found that in a heating network, the heat loss of a pipeline, a heat exchanger and the like are uniformly converted into a form of thermal resistance, so that a calculation model is simplified.
Referring to fig. 1, an embodiment of a dual-source energy internet transaction method based on blockchain provided in the present application includes:
101. packaging data information issued by a power generation unit, a heat supply unit and a user into blocks, encrypting the blocks, and transmitting the blocks to each network node;
each power generation unit, each heat supply unit, each user release effective information such as electric energy, supply and demand, and the like, are packed into a block structure, encrypted and transmitted to each network node;
102. establishing a thermal load dynamic response model and an optimization solving model, and solving an optimal solution of the heating model based on heating demand data in the block;
103. establishing an energy Internet power optimization scheduling model based on intelligent contract game, and solving an optimal solution of the power scheduling model according to the blocking price and the power demand data in the block;
establishing an energy internet power optimization scheduling model based on intelligent contract game, and solving an optimal solution of the power scheduling model by utilizing power demand data in the block based on a central institution customized blocking price strategy;
104. packaging the solved optimal solution data into blocks, transmitting the blocks to the whole network, and automatically completing value transfer when the transaction time arrives;
and packaging the data into blocks, sending the blocks to the whole network, achieving transaction time, and automatically completing value transfer.
The implementation realizes the energy internet transaction form of mutually coupling heat supply and power supply, and compared with the energy internet transaction mode of respectively solving electricity and heat and excessively simplifying electricity and heat coupling solution which are proposed in the past, the coupling solution ensures the safety of two transactions, and the non-excessively simplifying solution mode ensures the accuracy of transactions. In the coupling solving process, the heat power is calculated by the heat supply core, and the model solving variance is simplified in a mode of calculating the output range of the unit, so that a feasible solution can be obtained more quickly.
In the data calculation process, the heat supply data are solved and optimized, then the power supply data are calculated, the sequence relationship fully considers the characteristics of heat energy and electricity energy, the heat supply network transaction has long periodicity, the heat supply network transaction does not change greatly in a quite long period of time after the transaction is completed, and if the power network transaction is calculated first, the calculation amount is increased due to the frequent fluctuation characteristic of the power network.
The invention relates to a dual-source energy internet transaction method based on a block chain, which can realize simultaneous online transaction of two energy types, namely heat and electricity. Different from the existing energy internet implementation method combining heat and electricity, the method carries out independent multi-batch operation and check on the transaction of heat and electricity energy, and improves the accuracy of the transaction. In the transaction sequence, the stability and long periodicity of heat users are fully considered, the heat supply is firstly transacted, new electric power transaction data are calculated based on the heat supply, the coupling between heat and electricity is realized, and the safe operation of a unit and a power grid is ensured. In the heat supply transaction, a weakened central mechanism is introduced, and the transaction of both a power plant and a heat user is realized by using a blockchain technology, so that the transaction mode also accords with the heat energy supply and demand characteristics. In the electric power transaction, a blocking price management mechanism is introduced, a third party mechanism is not needed to participate, the transaction cost is reduced, the safety of the electric network transaction is improved, and the electric power transaction system has good application value.
Further, step 101 includes:
201. a thermal load dynamic response model is established, and the model simplifies the whole heating process into two parts of a pipeline and a heat exchanger;
the model comprises:
temperature difference at beginning and end of heat supply pipeline:
taking a traditional countercurrent heat exchanger as an example, the heat exchange thermal resistance of the heat exchanger model is as follows:
building a heat supply model through the simplified process: q (Q) a =m a C p (T s -T u );
202. An optimization solution model is built according to step 201, the objective function of the model minimizing the total heat purchase cost:
203. the central mechanism establishes constraint conditions of the objective function;
204. through scheduling adjustment and heating price adjustment game, the transaction achieved by game is recorded in the form of intelligent contract and is transmitted to all nodes of the whole network through a P2P network, all nodes of the whole network achieve transaction consensus through network communication among each other, and a transaction matrix T is obtained p
And (3) through means of scheduling adjustment, heating price adjustment and the like, the transaction achieved by the game is recorded in the form of intelligent contract and is transmitted to each node of the whole network through the P2P network. All nodes of the whole network achieve trade consensus through mutual network communication to obtain a trade matrix T p
205. Judging whether the transaction matrix meets the constraint condition in 203, if so, recording the transaction meeting the requirement in a block and entering into step 103; if the constraint condition is not satisfied, go to step 206;
judging whether the transaction matrix meets the constraint condition in 203, if yes, entering step 103; if the constraint condition is not satisfied, carrying out the next step;
it will be appreciated that the transaction record satisfying the requirements in step 205 is a transaction matrix T p
206. The central mechanism simultaneous objective function and constraint conditions are repeatedly solved to obtain a transaction matrix T meeting the constraint conditions, a security domain S consisting of all the matrices T is solved, and the sum T is met in the solution S p Transaction matrix with minimal variance:
207. recording the transactions meeting the requirements in a block and proceeding to step 103;
it will be appreciated that the transaction record satisfying the requirements in step 207 is the satisfy AND T in security domain S p Transaction matrix with minimal variance.
Wherein DeltaT is the temperature difference between the beginning and the end of the heating pipeline, T start And T end Temperature, T, of the beginning and the end of the pipe respectively e Is ambient temperature; lambda is the total heat transfer coefficient per unit length of pipe; l is the length of the pipeline; c (C) p The specific heat capacity of the working medium; m is the mass flow of working medium in the pipeline, R H The heat resistance of the heat exchanger is Q is heat exchange quantity, and the inlet temperature of cold and hot fluid is T respectively c,i 、T h,i The outlet temperature of the cold and hot fluid is T respectively c,o 、T h,o ,Q a For the total heat exchange from the heating start point to the user, m a Then is the total flow, T s Temperature at the start point, T u For the temperature of the user end, C is the total heat purchase cost, NG is the number of heat supply units, I is the I-th node in the heat supply unit nodes, Q I For heat supply, A I 、B I Is the price coefficient, t IJ Is an element in a transaction matrix T, T pIJ For the moment of tradeArray T p Is a component of the group.
Further, step 203 includes:
establishing a constraint condition equation set of the objective function includes:
balance constraint:
upper and lower limit constraint of unit heat output: q (Q) min <<Q a <<Q max
Line capacity constraint: sigma (sigma) m∈Mp Q user,m <<Q max,p
Pipeline water supply temperature constraint: t'. ymin ≤T′ y ≤T′ ymax
Wherein Q is j For the heat supply quantity of the j-th heat supply unit, NG is the quantity of the heat supply units,is the kth a The heat supply demand of each user, A is the total number of users, q f,l For unit heat loss of the first pipe, L l Is the length of the pipeline, B is the total number of the pipelines, Q min Lower limit of heat output of unit, Q max Upper limit of heat output of unit, Q user,m Heat supply quantity for mth user, Q max,p Maximum p pipe capacity, T ymin Lower temperature limit of water supply for pipeline, T ymax An upper temperature limit is supplied to the pipeline.
Further, step 103 includes:
301. establishing an energy Internet power optimization scheduling model, designating price and generating capacity strategies by a generator, and making a power utilization strategy by a user according to price and self income functions of the generator;
in the model:
the yield function of the generator is:
the price adjustment strategy of the generator is as follows:
p i (k+1)=p i (k)+σ j (r j (k)-1);
the adjustment strategy of the generating capacity of the generator is as follows:
302. the electricity purchase cost minimization construction objective function based on the electricity purchasers is as follows:
303. through scheduling adjustment and electricity price adjustment game, the transaction achieved by game is recorded in the form of intelligent contract and is transmitted to all nodes of the whole network through a P2P network, all nodes of the whole network achieve transaction consensus through network communication among each other, and a transaction matrix S is obtained p
And the functions 301 and 302 are used for repeatedly utilizing means such as scheduling adjustment, electricity price adjustment and the like to game, and the transaction achieved by the game is recorded in the form of intelligent contract and is transmitted to each node of the whole network through the P2P network. All nodes of the whole network achieve trade consensus through mutual network communication to obtain a trade matrix S p
It will be appreciated that, when congestion management is applied in step 303 (i.e. the market mitigation mechanism adopted by the power transmission service requirement exceeds the actual transmission capacity of the power grid), the congestion price (i.e. the electricity price of each node of the power system after implementation of the congestion management scheme) is determined, only the out-of-range information of a specific line is known, and no specific transaction information is required, so that the privacy of the user is well protected. The transaction that the game achieves is to meet the blocking price.
304. Establishing constraint conditions of an objective function;
305. judging whether the transaction matrix meets the constraint condition in 304, if so, recording the transaction meeting the requirement in a block and entering into step 104; if the constraint condition is not satisfied, go to step 306;
306. establishing a blocking price model and updating the price, wherein the blocking price model is as follows:
307. returning to execute step 303 according to the updated blocking price;
step 303 is executed back according to the updated blocking price in 305 and a new transaction matrix S is obtained iteratively p Until all the constraints in 304 are satisfied, the loop is jumped out, and the next step is executed
Wherein p is i The electricity price formulated for the generator; t (T) ij The transaction amount between the generator i and the user j; l (L) ij For transaction T ij The network loss to be shared; a, a i 、b i 、c i Is a coefficient related to the cost of power generation; s is(s) i Lambda is the actual sales power of the generator ij Representing the transmission charge to be paid for the transaction between generator i and user j, r j =D j /l j ,D j To actually demand electric quantity, l j To plan the generated energy; sigma (sigma) i Is positive coefficient (determined by each generator according to the power generation strategy of the generator), beta i (k) In order to increase the increment of network loss caused by unit power generation, the calculation formula is as followsP loss Representing the network loss; lambda (lambda) i (k) Representing the transmission costs to be paid for all transactions of generator i, a j 、b j Pi is a coefficient related to the income of the electricity purchasers ij To block prices; l is transaction T ij A set of lines contributing to the blocking of the lines; p (P) L Is the actual power of line L; p (P) Lmax Is the maximum power that line L can withstand; alpha is a blocking price coefficient, and the specific value of alpha is set by the blocking condition of the actual market.
Further, step 304 includes:
establishing a constraint condition equation set of the objective function includes:
balance constraint:
line capacity constraint: sigma (sigma) m∈Mz P user,m <<P max,z
Upper and lower limit constraint of unit load: p (P) min <<P z <<P max
Wherein P is j For the heat supply quantity of the j-th heat supply unit, NG is the quantity of the heat supply units,is the kth b The electricity consumption of each user, A is the total number of users, P f,l The net loss of the first pipeline is the net loss of the first pipeline, and B is the total number of pipelines; p (P) user,m For the power consumption of the mth user, P max,z Is the maximum value of the capacity of the transmission line of the z-th power grid; p (P) min For the lower limit of the load output of the unit, P max For the upper limit of load output of the unit, P z Generating power for the unit.
Further, the system also comprises a computer group power generation P p Comprises the steps of:
the calculation formula is calculated by a calculation formula: p=p p +P Q
Wherein P is the maximum load of the unit, P Q For the thermal power of the unit, P p Is the generated power.
Further, the method further comprises the steps of:
accounting the thermal power P by an accounting formula Q
The accounting formula is:Q x the D, E value is a preset coefficient for the heat load of the x-th unit.
Embodiments of a blockchain-based dual-source energy internet transaction device are provided herein below in detail.
The present application provides one embodiment of a blockchain-based dual-source energy internet transaction device, the device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute a dual source energy internet transaction method based on a blockchain as in the above embodiment according to instructions in the program code.
The present application provides a computer readable storage medium for storing program code for performing a blockchain-based dual-source energy internet transaction method as in the above embodiments.
The present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform a blockchain-based dual-source energy internet transaction method as in the above embodiments.
The above embodiments are merely for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.

Claims (7)

1. A block chain-based dual-source energy internet transaction method is characterized by comprising the following steps:
s10, packaging data information issued by a power generation unit, a heat supply unit and a user into blocks, encrypting the blocks, and transmitting the blocks to each network node;
s20, establishing a thermal load dynamic response model and an optimization solving model, and solving an optimal solution of the heating model based on heating demand data in the block;
the step S20 includes:
s201, establishing a thermal load dynamic response model, wherein the model comprises the following steps:
temperature difference at beginning and end of heat supply pipeline:
the heat exchange thermal resistance of the heat exchanger model is as follows:
constructing a heat supply model: q (Q) a =m a C p (T s -T u );
S202, constructing an optimization solving model according to the step S201, wherein an objective function of the model minimizes the total heat purchase cost:
s203, establishing constraint conditions of the objective function;
s204, through scheduling adjustment and heating price adjustment game, the transaction achieved by game is recorded in the form of intelligent contract and is transmitted to all nodes of the whole network through a P2P network, all nodes of the whole network achieve transaction consensus through network communication among each other, and a transaction matrix T is obtained p
S205, judging whether the transaction matrix meets the constraint condition in S203, if so, recording the transaction meeting the requirement in a block and entering into step S30; if the constraint condition is not satisfied, go to step S206;
s206, repeatedly solving the simultaneous objective function and the constraint condition to obtain a transaction matrix T meeting the constraint condition, solving a security domain S consisting of all the matrices T, and solving the transaction matrix with the minimum difference with the T in the S:
s207, recording the transaction meeting the requirements in the block and entering into step S30;
wherein DeltaT is the temperature difference between the beginning and the end of the heating pipeline, T start And T end Temperature, T, of the beginning and the end of the pipe respectively e Is ambient temperature; lambda is the total heat transfer coefficient per unit length of pipe; l is the length of the pipeline; c (C) p The specific heat capacity of the working medium; m is the mass flow of working medium in the pipeline, R H The heat resistance of the heat exchanger is Q is heat exchange quantity, and the inlet temperature of cold and hot fluid is T respectively c,i 、T h,i The outlet temperature of the cold and hot fluid is T respectively c,o 、T h,o ,Q a For the total heat exchange from the heating start point to the user, m a Then is the total flow, T s Temperature at the start point, T u For the temperature of the user end, C is the total heat purchase cost, NG is the number of heat supply units, I is the I-th node in the heat supply unit nodes, Q I For heat supply, A I 、B I 、C I Is the price coefficient, t IJ Is an element in a transaction matrix T, T pIJ For a transaction matrix T p N is a set of heat supply unit nodes, and J is a J-th node in the heat supply unit nodes;
s30, establishing an energy Internet power optimization scheduling model based on intelligent contract game, and solving an optimal solution of the power scheduling model according to the blocking price and the power demand data in the block;
the step S30 includes:
s301, establishing an energy Internet power optimization scheduling model, wherein the model comprises the following steps:
the yield function of the generator is:
the price adjustment strategy of the generator is as follows:
p i (k+1)=p i (k)+σ j (r j (k)-1);
the adjustment strategy of the generating capacity of the generator is as follows:
s302, constructing an objective function based on the electricity purchase cost minimization of the electricity purchasers, wherein the objective function is as follows:
s303, through scheduling adjustment and electricity price adjustment game, recording the transaction achieved by game in the form of intelligent contract and transmitting the transaction to all nodes of the whole network through a P2P network, and achieving transaction consensus through network communication among all nodes of the whole network to obtain a transaction matrix S p
S304, establishing constraint conditions of the objective function;
s305, judging whether the transaction matrix meets the constraint condition in S304, if so, recording the transaction meeting the requirement in a block and entering into step S40; if the constraint condition is not satisfied, proceeding to step S306;
s306, establishing a blocking price model and updating the price, wherein the blocking price model is as follows:
s307, returning to the step S303 according to the updated blocking price;
wherein p is i The electricity price formulated for the generator; t (T) ij Is a transaction between generator i and user j; l (L) ij For transaction T ij The network loss to be shared; a, a i 、b i 、c i Is a coefficient related to the cost of power generation; s is(s) i Lambda is the actual sales power of the generator ij Representing the transmission charge to be paid for the transaction between generator i and user j, r j =D j /l j ,D j To actually demand electric quantity, l j To plan the generated energy; sigma (sigma) i Is positive coefficient, beta i (k) The calculation formula of the increment of the net loss caused by increasing the unit power generation amount is expressed asP loss Representing the network loss; lambda (lambda) i (k) Representing the transmission costs to be paid for all transactions of generator i, a j 、b j Pi is a coefficient related to the income of the electricity purchasers ij To block prices; l is transaction T ij A set of lines contributing to the blocking of the lines; p (P) L Is the actual power of line L; p (P) Lmax Is the maximum power that line L can withstand; alpha is the price coefficient of the block, sigma j The positive coefficient, j is the jth user, k is the serial number in the transaction sequence, and the kth transaction in one day is represented;
and S40, packaging the solved optimal solution data into blocks, transmitting the blocks to the whole network, and automatically completing value transfer when the transaction time arrives.
2. The dual-source energy internet transaction method based on blockchain as in claim 1, wherein the step S203 includes:
establishing a constraint condition equation set of the objective function includes:
balance constraint:
upper and lower limit constraint of unit heat output: q (Q) min <<Q a <<Q max
Line capacity constraint:
pipeline water supply temperature constraint: t (T) ymin ≤T y ′≤T ymax
Wherein Qj is the heat supply quantity of the j-th heat supply unit, NG is the quantity of the heat supply units,is the kth a The heat supply demand of each user, A is the total number of users, q f,l For unit heat loss of the first pipe, L l Is the length of the pipeline, B is the total number of the pipelines, Q min Lower limit of heat output of unit, Q max Upper limit of heat output of unit, Q user M is the heat supply quantity of the mth user, Q max,p Maximum p pipe capacity, T ymin Lower temperature limit of water supply for pipeline, T ymax Upper limit of water supply temperature for pipeline, T y ' supply water temperature for pipeline.
3. The dual-source energy internet transaction method based on blockchain as in claim 1, wherein the step S304 includes:
establishing a constraint condition equation set of the objective function includes:
balance constraint:
line capacity constraint: sigma and method for producing the same m∈Mz P user,m <<P max,z
Upper and lower limit constraint of unit load: p (P) min <<P z <<P max
Wherein P is j For the heat supply quantity of the j-th heat supply unit, NG is the quantity of the heat supply units,is the kth b The electricity consumption of each user, A is the total number of users, P f,l The net loss of the first pipeline is the net loss of the first pipeline, and B is the total number of pipelines; p (P) user,m For the power consumption of the mth user, P max,z Is the maximum value of the capacity of the transmission line of the z-th power grid; p (P) min For the lower limit of the load output of the unit, P max For the upper limit of load output of the unit, P z Generating power for the unit.
4. The blockchain-based dual-source energy internet transaction method as in claim 3, further comprising a computer group generating power P p Comprises the steps of:
calculating through a calculation formula, wherein the calculation formula is as follows: p=p p +P Q
Wherein P is the maximum load of the unit, P Q For the thermal power of the unit, P p Is the generated power.
5. The blockchain-based dual-source energy internet transaction method of claim 4, further comprising the steps of:
accounting the thermal power P by an accounting formula Q
The accounting formula is as follows:Q x the D, E value is a preset coefficient for the heat load of the x-th unit.
6. A blockchain-based dual-source energy internet transaction device, the device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the dual source blockchain-based energy internet transaction method of any of claims 1-5 according to instructions in the program code.
7. A computer readable storage medium storing program code for performing a blockchain-based dual-source energy internet transaction method of any of claims 1-5.
CN201910092972.0A 2019-01-30 2019-01-30 Block chain-based dual-source energy internet transaction method and equipment Active CN109816257B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910092972.0A CN109816257B (en) 2019-01-30 2019-01-30 Block chain-based dual-source energy internet transaction method and equipment
PCT/CN2019/091048 WO2020155515A1 (en) 2019-01-30 2019-06-13 Blockchain-based dual-source energy internet transaction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910092972.0A CN109816257B (en) 2019-01-30 2019-01-30 Block chain-based dual-source energy internet transaction method and equipment

Publications (2)

Publication Number Publication Date
CN109816257A CN109816257A (en) 2019-05-28
CN109816257B true CN109816257B (en) 2023-08-08

Family

ID=66605992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910092972.0A Active CN109816257B (en) 2019-01-30 2019-01-30 Block chain-based dual-source energy internet transaction method and equipment

Country Status (2)

Country Link
CN (1) CN109816257B (en)
WO (1) WO2020155515A1 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816257B (en) * 2019-01-30 2023-08-08 广东电网有限责任公司 Block chain-based dual-source energy internet transaction method and equipment
CN111160880A (en) * 2019-12-10 2020-05-15 国网天津市电力公司 Block chain-based industrial user demand response-oriented transaction settlement control method
CN111400774B (en) * 2020-03-23 2021-05-07 北京安洁康生物科技有限公司 Block chain system of secondary water supply anti-terrorism anti-poison safety system
CN111915195B (en) * 2020-08-06 2023-12-01 南京审计大学 Public power resource allocation method combining blockchain and big data
CN112712190A (en) * 2020-09-04 2021-04-27 中国石油大学(华东) Multi-constraint-considered peak shaving scheduling method for oilfield self-contained thermal power plant unit
CN112396285B (en) * 2020-09-24 2023-11-28 浙江大学 Collaborative scheduling system and method for distributed data center calculation force and energy source flow
CN114123163B (en) * 2021-02-20 2023-10-27 上海交通大学 Active power distribution network optimization control method based on information physical fusion model
CN113222755A (en) * 2021-04-23 2021-08-06 中国华能集团清洁能源技术研究院有限公司 Comprehensive energy blockchain energy trading platform system and trading method
CN113112095A (en) * 2021-05-11 2021-07-13 杭州英集动力科技有限公司 Multi-mode multi-heat supply unit load real-time optimization scheduling method and management system
CN113515853A (en) * 2021-06-08 2021-10-19 国网江苏省电力有限公司连云港供电分公司 Electric-heat interconnection comprehensive energy system optimization scheduling method based on linear equation
CN113362178A (en) * 2021-06-30 2021-09-07 东南大学 Calculation method and device for guiding power distribution network to charge users participating in P2P transaction
CN113762961B (en) * 2021-08-17 2023-08-11 国网山东省电力公司信息通信公司 Trusted intelligent transaction method, system, computer equipment and terminal
CN114094574B (en) * 2021-11-18 2023-10-03 国网四川省电力公司成都供电公司 Power distribution network optimization reconstruction method based on non-cooperative game
CN114862097B (en) * 2022-03-21 2024-05-03 东南大学 User side market type identification method based on double-layer evolution game
CN115082235B (en) * 2022-06-29 2024-05-03 东南大学 Transaction method and system for sharing multiple functions in virtual energy station
CN117318182B (en) * 2023-11-28 2024-03-05 中国能源建设集团湖南省电力设计院有限公司 Fire, wind and light storage integrated base capacity optimization configuration method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108011370A (en) * 2017-12-27 2018-05-08 华北电力大学(保定) A kind of distributed energy scheduling method of commerce based on global energy block chain
CN109034480A (en) * 2018-07-31 2018-12-18 湘潭大学 A kind of interconnection microgrid distributed optimization dispatching method based on intelligent contract

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2660664A1 (en) * 2010-12-27 2013-11-06 Fundacion Tecnalia Research & Innovation Method for economically optimizing the operation of micro-cogenerator apparatuses
US10649429B2 (en) * 2015-10-13 2020-05-12 LO3 Energy Inc. Use of blockchain based distributed consensus control
CN107688944A (en) * 2017-07-21 2018-02-13 杭州云象网络技术有限公司 A kind of power system method of commerce based on block chain
CN108154309B (en) * 2017-12-30 2022-03-18 国网天津市电力公司电力科学研究院 Energy internet economic dispatching method considering multi-load dynamic response of cold, heat and electricity
CN108920558B (en) * 2018-06-20 2020-05-29 厦门快商通信息技术有限公司 Distributed energy transaction and supply management system and method based on block chain
CN108961018A (en) * 2018-07-19 2018-12-07 华北电力大学(保定) Micro-capacitance sensor electricity market decentralization mechanism of exchange based on intelligent contract
CN109816257B (en) * 2019-01-30 2023-08-08 广东电网有限责任公司 Block chain-based dual-source energy internet transaction method and equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108011370A (en) * 2017-12-27 2018-05-08 华北电力大学(保定) A kind of distributed energy scheduling method of commerce based on global energy block chain
CN109034480A (en) * 2018-07-31 2018-12-18 湘潭大学 A kind of interconnection microgrid distributed optimization dispatching method based on intelligent contract

Also Published As

Publication number Publication date
WO2020155515A1 (en) 2020-08-06
CN109816257A (en) 2019-05-28

Similar Documents

Publication Publication Date Title
CN109816257B (en) Block chain-based dual-source energy internet transaction method and equipment
CN109727158B (en) Electric heating comprehensive energy system scheduling method based on improved weak robust optimization
Gu et al. Bi-level optimal low-carbon economic dispatch for an industrial park with consideration of multi-energy price incentives
CN110826940B (en) Distributed power transaction method in extensible multi-microgrid environment
Wang et al. Adaptive bidding strategy for real-time energy management in multi-energy market enhanced by blockchain
CN108734350A (en) A kind of independent method for solving with combined dispatching of the power distribution network containing micro-capacitance sensor
CN111754307B (en) Multi-factor electric quantity transaction matching method and device based on block chain
Zhong et al. Distributed modeling considering uncertainties for robust operation of integrated energy system
CN110378058A (en) A kind of method for building up for the electro thermal coupling microgrid optimal response model comprehensively considering reliability and economy
CN112955697B (en) Device and method for apportioning measurement according to matching coefficient
CN108881391A (en) A kind of distributed computing storage heat generating device and its operation method
CN111461890A (en) Distributed power generation transaction system and method based on multiple prediction and block chain technologies
Ma et al. Optimal trading strategy for integrated energy company based on integrated demand response considering load classifications
Jia et al. Peer-to-peer energy trading using prediction intervals of renewable energy generation
CN114444864A (en) Block chain based hierarchical power transaction matching method in distributed power market
CN114626922A (en) Self-adaptive bidding multi-energy P2P trading platform based on block chain
CN113379485A (en) Demand response bidding trading method and system based on Hash algorithm and secondary quotation
CN115907575A (en) ACP and carbon-green certificate transaction-based industrial comprehensive energy system cooperative operation method
CN107133840A (en) A kind of warmed oneself towards electric heat supply promotes many wind field price competing methods of wind-powered electricity generation on-site elimination
Deng et al. Optimal scheduling for combined district heating and power systems using subsidy strategies
Chen et al. Coordinated heat and power dispatch considering mutual benefit and mutual trust: a multi-party perspective
Lv et al. Digital twins for secure thermal energy storage in building
Ju et al. Three‐level energy flexible management strategy for micro energy grids considering multiple uncertainties at different time scales
Ren et al. Reinforcement Learning-Based Bi-Level strategic bidding model of Gas-fired unit in integrated electricity and natural gas markets preventing market manipulation
Tao et al. Research on multi-microgrids scheduling strategy considering dynamic electricity price based on blockchain

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