CN115936865A - Electric power transaction method and device and electronic equipment - Google Patents

Electric power transaction method and device and electronic equipment Download PDF

Info

Publication number
CN115936865A
CN115936865A CN202211415635.9A CN202211415635A CN115936865A CN 115936865 A CN115936865 A CN 115936865A CN 202211415635 A CN202211415635 A CN 202211415635A CN 115936865 A CN115936865 A CN 115936865A
Authority
CN
China
Prior art keywords
electricity
purchasing
power
selling
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211415635.9A
Other languages
Chinese (zh)
Inventor
林志法
赵贺
孙钦斐
侯宇程
王诜
王瀚秋
李干
柴志超
曹昕
陈平
肖万芳
王立永
李香龙
潘鸣宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
State Grid Beijing Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Beijing Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, State Grid Beijing Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202211415635.9A priority Critical patent/CN115936865A/en
Publication of CN115936865A publication Critical patent/CN115936865A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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

Abstract

The invention discloses a power transaction method, a power transaction device and electronic equipment. Wherein, the method comprises the following steps: determining a plurality of pieces of electricity selling information and a plurality of pieces of electricity purchasing information in the electricity trading system; according to the electricity selling prices in the electricity selling information, sequencing the electricity selling information in a descending order to obtain electricity selling sequence information, and sequencing the electricity purchasing information in a descending order according to the electricity purchasing prices in the electricity purchasing information to obtain electricity purchasing sequence information; matching the electricity purchasing party in the electricity purchasing sequence information with the electricity selling party in the electricity selling sequence information to obtain a first matching transaction group; and determining the transaction information of the first matching transaction group, so that the electricity selling party and the electricity purchasing party in the first matching transaction group carry out transaction according to the transaction information. The invention solves the technical problem of poor user experience caused by difficulty in realizing self-adaptive scheduling of price when power transaction is carried out in the related technology.

Description

