P2P power utilization right transaction price optimization method
Through linear programming and AGV auction mechanism, the problem of unreasonable power rights transaction price design is solved, the rationality and adaptability of transaction prices are achieved, market order disruption is avoided, and transaction efficiency is improved.
Patent Information
- Application Number
- CN202410741249.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-10-08
AI Technical Summary
The electricity rights transaction price in the existing technology is unreasonably designed and lacks practicality, which leads to disruption of market order, unfair price competition and speculative psychology, and increases the cost of transaction entities.
The linear programming optimization method is used to determine the transaction subject based on the issuance of power rights of energy-using enterprises, calculate the quotation expectations through the AGV auction mechanism, construct a social welfare objective function, solve for the transaction amount of power rights, and ensure the rationality and flexibility of the transaction price. .
It achieves the rationality and practicality of transaction prices, adapts to different transaction demand for electricity rights, improves the economic benefits of transactions, and avoids disruption of market order and unfair competition.
Smart Images

Figure CN118747548A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric power market, and in particular to a method, device, equipment and readable storage medium for optimizing the price of P2P electricity right transaction. Background Art
[0002] Taking electric energy as the energy equivalent measurement standard, the core of energy usage right measurement and trading is concentrated on electric energy, which gives rise to the concept of electricity usage rights. After the electricity market matures, the price formation mechanism of electricity usage rights trading will gradually transition to being determined by bidding. Therefore, it is necessary to use reasonable electricity market ancillary services to optimize the transaction price of electricity usage rights. Electricity market ancillary services refer to the trading mechanism in which power generation enterprises, grid enterprises and users provide electricity ancillary services in the form of market-based transactions. In the P2P (peer-to-peer) transaction process, the trading mechanism needs to effectively utilize the electricity provided by producers, and requires all participants to disclose true information when bidding for resources, so that personal goals are consistent with social goals, and then a reasonable pricing plan is formulated.
[0003] At present, there have been many achievements in the research on auxiliary services for the electricity market; for example: the application document with the application publication number "CN115640886A" analyzes various types of transaction information of power sales companies and agent users, and constructs a power rights transaction decision model based on binary decision scalars and objective functions, realizing the transaction optimization of power sales companies' power rights. However, the neural network method is used to predict the transaction price, which is highly dependent on the historical power purchase and sales price data. If the sample size of the power purchase and sales price data is insufficient or the data fluctuates too much, it is easy to make the transaction price prediction result inconsistent with the actual situation and have no use value; the application document with the application publication number "CN115204704A" aims at the problem that the power rights transaction has a high requirement for the immediacy of transfer, and uses time period division to predict the transaction price. The time periods are divided into groups, and then matched separately in sequence according to the order of the time periods, which not only reduces the difficulty of transaction management but also improves transaction efficiency. However, the processing of transaction prices does not take into account the impact of uncertainty, which easily leads to the lack of practicality of the predicted results and the inability to immediately respond to changes in transaction prices caused by fluctuations in transaction volume due to potential uncertainty risks. The application document with application publication number "CN115131114A" uses blockchain to calculate the bids and bid quantities of buyers and sellers, and uses smart contracts to clear, match and verify the bid quantities, realizing the automated electricity rights transaction between buyers and sellers. However, the calculation of transaction prices lacks certain flexibility, resulting in the inability to respond to various emergencies. For example, when the demand for electricity rights suddenly increases, the design of the transaction price cannot adapt to the current situation.
[0004] In summary, the defects existing in the prior art are: strong dependence on historical transaction data; failure to consider the risk of uncertain transaction prices in the process of electricity rights trading; lack of flexibility in the calculation of transaction prices, resulting in unreasonable transaction price design and lack of practicality, which in turn leads to increased costs for some trading entities during the transaction process. At the same time, it will cause some trading entities to have a speculative mentality, take advantage of transaction price loopholes, and increase their own profits by unreasonable means, which will ultimately lead to the risk of disrupting market order, triggering prices and unfair competition. Summary of the invention
[0005] To this end, the technical problem to be solved by the present invention is to overcome the risks caused by market disorder, price and unfair competition due to unreasonable transaction price design and lack of practicality in the prior art.
[0006] In order to solve the above technical problems, the present invention provides a P2P electricity right transaction price optimization method, comprising:
[0007] According to the issuance of electricity rights of each energy-consuming enterprise, determine each transaction subject in the tth transaction period in the P2P transaction;
[0008] Based on the transfer payments, trading electricity rights and quotations of each trading entity in the tth trading period, the welfare of each trading entity in the tth trading period is determined; according to the number of buyers and sellers in the tth trading period, combined with the welfare of each trading entity in the tth trading period, the social welfare objective function in the tth trading period is established;
[0009] Construct the constraints on the trading power usage rights;
[0010] According to the constraints on trading electricity consumption rights, the trading electricity consumption rights of each trading entity when the social welfare objective function is maximum in the t-th trading period are solved; based on the solved trading electricity consumption rights of each trading entity in the t-th trading period, combined with the transfer payments of each trading entity in the t-th trading period, the transaction amount corresponding to the trading electricity consumption rights of each trading entity in the t-th trading period is obtained.
[0011] Preferably, the step of determining each transaction subject in the tth transaction period in the P2P transaction according to the issuance of the electricity use rights of each energy-consuming enterprise includes:
[0012] According to the conversion coefficients corresponding to various energy sources, the equivalent electricity corresponding to various energy sources in each energy-consuming enterprise is calculated; during the statistical period, according to the equivalent electricity corresponding to all energy consumed by each energy-consuming enterprise and the equivalent electricity corresponding to all energy output by each energy-consuming enterprise, the accounting electricity of each energy-consuming enterprise is calculated;
[0013] The benchmark value method is used to determine the electricity rights issuance index of each energy-consuming enterprise; if the electricity rights issuance index of any energy-consuming enterprise is greater than its calculated electricity volume, then the current energy-consuming enterprise has a surplus in the electricity rights issuance index, and the current energy-consuming enterprise is determined to be the seller in the P2P transaction; if the electricity rights issuance index of any energy-consuming enterprise is less than its calculated electricity volume, then there is a gap in the electricity rights issuance index of the current energy-consuming enterprise, and the current energy-consuming enterprise is determined to be the buyer in the P2P transaction; if the electricity rights issuance index of any energy-consuming enterprise is equal to its calculated electricity volume, the current energy-consuming enterprise does not participate in the P2P transaction;
[0014] The buyers and sellers participating in P2P transactions are regarded as the transaction subjects in P2P transactions, and the transaction subjects in the tth transaction period are determined.
[0015] Preferably, the equivalent electric quantity corresponding to various energy sources in each energy-consuming enterprise is calculated according to the conversion coefficients corresponding to various energy sources, including:
[0016] The conversion coefficient of the ath energy source η a The expression is:
[0017]
[0018] Among them, Q a Indicates the heat contained in the a-th energy unit quantity; Q e represents the heat contained in a unit of electrical energy; K represents the proportion of externality cost to total cost; T a represents the temperature when the a-th energy source does work externally; T 0 Indicates the ambient temperature;
[0019] The equivalent electricity quantity corresponding to the a-th energy in the m-th energy-consuming enterprise The expression is:
[0020]
[0021] in, Represents the consumption of the ath energy in the mth energy-consuming enterprise.
[0022] Preferably, the accounting power of each energy-consuming enterprise is calculated according to the equivalent power sum corresponding to all energy consumed by each energy-consuming enterprise and the equivalent power sum corresponding to various energy sources output by each energy-consuming enterprise during the statistical period, and includes:
[0023] The sum of the equivalent electricity consumption of all energy consumed by the mth energy-consuming enterprise during the statistical period The expression is:
[0024]
[0025] in, Indicates the input power; It represents the equivalent electric energy after conversion of the input fossil energy. e b represents the amount of the bth fossil fuel input, k b represents the discount factor of the bth fossil fuel; It indicates the equivalent electrical energy after the input thermal energy is converted. e H represents the input heat, k H Indicates the heat reduction coefficient;
[0026] The sum of equivalent electricity output of various energies corresponding to the mth energy-consuming enterprise during the statistical period The expression is:
[0027]
[0028] in, Indicates the output power; Indicates the equivalent electrical energy converted from the output thermal energy; Indicates the equivalent electrical energy converted from the output thermal energy; It represents the sum of equivalent electric quantity converted from all energies except for equivalent electric quantity converted from electric quantity and thermal energy.
[0029] During the statistical period, the energy consumption of the mth energy-consuming enterprise is The expression is:
[0030] Preferably, the electricity consumption right index issued by the mth energy-consuming enterprise The expression is:
[0031]
[0032] in, represents the electricity consumption right index initially allocated to the current energy-consuming enterprise; k Y represents the energy consumption weight index coefficient of the k-th production process of the current energy-consuming enterprise; k It represents the output of finished products of the kth production process of the current energy-consuming enterprise.
[0033] Preferably, the determining of the welfare of each trading subject in the tth trading period based on the transfer payment, trading electricity rights and quotation of each trading subject in the tth trading period includes:
[0034] Based on the auction mechanism, the transfer payment of each trading entity in the tth trading period is obtained; based on the bids of each trading entity in the tth trading period and the trading electricity rights of each trading entity in the tth trading period, the utility of each trading entity in the tth trading period is obtained; based on the utility of each trading entity in the tth trading period and the transfer payment of each trading entity in the tth trading period, the welfare of each trading entity in the tth trading period is determined.
[0035] Preferably, the method of obtaining the transfer payment of each trading subject in the tth trading period based on the auction mechanism includes:
[0036] Based on the AGV auction mechanism, the transfer payment of the i-th trading entity in the t-th trading period is The expression is:
[0037]
[0038] in, Represents the quote vector of all trading entities in the tth trading period; represents the utility of the jth trading subject in the tth trading period; represents the quote of the jth trading entity in the tth trading period; It represents the trading electricity rights of the j-th trading subject and the i-th trading subject in the t-th trading period; represents the expected quote of the ith trading entity in the tth trading period; represents the expected vector of the prior distribution of the quotations of the i-th trading subject to each trading subject except itself in the t-th trading period; represents the computational expectation; It represents the payment redistribution function, which is used to balance the payment distribution between transaction entities. Its expression is:
[0039]
[0040] Where n represents the total number of P2P trading entities in the tth trading period; represents the utility of the hth trading subject in the tth trading period; represents the quote of the hth trading entity in the tth trading period; It represents the trading power rights of the hth trading subject and the jth trading subject in the tth trading period; represents the quote expectation of the jth trading entity in the tth trading period; Represents the expected vector of the prior distribution of the quotations of the j-th trading entity to each trading entity other than itself in the t-th trading period.
[0041] Preferably, the welfare of the i-th trading subject in the t-th trading period is The expression is:
[0042]
[0043] in, represents the quote of the ith trading entity in the tth trading period; Represents the quote vector of all trading entities in the tth trading period; represents the utility of the ith trading subject in the tth trading period; It represents the trading electricity right of the ith trading subject in the tth trading period; Represents the transfer payment of the i-th trading entity in the t-th trading period.
[0044] Preferably, the expression of the social welfare objective function in the tth trading period is:
[0045]
[0046] in, represents the welfare of the ith trading entity in the tth trading period; represents the number of sellers in the tth trading period; represents the number of buyers in the tth trading period; Represents the P2P transaction energy in the tth trading period.
[0047] Preferably, the expression for constructing the transaction power consumption weight constraint condition is:
[0048]
[0049]
[0050] in, It represents the P2P trading electricity usage of the ith trading subject in the tth trading period; It represents the demand or shortage of the ith trading entity in the tth trading period; represents the number of sellers in the tth trading period; represents the number of buyers in the tth trading period; is a binary variable, indicating the status of the ith trading subject participating in the sale of electricity rights in the tth trading period. Indicates no participation, to express participation; is a binary variable, indicating the status of the i-th trading subject participating in the purchase of electricity rights in the t-th trading period. Indicates no participation, Indicate participation.
[0051] Preferably, after obtaining the transaction amount corresponding to the transaction power right of each transaction subject in the t-th transaction period, the following is further included:
[0052] If all buyer trading entities do not have surplus electricity rights indicators, and all seller trading entities do not have deficit electricity rights indicators, then the liquidation of each trading entity in the P2P trading platform is completed in the tth trading period;
[0053] If any buyer transaction entity has surplus electricity usage rights indicators, or any seller transaction entity has shortage of electricity usage rights indicators, the power grid will recover the surplus electricity usage rights indicators of the buyer transaction entity, or the seller transaction entity will purchase the shortage of electricity usage rights indicators from the power grid, and complete the settlement of each transaction entity in the P2P transaction platform during the tth transaction period.
[0054] The present invention also provides a P2P electricity right transaction price optimization device, comprising:
[0055] Transaction subject determination module: Determine each transaction subject in the tth transaction period in the P2P transaction according to the issuance of electricity rights of each energy-consuming enterprise;
[0056] Objective function construction module: Based on the transfer payments, trading electricity rights and quotations of each trading entity in the tth trading period, determine the welfare of each trading entity in the tth trading period; according to the number of buyers and sellers in the tth trading period, combined with the welfare of each trading entity in the tth trading period, establish the social welfare objective function in the tth trading period;
[0057] Constraint construction module: construct the constraints of trading power consumption rights;
[0058] Objective function solving module: According to the constraints on trading electricity consumption rights, solve the trading electricity consumption rights of each trading entity when the social welfare objective function is maximum in the t-th trading period; based on the solved trading electricity consumption rights of each trading entity in the t-th trading period, combined with the transfer payments of each trading entity in the t-th trading period, obtain the transaction amount corresponding to the trading electricity consumption rights of each trading entity in the t-th trading period.
[0059] Preferably, the step of determining each transaction subject in the tth transaction period in the P2P transaction according to the issuance of the electricity use rights of each energy-consuming enterprise includes:
[0060] According to the conversion coefficients corresponding to various energy sources, the equivalent electricity corresponding to various energy sources in each energy-consuming enterprise is calculated; during the statistical period, according to the equivalent electricity corresponding to all energy consumed by each energy-consuming enterprise and the equivalent electricity corresponding to all energy output by each energy-consuming enterprise, the accounting electricity of each energy-consuming enterprise is calculated;
[0061] The benchmark value method is used to determine the electricity rights issuance index of each energy-consuming enterprise; if the electricity rights issuance index of any energy-consuming enterprise is greater than its calculated electricity volume, then the current energy-consuming enterprise has a surplus in the electricity rights issuance index, and the current energy-consuming enterprise is determined to be the seller in the P2P transaction; if the electricity rights issuance index of any energy-consuming enterprise is less than its calculated electricity volume, then there is a gap in the electricity rights issuance index of the current energy-consuming enterprise, and the current energy-consuming enterprise is determined to be the buyer in the P2P transaction; if the electricity rights issuance index of any energy-consuming enterprise is equal to its calculated electricity volume, the current energy-consuming enterprise does not participate in the P2P transaction;
[0062] The buyers and sellers participating in P2P transactions are regarded as the transaction subjects in P2P transactions, and the transaction subjects in the tth transaction period are determined.
[0063] Preferably, the equivalent electric quantity corresponding to various energy sources in each energy-consuming enterprise is calculated according to the conversion coefficients corresponding to various energy sources, including:
[0064] The conversion coefficient of the ath energy source η a The expression is:
[0065]
[0066] Among them, Q a Indicates the heat contained in the a-th energy unit quantity; Q e represents the heat contained in a unit of electrical energy; K represents the proportion of externality cost to total cost; T a represents the temperature when the a-th energy source does work externally; T 0 Indicates the ambient temperature;
[0067] The equivalent electricity quantity corresponding to the a-th energy in the m-th energy-consuming enterprise The expression is:
[0068]
[0069] in, Represents the consumption of the ath energy in the mth energy-consuming enterprise.
[0070] Preferably, the accounting power of each energy-consuming enterprise is calculated according to the equivalent power sum corresponding to all energy consumed by each energy-consuming enterprise and the equivalent power sum corresponding to various energy sources output by each energy-consuming enterprise during the statistical period, and includes:
[0071] The sum of the equivalent electricity consumption of all energy consumed by the mth energy-consuming enterprise during the statistical period The expression is:
[0072]
[0073] in, Indicates the input power; It represents the equivalent electric energy after conversion of the input fossil energy. e b represents the amount of the bth fossil fuel input, k b represents the discount factor of the bth fossil fuel; It indicates the equivalent electrical energy after the input thermal energy is converted. e H represents the input heat, k H Indicates the heat reduction coefficient;
[0074] The sum of equivalent electricity output of various energies corresponding to the mth energy-consuming enterprise during the statistical period The expression is:
[0075]
[0076] in, Indicates the output power; Indicates the equivalent electrical energy converted from the output thermal energy; Indicates the equivalent electrical energy converted from the output thermal energy; It represents the sum of equivalent electric quantity converted from all energies except for equivalent electric quantity converted from electric quantity and thermal energy.
[0077] During the statistical period, the energy consumption of the mth energy-consuming enterprise is The expression is:
[0078] Preferably, the electricity consumption right index issued by the mth energy-consuming enterprise The expression is:
[0079]
[0080] in, represents the electricity consumption right index initially allocated to the current energy-consuming enterprise; k Y represents the energy consumption weight index coefficient of the k-th production process of the current energy-consuming enterprise; k It represents the output of finished products of the kth production process of the current energy-consuming enterprise.
[0081] Preferably, the determining of the welfare of each trading subject in the tth trading period based on the transfer payment, trading electricity rights and quotation of each trading subject in the tth trading period includes:
[0082] Based on the auction mechanism, the transfer payment of each trading entity in the tth trading period is obtained; based on the bids of each trading entity in the tth trading period and the trading electricity rights of each trading entity in the tth trading period, the utility of each trading entity in the tth trading period is obtained; based on the utility of each trading entity in the tth trading period and the transfer payment of each trading entity in the tth trading period, the welfare of each trading entity in the tth trading period is determined.
[0083] Preferably, the method of obtaining the transfer payment of each trading subject in the tth trading period based on the auction mechanism includes:
[0084] Based on the AGV auction mechanism, the transfer payment of the i-th trading entity in the t-th trading period is The expression is:
[0085]
[0086] in, Represents the quote vector of all trading entities in the tth trading period; represents the utility of the jth trading subject in the tth trading period; represents the quote of the jth trading entity in the tth trading period; It represents the trading electricity rights of the j-th trading subject and the i-th trading subject in the t-th trading period; represents the expected quote of the ith trading entity in the tth trading period; represents the expected vector of the prior distribution of the quotations of the i-th trading subject to each trading subject except itself in the t-th trading period; represents the computational expectation; It represents the payment redistribution function, which is used to balance the payment distribution between transaction entities. Its expression is:
[0087]
[0088] Where n represents the total number of P2P trading entities in the tth trading period; represents the utility of the hth trading subject in the tth trading period; represents the quote of the hth trading entity in the tth trading period; It represents the trading power rights of the hth trading subject and the jth trading subject in the tth trading period; represents the quote expectation of the jth trading entity in the tth trading period; Represents the expected vector of the prior distribution of the quotations of the j-th trading entity to each trading entity other than itself in the t-th trading period.
[0089] Preferably, the welfare of the i-th trading subject in the t-th trading period is The expression is:
[0090]
[0091] in, represents the quote of the ith trading entity in the tth trading period; Represents the quote vector of all trading entities in the tth trading period; represents the utility of the ith trading subject in the tth trading period; It represents the trading electricity right of the ith trading subject in the tth trading period; Represents the transfer payment of the i-th trading entity in the t-th trading period.
[0092] Preferably, the expression of the social welfare objective function in the tth trading period is:
[0093]
[0094] in, represents the welfare of the ith trading entity in the tth trading period; represents the number of sellers in the tth trading period; represents the number of buyers in the tth trading period; Represents the P2P transaction energy in the tth trading period.
[0095] Preferably, the expression for constructing the transaction power consumption weight constraint condition is:
[0096]
[0097]
[0098] in, It represents the P2P trading electricity usage of the ith trading subject in the tth trading period; It represents the demand or shortage of the ith trading entity in the tth trading period; represents the number of sellers in the tth trading period; represents the number of buyers in the tth trading period; is a binary variable, indicating the status of the ith trading subject participating in the sale of electricity rights in the tth trading period. Indicates no participation, to express participation; is a binary variable, indicating the status of the i-th trading subject participating in the purchase of electricity rights in the t-th trading period. Indicates no participation, Indicate participation.
[0099] Preferably, after obtaining the transaction amount corresponding to the transaction power right of each transaction subject in the t-th transaction period, the following is further included:
[0100] If all buyer trading entities do not have surplus electricity rights indicators, and all seller trading entities do not have deficit electricity rights indicators, then the liquidation of each trading entity in the P2P trading platform is completed in the tth trading period;
[0101] If any buyer transaction entity has surplus electricity usage rights indicators, or any seller transaction entity has shortage of electricity usage rights indicators, the power grid will recover the surplus electricity usage rights indicators of the buyer transaction entity, or the seller transaction entity will purchase the shortage of electricity usage rights indicators from the power grid, and complete the settlement of each transaction entity in the P2P transaction platform during the tth transaction period.
[0102] The present invention also provides a P2P electricity right transaction price optimization device, comprising:
[0103] Memory for storing computer programs;
[0104] A processor is used to implement the steps of the above-mentioned method for optimizing the price of P2P electricity rights trading when executing the computer program.
[0105] The present invention also provides a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned P2P electricity rights trading price optimization method are implemented.
[0106] The above technical solution of the present invention has the following beneficial effects compared with the prior art:
[0107] The present invention discloses a method for optimizing the price of P2P electricity rights trading, which adopts a linear programming optimization method, and expresses the economic and efficient clearing in the t-th trading time period as a linear programming problem, and maximizes the social welfare in the t-th trading time period by solving the P2P trading electricity rights of each trading subject, and adopts the transfer payment of the AGV (Arrow-d'Aspremont-Gerard-Varet) auction mechanism to realize the quotation expectation, and then obtain the final transaction price, which meets the needs of price optimization and fair trading in the electricity rights trading process, ensures that the design of the transaction price is reasonable and the final transaction price is practical, and enables the final transaction price obtained by the design to adapt to different transaction electricity rights requirements, thereby increasing the flexibility of transaction price calculation; firstly, the energy consumption with electricity as the core is calculated as the basic data for the transaction; secondly, according to the calculated electricity volume of each energy-consuming enterprise, and the determination of each energy-consuming enterprise The electricity rights indicators of various energy-consuming enterprises are used to issue electricity rights to each energy-consuming enterprise; the trading subjects in P2P transactions are determined according to the issuance of electricity rights of each energy-consuming enterprise; then the trading mechanism of electricity rights is designed and the quotation expectation is calculated, the uncertainty of the quotations of various trading subjects participating in P2P transactions is fully considered, and the reserved price of each trading subject is used as private information to ensure that there is no utilitarian quotation under the speculative mentality of each trading subject in the P2P transaction process; finally, according to the transaction electricity rights constraint conditions in the t-th trading period, the transaction electricity rights of each trading subject when the social welfare objective function is maximized in the t-th trading period are solved, and the final transaction price and transaction electricity rights of each trading subject are obtained; the transaction price is designed without using historical transaction data, so that the final transaction price has use value; at the same time, the economic benefits of each trading subject participating in the electricity rights transaction are improved, and the risks of disrupting the market order, triggering prices and unfair competition are avoided. BRIEF DESCRIPTION OF THE DRAWINGS
[0108] In order to make the content of the present invention more clearly understood, the present invention is further described in detail below according to specific embodiments of the present invention in conjunction with the accompanying drawings, wherein:
[0109] Figure 1 It is a flow chart of a P2P electricity right transaction price optimization method provided by the present invention;
[0110] Figure 2 It is a schematic diagram of a P2P electricity rights transaction price optimization method provided by the present invention. DETAILED DESCRIPTION
[0111] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.
[0112] Reference Figure 1 As shown, Figure 1 A flowchart of a P2P electricity rights trading price optimization method provided by the present invention; specifically comprising:
[0113] S1: According to the conversion coefficients corresponding to various energy sources, the equivalent electricity corresponding to various energy sources in each energy-consuming enterprise is calculated, including:
[0114] The conversion coefficient of the ath energy source η a The expression is:
[0115]
[0116] Among them, Q a Indicates the heat contained in the a-th energy unit quantity; Q e represents the heat contained in a unit of electrical energy; K represents the proportion of externality cost to total cost; T a represents the temperature when the a-th energy source does work externally; T 0 Indicates the ambient temperature;
[0117] The equivalent electricity quantity corresponding to the a-th energy in the m-th energy-consuming enterprise The expression is:
[0118]
[0119] in, represents the consumption of the ath energy in the mth energy-consuming enterprise;
[0120] During the statistical period, based on the equivalent sum of all energy consumed by each energy-consuming enterprise and the equivalent sum of all energy output by each energy-consuming enterprise, the accounting electricity of each energy-consuming enterprise is calculated to include:
[0121] The sum of the equivalent electricity consumption of all energy consumed by the mth energy-consuming enterprise during the statistical period The expression is:
[0122]
[0123] in, Indicates the input power; It represents the equivalent electric energy after conversion of the input fossil energy. e b represents the amount of the bth fossil fuel input, k b represents the discount factor of the bth fossil fuel; It indicates the equivalent electrical energy after the input thermal energy is converted. e Hrepresents the input heat, k H Indicates the heat reduction coefficient;
[0124] The sum of equivalent electricity output of various energies corresponding to the mth energy-consuming enterprise during the statistical period The expression is:
[0125]
[0126] in, Indicates the output power; Indicates the equivalent electrical energy converted from the output thermal energy; Indicates the equivalent electrical energy converted from the output thermal energy; It represents the sum of equivalent electric quantity converted from all energies except for equivalent electric quantity converted from electric quantity and thermal energy.
[0127] During the statistical period, the energy consumption of the mth energy-consuming enterprise is The expression is: The difference between the equivalent sum of electricity consumed by all energy currently consumed by the energy-consuming enterprise and the equivalent sum of electricity output by all energy currently consumed by the energy-consuming enterprise reflects the effectiveness of energy utilization and energy loss of the current enterprise during the statistical period;
[0128] Among them, energy consumption rights should be tilted towards secondary energy in the selection of energy equivalent measurement standards; choosing electric energy as the energy measurement standard can truly reflect the use of fossil fuels and carbon emissions by energy-consuming units, and the calculation is relatively simple, which is in line with the important position of electricity in the energy industry;
[0129] The benchmark value method is used to determine the issuance index of electricity rights for each energy-consuming enterprise. The issuance index of electricity rights for the mth energy-consuming enterprise is The expression is:
[0130]
[0131] in, represents the electricity consumption right index initially allocated to the current energy-consuming enterprise; k Y represents the energy consumption weight index coefficient of the k-th production process of the current energy-consuming enterprise; k represents the output of finished products of the kth production process of the current energy-consuming enterprise;
[0132] If the electricity right issuance index of any energy-consuming enterprise is greater than its calculated electricity quantity, the current energy-consuming enterprise has a surplus in the electricity right issuance index, which can be sold through the P2P trading platform or directly sold to the power grid, and the current energy-consuming enterprise is determined to be the seller in the P2P transaction; if the electricity right issuance index of any energy-consuming enterprise is less than its calculated electricity quantity, the current energy-consuming enterprise has a gap in the electricity right issuance index, and it should be purchased through the P2P trading platform in time, or directly from the power grid, and the current energy-consuming enterprise is determined to be the buyer in the P2P transaction; if the electricity right issuance index of any energy-consuming enterprise is equal to its calculated electricity quantity, the current energy-consuming enterprise does not participate in the P2P transaction; wherein, the present invention gives priority to selling or purchasing through the P2P trading platform, and if there is still a surplus or gap in the electricity right index after selling or purchasing through the P2P trading platform, then consider selling directly to the power grid or purchasing from the power grid;
[0133] According to the calculated issuance of electricity rights for each energy-consuming enterprise, determine each transaction subject in the tth transaction period in the P2P transaction;
[0134] S2: Based on the auction mechanism, the transfer payments of each trading entity in the tth trading period are obtained, including:
[0135] Based on the AGV auction mechanism, the transfer payment of the i-th trading entity in the t-th trading period is The expression is:
[0136]
[0137] in, Represents the quote vector of all trading entities in the tth trading period; represents the utility of the jth trading subject in the tth trading period; represents the quote of the jth trading entity in the tth trading period; It represents the trading electricity rights of the j-th trading subject and the i-th trading subject in the t-th trading period; represents the expected quote of the ith trading entity in the tth trading period; represents the expected vector of the prior distribution of the quotations of the i-th trading subject to each trading subject except itself in the t-th trading period; represents the computational expectation; It represents the payment redistribution function, which is used to balance the payment distribution between transaction entities. Its expression is:
[0138]
[0139] Where n represents the total number of P2P trading entities in the tth trading period; represents the utility of the hth trading subject in the tth trading period; represents the quote of the hth trading entity in the tth trading period; It represents the trading power rights of the hth trading subject and the jth trading subject in the tth trading period; represents the quote expectation of the jth trading entity in the tth trading period; represents the expected vector of the prior distribution of the quotes of the j-th trading subject to each trading subject except itself in the t-th trading period;
[0140] Among them, the buyer's transfer payment in P2P transactions refers to the amount paid to the trading platform, which is expressed as a negative number; the seller's transfer payment in P2P transactions is the amount received from the trading platform, which is expressed as a positive number; the transfer payment of the transaction subject in a certain trading period is 0, which means that it does not participate in P2P transactions during this period; Based on the above amount representation method, assuming that the quotation vector of the i-th transaction subject in the t-th trading period is According to the AGV auction mechanism, the transfer payment of the i-th trading subject in the t-th trading period can be obtained as
[0141] In a specific embodiment of the present invention, the transfer payment of each transaction subject in the tth transaction period can also be obtained based on the VCG auction mechanism;
[0142] According to the quotations of each trading subject in the tth trading period and the trading electricity rights of each trading subject in the tth trading period, the utility of each trading subject in the tth trading period is obtained; according to the utility of each trading subject in the tth trading period and the transfer payment of each trading subject in the tth trading period, the welfare of each trading subject in the tth trading period is determined, then the welfare of the i-th trading subject in the tth trading period is The expression is:
[0143]
[0144] in, represents the quote of the ith trading entity in the tth trading period; Represents the quote vector of all trading entities in the tth trading period; represents the utility of the ith trading subject in the tth trading period; It represents the trading electricity right of the ith trading subject in the tth trading period; represents the transfer payment of the ith trading entity in the tth trading period;
[0145] According to the design theory of transaction mechanism, a transaction mechanism can be written as a tuple φ represents social choice, i.e., the amount of electricity rights traded by each trading entity in P2P transactions; represents the transfer payment of the ith trading subject under the social choice φ, then the key elements of the transaction mechanism are summarized as follows:
[0146] (1) There are at least two transaction entities and one social choice outcome;
[0147] (2) Each trading entity’s reservation price is private information; the finite set Θ i represents all feasible quotes of the i-th trading subject; in the t-th trading period, the P2P trading platform collects the quotes of all trading subjects and selects a valid result to maximize social welfare;
[0148] (3) The total benefit or welfare of the i-th transaction entity can be expressed as:
[0149] According to the number of buyers and sellers in the t-th trading period, combined with the welfare of each trading subject in the t-th trading period, the social welfare objective function in the t-th trading period is established. The expression of the social welfare objective function in the t-th trading period is:
[0150]
[0151] in, represents the welfare of the ith trading entity in the tth trading period; represents the number of sellers in the tth trading period; represents the number of buyers in the tth trading period; represents the P2P transaction energy in the tth trading period;
[0152] Among them, during each P2P transaction, energy-consuming enterprises with electricity rights indicators or excess electricity are energy sellers, while energy-consuming enterprises with electricity rights indicators or insufficient electricity are buyers. The number of buyers and sellers remains unchanged in the t-th trading period. According to the clearing mechanism, the economically efficient clearing in the t-th trading period can be expressed as a linear programming problem. Given a set of quotations from all trading entities in the t-th trading period, the P2P trading electricity rights of each trading entity are solved to maximize social welfare.
[0153] S3: Based on the fact that the P2P transaction energy in the t-th trading period cannot exceed the demand or shortage in the period, and the amount of electricity rights or electricity sold through P2P transactions in the t-th trading period is equal to the amount purchased through P2P transactions, the transaction electricity rights constraint condition is constructed, and its expression is:
[0154]
[0155]
[0156] in, It represents the P2P trading electricity usage of the ith trading subject in the tth trading period; It represents the demand or shortage of the ith trading entity in the tth trading period; represents the number of sellers in the tth trading period; represents the number of buyers in the tth trading period; is a binary variable, indicating the status of the ith trading subject participating in the sale of electricity rights in the tth trading period. Indicates no participation, to express participation; is a binary variable, indicating the status of the i-th trading subject participating in the purchase of electricity rights in the t-th trading period. Indicates no participation, to express participation;
[0157] S4: According to the constraints of the trading power consumption rights, solve the trading power consumption rights of each trading subject when the social welfare objective function is the largest in the t-th trading period; according to the solved trading power consumption rights of each trading subject in the t-th trading period, combined with the transfer payment of each trading subject in the t-th trading period, obtain the transaction amount corresponding to the trading power consumption rights of each trading subject in the t-th trading period;
[0158] If all buyer trading entities do not have surplus electricity rights indicators, and all seller trading entities do not have deficit electricity rights indicators, then the liquidation of each trading entity in the P2P trading platform is completed in the tth trading period;
[0159] If any buyer transaction entity has surplus electricity usage rights indicators, or any seller transaction entity has shortage of electricity usage rights indicators, the power grid will recover the surplus electricity usage rights indicators of the buyer transaction entity, or the seller transaction entity will purchase the shortage of electricity usage rights indicators from the power grid, and complete the settlement of each transaction entity in the P2P transaction platform during the tth transaction period.
[0160] Reference Figure 2 As shown, Figure 2 This is a schematic diagram of a P2P electricity rights trading price optimization device provided by the present invention; specifically comprising:
[0161] The transaction subject determination module 100: according to the conversion coefficients corresponding to various energy sources, the equivalent electricity corresponding to various energy sources in each energy-consuming enterprise is calculated, including:
[0162] The conversion coefficient of the ath energy source η a The expression is:
[0163]
[0164] Among them, Q a Indicates the heat contained in the a-th energy unit quantity; Q e represents the heat contained in a unit of electrical energy; K represents the proportion of externality cost to total cost; T a represents the temperature when the a-th energy source does work externally; T 0 Indicates the ambient temperature;
[0165] The equivalent electricity quantity corresponding to the a-th energy in the m-th energy-consuming enterprise The expression is:
[0166]
[0167] in, represents the consumption of the ath energy in the mth energy-consuming enterprise;
[0168] During the statistical period, based on the equivalent sum of all energy consumed by each energy-consuming enterprise and the equivalent sum of all energy output by each energy-consuming enterprise, the accounting electricity of each energy-consuming enterprise is calculated to include:
[0169] The sum of the equivalent electricity consumption of all energy consumed by the mth energy-consuming enterprise during the statistical period The expression is:
[0170]
[0171] in, Indicates the input power; It represents the equivalent electric energy after conversion of the input fossil energy. e b represents the amount of the bth fossil fuel input, k b represents the discount factor of the bth fossil fuel; It indicates the equivalent electrical energy after the input thermal energy is converted. e H represents the input heat, k H Indicates the heat reduction coefficient;
[0172] The sum of equivalent electricity output of various energies corresponding to the mth energy-consuming enterprise during the statistical period The expression is:
[0173]
[0174] in, Indicates the output power; Indicates the equivalent electrical energy converted from the output thermal energy; Indicates the equivalent electrical energy converted from the output thermal energy; It represents the sum of equivalent electric quantity converted from all energies except for equivalent electric quantity converted from electric quantity and thermal energy.
[0175] During the statistical period, the energy consumption of the mth energy-consuming enterprise is The expression is: The difference between the equivalent sum of electricity consumed by all energy currently consumed by the energy-consuming enterprise and the equivalent sum of electricity output by all energy currently consumed by the energy-consuming enterprise reflects the effectiveness of energy utilization and energy loss of the current enterprise during the statistical period;
[0176] Among them, energy consumption rights should be tilted towards secondary energy in the selection of energy equivalent measurement standards; choosing electric energy as the energy measurement standard can truly reflect the use of fossil fuels and carbon emissions by energy-consuming units, and the calculation is relatively simple, which is in line with the important position of electricity in the energy industry;
[0177] The benchmark value method is used to determine the issuance index of electricity rights for each energy-consuming enterprise. The issuance index of electricity rights for the mth energy-consuming enterprise is The expression is:
[0178]
[0179] in, represents the electricity consumption right index initially allocated to the current energy-consuming enterprise; k represents the energy consumption weight index coefficient of the k-th production process of the current energy-consuming enterprise; Yk represents the finished product output of the k-th production process of the current energy-consuming enterprise;
[0180] If the electricity right issuance index of any energy-consuming enterprise is greater than its calculated electricity quantity, the current energy-consuming enterprise has a surplus in the electricity right issuance index, which can be sold through the P2P trading platform or directly sold to the power grid, and the current energy-consuming enterprise is determined to be the seller in the P2P transaction; if the electricity right issuance index of any energy-consuming enterprise is less than its calculated electricity quantity, the current energy-consuming enterprise has a gap in the electricity right issuance index, and it should be purchased through the P2P trading platform in time, or directly from the power grid, and the current energy-consuming enterprise is determined to be the buyer in the P2P transaction; if the electricity right issuance index of any energy-consuming enterprise is equal to its calculated electricity quantity, the current energy-consuming enterprise does not participate in the P2P transaction; wherein, the present invention gives priority to selling or purchasing through the P2P trading platform, and if there is still a surplus or gap in the electricity right index after selling or purchasing through the P2P trading platform, then consider selling directly to the power grid or purchasing from the power grid;
[0181] According to the calculated issuance of electricity rights for each energy-consuming enterprise, determine each transaction subject in the tth transaction period in the P2P transaction;
[0182] Objective function building module 200: Based on the auction mechanism, the transfer payment of each trading subject in the tth trading period is obtained, including:
[0183] Based on the AGV auction mechanism, the transfer payment of the i-th trading entity in the t-th trading period is The expression is:
[0184]
[0185] in, Represents the quote vector of all trading entities in the tth trading period; represents the utility of the jth trading subject in the tth trading period; represents the quote of the jth trading entity in the tth trading period; It represents the trading electricity rights of the j-th trading subject and the i-th trading subject in the t-th trading period; represents the expected quote of the ith trading entity in the tth trading period; represents the expected vector of the prior distribution of the quotations of the i-th trading subject to each trading subject except itself in the t-th trading period; represents the computational expectation; It represents the payment redistribution function, which is used to balance the payment distribution between transaction entities. Its expression is:
[0186]
[0187] Where n represents the total number of P2P trading entities in the tth trading period; represents the utility of the hth trading subject in the tth trading period; represents the quote of the hth trading entity in the tth trading period; It represents the trading power rights of the hth trading subject and the jth trading subject in the tth trading period; represents the quote expectation of the jth trading entity in the tth trading period; represents the expected vector of the prior distribution of the quotes of the j-th trading subject to each trading subject except itself in the t-th trading period;
[0188] Among them, the buyer's transfer payment in P2P transactions refers to the amount paid to the trading platform, which is expressed as a negative number; the seller's transfer payment in P2P transactions is the amount received from the trading platform, which is expressed as a positive number; the transfer payment of the transaction subject in a certain trading period is 0, which means that it does not participate in P2P transactions during this period; Based on the above amount representation method, assuming that the quotation vector of the i-th transaction subject in the t-th trading period is According to the AGV auction mechanism, the transfer payment of the i-th trading subject in the t-th trading period can be obtained as
[0189] In a specific embodiment of the present invention, the transfer payment of each transaction subject in the tth transaction period can also be obtained based on the VCG auction mechanism;
[0190] According to the quotations of each trading subject in the tth trading period and the trading electricity rights of each trading subject in the tth trading period, the utility of each trading subject in the tth trading period is obtained; according to the utility of each trading subject in the tth trading period and the transfer payment of each trading subject in the tth trading period, the welfare of each trading subject in the tth trading period is determined, then the welfare of the i-th trading subject in the tth trading period is The expression is:
[0191]
[0192] in, represents the quote of the ith trading entity in the tth trading period; Represents the quote vector of all trading entities in the tth trading period; represents the utility of the ith trading subject in the tth trading period; It represents the trading electricity right of the ith trading subject in the tth trading period; represents the transfer payment of the ith trading entity in the tth trading period;
[0193] According to the design theory of transaction mechanism, a transaction mechanism can be written as a tuple φ represents social choice, i.e., the amount of electricity rights traded by each trading entity in P2P transactions; represents the transfer payment of the ith trading subject under the social choice φ, then the key elements of the transaction mechanism are summarized as follows:
[0194] (1) There are at least two transaction entities and one social choice outcome;
[0195] (2) Each trading entity’s reservation price is private information; the finite set Θ i represents all feasible quotes of the i-th trading subject; in the t-th trading period, the P2P trading platform collects the quotes of all trading subjects and selects a valid result to maximize social welfare;
[0196] (3) The total benefit or welfare of the i-th transaction entity can be expressed as:
[0197] According to the number of buyers and sellers in the t-th trading period, combined with the welfare of each trading subject in the t-th trading period, the social welfare objective function in the t-th trading period is established. The expression of the social welfare objective function in the t-th trading period is:
[0198]
[0199] in, represents the welfare of the ith trading entity in the tth trading period; represents the number of sellers in the tth trading period; represents the number of buyers in the tth trading period; represents the P2P transaction energy in the tth trading period;
[0200] Among them, during each P2P transaction, energy-consuming enterprises with electricity rights indicators or excess electricity are energy sellers, while energy-consuming enterprises with electricity rights indicators or insufficient electricity are buyers. The number of buyers and sellers remains unchanged in the t-th trading period. According to the clearing mechanism, the economically efficient clearing in the t-th trading period can be expressed as a linear programming problem. Given a set of quotations from all trading entities in the t-th trading period, the P2P trading electricity rights of each trading entity are solved to maximize social welfare.
[0201] Constraint condition building module 300: Based on the fact that the P2P transaction energy in the t-th transaction period cannot exceed the demand or shortage in the period, and the power right or electric energy sold through P2P transaction in the t-th transaction period is equal to the amount purchased through P2P transaction, a transaction power right constraint condition is built, and its expression is:
[0202]
[0203]
[0204] in, It represents the P2P trading electricity usage of the ith trading subject in the tth trading period; It represents the demand or shortage of the ith trading entity in the tth trading period; represents the number of sellers in the tth trading period; represents the number of buyers in the tth trading period; is a binary variable, indicating the status of the ith trading subject participating in the sale of electricity rights in the tth trading period. Indicates no participation, to express participation; is a binary variable, indicating the status of the i-th trading subject participating in the purchase of electricity rights in the t-th trading period. Indicates no participation, to express participation;
[0205] Objective function solving module 400: according to the constraint condition of the trading power weight, solve the trading power weight of each trading subject when the social welfare objective function is the largest in the t-th trading period; according to the solved trading power weight of each trading subject in the t-th trading period, combined with the transfer payment of each trading subject in the t-th trading period, obtain the transaction amount corresponding to the trading power weight of each trading subject in the t-th trading period;
[0206] If all buyer trading entities do not have surplus electricity rights indicators, and all seller trading entities do not have deficit electricity rights indicators, then the liquidation of each trading entity in the P2P trading platform is completed in the tth trading period;
[0207] If any buyer transaction entity has surplus electricity usage rights indicators, or any seller transaction entity has shortage of electricity usage rights indicators, the power grid will recover the surplus electricity usage rights indicators of the buyer transaction entity, or the seller transaction entity will purchase the shortage of electricity usage rights indicators from the power grid, and complete the settlement of each transaction entity in the P2P transaction platform during the tth transaction period.
[0208] A specific embodiment of the present invention further provides a P2P electricity rights transaction price optimization device, comprising: a memory for storing a computer program; a processor for implementing the steps of the above-mentioned P2P electricity rights transaction price optimization method when executing the computer program.
[0209] A specific embodiment of the present invention further provides a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned P2P electricity rights trading price optimization method are implemented.
[0210] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0211] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0212] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0213] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0214] Obviously, the above embodiments are merely examples for the purpose of clear explanation and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the present invention.
Claims
1. A P2P electricity rights trading price optimization method, characterized in that: include: According to the issuance of electricity rights of each energy-consuming enterprise, determine each transaction subject in the tth transaction period in the P2P transaction; Based on the transfer payments, trading electricity rights and quotations of each trading entity in the tth trading period, the welfare of each trading entity in the tth trading period is determined; according to the number of buyers and sellers in the tth trading period, combined with the welfare of each trading entity in the tth trading period, the social welfare objective function in the tth trading period is established; Construct the constraints of trading electricity usage rights; According to the constraints on trading electricity consumption rights, the trading electricity consumption rights of each trading entity when the social welfare objective function is maximum in the t-th trading period are solved; based on the solved trading electricity consumption rights of each trading entity in the t-th trading period, combined with the transfer payments of each trading entity in the t-th trading period, the transaction amount corresponding to the trading electricity consumption rights of each trading entity in the t-th trading period is obtained.
2. A P2P electricity right transaction price optimization method according to claim 1, characterized in that: According to the issuance of electricity rights of various energy-consuming enterprises, the various transaction entities in the t-th transaction period in the P2P transaction are determined to include: According to the conversion coefficients corresponding to various energy sources, the equivalent electricity corresponding to various energy sources in each energy-consuming enterprise is calculated; during the statistical period, according to the equivalent electricity corresponding to all energy consumed by each energy-consuming enterprise and the equivalent electricity corresponding to all energy output by each energy-consuming enterprise, the accounting electricity of each energy-consuming enterprise is calculated; The benchmark value method is used to determine the electricity rights issuance index of each energy-consuming enterprise; if the electricity rights issuance index of any energy-consuming enterprise is greater than its calculated electricity volume, then the current energy-consuming enterprise has a surplus in the electricity rights issuance index, and the current energy-consuming enterprise is determined to be the seller in the P2P transaction; if the electricity rights issuance index of any energy-consuming enterprise is less than its calculated electricity volume, then there is a gap in the electricity rights issuance index of the current energy-consuming enterprise, and the current energy-consuming enterprise is determined to be the buyer in the P2P transaction; if the electricity rights issuance index of any energy-consuming enterprise is equal to its calculated electricity volume, the current energy-consuming enterprise does not participate in the P2P transaction; The buyers and sellers participating in P2P transactions are regarded as the transaction subjects in P2P transactions, and the transaction subjects in the tth transaction period are determined.
3. A P2P electricity right transaction price optimization method according to claim 2, characterized in that: According to the conversion coefficients corresponding to various energy sources, the equivalent electricity corresponding to various energy sources in each energy-consuming enterprise is calculated, including: The conversion coefficient of the ath energy source η a The expression is: Among them, Q a Indicates the heat contained in the a-th energy unit quantity; Q e represents the heat contained in a unit of electrical energy; κ represents the proportion of externality cost to total cost; T a It represents the temperature when the a-th energy source does work externally; T0 represents the ambient temperature; The equivalent electricity quantity corresponding to the a-th energy in the m-th energy-consuming enterprise The expression is: in, Represents the consumption of the ath energy in the mth energy-consuming enterprise.
4. A P2P electricity rights transaction price optimization method according to claim 2, characterized in that: During the statistical period, the accounting electricity of each energy-consuming enterprise is calculated based on the equivalent electricity of all energy consumed by each energy-consuming enterprise and the equivalent electricity of various energy output by each energy-consuming enterprise, including: The sum of the equivalent electricity consumption of all energy consumed by the mth energy-consuming enterprise during the statistical period The expression is: in, Indicates the input power; It represents the equivalent electric energy after conversion of the input fossil energy. e b represents the amount of the bth fossil fuel input, k b represents the discount factor of the bth fossil fuel; It indicates the equivalent electrical energy after the input thermal energy is converted. e H represents the input heat, k H Indicates the heat reduction coefficient; The sum of equivalent electricity output of various energies corresponding to the mth energy-consuming enterprise during the statistical period The expression is: in, Indicates the output power; Indicates the equivalent electrical energy converted from the output thermal energy; Indicates the equivalent electrical energy converted from the output thermal energy; It represents the sum of equivalent electric quantity converted from all energies except for equivalent electric quantity converted from electric quantity and thermal energy. During the statistical period, the energy consumption of the mth energy-consuming enterprise is The expression is:
5. A P2P electricity right transaction price optimization method according to claim 1, characterized in that: The electricity consumption right index of the mth energy-consuming enterprise The expression is: in, represents the electricity consumption right index initially allocated to the current energy-consuming enterprise; k Y represents the energy consumption weight index coefficient of the k-th production process of the current energy-consuming enterprise; k It represents the output of finished products of the kth production process of the current energy-consuming enterprise.
6. A P2P electricity right transaction price optimization method according to claim 1, characterized in that: The determination of the welfare of each trading subject in the tth trading period based on the transfer payment, trading power rights and quotation of each trading subject in the tth trading period includes: Based on the auction mechanism, the transfer payment of each trading entity in the tth trading period is obtained; based on the bids of each trading entity in the tth trading period and the trading electricity rights of each trading entity in the tth trading period, the utility of each trading entity in the tth trading period is obtained; based on the utility of each trading entity in the tth trading period and the transfer payment of each trading entity in the tth trading period, the welfare of each trading entity in the tth trading period is determined.
7. A P2P electricity rights transaction price optimization method according to claim 6, characterized in that: Based on the auction mechanism, the transfer payment of each trading subject in the tth trading period includes: Based on the AGV auction mechanism, the transfer payment of the i-th trading entity in the t-th trading period is The expression is: in, Represents the quote vector of all trading entities in the tth trading period; represents the utility of the jth trading subject in the tth trading period; represents the quote of the jth trading entity in the tth trading period; It represents the trading electricity rights of the j-th trading subject and the i-th trading subject in the t-th trading period; represents the expected quote of the ith trading entity in the tth trading period; represents the expected vector of the prior distribution of the quotations of the i-th trading subject to each trading subject except itself in the t-th trading period; represents the computational expectation; It represents the payment redistribution function, which is used to balance the payment distribution between transaction entities. Its expression is: Where n represents the total number of P2P trading entities in the tth trading period; represents the utility of the hth trading subject in the tth trading period; represents the quote of the hth trading entity in the tth trading period; It represents the trading power rights of the hth trading subject and the jth trading subject in the tth trading period; represents the quote expectation of the jth trading entity in the tth trading period; Represents the expected vector of the prior distribution of the quotations of the j-th trading entity to each trading entity other than itself in the t-th trading period.
8. A P2P electricity rights transaction price optimization method according to claim 6, characterized in that: The benefits of the i-th trading entity in the t-th trading period The expression is: in, represents the quote of the ith trading entity in the tth trading period; Represents the quote vector of all trading entities in the tth trading period; represents the utility of the ith trading subject in the tth trading period; It represents the trading electricity right of the ith trading subject in the tth trading period; Represents the transfer payment of the i-th trading entity in the t-th trading period.
9. A P2P electricity rights transaction price optimization method according to claim 1, characterized in that: The expression of the social welfare objective function in the tth trading period is: in, represents the welfare of the ith trading entity in the tth trading period; represents the number of sellers in the tth trading period; represents the number of buyers in the tth trading period; Represents the P2P transaction energy in the tth trading period.
10. A P2P electricity rights transaction price optimization method according to claim 1, characterized in that: The expression for constructing the transaction power consumption constraint condition is: in, It represents the P2P trading electricity usage of the ith trading subject in the tth trading period; It represents the demand or shortage of the ith trading entity in the tth trading period; represents the number of sellers in the tth trading period; represents the number of buyers in the tth trading period; is a binary variable, indicating the status of the ith trading subject participating in the sale of electricity rights in the tth trading period. Indicates no participation, to express participation; is a binary variable, indicating the status of the i-th trading subject participating in the purchase of electricity rights in the t-th trading period. Indicates no participation, Indicate participation.
11. A P2P electricity rights transaction price optimization method according to claim 1, characterized in that: After obtaining the transaction amount corresponding to the transaction power rights of each trading subject in the tth trading period, it also includes: If all buyer trading entities do not have surplus electricity rights indicators, and all seller trading entities do not have deficit electricity rights indicators, then the liquidation of each trading entity in the P2P trading platform is completed in the tth trading period; If any buyer transaction entity has surplus electricity usage rights indicators, or any seller transaction entity has shortage of electricity usage rights indicators, the power grid will recover the surplus electricity usage rights indicators of the buyer transaction entity, or the seller transaction entity will purchase the shortage of electricity usage rights indicators from the power grid, and complete the settlement of each transaction entity in the P2P transaction platform during the tth transaction period.
12. A P2P electricity rights trading price optimization device, characterized in that: include: Transaction subject determination module: Determine each transaction subject in the tth transaction period in the P2P transaction according to the issuance of electricity rights of each energy-consuming enterprise; Objective function construction module: Based on the transfer payments, trading electricity rights and quotations of each trading entity in the tth trading period, determine the welfare of each trading entity in the tth trading period; according to the number of buyers and sellers in the tth trading period, combined with the welfare of each trading entity in the tth trading period, establish the social welfare objective function in the tth trading period; Constraint construction module: construct the constraints of trading power consumption rights; Objective function solving module: According to the constraints on trading electricity consumption rights, solve the trading electricity consumption rights of each trading entity when the social welfare objective function is maximum in the t-th trading period; based on the solved trading electricity consumption rights of each trading entity in the t-th trading period, combined with the transfer payments of each trading entity in the t-th trading period, obtain the transaction amount corresponding to the trading electricity consumption rights of each trading entity in the t-th trading period.
13. A P2P electricity rights trading price optimization device according to claim 12, characterized in that: According to the issuance of electricity rights of various energy-consuming enterprises, the various transaction entities in the t-th transaction period in the P2P transaction are determined to include: According to the conversion coefficients corresponding to various energy sources, the equivalent electricity corresponding to various energy sources in each energy-consuming enterprise is calculated; during the statistical period, according to the equivalent electricity corresponding to all energy consumed by each energy-consuming enterprise and the equivalent electricity corresponding to all energy output by each energy-consuming enterprise, the accounting electricity of each energy-consuming enterprise is calculated; The benchmark value method is used to determine the electricity rights issuance index of each energy-consuming enterprise; if the electricity rights issuance index of any energy-consuming enterprise is greater than its calculated electricity volume, then the current energy-consuming enterprise has a surplus in the electricity rights issuance index, and the current energy-consuming enterprise is determined to be the seller in the P2P transaction; if the electricity rights issuance index of any energy-consuming enterprise is less than its calculated electricity volume, then there is a gap in the electricity rights issuance index of the current energy-consuming enterprise, and the current energy-consuming enterprise is determined to be the buyer in the P2P transaction; if the electricity rights issuance index of any energy-consuming enterprise is equal to its calculated electricity volume, the current energy-consuming enterprise does not participate in the P2P transaction; The buyers and sellers participating in P2P transactions are regarded as the transaction subjects in P2P transactions, and the transaction subjects in the tth transaction period are determined.
14. A P2P electricity rights trading price optimization device according to claim 13, characterized in that: According to the conversion coefficients corresponding to various energy sources, the equivalent electricity corresponding to various energy sources in each energy-consuming enterprise is calculated, including: The conversion coefficient of the ath energy source η a The expression is: Among them, Q a Indicates the heat contained in the a-th energy unit quantity; Q e represents the heat contained in a unit of electrical energy; κ represents the proportion of externality cost to total cost; T a It represents the temperature when the a-th energy source does work externally; T0 represents the ambient temperature; The equivalent electricity quantity corresponding to the a-th energy in the m-th energy-consuming enterprise The expression is: in, Represents the consumption of the ath energy in the mth energy-consuming enterprise.
15. A P2P electricity rights trading price optimization device according to claim 13, characterized in that: During the statistical period, the accounting electricity of each energy-consuming enterprise is calculated based on the equivalent electricity of all energy consumed by each energy-consuming enterprise and the equivalent electricity of various energy output by each energy-consuming enterprise, including: The sum of the equivalent electricity consumption of all energy consumed by the mth energy-consuming enterprise during the statistical period The expression is: in, Indicates the input power; It represents the equivalent electric energy after conversion of the input fossil energy. e b represents the amount of the bth fossil fuel input, k b represents the discount factor of the bth fossil fuel; It indicates the equivalent electrical energy after the input thermal energy is converted. represents the input heat, k H Indicates the heat reduction coefficient; The sum of equivalent electricity output of various energies corresponding to the mth energy-consuming enterprise during the statistical period The expression is: in, Indicates the output power; Indicates the equivalent electrical energy converted from the output thermal energy; Indicates the equivalent electrical energy converted from the output thermal energy; It represents the sum of equivalent electric quantity converted from all energies except for equivalent electric quantity converted from electric quantity and thermal energy. During the statistical period, the energy consumption of the mth energy-consuming enterprise is The expression is:
16. A P2P electricity rights trading price optimization device according to claim 12, characterized in that: The electricity consumption right index of the mth energy-consuming enterprise The expression is: in, represents the electricity consumption right index initially allocated to the current energy-consuming enterprise; k Y represents the energy consumption weight index coefficient of the k-th production process of the current energy-consuming enterprise; k It represents the output of finished products of the kth production process of the current energy-consuming enterprise.
17. A P2P electricity rights trading price optimization device according to claim 12, characterized in that: The benefits of each trading entity in the tth trading period include: Based on the auction mechanism, the transfer payment of each trading entity in the tth trading period is obtained; based on the bids of each trading entity in the tth trading period and the trading electricity rights of each trading entity in the tth trading period, the utility of each trading entity in the tth trading period is obtained; based on the utility of each trading entity in the tth trading period and the transfer payment of each trading entity in the tth trading period, the welfare of each trading entity in the tth trading period is determined.
18. A P2P electricity rights trading price optimization device according to claim 17, characterized in that: Based on the auction mechanism, the transfer payment of each trading subject in the tth trading period includes: Based on the AGV auction mechanism, the transfer payment of the i-th trading entity in the t-th trading period is The expression is: in, Represents the quote vector of all trading entities in the tth trading period; represents the utility of the jth trading subject in the tth trading period; represents the quote of the jth trading entity in the tth trading period; It represents the trading electricity rights of the j-th trading subject and the i-th trading subject in the t-th trading period; represents the expected quote of the ith trading entity in the tth trading period; represents the expected vector of the prior distribution of the quotations of the i-th trading subject to each trading subject except itself in the t-th trading period; represents the computational expectation; It represents the payment redistribution function, which is used to balance the payment distribution between transaction entities. Its expression is: Where n represents the total number of P2P trading entities in the tth trading period; represents the utility of the hth trading subject in the tth trading period; represents the quote of the hth trading entity in the tth trading period; It represents the trading power rights of the hth trading subject and the jth trading subject in the tth trading period; represents the quote expectation of the jth trading entity in the tth trading period; Represents the expected vector of the prior distribution of the quotations of the j-th trading entity to each trading entity other than itself in the t-th trading period.
19. A P2P electricity rights trading price optimization device according to claim 17, characterized in that: The benefits of the i-th trading entity in the t-th trading period The expression is: in, represents the quote of the ith trading entity in the tth trading period; Represents the quote vector of all trading entities in the tth trading period; represents the utility of the ith trading subject in the tth trading period; It represents the trading electricity right of the ith trading subject in the tth trading period; Represents the transfer payment of the i-th trading entity in the t-th trading period.
20. A P2P electricity rights trading price optimization device according to claim 12, characterized in that: The expression of the social welfare objective function in the tth trading period is: in, represents the welfare of the ith trading entity in the tth trading period; represents the number of sellers in the tth trading period; represents the number of buyers in the tth trading period; Represents the P2P transaction energy in the tth trading period.
21. A P2P electricity rights trading price optimization device according to claim 12, characterized in that: The expression for constructing the transaction power consumption constraint condition is: in, It represents the P2P trading electricity usage of the ith trading subject in the tth trading period; It represents the demand or shortage of the ith trading entity in the tth trading period; represents the number of sellers in the tth trading period; represents the number of buyers in the tth trading period; is a binary variable, indicating the status of the ith trading subject participating in the sale of electricity rights in the tth trading period. Indicates no participation, to express participation; is a binary variable, indicating the status of the i-th trading subject participating in the purchase of electricity rights in the t-th trading period. Indicates no participation, Indicate participation.
22. A P2P electricity rights trading price optimization device according to claim 12, characterized in that: After obtaining the transaction amount corresponding to the transaction power rights of each trading subject in the tth trading period, it also includes: If all buyer trading entities do not have surplus electricity rights indicators, and all seller trading entities do not have deficit electricity rights indicators, then the liquidation of each trading entity in the P2P trading platform is completed in the tth trading period; If any buyer transaction entity has surplus electricity usage rights indicators, or any seller transaction entity has shortage of electricity usage rights indicators, the power grid will recover the surplus electricity usage rights indicators of the buyer transaction entity, or the seller transaction entity will purchase the shortage of electricity usage rights indicators from the power grid, and complete the settlement of each transaction entity in the P2P transaction platform during the tth transaction period.
23. A P2P electricity rights trading price optimization device, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of a P2P electricity rights trading price optimization method as described in any one of claims 1 to 11 when executing the computer program.
24. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of a P2P electricity rights transaction price optimization method as described in any one of claims 1 to 11 are implemented.
Citation Information
Patent Citations
Block chain-based small and micro load power utilization right auction method
CN115131114A
Power utilization right quota transfer matching method and device and medium thereof
CN115204704A
Method and device for constructing electricity utilization right transaction decision-making model of electricity selling company
CN115640886A
