CN112330015A - Shared energy storage joint market trading system and method based on block chain - Google Patents
Shared energy storage joint market trading system and method based on block chain Download PDFInfo
- Publication number
- CN112330015A CN112330015A CN202011210137.1A CN202011210137A CN112330015A CN 112330015 A CN112330015 A CN 112330015A CN 202011210137 A CN202011210137 A CN 202011210137A CN 112330015 A CN112330015 A CN 112330015A
- Authority
- CN
- China
- Prior art keywords
- trading
- market
- energy storage
- transaction
- price
- 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
- 238000004146 energy storage Methods 0.000 title claims abstract description 86
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000005457 optimization Methods 0.000 claims abstract description 24
- 230000008569 process Effects 0.000 claims abstract description 19
- 230000008878 coupling Effects 0.000 claims abstract description 5
- 238000010168 coupling process Methods 0.000 claims abstract description 5
- 238000005859 coupling reaction Methods 0.000 claims abstract description 5
- 230000009194 climbing Effects 0.000 claims description 9
- 238000007599 discharging Methods 0.000 claims description 9
- 230000001960 triggered effect Effects 0.000 claims description 3
- 230000000694 effects Effects 0.000 claims 1
- 239000002245 particle Substances 0.000 claims 1
- 230000015654 memory Effects 0.000 description 20
- 230000006870 function Effects 0.000 description 14
- 230000005291 magnetic effect Effects 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 5
- 230000006399 behavior Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000005034 decoration Methods 0.000 description 2
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 2
- 239000010931 gold Substances 0.000 description 2
- 229910052737 gold Inorganic materials 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000009956 central mechanism Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- ZNNLBTZKUZBEKO-UHFFFAOYSA-N glyburide Chemical compound COC1=CC=C(Cl)C=C1C(=O)NCCC1=CC=C(S(=O)(=O)NC(=O)NC2CCCCC2)C=C1 ZNNLBTZKUZBEKO-UHFFFAOYSA-N 0.000 description 1
- 238000010248 power generation Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 230000003936 working memory Effects 0.000 description 1
Images
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
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- 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
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0611—Request for offers or quotes
-
- 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
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Human Resources & Organizations (AREA)
- Theoretical Computer Science (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Tourism & Hospitality (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Game Theory and Decision Science (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 invention relates to the technical field of resource optimization configuration, and provides a block chain-based shared energy storage joint market trading system and a method, wherein the system comprises the following steps: the optimization configuration model establishing module is used for establishing an optimization configuration model which takes the sum of the profits as an objective function and takes the coupling characteristics of the three trading targets as constraint conditions; the united market trading module is used for obtaining the quotation clearing priority of the three trading targets by the optimized configuration model according to the historical trading data of the united market, reasonably distributing energy storage resources according to the priority to form an optimized configuration strategy, and further participating in point-to-point (P2P) trading of the three trading targets in the united market according to the optimized resource configuration, wherein the trading process of P2P trading comprises three stages including an initialization stage, a P2P trading stage and a payment delivery stage. By the scheme, the energy storage income of the user is improved, and the requirements of other members in the market on energy storage service are met.
Description
Technical Field
The invention relates to the technical field of resource optimization configuration, in particular to the technical field of resource optimization configuration in an energy internet scene. In particular to a sharing energy storage joint market trading system and a sharing energy storage joint market trading method based on a block chain.
Background
The new energy power generation proportion is continuously increased, and safety problems such as grid connection fluctuation and the like are brought to a power grid. Large-scale energy storage provides an effective solution for it. However, resource mismatch exists to a certain extent between the energy storage requirement and the energy storage service, part of the main body with high requirement lacks enough energy storage capacity due to the reasons of capital, space and the like, and part of the theme with large-scale energy storage equipment configured lacks the problem of low energy storage utilization rate. In addition, the central mechanism processes the energy storage market trading information in a centralized manner and leads to a trading decision-making manner, so that the information among market main bodies is unequal, and the market supply and demand relationship is difficult to reflect in time.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide a system and a method for block chain-based shared energy storage joint market trading, which involve multiple subjects and include multiple trading targets. Firstly, each main body establishes an optimization configuration model which takes the total income as an objective function and takes the coupling characteristics of three trading targets as constraint conditions. Each main body can obtain the optimal quotation and clearing priority of three trading targets (energy, frequency modulation service and FRP service) by the model according to the historical trading data of the joint market, and energy storage resources are reasonably distributed according to the priority. Then, each subject participates in three target point-to-point (Peer to Peer, P2P) trades in the joint market according to the optimal configuration strategy.
The above object of the present invention is achieved by the following technical solutions:
a block chain based shared energy storage joint market trading system comprises:
the optimization configuration model establishing module is used for establishing an optimization configuration model which takes the total income as an objective function and takes the coupling characteristics of three trading targets including energy selling, frequency modulation service selling and FRP (Flexible climbing Product) selling as constraint conditions;
and the joint market trading module is used for obtaining the quotation clearing priorities of the three trading targets by the optimization configuration model according to the historical trading data of the joint market, reasonably distributing energy storage resources according to the priorities to form an optimization configuration strategy, and further participating in P2P trading of the three trading targets in the joint market according to the optimization configuration strategy, wherein the trading process of the P2P trading comprises three stages including an initialization stage, a P2P trading stage and a payment delivery stage.
Further, in the optimal configuration model establishing module, the established optimal configuration model specifically includes: establishing the objective function and the constraint condition;
the specific formula of the objective function is as follows:
max{Ren+Rreg+Rra-C}
wherein R isen、Rreg、RraObtaining earnings for the three trade targets of selling energy, selling frequency modulation service and selling FRP service respectively, wherein C is scheduling cost;
the constraint conditions comprise constraints including charge and discharge state constraint, power constraint, capacity constraint and climbing rate constraint.
Further, in the objective function, the specific calculation manner of the energy selling profit, the frequency modulation service selling profit and the FRP service selling profit is as follows:
the profit R obtained by selling energyenThe method specifically comprises the following steps:
wherein T is a scheduling time, T is a time set, uen,d、uen,cRespectively as a main body discharging mark and a charging mark,respectively discharge and charge unit price of the united marketen,d、πen,cThe corresponding medium rate, eta, for different discharge and charge unit priceen,d、ηen,cRespectively the efficiency at the time of discharging and charging,the discharge and charge powers at time t, respectively;
the income obtained by selling the frequency modulation service RregThe method specifically comprises the following steps:
wherein T is a scheduling time, T is a time set, ureg,up、ureg,dnRespectively an upward frequency modulation mark and a downward frequency modulation mark,price, pi, of up and down FM services in a consolidated market, respectivelyreg,up、πreg,dnRespectively corresponding medium rate for different upward and downward frequency modulation service price transactions,respectively the capacity of upward and downward frequency modulation participating in the joint market transaction;
the profit R obtained by selling the FRP serviceraThe method specifically comprises the following steps:
wherein u isra,up、ura,dnRespectively an upward FRP service identifier and a downward FRP service identifier;price, pi, of upward and downward FRP services in a consolidated market, respectivelyra,up、πra,dnRespectively the bid rates corresponding to the upward and downward FRP service prices,the number of upward and downward FRP services participating in the joint market transaction respectively;
the scheduling cost C specifically includes:
C=kEb
where k is the loss constant from the energy storage device, EbThe total energy exchanged by the energy storage device and the power system;
in the case of Eb, the number of the bits in Eb,for the total energy of the energy market trade,andenergy changes caused by invoking the frequency up and down modulation services respectively,anddivided into energy changes caused by invoking up and down FRP services.
Further, constraints including charge-discharge state constraint, power constraint, capacity constraint and climbing rate constraint are specifically calculated in the following manner:
and the charge and discharge state is restrained:
uen,d+uen,c≤1
the power constraint is as follows:
the capacity constraint is as follows:
Socmin≤Soct≤Socmax
and the climbing rate is restrained:
wherein,andmaximum power for discharging and charging respectively; soctAnd Soct-1Capacity states of the energy storage device at times t and t-1, rupAnd rdnThe rates are adjusted for up and down power, respectively.
Further, the joint market trading module further comprises:
the initialization submodule is used for executing the transaction process in the initialization stage, and each main body sets the exchange rate of the block chain platform token to the RMB and pays a deposit to the address of the intelligent contract;
the P2P trading sub-module is used for executing the trading process in the P2P trading stage, each main body inquires the optimal quotation of the market, selects the P2P trading behavior according to the optimal quotation and submits the quotation and the trading volume to the block chain platform;
and the payment delivery sub-module is used for executing the transaction process in the payment delivery stage, settling the transaction fee between the two transaction parties which are successfully matched, and taking back the due deposit after the main body carries out off-line delivery.
Further, the initialization sub-module further includes:
the exchange rate calibration unit is used for setting the market price and the exchange rate of the block chain platform to the RMB;
and the deposit payment unit is used for collecting the prepayment deposits of the future transaction time periods of the main body participating in the transaction.
Further, the payment delivery submodule further includes:
the optimal quotation inquiring unit is used for inquiring the optimal quotation of the shared energy storage P2P joint trading market by a trading subject;
the market price submitting trading unit is used for collecting the trading quantity of the user who wants to trade the market price;
the submitting price limit trading unit is used for collecting the trading quantity and the trading price of a user who wants to carry out price limit trading;
a bill removing unit for deleting the bill of the user who wants to remove the bill;
and the matching unit is automatically triggered after the limit transaction unit is submitted and is used for matching and clearing the queue according to the P2P market transaction rule.
Further, the payment delivery submodule further includes:
the settlement unit is used for settling the transaction fee between the two transaction parties successfully matched;
and the deposit withdrawing unit is used for withdrawing the due deposit from the transaction body completing the settlement.
A block chain-based shared energy storage joint market trading method executed by the block chain-based shared energy storage joint market trading system comprises the following steps:
s1: each main body deploys a block chain environment of a shared energy storage combined platform;
s2: each main body inputs the energy storage equipment data and the joint market historical data into an optimization configuration model to obtain an optimal distribution mode and an optimal quotation strategy of energy storage resources;
s3: the exchange rates of the token DOT and the RMB of the block chain development platform are agreed by each main body through an exchange rate calibration unit;
s4: each main body pays a security deposit to the address of the intelligent contract in advance according to the self bill-reporting requirement;
s5: a subject who pays a deposit in advance inquires the optimal price of the market;
s6: according to the optimal market quotation and the self demand, each main body selects to submit a market transaction statement, a limit transaction statement or a withdrawal statement, and the statement information forms a buyer and seller queue, and is packaged and stored to a block by a system:
s7: the matching unit clears the queues of the buyer and the seller, matches the queues of the buyer and the seller according to the transaction rule of P2P, accounts for the transaction of the transaction user and packs the matching information into blocks;
s8: each main body delivers and shares the energy storage resource under the next time period line;
s9: the intelligent contract automatically detects whether the delivery amount is consistent with the matching result, and returns the due deposit to the main body.
Compared with the prior art, the invention has at least one of the following beneficial effects:
(1) according to the energy storage method and the energy storage system, each main body firstly distributes the energy storage resources according to an optimal strategy and then participates in the joint market transaction, so that the energy storage income of the main body is improved, and the requirements of other members in the market on energy storage service are met.
(2) The shared energy storage transaction method based on the intelligent block chain contract can be used for the joint transaction of the shared energy storage resources, and has the advantages of high efficiency, intelligence, openness, transparency, safety, stability and the like.
(3) The invention provides a shared energy storage joint market trading method comprising an initialization stage, a P2P trading stage and a payment delivery stage, and reasonable configuration between energy storage requirements and energy storage services is ensured; a shared energy storage joint trading platform based on a block chain is constructed, self-organization and self-coordination trading of an energy storage main body is realized, and transparency of energy storage joint market trading is improved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention.
FIG. 1 is an overall structure diagram of a block chain-based shared energy storage joint market trading system according to the present invention;
FIG. 2 is a flow chart of the P2P transaction of the present invention;
fig. 3 is an overall flowchart of a block chain-based shared energy storage joint market trading method according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in 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 obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
First embodiment
As shown in fig. 1, the present embodiment provides a block chain-based shared energy storage joint market trading system, including:
the optimization configuration model establishing module 1 is used for establishing an optimization configuration model which takes the total income as an objective function and takes the coupling characteristics of three trading targets including energy selling, frequency modulation service selling and FRP service selling as constraint conditions.
Specifically, in this embodiment, in the optimized configuration model establishing module, the established optimized configuration model includes: establishing the objective function and the constraint condition;
(1) establishing the objective function
The specific formula of the objective function is as follows:
max{Ren+Rreg+Rra-C}
wherein R isen、Rreg、RraObtaining earnings for the three trade targets of selling energy, selling frequency modulation service and selling FRP service respectively, wherein C is scheduling cost;
further, in the objective function, the specific calculation manner of the energy selling profit, the frequency modulation service selling profit and the FRP service selling profit is as follows:
the profit R obtained by selling energyenThe method specifically comprises the following steps:
wherein T is a scheduling time, T is a time set, uen,d、uen,cRespectively as a main body discharging mark and a charging mark,respectively discharge and charge unit price of the united marketen,d、πen,cThe corresponding medium rate, eta, for different discharge and charge unit priceen,d、ηen,cRespectively the efficiency at the time of discharging and charging,the discharge and charge powers at time t, respectively;
the income obtained by selling the frequency modulation service RregThe method specifically comprises the following steps:
wherein T is a scheduling time, T is a time set, ureg,up、ureg,dnRespectively an upward frequency modulation mark and a downward frequency modulation mark,price, pi, of up and down FM services in a consolidated market, respectivelyreg,up、πreg,dnRespectively corresponding medium rate for different upward and downward frequency modulation service price transactions,respectively the capacity of upward and downward frequency modulation participating in the joint market transaction;
the profit R obtained by selling the FRP serviceraThe method specifically comprises the following steps:
wherein u isra,up、ura,dnRespectively an upward FRP service identifier and a downward FRP service identifier;respectively upward in the consolidated marketPrice of downward FRP service, pira,up、πra,dnRespectively the bid rates corresponding to the upward and downward FRP service prices,the number of upward and downward FRP services participating in the joint market transaction respectively;
the scheduling cost C specifically includes:
C=kEb
wherein k is a loss constant of the energy storage device, and Eb is the total energy exchanged between the energy storage device and the power system;
at EbIn (1),for the total energy of the energy market trade,andenergy changes caused by invoking the frequency up and down modulation services respectively,anddivided into energy changes caused by invoking up and down FRP services.
(2) Establishing the constraint
The constraint conditions comprise constraints including charge and discharge state constraint, power constraint, capacity constraint and climbing rate constraint.
Further, constraints including charge-discharge state constraint, power constraint, capacity constraint and climbing rate constraint are specifically calculated in the following manner:
and the charge and discharge state is restrained:
uen,d+uen,c≤1
the power constraint is as follows:
the capacity constraint is as follows:
Socmin≤Soct≤Socmax
and the climbing rate is restrained:
wherein,andmaximum power for discharging and charging respectively; soctAnd Soct-1Capacity states of the energy storage device at times t and t-1, rupAnd rdnThe rates are adjusted for up and down power, respectively.
And the joint market trading module 2 is used for obtaining the quotation clearing priorities of the three trading targets by the optimization configuration model according to the historical trading data of the joint market, reasonably distributing energy storage resources according to the priorities to form an optimization configuration strategy, and further participating in P2P trading of the three trading targets in the joint market according to the optimization configuration strategy, wherein the trading process of the P2P trading comprises three stages including an initialization stage, a P2P trading stage and a payment delivery stage.
Specifically, in this embodiment, the initialization phase, the P2P transaction phase, and the payment delivery phase are implemented by an intelligent contract deployed on the blockchain development platform infrastructure. The invention introduces a shared energy storage optimal configuration model and a block chain intelligent contract technology to complete the optimal configuration of the shared energy storage resources, finally achieves the self-organization and self-coordination transaction of the shared energy storage main body, and increases the transparency of the shared energy storage united market.
Wherein, the Substrate refers to: the subsystem is an open source block chain development platform with an intelligent contract development function, wherein the intelligent contract refers to: an intelligent contract is a program deployed on a infrastructure blockchain platform that can implement a particular functionality.
Further, the joint market trading module 2 further includes:
the initialization submodule 21 is configured to execute the transaction process in the initialization stage, and implement the transaction process by using an intelligent contract deployed on the shared energy storage combined transaction block chain platform, where each main body sets a remittance rate of a block chain platform token to a rmb, and pays a deposit to an address where the intelligent contract is located.
The P2P trading sub-module 22 is configured to execute the trading process in the P2P trading stage, and is implemented by an intelligent contract deployed on a shared energy storage combined trading blockchain platform, and each subject queries the optimal quotation of the market, selects a P2P trading behavior according to the optimal quotation, and submits the quotation and the trading volume to the blockchain platform. The specific flow of the P2P transaction is shown in fig. 2.
The P2P trading sub-module 22 further includes a P2P market trading matching rule, specifically, the buyer (seller) who selects market trading matches the seller (buyer) who selects limit trading. And (3) selecting a user for market trading, firstly matching with a limited user for the optimal price quotation of the market, returning to the stage of inquiring the optimal price quotation for trading if the user for market does not complete the expected trading in the round, and selecting a proper trading behavior for a product which does not complete the trading, otherwise, clearing the user. The user who selects the limit deal submits the quote and the deal amount and waits for the user who participates in the market deal to match it.
And the payment delivery sub-module 23 is used for executing the transaction process in the payment delivery stage, settling the transaction fee between the two transaction parties which are successfully matched, and taking back the due deposit after the main body carries out off-line delivery.
Further, the initialization sub-module 21 further includes:
the exchange rate calibration unit 11 is used for setting the market price and the exchange rate of the block chain platform to the RMB;
and a deposit payment unit 212 for collecting the advance deposit of the future transaction period of the subject participating in the transaction.
Further, the payment delivery submodule 22 further includes:
the optimal quotation inquiring unit 221 is used for inquiring the optimal quotation of the shared energy storage P2P joint trading market by a trading subject;
a market-value-submitting-trading unit 222 for collecting trading quantities of users who wish to trade at a market value;
a submit limit transaction unit 223 for collecting transaction amount and transaction price of the user who wants to limit the transaction;
a ticket removing unit 224 configured to delete a ticket of a user who wants to remove a ticket;
and the matching unit 225 is automatically triggered after the limit trading unit is submitted and is used for matching and clearing the queue according to the P2P market trading rule.
Further, the payment delivery submodule 23 further includes:
a settlement unit 231 for settling transaction fees between the transaction parties successfully matched;
and a deposit withdrawal unit 232 for withdrawing the due deposit from the transaction body completing the settlement.
Second embodiment
As shown in fig. 3, the present embodiment provides a block chain-based shared energy storage joint market trading method implemented by using the block chain-based shared energy storage joint market trading system in the first embodiment, and the method includes the following steps:
s1: and each main body deploys a block chain environment of the shared energy storage combined platform.
S2: and each main body inputs the energy storage equipment data and the joint market historical data into the optimization configuration model to obtain the optimal distribution mode and the optimal quotation strategy of the energy storage resources.
S3: and the main bodies agree the exchange rate of the token DOT and the RMB of the block chain development platform through an exchange rate calibration unit.
S4: each main body pays a security deposit to the address of the intelligent contract in advance according to the self bill-reporting requirement.
S5: the subject who paid the deposit in advance inquires about the market optimal offer.
S6: according to the optimal market quotation and the self demand, each main body selects to submit a market price transaction statement, a limit price transaction statement or a withdrawal statement, and the statement information forms a buyer and seller queue and is packaged and stored to a block by a system.
S7: the matching unit clears the queues of the buyer and the seller, matches the queues of the buyer and the seller according to the P2P transaction rule, accounts for the transaction user, and packs the matching information into blocks.
S8: and the main bodies deliver and share the energy storage resource under the next time period.
S9: the intelligent contract automatically detects whether the delivery amount is consistent with the matching result, and returns the due deposit to the main body.
Third embodiment
In this embodiment, the content of the present invention is described in a specific application scenario:
the power system scene is set in a certain area in the Shanghai. 8 main bodies containing energy storage equipment, such as a thermal power plant, a new energy power plant, a small individual user and the like, participate in shared energy storage combined market transaction, and all the main bodies are named as A-H in sequence. The online transaction period of this embodiment is 11: 30-12: 00, off-line delivery period of 12: 00-12: 30. each subject agreed upon a blockchain platform token DOT to RMB exchange rate of 1RMB to 100 DOT. The market standard electricity price for this period is scaled to 65 DOT/kWh.
All the main bodies of the embodiment can reasonably allocate energy storage resources according to the optimal allocation model. Taking seller a as an example, the clearing priorities of the three transaction targets of energy, upward frequency modulation and upward FRP are calculated according to the following table:
trade variety | (Energy) | Upward frequency modulation | Upward FRP |
Optimal quote (RMB/kWh) | 0.72 | 0.70 | 0.56 |
Winning rate | 0.6 | 0.5 | 0.7 |
Product of optimal quote and bid rate | 0.432 | 0.35 | 0.392 |
Therefore, the seller A sells the transaction object with the priority from high to low, namely energy, FRP, frequency modulation.
The equipment constraints for seller a are shown in the following table:
P2P transaction phase, 11: the seller user quotes for the energy market at time 37 are shown in the following table:
according to constraints, seller A uses 617.5kWh for energy market trading and is priced at 0.72RMB/kWh for the best resource allocation during the time period.
P2P transaction phase, 11: the customer-user quotes for the energy market at time 37 are shown in the following table:
the intelligent contracts are automatically matched with the buyer and the seller. The results of the deal are shown in the following table:
wherein, A has no buyer response due to too high selling price, D has no selling due to higher selling price and remains 44.4kWh, and E has 163.8kWh demand due to too low price.
The shared energy storage trading platform based on the block chain can update market demand information in real time. The body of the last outstanding transaction modifies the P2P transaction behavior as shown in the following table:
and automatically executing transaction rules based on the shared energy storage transaction platform of the block chain. The final clearing and settlement conditions for the energy market during this trading period are shown in the following table:
the block chain-based shared energy storage trading platform supervises the consistency of the offline delivery result and the online matching result of the main body through a guarantee fund mechanism. The return result of the gold is guaranteed to be: the online clearing conditions of the users A-C and E-H are consistent with the online matching result, so that the seller A-C retrieves all the deposit, and the buyer E-H deducts the settlement cost and then retrieves the rest of the deposit. Seller D pays less than 10KWh in the online clearing process than the online matching result, and deducts 650DOT deposit.
The result shows that all the main bodies can reasonably allocate energy storage resources according to the optimized allocation model and are cleared in the shared energy storage combined market. The shared energy storage trading platform based on the block chain can update market demand information in real time, automatically execute trading rules and complete trading settlement; meanwhile, the main body is supervised and urged to be consistent with the online matching result by a gold mechanism.
A computer device comprising memory and one or more processors, the memory having stored therein computer code which, when executed by the one or more processors, causes the one or more processors to perform a method as in the second embodiment.
A computer readable storage medium storing computer code which, when executed, performs the method as described above. Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments, and all technical solutions belonging to the idea of the present invention belong to the protection scope of the present invention. It should be noted that modifications and embellishments within the scope of the invention may occur to those skilled in the art without departing from the principle of the invention, and are considered to be within the scope of the invention.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
The software program of the present invention can be executed by a processor to implement the steps or functions described above. Also, the software programs (including associated data structures) of the present invention can be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functionality of the present invention may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various functions or steps. The method disclosed by the embodiment shown in the embodiment of the present specification can be applied to or realized by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present specification may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present specification may be embodied directly in a hardware decoding processor, or in a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
Embodiments also provide a computer readable storage medium storing one or more programs that, when executed by an electronic system including a plurality of application programs, cause the electronic system to perform the method of embodiment one. And will not be described in detail herein.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices. Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave. It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In addition, some of the present invention can be applied as a computer program product, such as computer program instructions, which when executed by a computer, can invoke or provide the method and/or technical solution according to the present invention through the operation of the computer. Program instructions which invoke the methods of the present invention may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the invention herein comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or solution according to embodiments of the invention as described above.
Claims (10)
1. A block chain based shared energy storage joint market trading system is characterized by comprising:
the optimization configuration model establishing module is used for establishing an optimization configuration model which takes the sum of the profits as an objective function and takes the coupling characteristics of three trading targets including selling energy, selling frequency modulation service and selling FRP service as constraint conditions;
and the joint market trading module is used for obtaining the quotation clearing priorities of the three trading targets by the optimization configuration model according to the historical trading data of the joint market, reasonably distributing energy storage resources according to the priorities to form an optimization configuration strategy, and further participating in P2P trading of the three trading targets in the joint market according to the optimization configuration strategy, wherein the trading process of the P2P trading comprises three stages including an initialization stage, a P2P trading stage and a payment delivery stage.
2. The system according to claim 1, wherein the optimized configuration model established in the optimized configuration model establishing module specifically includes: establishing the objective function and the constraint condition;
the specific formula of the objective function is as follows:
max{Ren+Rreg+Rra-C}
wherein R isen、Rreg、RraObtaining earnings for the three trade targets of selling energy, selling frequency modulation service and selling FRP service respectively, wherein C is scheduling cost;
the constraint conditions comprise constraints including charge and discharge state constraint, power constraint, capacity constraint and climbing rate constraint.
3. The system of claim 2, wherein in the objective function, the energy selling profit, the frequency modulation service selling profit and the FRP service selling profit are calculated by:
the profit R obtained by selling energyenThe method specifically comprises the following steps:
wherein T is a scheduling time, T is a time set, uen,d、uen,cRespectively as a main body discharging mark and a charging mark,respectively discharge and charge unit price of the united marketen,d、πen,cThe corresponding medium rate, eta, for different discharge and charge unit priceen,d、ηen,cRespectively for effects on discharging and chargingThe ratio of the total weight of the particles,the discharge and charge powers at time t, respectively;
the income obtained by selling the frequency modulation service RregThe method specifically comprises the following steps:
wherein T is a scheduling time, T is a time set, ureg,up、ureg,dnRespectively an upward frequency modulation mark and a downward frequency modulation mark,price, pi, of up and down FM services in a consolidated market, respectivelyreg,up、πreg,dnRespectively corresponding medium rate for different upward and downward frequency modulation service price transactions,respectively the capacity of upward and downward frequency modulation participating in the joint market transaction;
the profit R obtained by selling the FRP serviceraThe method specifically comprises the following steps:
wherein u isra,up、ura,dnRespectively an upward FRP service identifier and a downward FRP service identifier;price, pi, of upward and downward FRP services in a consolidated market, respectivelyra,up、πra,dnRespectively the bid rates corresponding to the upward and downward FRP service prices,the number of upward and downward FRP services participating in the joint market transaction respectively;
the scheduling cost C specifically includes:
C=kEb
wherein k is the loss constant of the energy storage device, Eb is the total energy exchanged between the energy storage device and the power system:
4. The block chain-based shared energy storage joint market trading system of claim 3, wherein constraints including charge-discharge state constraints, power constraints, capacity constraints, and ramp rate constraints are specifically calculated by:
and the charge and discharge state is restrained:
uen,d+uen,c≤1
the power constraint is as follows:
the capacity constraint is as follows:
Socmin≤Soct≤Socmax
and the climbing rate is restrained:
5. The system of claim 1, wherein the federated market transaction module further comprises:
the initialization submodule is used for executing the transaction process in the initialization stage, and each main body sets the exchange rate of the block chain platform token to the RMB and pays a deposit to the address of the intelligent contract;
the P2P trading sub-module is used for executing the trading process in the P2P trading stage, each main body inquires the optimal quotation of the market, selects the P2P trading behavior according to the optimal quotation and submits the quotation and the trading volume to the block chain platform;
and the payment delivery sub-module is used for executing the transaction process in the payment delivery stage, settling the transaction fee between the two transaction parties which are successfully matched, and taking back the due deposit after the main body carries out off-line delivery.
6. The system of claim 5, wherein the initialization submodule further comprises:
the exchange rate calibration unit is used for setting the market price and the exchange rate of the block chain platform to the RMB;
and the deposit payment unit is used for collecting the prepayment deposits of the future transaction time periods of the main body participating in the transaction.
7. The block chain based shared energy storage joint market trading system of claim 5, wherein the payment delivery submodule further comprises:
the optimal quotation inquiring unit is used for inquiring the optimal quotation of the shared energy storage P2P joint trading market by a trading subject;
the market price submitting trading unit is used for collecting the trading quantity of the user who wants to trade the market price;
the submitting price limit trading unit is used for collecting the trading quantity and the trading price of a user who wants to carry out price limit trading;
a bill removing unit for deleting the bill of the user who wants to remove the bill;
and the matching unit is automatically triggered after the limit transaction unit is submitted and is used for matching and clearing the queue according to the P2P market transaction rule.
8. The block chain based shared energy storage joint market trading system of claim 5, wherein the payment delivery submodule further comprises:
the settlement unit is used for settling the transaction fee between the two transaction parties successfully matched;
and the deposit withdrawing unit is used for withdrawing the due deposit from the transaction body completing the settlement.
9. A blockchain-based shared energy storage joint market trading method executed by using the blockchain-based shared energy storage joint market trading system according to any one of claims 1 to 8, comprising the steps of:
s1: each main body deploys a block chain environment of a shared energy storage combined platform;
s2: each main body inputs the energy storage equipment data and the joint market historical data into an optimization configuration model to obtain an optimal distribution mode and an optimal quotation strategy of energy storage resources;
s3: the exchange rates of the token DOT and the RMB of the block chain development platform are agreed by each main body through an exchange rate calibration unit;
s4: each main body pays a security deposit to the address of the intelligent contract in advance according to the self bill-reporting requirement;
s5: a subject who pays a deposit in advance inquires the optimal price of the market;
s6: according to the optimal market quotation and the self demand, each main body selects to submit a market price transaction statement, a limit price transaction statement or a withdrawal statement, and the statement information forms a buyer and seller queue and is packaged and stored to a block by a system;
s7: the matching unit clears the queues of the buyer and the seller, matches the queues of the buyer and the seller according to the transaction rule of P2P, accounts for the transaction of the transaction user and packs the matching information into blocks;
s8: each main body delivers and shares the energy storage resource under the next time period line;
s9: the intelligent contract automatically detects whether the delivery amount is consistent with the matching result, and returns the due deposit to the main body.
10. A computer readable storage medium storing computer code which, when executed, performs the method of claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011210137.1A CN112330015A (en) | 2020-11-03 | 2020-11-03 | Shared energy storage joint market trading system and method based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011210137.1A CN112330015A (en) | 2020-11-03 | 2020-11-03 | Shared energy storage joint market trading system and method based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112330015A true CN112330015A (en) | 2021-02-05 |
Family
ID=74323559
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011210137.1A Pending CN112330015A (en) | 2020-11-03 | 2020-11-03 | Shared energy storage joint market trading system and method based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112330015A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112907082A (en) * | 2021-02-23 | 2021-06-04 | 上海腾天节能技术有限公司 | Block chain consensus algorithm evaluation optimization method |
CN113743989A (en) * | 2021-08-30 | 2021-12-03 | 国网青海省电力公司 | Shared energy storage combined frequency modulation trading method based on block chain and decentralized trading theory |
CN114529107A (en) * | 2022-04-21 | 2022-05-24 | 南方电网数字电网研究院有限公司 | Energy transaction data processing method and device, computer equipment and storage medium |
-
2020
- 2020-11-03 CN CN202011210137.1A patent/CN112330015A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112907082A (en) * | 2021-02-23 | 2021-06-04 | 上海腾天节能技术有限公司 | Block chain consensus algorithm evaluation optimization method |
CN112907082B (en) * | 2021-02-23 | 2024-04-09 | 上海腾天节能技术有限公司 | Block chain consensus algorithm evaluation optimization method |
CN113743989A (en) * | 2021-08-30 | 2021-12-03 | 国网青海省电力公司 | Shared energy storage combined frequency modulation trading method based on block chain and decentralized trading theory |
CN113743989B (en) * | 2021-08-30 | 2023-10-13 | 国网青海省电力公司 | Shared energy storage joint frequency modulation transaction method based on blockchain and scattered transaction theory |
CN114529107A (en) * | 2022-04-21 | 2022-05-24 | 南方电网数字电网研究院有限公司 | Energy transaction data processing method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Li et al. | Credit-based payments for fast computing resource trading in edge-assisted Internet of Things | |
CN112330015A (en) | Shared energy storage joint market trading system and method based on block chain | |
WO2019104250A1 (en) | Incrementally perfected digital asset collateral wallet | |
CN109087190A (en) | A kind of financing loan method and apparatus | |
CN111401619B (en) | Purchasing order processing method and device, electronic equipment and storage medium | |
US20030041002A1 (en) | Method and system for conducting an auction for electricity markets | |
CN103020816A (en) | Online virtual currency third-party credit method and data processing system thereof | |
CN110009485A (en) | A kind of digital asset payment and settlement method based on block chain technology | |
WO2019040712A1 (en) | Method and system for a decentralized marketplace auction | |
CN109523075B (en) | Charging station charging right optimal configuration system based on block chain intelligent contract | |
US20190318425A1 (en) | Energy future token platform | |
US20220188781A1 (en) | Systems and methods for efficient electronic token ecosystems | |
TWI803646B (en) | Business processing method and device, electronic device | |
JP6923541B2 (en) | Sales profit distribution system and method | |
CN106817401A (en) | A kind of resource allocation method in cloud environment | |
CN106506607A (en) | Cloud computing resources distribution method based on fair credible two way auction mechanism | |
CN113643131A (en) | Microgrid distributed energy trading method and system based on block chain | |
JP6830960B2 (en) | Product sales promotion system and method using sales revenue distribution based on successful events | |
JP2019139297A (en) | Program, information processing device, information processing method and manufacturing method | |
CN106780019A (en) | A kind of transaction index preparation method, device and the system of transaction system of classifying | |
CN112634055A (en) | Enterprise power utilization capacity equity transaction method based on block chain | |
CN112418854A (en) | Energy-saving certificate management method based on block chain technology | |
Lan et al. | Optimal portfolio design of energy storage devices with financial and physical right market | |
Csercsik | Convex combinatorial auction of pipeline network capacities | |
CN114881639A (en) | Multi-stage prepayment transaction method, system and storage medium based on block chain |
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 |