Electric power transaction method and device and electronic equipment
Technical Field
The invention relates to the field of electric power transaction, in particular to an electric power transaction method, an electric power transaction device and electronic equipment.
Background
Distributed photovoltaic power stations are one of the main new energy power generation modes at present, and are mainly characterized by more distributed photovoltaic power stations, more owners and small monomer scale. The generated energy of the distributed photovoltaic is mainly traded in a mode of meeting the own power consumption requirement and then surfing the internet by the residual power. The produced electrical energy of the distributed photovoltaic power plant can be sold to an agent or to a grid company or other users in the area. For the transaction among users in a platform area, the transaction is called as distributed transaction, because the true transaction result has many-to-many complex conditions as the quoted electricity quantity has deviation, the prices of different transaction contracts are different, and the price is difficult to realize self-adaptive scheduling.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a power transaction method, a device and electronic equipment, which at least solve the technical problems that self-adaptive scheduling of prices is difficult to realize and user experience is poor when power transaction is carried out in the related technology.
According to an aspect of an embodiment of the present invention, there is provided a power transaction method, including: determining a plurality of pieces of electricity selling information and a plurality of pieces of electricity purchasing information in an electric power transaction system, wherein each piece of electricity selling information in the plurality of pieces of electricity selling information comprises an electricity selling party, an electricity selling price and electricity selling electric quantity, and each piece of electricity purchasing information in the plurality of pieces of electricity purchasing information comprises an electricity purchasing party, an electricity purchasing price and electricity purchasing electric quantity; according to the electricity selling prices in the electricity selling information, the electricity selling information is sorted from small to large to obtain electricity selling sequence information, and according to the electricity purchasing prices in the electricity purchasing information, the electricity purchasing information is sorted from large to small to obtain electricity purchasing sequence information; matching the electricity purchasing party in the electricity purchasing sequence information with the electricity selling party in the electricity selling sequence information to obtain a first matching transaction group, wherein the first matching transaction group comprises one electricity purchasing party and at least one electricity selling party corresponding to the one electricity purchasing party; and determining the transaction information of the first matching transaction group so that the electricity selling party and the electricity purchasing party in the first matching transaction group carry out transaction according to the transaction information.
Optionally, the matching the electricity purchasing party in the electricity purchasing sequence information with the electricity selling party in the electricity selling sequence information to obtain a first matching transaction group includes: and matching the power selling party in the power selling sequence information with the power purchasing party in the power purchasing sequence information, and when the power selling electric quantity of the first power selling party arranged in the power selling sequence information is more than or equal to the power purchasing electric quantity of the first power purchasing party arranged in the power purchasing sequence information, determining that the first power selling party arranged in the power selling sequence information and the first power purchasing party arranged in the power purchasing sequence information form the first matching transaction group.
Optionally, the matching the electricity purchasing party in the electricity purchasing sequence information with the electricity selling party in the electricity selling sequence information to obtain a first matching transaction group includes: and matching the power selling parties in the power selling sequence information with the power purchasing parties in the power purchasing sequence information, determining the power selling electric quantities of the power selling parties arranged in the first and second order in the power selling sequence information when the power selling electric quantity of the first power selling party arranged in the power selling sequence information is less than the power purchasing electric quantity of the first power purchasing party arranged in the power purchasing sequence information, and determining that the power selling parties arranged in the first and second order and the power purchasing parties arranged in the power purchasing sequence information form the first matching transaction group when the power selling electric quantity of the first and second order in the power selling sequence information is more than or equal to the power purchasing electric quantity of the first power purchasing party arranged in the power purchasing sequence information, wherein the first matching transaction group comprises a first sub-matching transaction group and a second sub-matching transaction group.
Optionally, the determining the transaction information of the first matching transaction group includes: under the condition that the first matching transaction group comprises a first sub-matching transaction group and a second sub-matching transaction group, the transaction information comprises a first transaction price corresponding to the first sub-matching transaction group and a second transaction price corresponding to the second sub-matching transaction group, the electricity selling price of the electricity selling party in the first sub-matching transaction group and the electricity purchasing price of the electricity purchasing party in the first sub-matching transaction group are determined, and the electricity selling price of the electricity selling party in the second sub-matching transaction group and the electricity purchasing price of the electricity purchasing party in the second sub-matching transaction group are determined; and determining the average value of the electricity selling price of the electricity selling party in the first sub-matching transaction group and the electricity purchasing price of the electricity purchasing party in the first sub-matching transaction group as the first transaction price, and the average value of the electricity selling price of the electricity selling party in the second sub-matching transaction group and the electricity purchasing price of the electricity purchasing party in the second sub-matching transaction group as the second transaction price.
Optionally, after the matching the power purchasing party in the power purchasing sequence information with the power selling party in the power selling sequence information to obtain a first matching transaction group, the method further includes: and determining a second matching transaction group, wherein the second matching transaction group comprises the power purchasing party with the second arrangement in the power purchasing sequence information and the power selling party corresponding to the power purchasing party with the second arrangement in the power purchasing sequence information.
Optionally, before determining the plurality of pieces of electricity selling information and the plurality of pieces of electricity purchasing information in the electricity transaction system, the method further includes: acquiring a plurality of pieces of initial electricity selling information and a plurality of pieces of initial electricity purchasing information in the electric power transaction system; and screening out initial electricity selling information of which the electricity selling price is larger than a first preset threshold value to obtain the plurality of pieces of electricity selling information under the condition that the electricity selling price in the initial electricity selling information is larger than the first preset threshold value, and screening out initial electricity purchasing information of which the electricity purchasing price is smaller than a second preset threshold value to obtain the plurality of pieces of electricity purchasing information under the condition that the electricity purchasing price in the initial electricity purchasing information is smaller than the second preset threshold value.
Optionally, after the matching of the electricity purchasing party in the electricity purchasing sequence information and the electricity selling party in the electricity selling sequence information to obtain a first matching transaction group, the method further includes: determining a plurality of groups of matching schemes, wherein each group of matching schemes in the plurality of groups of matching schemes comprises the first matching transaction group and the remaining matching transaction groups, and the plurality of groups of matching schemes comprise a scheme that the first matching transaction group is successfully matched and a scheme that the first matching transaction group is failed to be matched.
According to an aspect of an embodiment of the present invention, there is provided an electric power transaction apparatus including: the first determining module is used for determining a plurality of pieces of electricity selling information and a plurality of pieces of electricity purchasing information in the electric power transaction system, wherein each piece of electricity selling information in the plurality of pieces of electricity selling information comprises an electricity selling party, an electricity selling price and electricity selling electric quantity, and each piece of electricity purchasing information in the plurality of pieces of electricity purchasing information comprises an electricity purchasing party, an electricity purchasing price and electricity purchasing electric quantity; the sorting module is used for sorting the plurality of pieces of electricity selling information from small to large according to the electricity selling prices in the plurality of pieces of electricity selling information to obtain electricity selling sequence information, and sorting the plurality of pieces of electricity purchasing information from large to small according to the electricity purchasing prices in the plurality of pieces of electricity purchasing information to obtain electricity purchasing sequence information; the matching module is used for matching the electricity purchasing party in the electricity purchasing sequence information with the electricity selling party in the electricity selling sequence information to obtain a first matching transaction group, wherein the first matching transaction group comprises one electricity purchasing party and at least one electricity selling party corresponding to the one electricity purchasing party; and the second determining module is used for determining the transaction information of the first matching transaction group so as to enable the electricity selling party and the electricity purchasing party in the first matching transaction group to carry out transaction according to the transaction information.
According to an aspect of an embodiment of the present invention, there is provided an electronic apparatus including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the power trading method of any of the above.
According to an aspect of an embodiment of the present invention, there is provided a computer-readable storage medium, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform any one of the above-described power transaction methods.
In the embodiment of the invention, a plurality of pieces of electricity selling information and a plurality of pieces of electricity purchasing information in an electric power transaction system are determined, wherein each piece of electricity selling information in the plurality of pieces of electricity selling information comprises an electricity selling party, an electricity selling price and an electricity selling electric quantity, and each piece of electricity purchasing information in the plurality of pieces of electricity purchasing information comprises an electricity purchasing party, an electricity purchasing price and an electricity purchasing electric quantity, so that the plurality of pieces of electricity selling information are sequenced from small to large according to the electricity selling prices in the plurality of pieces of electricity selling information to obtain electricity selling sequence information, and the electricity purchasing information is sequenced from large to small according to the electricity purchasing prices in the plurality of pieces of electricity purchasing information to obtain a first matching transaction group after two sets of sequence information are obtained, wherein the first matching transaction group comprises one electricity purchasing party and at least one electricity purchasing party corresponding to one electricity purchasing party so as to realize self-adaptive matching, then the matching information of the first matching transaction group is determined, so that the electricity purchasing party in the first matching transaction group and the at least one electricity purchasing party corresponding to the electricity purchasing party are difficult to carry out self-adaptive transaction according to the electric power transaction technology, thereby realizing the self-adaptive problem of the related transaction technology.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of power trading according to an embodiment of the present invention;
fig. 2 is a block diagram of a structure of a power transaction apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a method of power trading, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 1 is a flowchart of a power transaction method according to an embodiment of the present invention, as shown in fig. 1, the method includes the steps of:
step S102, determining a plurality of pieces of electricity selling information and a plurality of pieces of electricity purchasing information in the electricity trading system, wherein each piece of electricity selling information in the plurality of pieces of electricity selling information comprises an electricity selling party, an electricity selling price and electricity selling quantity, and each piece of electricity purchasing information in the plurality of pieces of electricity purchasing information comprises an electricity purchasing party, an electricity purchasing price and electricity purchasing quantity;
step S104, sequencing the plurality of pieces of electricity selling information from small to large according to the electricity selling prices in the plurality of pieces of electricity selling information to obtain electricity selling sequence information, and sequencing the plurality of pieces of electricity purchasing information from large to small according to the electricity purchasing prices in the plurality of pieces of electricity purchasing information to obtain electricity purchasing sequence information;
step S106, matching the electricity purchasing party in the electricity purchasing sequence information with the electricity selling party in the electricity selling sequence information to obtain a first matching transaction group, wherein the first matching transaction group comprises one electricity purchasing party and at least one electricity selling party corresponding to the one electricity purchasing party;
in step S106 provided in the present application, after the power purchasing party in the power purchasing sequence information and the power selling party in the power selling sequence information are completely matched, a number of matching transaction groups of the power purchasing parties can be obtained, according to a priority matching principle, a first matching transaction group is determined, and then subsequent steps are performed to ensure the ordering of the matching process.
Step S108, determining the transaction information of the first matching transaction group, so that the electricity selling party and the electricity purchasing party in the first matching transaction group conduct transaction according to the transaction information.
Through the steps, a plurality of pieces of electricity selling information and a plurality of pieces of electricity purchasing information in the electric power transaction system are determined, wherein each piece of electricity selling information in the plurality of pieces of electricity selling information comprises an electricity selling party, an electricity selling price and electricity selling electric quantity, and each piece of electricity purchasing information in the plurality of pieces of electricity purchasing information comprises an electricity purchasing party, an electricity purchasing price and an electricity purchasing electric quantity, so that the plurality of pieces of electricity selling information are sorted according to the electricity selling price in the plurality of pieces of electricity selling information from small to large to obtain electricity selling sequence information, the electricity purchasing sequence information is obtained according to the electricity purchasing price in the plurality of pieces of electricity purchasing information, after two sets of sequence information are obtained, the electricity purchasing party in the electricity purchasing sequence information and the electricity selling party in the electricity selling sequence information are matched to obtain a first matching transaction group, wherein the first matching transaction group comprises one electricity purchasing party and at least one electricity purchasing party corresponding to one electricity purchasing party to realize self-adaptive matching, the transaction information of the first matching transaction group is determined, the electricity purchasing party in the first matching transaction group is matched with the electricity purchasing party, and the electricity purchasing price is difficult to realize self-adaptive transaction problem of the user.
As an alternative embodiment, matching the electricity purchasing party in the electricity purchasing sequence information with the electricity selling party in the electricity selling sequence information to obtain a first matching transaction group, including: and matching the power selling parties in the power selling sequence information with the power purchasing parties in the power purchasing sequence information, and determining that the first power selling party arranged in the power selling sequence information and the first power purchasing party arranged in the power purchasing sequence information form a first matching transaction group when the power selling electric quantity of the first power selling party arranged in the power selling sequence information is more than or equal to the power purchasing electric quantity of the first power purchasing party arranged in the power purchasing sequence information.
In this embodiment, when the electricity selling amount of the first electricity selling party arranged in the electricity selling sequence information can meet the demand of the first electricity purchasing party arranged in the electricity purchasing sequence information, the first electricity selling party arranged in the electricity selling sequence information and the first electricity purchasing party arranged in the electricity purchasing sequence information may be combined into a matching group, and then the step of determining the transaction information may be performed.
As an alternative embodiment, matching the electricity purchasing party in the electricity purchasing sequence information with the electricity selling party in the electricity selling sequence information to obtain a first matching transaction group, including: the power selling parties in the power selling sequence information and the power purchasing parties in the power purchasing sequence information are matched, when the power selling electric quantity of the first power selling party arranged in the power selling sequence information is smaller than the power purchasing electric quantity of the first power purchasing party arranged in the power purchasing sequence information, the power selling electric quantities of the first power selling party and the second power selling party arranged in the power selling sequence information are determined, when the power selling electric quantity of the first power selling party and the second power selling party arranged in the power selling sequence information is larger than or equal to the power purchasing electric quantity of the first power purchasing party arranged in the power purchasing sequence information, the first power selling party arranged in the power selling sequence information and the first power purchasing party arranged in the power purchasing sequence information are determined to form a first matching transaction group, wherein the first matching transaction group comprises a first sub-matching transaction group and a second sub-matching transaction group.
The first sub-matching transaction group consists of a first power selling party arranged in the power selling sequence information and a first power purchasing party arranged in the power purchasing sequence information, and the first sub-matching transaction group consists of a second power selling party arranged in the power selling sequence information and a first power purchasing party arranged in the power purchasing sequence information.
In this embodiment, when the electricity selling quantity of the first electricity selling party arranged in the electricity selling sequence information cannot meet the first electricity purchasing party arranged in the electricity purchasing sequence information, the electricity selling quantity of the second electricity selling party needs to be arranged in the electricity selling sequence information, when the electricity selling quantities of the two parties can meet the first electricity purchasing party arranged in the electricity purchasing sequence information, the first and second electricity selling parties arranged in the electricity selling sequence information and the first electricity purchasing party arranged in the electricity purchasing sequence information can be combined into a matching group, and when the first electricity purchasing party arranged in the electricity purchasing sequence information cannot be met by the two parties, the third and fourth electricity purchasing parties can be sequentially added in sequence to ensure that the first electricity purchasing party arranged in the electricity purchasing sequence information can be met, so as to form a first matching transaction group.
As an alternative embodiment, determining transaction information for the first matching transaction group includes: under the condition that the first matching transaction group comprises a first sub-matching transaction group and a second sub-matching transaction group, and the transaction information comprises a first transaction price corresponding to the first sub-matching transaction group and a second transaction price corresponding to the second sub-matching transaction group, determining the electricity selling price of the electricity selling party in the first sub-matching transaction group and the electricity purchasing price of the electricity purchasing party in the first sub-matching transaction group, and determining the electricity selling price of the electricity selling party in the second sub-matching transaction group and the electricity purchasing price of the electricity purchasing party in the second sub-matching transaction group; and determining the average value of the electricity selling price of the electricity selling party in the first sub-matching transaction group and the electricity purchasing price of the electricity purchasing party in the first sub-matching transaction group as a first transaction price, and determining the average value of the electricity selling price of the electricity selling party in the second sub-matching transaction group and the electricity purchasing price of the electricity purchasing party in the second sub-matching transaction group as a second transaction price.
In this embodiment, the trade price is determined by means of an average value, which is relatively fair for both the electricity seller and the electricity purchaser, so that a reasonable price distribution system can be determined.
As an optional embodiment, after the matching the power purchasing party in the power purchasing sequence information with the power selling party in the power selling sequence information to obtain the first matching transaction group, the method further includes: and determining a second matching transaction group, wherein the second matching transaction group comprises the power purchasing party with the second arrangement in the power purchasing sequence information and the power selling party corresponding to the power purchasing party with the second arrangement in the power purchasing sequence information.
In this embodiment, all the electricity purchasing parties are matched with the electricity selling parties, so as to implement the electricity transaction process in the electricity transaction system and ensure that the electricity transaction in the electricity transaction system is reasonably and orderly carried out.
As an optional embodiment, before determining the plurality of pieces of electricity selling information and the plurality of pieces of electricity purchasing information in the electricity trading system, the method further comprises: acquiring a plurality of pieces of initial electricity selling information and a plurality of pieces of initial electricity purchasing information in an electric power transaction system; and under the condition that the electricity selling price in the initial electricity selling information is larger than a first preset threshold value, screening out the initial electricity selling information of which the electricity selling price is larger than the first preset threshold value to obtain a plurality of pieces of electricity selling information, and under the condition that the electricity purchasing price in the initial electricity purchasing information is smaller than a second preset threshold value, screening out the initial electricity purchasing information of which the electricity purchasing price is smaller than the second preset threshold value to obtain a plurality of pieces of electricity purchasing information.
In this embodiment, prices that are not reasonable for price placement and that disrupt market order are timely cleared from the screeners to ensure the rationality of the entire transaction.
As an optional embodiment, after the matching the power purchasing party in the power purchasing sequence information with the power selling party in the power selling sequence information to obtain the first matching transaction group, the method further includes: and determining a plurality of groups of matching schemes, wherein each group of matching schemes in the plurality of groups of matching schemes comprises a first matching transaction group and the remaining matching transaction groups, and the plurality of groups of matching schemes comprise a scheme that the first matching transaction group is successfully matched and a scheme that the first matching transaction group is failed to be matched.
In the embodiment, namely, the application only makes a matching strategy, and both transaction parties have the right of rejecting the transaction, so that the application also considers the possible actions of rejecting the transaction after the transaction prices are seen by both parties, and makes various matching schemes, so that the matching is reasonable and ordered after both the buyer and the seller reject the transaction.
It should be noted that, the above information processing process can realize the recording of the quotation information and the trade contract through the block chain technology. In the transaction process, the prices of the buyer and the seller are encrypted in a block chain manner, so that the reliability and the non-tamper property of transaction information are ensured, the trust of a user on the transaction is established, and the enthusiasm of the user on the transaction is improved.
Based on the above embodiment and the optional embodiments, an electric power transaction method is provided in the optional embodiments of the present invention, and the optional embodiments of the present invention are explained below.
S1, acquiring a plurality of pieces of initial electricity selling information and a plurality of pieces of initial electricity purchasing information in the electricity trading system, such as electricity selling users S1-S10, electricity purchasing users B1-B10, corresponding trading electricity quantity and trading electricity price.
And S2, determining whether invalid quotation information exists in the plurality of pieces of initial electricity selling information and the plurality of pieces of initial electricity purchasing information, and if so, rejecting information corresponding to the invalid quotation, wherein the invalid quotation refers to that the quotation of the user with changed quotation attributes is invalid, for example, the quotation is converted from an electricity selling party to an electricity purchasing party or from the electricity purchasing party to the electricity selling party.
And S3, screening out the initial electricity selling information of which the electricity selling price is greater than a first preset threshold value under the condition that the electricity selling price in the initial electricity selling information is greater than the first preset threshold value to obtain a plurality of pieces of electricity selling information, and screening out the initial electricity purchasing information of which the electricity purchasing price is less than a second preset threshold value under the condition that the electricity purchasing price in the initial electricity purchasing information is less than the second preset threshold value to obtain a plurality of pieces of electricity purchasing information.
If the statistics are finished: the valid quotation messages are S1-S5 and the invalid quotation messages of B1-B5 are S6-S10 and B6-B10.
And S4, sequencing the plurality of pieces of electricity selling information from small to large according to the electricity selling prices in the plurality of pieces of electricity selling information to obtain electricity selling sequence information, and sequencing the plurality of pieces of electricity purchasing information from large to small according to the electricity purchasing prices in the plurality of pieces of electricity purchasing information to obtain electricity purchasing sequence information.
For example, the system has 4 electricity selling users (S1-S4) and 4 electricity purchasing users (B1-B4), respectively, table 1 shows electricity selling sequence information and electricity purchasing sequence information, and the electricity selling sequence information and the electricity purchasing sequence information in a specified time period are shown in table 1 below:
TABLE 1
Electricity selling user Price of electricity selling Electricity selling quantity Electricity purchasing user Price of electricity purchase Electric quantity for purchasing electricity
S1 Ps1 Qs1 B1 Pb1 Qb1
S2 Ps2 Qs2 B2 Pb2 Qb2
S3 Ps3 Qs3 B3 Pb3 Qb3
S4 Ps4 Qs4 B4 Pb4 Qb4
The system sorts the prices according to the quoted prices of users, the electricity selling prices are sorted from low to high, the electricity purchasing prices are sorted from high to low, the quoted prices of the electricity selling users are Ps1-Ps4 (Ps 1 is the lowest price), and the expected electricity selling quantity is Qs1-Qs4. The unit price of the electricity purchasing user is Pb1-Pb4 (Pb 1 is the highest price), and the corresponding electricity selling quantity is Qb1-Qb4.
And S5, matching the power purchasing party in the power purchasing sequence information with the power selling party in the power selling sequence information to obtain a first matching transaction group.
During matching, sequential matching can be carried out according to two sequences according to the principle that the low price of electricity sold has priority matching right and the high price of electricity purchased has priority matching.
For example, the B1 user is matched with the S1 user preferentially, and when the S1 user has surplus electricity sold, the B1 user is matched with the B2 user in sequence. And when the user S1 does not meet the power consumption requirement of the user B1, continuing to match with the user S2 until all matching is completed.
And S6, determining the transaction information of the first matching transaction group.
Matching prices can be performed according to an average of the electricity purchase price and the electricity sale price, such as a transaction price = (Ps 1+ Pb 1)/2 for B1 and S1 customers.
It should be noted that, if the matching condition is not satisfied, the electric power transaction is not performed, and the electric power is purchased and sold from the power grid company or the electric power selling company. The method adopts a double auction method to realize the matching of the trade, the quotation and the bidding period are carried out according to hours (each hour has the power buyer and the selling price to make a trade), and if the user does not adjust the price, the last quotation information is continued. The user can adjust the daily quotation at any time before 23 o' clock on the day, and the quotation information stored at the last time point is used as a transaction quotation voucher on the day, and so on.
It should be noted that the reliability and safety of the transaction information are ensured and the enthusiasm of the user transaction is indirectly increased by chain setting of the block chain of the information such as the electricity selling party quoted price, the electricity quantity quoted by the electricity selling party, the electricity quantity quoted by the electricity purchasing party, the transaction electricity quantity, the transaction price, the transaction contract number, the transaction time and the like in the transaction between the users.
Through the above alternative embodiment, at least the following advantages can be achieved:
(1) The method for the simultaneous quotation of both buyers and sellers. The electricity purchasing party and the electricity selling party quote the quoted prices of the second day according to the hour period, the trading price can not be modified after the second day, namely the quoted prices of the second day are adjusted on the same day, and the advantage of doing so is that the enthusiasm of fair trading and autonomous trading is ensured for the buyer and the seller.
(2) And realizing the account book record of the quotation information and the transaction contract through a block chain technology. In the transaction process, the block chain encryption is carried out on the prices of the buyer and the seller, the reliability and the non-tamper property of transaction information are ensured, the trust of a user on the transaction is established, and the enthusiasm of the user on the transaction is improved.
(3) The double-sequencing method carries out transaction priority configuration according to the price quoted by the user, thereby facilitating the matching of transactions. The invention adopts a user invisible double auction method to match prices, the system has upper and lower limit values of prices when the users fill in quotations, and the users can not fill in prices exceeding the limit values when filling in quotations. And after the user finishes the quotation, respectively sequencing the electricity selling party and the electricity purchasing party. And ordering the quoted prices of the power selling parties from low to high, wherein the lower the quoted price is, the higher the transaction priority is. And similarly, the quotations of the power buyers are ranked from high to low, and the higher the quotation is, the higher the transaction priority is. The users with the highest matching priority can match when the price quoted by the electricity selling party is not more than that of the electricity purchasing party, and the requirements of both parties on the transaction price quoted are met.
(4) In the context of power-selling side opening, where each participant is a potential supplier or consumer, one-way auctions have not been suitable for multi-master decentralized systems when agents prefer to maintain their privacy rather than exposing their power usage preferences to a central administrator that can optimize overall system status. In this case, the two-way auction theory is advocated as one of the main methods of building such a system. In a two-way auction, multiple buyers and sellers exist in a competitive market. In this case, the bidding agents (the electricity purchasing side and the electricity selling side) directly negotiate resource exchange therebetween as shown in the following figure. Each electricity purchasing party can freely try to trade with any electricity selling party, and the experience of the user is improved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
According to an embodiment of the present invention, there is also provided an apparatus for implementing the above power transaction method, and fig. 2 is a block diagram of a structure of the power transaction apparatus according to the embodiment of the present invention, as shown in fig. 2, the apparatus includes: a first determination module 202, a ranking module 204, a matching module 206, and a second determination module 208, which are described in detail below.
The first determining module 202 is configured to determine multiple pieces of electricity selling information and multiple pieces of electricity purchasing information in the power transaction system, where each piece of electricity selling information in the multiple pieces of electricity selling information includes an electricity selling party, an electricity selling price and an electricity selling electric quantity, and each piece of electricity purchasing information in the multiple pieces of electricity purchasing information includes an electricity purchasing party, an electricity purchasing price and an electricity purchasing electric quantity; a sorting module 204, connected to the first determining module 202, configured to sort the multiple pieces of electricity selling information in a descending order according to the electricity selling price in the multiple pieces of electricity selling information to obtain electricity selling sequence information, and sort the multiple pieces of electricity purchasing information in a descending order according to the electricity purchasing price in the multiple pieces of electricity purchasing information to obtain electricity purchasing sequence information; a matching module 206, connected to the sorting module 204, for matching the electricity purchasing party in the electricity purchasing sequence information with the electricity selling party in the electricity selling sequence information to obtain a first matching transaction group, where the first matching transaction group includes one electricity purchasing party and at least one electricity selling party corresponding to the one electricity purchasing party; the second determining module 208 is connected to the matching module 206, and configured to determine the transaction information of the first matching transaction group, so that the electricity selling party and the electricity purchasing party in the first matching transaction group perform transactions according to the transaction information.
It should be noted here that the first determining module 202, the sorting module 204, the matching module 206 and the second determining module 208 correspond to steps S102 to S108 in the method for implementing power transaction, and the modules are the same as the corresponding steps in the implementation example and application scenario, but are not limited to the disclosure in embodiment 1.
Example 3
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including: a processor; a memory for storing processor executable instructions, wherein the processor is configured to execute the instructions to implement the power trading method of any of the above.
Example 4
According to another aspect of an embodiment of the present invention, there is also provided a computer-readable storage medium, where instructions of the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform any one of the above power transaction methods.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described in detail in a certain embodiment.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is substantially or partly contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
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.

Claims (10)

1. An electric power transaction method, comprising:
determining a plurality of pieces of electricity selling information and a plurality of pieces of electricity purchasing information in an electric power transaction system, wherein each piece of electricity selling information in the plurality of pieces of electricity selling information comprises an electricity selling party, an electricity selling price and electricity selling electric quantity, and each piece of electricity purchasing information in the plurality of pieces of electricity purchasing information comprises an electricity purchasing party, an electricity purchasing price and electricity purchasing electric quantity;
according to the electricity selling prices in the electricity selling information, the electricity selling information is sorted from small to large to obtain electricity selling sequence information, and according to the electricity purchasing prices in the electricity purchasing information, the electricity purchasing information is sorted from large to small to obtain electricity purchasing sequence information;
matching the electricity purchasing party in the electricity purchasing sequence information with the electricity selling party in the electricity selling sequence information to obtain a first matching transaction group, wherein the first matching transaction group comprises one electricity purchasing party and at least one electricity selling party corresponding to the one electricity purchasing party;
and determining the transaction information of the first matching transaction group so that the electricity selling party and the electricity purchasing party in the first matching transaction group carry out transaction according to the transaction information.
2. The method of claim 1, wherein the matching the power buyer in the power purchase sequence information with the power seller in the power sale sequence information to obtain a first matching transaction group comprises:
and matching the power selling party in the power selling sequence information with the power purchasing party in the power purchasing sequence information, and when the power selling electric quantity of the first power selling party arranged in the power selling sequence information is more than or equal to the power purchasing electric quantity of the first power purchasing party arranged in the power purchasing sequence information, determining that the first power selling party arranged in the power selling sequence information and the first power purchasing party arranged in the power purchasing sequence information form the first matching transaction group.
3. The method of claim 1, wherein the matching the power buyer in the power purchase sequence information with the power seller in the power sale sequence information to obtain a first matching transaction group comprises:
and matching the power selling parties in the power selling sequence information with the power purchasing parties in the power purchasing sequence information, determining the power selling electric quantities of the power selling parties arranged in the first and second order in the power selling sequence information when the power selling electric quantity of the first power selling party arranged in the power selling sequence information is less than the power purchasing electric quantity of the first power purchasing party arranged in the power purchasing sequence information, and determining that the power selling parties arranged in the first and second order and the power purchasing parties arranged in the power purchasing sequence information form the first matching transaction group when the power selling electric quantity of the first and second order in the power selling sequence information is more than or equal to the power purchasing electric quantity of the first power purchasing party arranged in the power purchasing sequence information, wherein the first matching transaction group comprises a first sub-matching transaction group and a second sub-matching transaction group.
4. The method of claim 3, wherein determining the transaction information for the first matching transaction group comprises:
under the condition that the first matching transaction group comprises a first sub-matching transaction group and a second sub-matching transaction group, the transaction information comprises a first transaction price corresponding to the first sub-matching transaction group and a second transaction price corresponding to the second sub-matching transaction group, the electricity selling price of the electricity selling party in the first sub-matching transaction group and the electricity purchasing price of the electricity purchasing party in the first sub-matching transaction group are determined, and the electricity selling price of the electricity selling party in the second sub-matching transaction group and the electricity purchasing price of the electricity purchasing party in the second sub-matching transaction group are determined;
and determining that the average value of the electricity selling price of the electricity selling party in the first sub-matching transaction group and the electricity purchasing price of the electricity purchasing party in the first sub-matching transaction group is the first transaction price, and the average value of the electricity selling price of the electricity selling party in the second sub-matching transaction group and the electricity purchasing price of the electricity purchasing party in the second sub-matching transaction group is the second transaction price.
5. The method of claim 1, wherein the matching the power buyer in the power purchase sequence information with the power seller in the power sale sequence information to obtain a first matching transaction group further comprises:
and determining a second matching transaction group, wherein the second matching transaction group comprises the power purchasing party with the second arrangement in the power purchasing sequence information and the power selling party corresponding to the power purchasing party with the second arrangement in the power purchasing sequence information.
6. The method of claim 1, wherein before determining the plurality of pieces of electricity selling information and the plurality of pieces of electricity purchasing information in the electricity trading system, further comprising:
acquiring a plurality of pieces of initial electricity selling information and a plurality of pieces of initial electricity purchasing information in the electric power transaction system;
and screening out the initial electricity selling information of which the electricity selling price is larger than a first preset threshold value under the condition that the electricity selling price in the initial electricity selling information is larger than the first preset threshold value to obtain the plurality of pieces of electricity selling information, and screening out the initial electricity purchasing information of which the electricity purchasing price is smaller than a second preset threshold value under the condition that the electricity purchasing price in the initial electricity purchasing information is smaller than the second preset threshold value to obtain the plurality of pieces of electricity purchasing information.
7. The method of any one of claims 1 to 6, wherein the matching the power purchasing party in the power purchasing sequence information with the power selling party in the power selling sequence information further comprises, after obtaining a first matching transaction group:
determining a plurality of groups of matching schemes, wherein each group of matching schemes in the plurality of groups of matching schemes comprises the first matching transaction group and the remaining matching transaction groups, and the plurality of groups of matching schemes comprise a scheme that the first matching transaction group is successfully matched and a scheme that the first matching transaction group is failed to be matched.
8. An electric power transaction apparatus, comprising:
the first determining module is used for determining a plurality of pieces of electricity selling information and a plurality of pieces of electricity purchasing information in the electric power transaction system, wherein each piece of electricity selling information in the plurality of pieces of electricity selling information comprises an electricity selling party, an electricity selling price and electricity selling electric quantity, and each piece of electricity purchasing information in the plurality of pieces of electricity purchasing information comprises an electricity purchasing party, an electricity purchasing price and electricity purchasing electric quantity;
the sorting module is used for sorting the plurality of pieces of electricity selling information from small to large according to the electricity selling prices in the plurality of pieces of electricity selling information to obtain electricity selling sequence information, and sorting the plurality of pieces of electricity purchasing information from large to small according to the electricity purchasing prices in the plurality of pieces of electricity purchasing information to obtain electricity purchasing sequence information;
the matching module is used for matching the electricity purchasing party in the electricity purchasing sequence information with the electricity selling party in the electricity selling sequence information to obtain a first matching transaction group, wherein the first matching transaction group comprises one electricity purchasing party and at least one electricity selling party corresponding to the one electricity purchasing party;
and the second determining module is used for determining the transaction information of the first matching transaction group so as to enable the electricity selling party and the electricity purchasing party in the first matching transaction group to carry out transaction according to the transaction information.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the power trading method of any one of claims 1 to 7.
10. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the power trading method of any one of claims 1-7.
CN202211415635.9A 2022-11-11 2022-11-11 Electric power transaction method and device and electronic equipment Pending CN115936865A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211415635.9A CN115936865A (en) 2022-11-11 2022-11-11 Electric power transaction method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211415635.9A CN115936865A (en) 2022-11-11 2022-11-11 Electric power transaction method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN115936865A true CN115936865A (en) 2023-04-07

Family

ID=86556643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211415635.9A Pending CN115936865A (en) 2022-11-11 2022-11-11 Electric power transaction method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115936865A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117273870A (en) * 2023-11-22 2023-12-22 北京清众神州大数据有限公司 Auxiliary decision-making method, device, equipment and storage medium for electric power market transaction

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117273870A (en) * 2023-11-22 2023-12-22 北京清众神州大数据有限公司 Auxiliary decision-making method, device, equipment and storage medium for electric power market transaction

Similar Documents

Publication Publication Date Title
Baillo et al. Optimal offering strategies for generation companies operating in electricity spot markets
PankiRaj et al. An auction mechanism for profit maximization of peer-to-peer energy trading in smart grids
CN108921329B (en) Food transaction optimization matching method based on block chain technology
EP2940646A1 (en) Electricity trading system and service system provided with market
Fang et al. A double auction model for competitive generators and large consumers considering power transmission cost
KR20160115071A (en) Method and apparatus for trading energy
CN115936865A (en) Electric power transaction method and device and electronic equipment
CN112365119A (en) Distributed database support-based distributed transaction model for electric energy of power distribution network
CN106874107A (en) It is a kind of based on the thin cloud resource auction technique for purchasing by group in mobile cloud computing
CN114612243A (en) Green power certificate transaction method and system based on block chain
Tomak et al. Evolution of B2B marketplaces
US20140188695A1 (en) Electricity trading system and market providing type service system
CN110428309B (en) Differentiated purchasing method and device
CN107239966A (en) A kind of dynamic discounting method, apparatus and system
CN115034663A (en) Provincial electric power spot market clearing method, system, equipment and storage medium
CN113034227A (en) Power consumer transaction matching method and device
CN111343595A (en) D2D task unloading system and multi-type resource transaction method thereof
Teymouri et al. A continues double auction method for resource allocation in economic grids
Bansal et al. Simultaneous independent online auctions with discrete bid increments
Zhao et al. Towards incentive compatible auction mechanism for electric vehicles bidding in microgrids
CN110047005A (en) A kind of Futures information processing method and system
Bergman et al. On the natural selection of market choice
Yu et al. Optimal starting price for ebay-like online auctions
CN114529373B (en) Priority matching-based dynamic microgrid group P2P transaction method
KR102599544B1 (en) System and method for intermediating electric power transaction for peer-to-peer contract

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