Inter-province spot user side electricity purchase decomposition method, device and equipment and medium
By constructing a clearing model that maximizes transaction profits and converting transmission parameters along the path, the problems of accuracy deviation and unfair allocation in the decomposition of electricity purchases by users in inter-provincial spot markets have been solved. This has enabled accurate allocation of electricity purchase settlements and fairness on the user side, thereby improving the economy and transparency of electricity trading.
Patent Information
- Application Number
- CN202511601106.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-04
- Publication Date
- 2026-02-10
AI Technical Summary
The existing inter-provincial spot electricity purchase decomposition method for users fails to fully consider the transmission price and network loss of cross-provincial routes, resulting in user-side electricity purchase prices not accurately reflecting the transmission cost of the route. Furthermore, the intra-provincial user-side allocation mechanism is relatively crude and lacks quantitative allocation rules based on the comparison between user-declared prices and marginal electricity prices, leading to accuracy deviations and unfair allocation in the electricity purchase settlement results.
By acquiring comprehensive day-ahead transaction data from the inter-provincial spot market, a clearing model aimed at maximizing transaction revenue is constructed to determine the marginal transaction data of the sending province. Link conversion is performed in conjunction with path transmission parameters to calculate the receiving-end transaction data, forming a unified receiving-end gate electricity purchase price system. Based on the bid price of each user entity within the province and the marginal electricity price threshold, the allocation coefficient is calculated to decompose the total purchased electricity to each user entity.
It achieves optimal clearing of multi-province power trading pairs under unified market constraints, improves the economy and coordination of inter-provincial power trading, ensures accurate allocation of power purchase results and fairness of user-side settlement, and enhances the transparency of power trading.
Smart Images

Figure CN121504658A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of power market transactions, and particularly relates to an inter-provincial spot user-side electricity purchasing decomposition method, device, equipment and medium. BACKGROUND
[0002] At present, with the deepening of the reform of China's power system, the inter-provincial spot market gradually becomes an important carrier for cross-provincial electricity circulation. In the existing inter-provincial spot transaction mechanism, the transaction center usually collects the bid price information of each sending-end province and receiving-end province, calculates the transaction volume and transaction price of each period by using the clearing model, so as to realize the marketization matching and settlement of cross-provincial electricity.
[0003] The existing inter-provincial spot clearing result is mainly used for settlement calculation of the dispatch side and the transaction center, and the user side still needs to decompose the purchasing volume and purchasing price of the in-province users based on the marginal price threshold of the receiving-end province. The user side decomposition usually relies on the static proportioning or experience apportioning method, and does not fully consider the influence of the transmission price and network loss of the cross-provincial path, resulting in that the user side purchasing price cannot truly reflect the path transmission cost; at the same time, the receiving-end transaction price of different sending-end sources exists deviation in time and statistical caliber, so that the purchasing electricity and purchasing price of the receiving-end gateway cannot correspond under a unified benchmark, affecting the calculation accuracy of the marginal price threshold; in addition, the in-province user side allocation mechanism is relatively rough, lacks quantitative allocation rules based on the comparison relationship between the user bid price and the marginal price, and the electricity decomposition result among users is prone to boundary ambiguity and unfair allocation.
[0004] The existing technical solutions in the above have the following defects: the existing inter-provincial spot user side electricity purchasing decomposition method cannot combine the path transmission parameters for dynamic conversion, and lacks unified calculation logic in the receiving-end aggregation and in-province allocation stage, resulting in that the user side electricity purchasing settlement result has accuracy deviation and unreasonable allocation problem, and therefore there is room for improvement. SUMMARY
[0005] The present application belongs to the technical field of power market transactions, and particularly relates to an inter-provincial spot user-side electricity purchasing decomposition method, device, equipment and medium.
[0006] In order to achieve the above-mentioned purpose, the present application adopts the following technical solutions: In a first aspect, the present application provides an inter-provincial spot user side electricity purchasing decomposition method, which comprises: obtaining comprehensive transaction data of the inter-provincial spot market on the previous day, constructing a clearing model with the maximum transaction revenue as the target according to the comprehensive transaction data, and obtaining the transaction clearing data of each sending-end province and receiving-end province in each period according to the clearing model; determining marginal transaction data of the corresponding sending province according to the transaction clearing data; based on the marginal transaction data, combining path transmission parameters from the sending end to the receiving end, link conversion of path transmission price and path network loss is performed to obtain comprehensive coefficients of the path transmission price and the path network loss, respectively, so that the receiving end transaction data is calculated according to the comprehensive coefficients of the path transmission price and the path network loss; aggregating a plurality of the receiving end transaction data to generate total purchased power of the receiving end gateway, and determining a marginal price threshold based on the transaction price of each receiving end; According to the bidding price of each provincial user subject and the marginal price threshold, the distribution coefficient of each provincial user subject is calculated, and the total purchased power is decomposed to each provincial user subject according to the distribution coefficient to obtain the final transaction power of each provincial user subject.
[0007] By adopting the above technical scheme, by acquiring the comprehensive transaction data of the inter-provincial spot market day before and constructing the clearing model with the maximum transaction income as the target, the overall optimal clearing of the multi-provincial sending-receiving end transaction pair can be realized under the unified market constraint, the resource mismatch caused by the single provincial local optimum is avoided, and the economy and coordination of the cross-provincial electric energy transaction are improved; by determining the marginal transaction data of the corresponding sending province according to the transaction clearing data, the key parameters reflecting the real-time marginal level of the market can be extracted, so that the subsequent calculation is based on the latest transaction situation, and the dynamic adaptability of the algorithm is enhanced; by link conversion of path transmission price and path network loss based on marginal transaction data combined with path transmission parameters from the sending end to the receiving end, the price difference and energy loss in the cross-provincial transmission process can be accurately quantified, so that the real restoration of price and quantity is realized when calculating the receiving end transaction data; by aggregating a plurality of receiving end transaction data and determining a marginal price threshold based on the transaction price of each receiving end, a unified receiving end gateway purchase price system can be formed, thereby providing a clear price boundary and settlement basis for the purchase decomposition of the provincial user side; by calculating the distribution coefficient according to the bidding price of each provincial user subject and the marginal price threshold and decomposing the total purchased power to each user subject, the accurate allocation of the purchase result to the user side can be realized, thereby improving the transparency of the electric energy transaction and the fairness of the user side settlement.
[0008] In an example, the application can be further configured to: the comprehensive transaction data of the inter-provincial spot market day before is acquired, and a clearing model with the maximum transaction income as the target is constructed according to the comprehensive transaction data, including: acquiring the bidding price and the corresponding transaction power of the buying and selling parties of the sending province and the receiving province in each time period; forming a transaction portfolio quotation matrix according to the bidding price of the buying and selling parties; Based on the transaction portfolio quotation matrix, the transaction electric quantity is taken as an optimization variable, and the out-of-clearing model with the transaction price difference multiplied by the transaction electric quantity as a target function is established.
[0009] By adopting the technical scheme, the structured arrangement of the quotation data of different transaction subjects is realized by acquiring the buyer bid price and the seller bid price of the sending province and the receiving province in each period and forming the transaction portfolio quotation matrix, so that the completeness and calculability of the input of the out-of-clearing model are improved; the optimal electric quantity distribution scheme is solved in the direction of maximizing the income by taking the transaction electric quantity as an optimization variable and establishing the out-of-clearing model with the transaction price difference multiplied by the transaction electric quantity as a target function, so that the economic efficiency of the out-of-clearing calculation of the inter-provincial spot market is improved.
[0010] The application can be further configured in an example as follows: the marginal transaction data of the corresponding sending province is determined according to the transaction out-of-clearing data, including: The day-ahead transaction pair is acquired from the transaction out-of-clearing data, and the transaction order in each sending province is identified according to the transaction time; The latest time transaction pair is located according to the transaction order, the average value of the bid price and the ask price of the transaction pair is acquired and calculated as the marginal transaction price of the sending province, and the transaction electric power of the latest time transaction pair at the out-of-clearing time is recorded as the marginal transaction electric power.
[0011] By adopting the technical scheme, the transaction dynamic of each sending province in the time dimension is tracked by acquiring the day-ahead transaction pair from the transaction out-of-clearing data and identifying the transaction order in each sending province according to the transaction time, so as to provide a traceable data basis for subsequent marginal transaction identification; the real-time marginal transaction state of the sending province is extracted by selecting the latest time transaction pair and calculating the average value of the bid price and the ask price thereof as the marginal transaction price of the sending province, and recording the transaction electric power of the corresponding period as the marginal transaction electric power, so as to ensure the timeliness and representativeness of the marginal data.
[0012] The application can be further configured in an example as follows: based on the marginal transaction data, the path transmission price and the path network loss are link-converted by combining the path transmission parameters from the sending province to the receiving province, and the comprehensive coefficients of the path transmission price and the path network loss are respectively determined to calculate the receiving transaction data, including: Based on the preset cross-provincial transmission network topology structure, the order relationship of a plurality of transmission channels between the sending province and the receiving province is determined; The line identifier of each transmission channel is acquired, the transmission price parameter and the network loss parameter of the corresponding channel are retrieved according to the line identifier, and the parameter sequence of the multi-section path is established; According to the sequence relationship, the power transmission price parameters of each channel are superimposed in the same path direction according to the section sequence to obtain a comprehensive coefficient of path power transmission price, and the network loss parameters of each channel are converted section by section to obtain a comprehensive coefficient of path network loss. According to the comprehensive coefficients of path power transmission price and path network loss, the marginal transaction data of the sending end province is corrected to obtain the transaction price and transaction power of the receiving end province.
[0013] By adopting the above technical solution, the sequence relationship between the sending end province and the receiving end province is determined based on the preset cross-provincial power transmission network topology, the structure path of the cross-provincial power transmission link is determined, and the subsequent conversion calculation is consistent with the physical topology of the power grid; the line identifiers of each power transmission channel are obtained, and the corresponding power transmission price parameters and network loss parameters are retrieved to establish a parameter sequence of the multi-section path, which can provide high-precision input for path price and loss conversion, thereby improving the accuracy of power transmission parameter calculation; the power transmission price parameters of each channel are superimposed in the same path direction, and the network loss parameters of each channel are converted section by section, which can form the comprehensive coefficients of path power transmission price and network loss, thereby realizing the integrated representation of the cross-provincial path; the marginal transaction data of the sending end province is corrected according to the comprehensive coefficients of path power transmission price and path network loss, the transaction price and transaction power of the receiving end province are accurately calculated, and the energy price mapping from the source end to the gateway is realized.
[0014] In an example, the application can be further configured to: the receiving end transaction data is aggregated to generate the total power purchase power of the receiving end gateway, and the marginal price threshold is determined based on the receiving end transaction price, including: Under the unified time reference, the receiving end transaction power corresponding to different sending ends is added, the corresponding relationship between the transaction price and power data of each source is maintained, and the total power purchase power of the receiving end gateway is obtained; The receiving end transaction price is extracted from the receiving end transaction data, and the minimum value is selected as the marginal price threshold of the current period.
[0015] By adopting the above technical solution, the receiving end transaction power corresponding to different sending ends is added under the unified time reference, the corresponding relationship between the transaction price and power data of each source is maintained, the total power purchase of the receiving end gateway is accurately aggregated, and the period power data reflecting the overall load level is obtained; the minimum value is selected as the marginal price threshold of the current period by extracting the price from the receiving end transaction data, which can determine the lowest transaction boundary of the market in the period, thereby providing an objective price threshold condition for subsequent user decomposition.
[0016] The application can be further configured in an example as follows: the distribution coefficient of each provincial user subject is calculated according to the bidding price of each provincial user subject and the marginal electricity price threshold, and the total purchased electricity power is decomposed to each provincial user subject according to the distribution coefficient to obtain the final transaction electricity power of each provincial user subject, comprising: The bidding price of each subject is compared with the marginal electricity price threshold under the dimension of provincial user subjects, and the distribution coefficient is determined according to the comparison result; The total purchased electricity power is proportionally distributed according to the distribution coefficient corresponding to each user subject to obtain the final transaction electricity power of each user subject, and the transaction electricity power is taken as the input data of user-side settlement calculation.
[0017] By adopting the above technical solution, the bidding price of each subject is compared with the marginal electricity price threshold under the dimension of provincial user subjects, the distribution coefficient is determined according to the comparison result, the purchase priority of users under different price levels can be distinguished, and the electricity distribution strategy at different levels can be realized; the total purchased electricity power is proportionally distributed according to the distribution coefficient corresponding to each user subject, the final transaction electricity power is calculated, the fine allocation of provincial purchase electricity results can be realized, and the consistency of quantity and price and the distribution fairness in the settlement link can be ensured.
[0018] The application can be further configured in an example as follows: the distribution coefficient is determined according to the comparison result, comprising: When the bidding price is higher than the marginal electricity price threshold, the distribution coefficient of the corresponding subject is set as a full participation value; When the bidding price is lower than the marginal electricity price threshold, the distribution coefficient of the corresponding subject is set as a non-participation value; When the bidding price is equal to the marginal electricity price threshold, the distribution coefficient is determined according to the proportion of the bidding electricity power of the corresponding subject in the total bidding electricity power of the same-price subject.
[0019] By adopting the above technical solution, when the bidding price is higher than the marginal electricity price threshold, the distribution coefficient is set as a full participation value, it can be ensured that the high-willing subject obtains the electricity distribution preferentially, and the competition driving force of the market can be strengthened; when the bidding price is lower than the marginal electricity price threshold, the distribution coefficient is set as a non-participation value, it can be avoided that the low-price subject forms invalid occupation in the clearing result, and the utilization efficiency of the electricity resources can be improved; when the bidding price is equal to the marginal electricity price threshold, the distribution coefficient is determined according to the proportion of the bidding electricity power of the same-price subject, proportional fair distribution among the same-price subjects can be realized, and the market fairness under the marginal transaction condition can be ensured.
[0020] In the second aspect of the application, a provincial inter-provincial spot user-side electricity purchase decomposition device is provided, comprising: a clearing modeling module, configured to obtain comprehensive transaction data of a day before a provincial spot market, and construct a clearing model aiming at maximizing transaction revenue according to the comprehensive transaction data, so as to obtain transaction clearing data of each sending province and receiving province in each time period according to the clearing model; a margin identifying module, configured to determine marginal transaction data of a corresponding sending province according to the transaction clearing data; a path conversion module, configured to convert path transmission price and path network loss based on the marginal transaction data and path transmission parameters from the sending province to the receiving province, so as to obtain comprehensive coefficients of the path transmission price and the path network loss, and calculate receiving transaction data according to the comprehensive coefficients of the path transmission price and the path network loss; a gateway aggregating module, configured to aggregate a plurality of the receiving transaction data to generate total purchased power of a receiving gateway, and determine a marginal price threshold based on each receiving transaction price; a user decomposing module, configured to calculate distribution coefficients of each user subject in a province according to declared prices of the user subjects and the marginal price threshold, and decompose the total purchased power to the user subjects in the province according to the distribution coefficients to obtain final transaction power of the user subjects in the province.
[0021] By adopting the above technical solution, the overall optimal clearing of the multi-provincial sending-receiving transaction pair can be realized under unified market constraints by obtaining comprehensive transaction data of a day before a provincial spot market and constructing a clearing model aiming at maximizing transaction revenue, and resource mismatch caused by single-provincial local optimization can be avoided, so as to improve the economy and coordination of cross-provincial electric energy transaction; the key parameters reflecting the real-time marginal level of the market can be extracted by determining the marginal transaction data of the corresponding sending province according to the transaction clearing data, so as to ensure that the subsequent calculation is based on the latest transaction situation and enhance the dynamic adaptability of the algorithm; the price difference and energy loss in the cross-provincial transmission process can be accurately quantified by converting the path transmission price and the path network loss based on the marginal transaction data and the path transmission parameters from the sending province to the receiving province, so as to realize the real restoration of the price and the quantity when calculating the receiving transaction data; a unified receiving gateway purchased power price system can be formed by aggregating a plurality of receiving transaction data and determining a marginal price threshold based on each receiving transaction price, so as to provide a clear price boundary and settlement basis for the purchased power decomposition of the user side in the province; the purchased power result can be accurately apportioned to the user side by calculating the distribution coefficients according to the declared prices of the user subjects in the province and the marginal price threshold and decomposing the total purchased power to the user subjects, so as to improve the transparency of the electric energy transaction and the fairness of the user side settlement.
[0022] In an example, the clearing modeling module can be further configured to: Obtaining the bid and ask prices and corresponding transaction power of the sending province and the receiving province in each time period; According to the bid and ask prices, a transaction portfolio price matrix is formed; Based on the transaction portfolio price matrix, the transaction power is taken as an optimization variable, and the clearing model with the transaction price difference multiplied by the transaction power as an objective function is established.
[0023] In an example, the application can be further configured as follows: the marginal identification module is specifically configured to: Obtaining the day-ahead transaction pair from the transaction clearing data, and determining the transaction order of each sending province according to the transaction time; According to the transaction order, the most recent time transaction pair is located, the average value of the bid and ask prices of the transaction pair is obtained and calculated as the marginal transaction price of the sending province, and the transaction power of the most recent time transaction pair at the clearing time is recorded as the marginal transaction power.
[0024] In an example, the application can be further configured as follows: the path conversion module is specifically configured to: Based on the preset cross-province transmission network topology structure, the order relationship of multiple transmission channels between the sending province and the receiving province is determined; Obtaining the line identifier of each transmission channel, retrieving the transmission price parameter and network loss parameter of the corresponding channel according to the line identifier, and establishing a parameter sequence of multiple sections of paths; According to the order relationship, the transmission price parameters of each channel are superimposed in the same path direction according to the section order to obtain a comprehensive coefficient of path transmission price, and the network loss parameters of each channel are converted section by section to obtain a comprehensive coefficient of path network loss; According to the comprehensive coefficients of the path transmission price and the path network loss, the marginal transaction data of the sending province are corrected to obtain the transaction price and transaction power of the receiving province.
[0025] In a third aspect, an electronic device is provided, which includes a memory and a processor, and the memory stores a computer program, and the processor implements the steps of the inter-provincial spot user-side power purchase decomposition method when executing the computer program.
[0026] In a fourth aspect, a storage medium is provided, which stores a computer program, and the computer program is executed by a processor to implement the steps of the inter-provincial spot user-side power purchase decomposition method. BRIEF DESCRIPTION OF DRAWINGS
[0027] The accompanying drawings, which form a part of this specification, are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification. The drawings illustrate one illustrative embodiment of the application and, together with the description, serve to explain the application. In the drawings: Figure 1 A flow chart of a provincial inter-market spot user side electricity purchase decomposition method in an embodiment of the application; Figure 2 A structural block diagram of a provincial inter-market spot user side electricity purchase decomposition device in an embodiment of the application; Figure 3 A structural block diagram of an electronic device in an embodiment of the application. DETAILED DESCRIPTION
[0028] The application will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that the embodiments and features in the embodiments in the present application can be combined with each other without conflict.
[0029] The following detailed description is exemplary and is intended to provide further explanation of the application. Unless otherwise defined, all technical terms used in the present application have the same meanings as generally understood by those skilled in the art. The terms used in the present application are only used to describe the specific embodiments and are not intended to limit the exemplary embodiments according to the present application.
[0030] Embodiment 1 As shown in the accompanying drawings, the present application discloses a provincial inter-market spot user side electricity purchase decomposition method, specifically comprising the following steps: Figure 1 S10: Obtain the integrated transaction data of the day before the provincial inter-market spot market, and construct a clearing model with the goal of maximizing transaction revenue according to the integrated transaction data, to obtain the transaction clearing data of each sending-end province and receiving-end province in each time period according to the clearing model.
[0031] Specifically, based on the quotation file within the inter-provincial spot market trading cycle and the period division information provided by the dispatch side, the comprehensive trading data of the day before the inter-provincial spot market is collected, including the power-price data declared by the buying and selling parties, the unit characteristic data of the selling party, the power network model data, the power grid constraint data, etc. Among them, the first two items, i.e. the comprehensive trading data of the buying and selling parties and the unit characteristic data of the selling party, belong to the data of the trading pair, and the last two items, i.e. the power network model data and the power grid constraint data, belong to the data of the power grid model. The buying party declaration information and the selling party declaration information of each trading subject in each period are summarized to form an input data set, and then a transaction portfolio model, i.e. a clearing model, is established according to the comprehensive trading data. The objective function of the model is set to maximize the transaction revenue under market constraints. The feasible solution space is obtained by analyzing the constraint conditions, and the clearing solution corresponding to each period is obtained by iterative calculation of the feasible solution space, thereby generating the transaction price and transaction power data set between the sending-end province and the receiving-end province, and forming the transaction clearing data of each period.
[0032] S20: Determine the marginal transaction data of the corresponding sending-end province according to the transaction clearing data.
[0033] Specifically, the result data interface of the clearing model is called, the transaction records in each sending-end province are retrieved in the transaction result set, the latest transaction pair declaration information is extracted according to the time field, and the buying party declaration price and the selling party declaration price of the transaction pair are read respectively. The buying party declaration price and the selling party declaration price are averaged to determine the marginal transaction price of the current sending-end province, and the transaction power corresponding to the transaction pair is extracted as the marginal transaction power to generate the marginal transaction data of the current period.
[0034] S30: Based on the marginal transaction data, the path transmission price and the path network loss are link-converted by combining the path transmission parameters from the sending-end to the receiving-end, and the comprehensive coefficients of the path transmission price and the path network loss are obtained respectively to calculate the receiving-end transaction data according to the comprehensive coefficients of the path transmission price and the path network loss.
[0035] Specifically, according to the topological structure information of the inter-provincial transmission network, the transmission path set between the sending-end province and the receiving-end province is determined, the transmission price parameters and the network loss parameters of each path are read from the dispatch data or the power grid archive, the link transfer relationship is established according to the order of the path nodes, the price parameters of each section are weighted and converted according to the line direction, the comprehensive coefficient of the path transmission price is obtained, and the comprehensive coefficient of the path network loss is obtained by adding up the section power loss proportion by section. Then, the path transmission price and the path network loss comprehensive coefficients are applied to the marginal transaction data of the sending-end province, the price is corrected, and the network loss compensation is performed on the power data to generate the transaction price and the transaction power corresponding to the receiving-end province, and the receiving-end transaction data is obtained.
[0036] S40: Aggregate the several end transaction data to generate the total purchase power of the end gateway, and determine the marginal price threshold based on the end transaction price of each end.
[0037] Specifically, under the unified time reference, the end transaction power data from different sending provinces is added, the end transaction price and power in the same period are kept in a paired relationship, the total purchase power data set of the end gateway is formed by aggregation, and comparison and analysis are performed among the end transaction prices to identify the lowest electricity value and mark it as the marginal price threshold of the current period, which is used to represent the price boundary of the provincial power distribution.
[0038] S50: Calculate the distribution coefficient of each provincial user subject according to the declared price of each provincial user subject and the marginal price threshold, and decompose the total purchase power to each provincial user subject according to the distribution coefficient to obtain the final transaction power of each provincial user subject.
[0039] Specifically, based on the declaration information of the provincial market users, the declared price of each user subject is compared with the marginal price threshold to determine the user set participating in the distribution, the corresponding distribution weight or distribution coefficient is calculated for each user subject, after obtaining the distribution coefficient set, the total purchase power of the end gateway is taken as the distribution reference, and the proportional distribution operation is performed on each user subject, thereby generating the final transaction power result of each user subject, and the transaction power is used for subsequent user side settlement calculation and purchase record archiving.
[0040] In an embodiment, in step S10, the integrated transaction data of the inter-provincial spot market day before is obtained, and a clearing model with the goal of maximizing transaction revenue is constructed according to the integrated transaction data, including: S11: Obtain the bid and offer declaration prices and corresponding transaction power of the sending and receiving provinces in each period.
[0041] Specifically, according to the period division of the inter-provincial spot transaction purpose and the participation range of the sending and receiving ends, the bid declaration price, the offer declaration price and the corresponding transaction power data of each sending and receiving province combination are collected in the transaction period, the declaration information of the bid and offer parties is timestamped and field standardized in the data processing stage, and the invalid data exceeding the capacity constraint is excluded, so that valid sending-receiving combination quotation record set can be obtained at each transaction time point t, and a unified and structured input data basis is provided for the subsequent clearing model.
[0042] S12: Form a transaction combination quotation matrix according to the bid and offer declaration prices.
[0043] Specifically, the bid and ask prices and corresponding transaction capacities of each transaction pair in each transaction period are structured and arranged to form a transaction portfolio quotation matrix, and the matrix elements include the bid and ask prices, the transaction capacities and the corresponding time point indexes. Through time alignment, abnormality elimination and capacity boundary test on the original quotation data, valid quotation data sets corresponding to the sending and receiving provinces at any transaction time point t are obtained, thereby providing a unified input format for subsequent establishment of the clearing model.
[0044] S13: Based on the transaction portfolio quotation matrix, a clearing model is established with the transaction capacity as the optimization variable and the transaction price difference multiplied by the transaction capacity as the objective function.
[0045] Specifically, based on the transaction portfolio quotation matrix, an inter-provincial spot market clearing model is constructed with the maximum transaction revenue as the target where t is the transaction time point, the whole day is divided into 96 time points at intervals of 15 minutes, T is the set of transaction time points in the transaction period, is the price difference of the transaction combination of the sending and receiving provinces i and k at t, is the selling transaction capacity of the transaction combination of the sending and receiving provinces i and k at t.
[0046] In an embodiment, in step S20, the marginal transaction data corresponding to the sending province is determined according to the transaction clearing data, including: S21: Obtain the day-ahead transaction pairs from the transaction clearing data, and arrange the transaction order in each sending province according to the transaction time.
[0047] Specifically, after the transaction clearing data obtained based on the day-ahead comprehensive transaction data is completed, the corresponding transaction records of each period are extracted in the sending province dimension, and the receiving province identifier, the bid and ask prices and the transaction capacity data associated therewith are retained. The full transaction records in the sending province are arranged in ascending order according to the transaction time index, and the order sequence of the sending province-period-transaction pair is generated. Any sending province in any period can locate the latest time transaction pair according to the sequence and maintain the consistent mapping relationship with the transaction clearing data, thereby providing a sequential basis for the determination of the marginal transaction data connected with the main clearing result.
[0048] S22: Locate the latest time transaction pair according to the transaction order, obtain and calculate the average value of the bid and ask prices of the transaction pair as the marginal transaction price of the sending province, and record the transaction capacity of the latest time transaction pair at the clearing time as the marginal transaction capacity.
[0049] Specifically, for each sending province, the latest transaction in the time period t is selected as the marginal transaction sample, the seller's bid price of the sending province and the buyer's bid price of the corresponding receiving province in the transaction are read, the arithmetic mean of the seller's bid price and the buyer's bid price is calculated as the marginal transaction price of the sending province in the time period wherein, is the buyer's bid price of the receiving province k for the last transaction pair of the sending province i at t; is the seller's bid price of the sending province i for the last transaction pair at t, is the marginal transaction price of the sending province i at t; at the same time, the transaction power of the transaction is read as the marginal transaction power of the corresponding time period, so as to construct the marginal transaction data sequence of the sending province at each transaction time point, providing input for subsequent path conversion and receiving end transaction calculation.
[0050] In an embodiment, in step S30, based on the marginal transaction data, the path transmission price and the path network loss are converted by link, and the comprehensive coefficients of the path transmission price and the path network loss are determined respectively to calculate the receiving end transaction data, including: S31: Based on the preset cross-provincial transmission network topology structure, the order relationship of the multiple transmission channels between the sending province and the receiving province is determined.
[0051] Specifically, based on the transmission network topology structure established in the cross-provincial power grid dispatching system, the cross-provincial transmission path between the sending province and the receiving province is path-decomposed, and the sequential link structure composed of multiple transmission channels is identified, each channel corresponding to specific physical line and transmission direction information. By traversing and analyzing the node set and edge set in the network topology, the multiple feasible channels and their order arrangement relationship from the sending end to the receiving end are determined according to the directionality of power transmission, forming a path index sequence {L1, L2, …, LU}, which provides a path order basis for subsequent channel parameter retrieval and path conversion calculation.
[0052] S32: Obtain the line identifier of each transmission channel, retrieve the transmission price parameter and the network loss parameter of the corresponding channel according to the line identifier, and establish the parameter sequence of the multiple sections.
[0053] Specifically, according to the path index sequence, the line identifier of each transmission channel is read, and the transmission price parameter and the network loss parameter of the channel are retrieved in the transmission parameter database based on the line identifier, respectively denoted as C u and ρ h,k , wherein C u represents the transmission price (including network loss discount) of the channel per unit of power, and ρ h,kThe transmission path is characterized by a corresponding network loss rate, and the retrieved parameters are arranged in a path parameter sequence according to the channel order to form a multi-section path data structure that can be used for price and network loss conversion calculation.
[0054] S33: According to the sequence relationship, the transmission price parameters of each channel are superimposed in the order of the sections in the same path direction to obtain the comprehensive coefficient of the path transmission price, and the network loss parameters of each channel are converted section by section to obtain the comprehensive coefficient of the path network loss.
[0055] Specifically, in the same transmission direction, the transmission price parameters of each channel are multiplied and superimposed according to the channel order to obtain the comprehensive coefficient of the path transmission price , wherein, is the transmission price of the transaction path corresponding to the transaction combination of the sending province i and the receiving province k, is the transmission price of the u-th transmission channel in the transaction path; at the same time, the network loss parameters of each channel are converted section by section according to the channel order to obtain the comprehensive coefficient of the path network loss , wherein, is the network loss rate of the transaction path from the sending province i to the receiving province k; is the network loss rate of the h-th transmission channel in the transaction path from the sending province i to the receiving province k.
[0056] S34: According to the comprehensive coefficients of the path transmission price and the path network loss, the marginal transaction data of the sending province are corrected to obtain the transaction price and the transaction power of the receiving province.
[0057] Specifically, according to the comprehensive coefficients of the path transmission price and the path network loss, the marginal transaction data of the sending province are corrected to obtain the transaction price and the transaction power of the receiving province, and the receiving transaction price is obtained by superimposing the marginal transaction price of the sending province and the comprehensive coefficient of the path transmission price, that is, , wherein, is the buyer transaction price of the sending province i to the receiving province k at t; the receiving transaction power is obtained by multiplying the sending transaction power by the path network loss conversion coefficient, that is, , wherein, is the buyer transaction power of the sending province i to the receiving province k at t.
[0058] In an embodiment, in step S40, the receiving transaction data is aggregated to generate the total purchase power of the receiving terminal, and the marginal price threshold is determined based on the transaction price of each receiving terminal, including: S41: Under the unified time reference, the receiving transaction power corresponding to different sending terminals is summed up, the corresponding relationship between the transaction price and the power data of each source receiving terminal is maintained, and the total purchase power of the receiving terminal is obtained.
[0059] Specifically, under a unified time base, the transaction power of the receiving end corresponding to each sending province is aggregated and calculated. The one-to-one correspondence between the receiving end transaction price and the power data of each sending province is maintained under the time period index t. During the aggregation process, the receiving end gateway is used as the aggregation node. The transaction power of buyers from different sending provinces is summed item by item according to the path correspondence to obtain the total power purchased by the receiving end gateway in the current time period. ,in, This refers to the electricity purchased by the buyer at time t and delivered to the receiving province's k-gate via inter-provincial spot trading. This represents the electricity purchased by the buyer and delivered from the sending province i to the receiving province k during time period t.
[0060] S42: Extract the receiving-end transaction price from the receiving-end transaction data, and select the minimum value from the receiving-end transaction price as the marginal price threshold for the current period.
[0061] Specifically, the set of receiving-end transaction prices corresponding to each sending end is extracted from the receiving-end transaction data. The electricity price data is sorted and filtered according to the index t of the same time period, and the minimum value is selected as the marginal electricity price threshold for the current time period. ,in This refers to the marginal electricity price paid by the buyer at time t for electricity purchased through inter-provincial spot trading and delivered to the receiving province at port k. The minimum electricity value represents the lowest marginal level of electricity purchase that can be achieved at the current receiving end point, and serves as the benchmark electricity price for allocation and settlement calculations on the user side within the province.
[0062] In one embodiment, step S50 involves calculating the allocation coefficient for each user entity within a province based on their bid price and marginal electricity price threshold, and then allocating the total purchased electricity to each user entity within a province according to the allocation coefficient, thereby obtaining the final transaction electricity for each user entity within a province. This includes: S51: Under the dimension of users within the province, the bid price of each entity is compared with the marginal electricity price threshold, and the allocation coefficient is determined based on the comparison results.
[0063] Specifically, at the level of users within the province, the bid price of each entity is compared with the marginal electricity price threshold for the current period. Based on the comparison results, the corresponding allocation coefficient is determined. When an entity's bid is higher than the marginal electricity price threshold, it indicates that the entity has priority in the transaction during that period. When the bid is lower than the marginal electricity price threshold, it indicates that the entity does not have the qualification to transact during that period. When the bid is equal to the marginal electricity price threshold, the specific allocation ratio is determined according to the proportion of electricity declared by entities with the same price. This ensures that users under the same marginal price conditions receive the transaction electricity allocation according to the proportion of electricity declared, thereby guaranteeing the fairness of allocation and the conservation of electricity among entities within the province under the constraint of a unified marginal electricity price.
[0064] S52: The total purchased electricity is allocated proportionally according to the allocation coefficient corresponding to each user entity to obtain the final transaction electricity for each user entity, and the transaction electricity is used as the input data for user-side settlement calculation.
[0065] Specifically, using a determined allocation coefficient as the weight and the total electricity purchased at the receiving end as the benchmark, the electricity is proportionally allocated to user entities within each province, and the final transaction electricity for each entity is calculated. ,in, The electricity traded at time t in the receiving province k subject j after being decomposed within the province. This is the transaction coefficient for allocating electricity purchased through inter-provincial spot trading at the receiving province k gate at time t to the intra-provincial entity j. This proportional allocation process realizes the mapping and decomposition of electricity purchased at the gate level to electricity purchased at the user level, and the result is directly used as input data for user-side settlement and statistical analysis.
[0066] In one embodiment, step S51, namely determining the allocation coefficient based on the comparison result, includes: S511: When the bid price is higher than the marginal electricity price threshold, the allocation coefficient of the corresponding entity will be set to the full participation value.
[0067] Specifically, when the entity's bid price exceeds the marginal electricity price threshold, it is considered that the entity has a high willingness to purchase electricity and a high price acceptance during that period, and the corresponding allocation coefficient will be applied accordingly. Setting it to 1 ensures that all electricity declared by the entity enters the transaction set, thereby guaranteeing that the high-priced entity has priority in obtaining the right to purchase and allocate electricity in the clearing mechanism.
[0068] S512: When the bid price is lower than the marginal electricity price threshold, the allocation coefficient of the corresponding entity will be set to a non-participation value.
[0069] Specifically, when the main entity's bid price is lower than the marginal electricity price threshold, it is considered that its bid has not reached the transaction threshold, and the corresponding allocation coefficient will be adjusted accordingly. Setting it to 0 indicates that the entity has no transaction volume during this period, and the electricity purchase application will not be included in the transaction allocation set.
[0070] S513: When the bid price is equal to the marginal electricity price threshold, the allocation coefficient shall be determined according to the proportion of the bid electricity of the corresponding entity in the total bid electricity of the same price entities.
[0071] Specifically, when a bid price from a main entity equals the marginal electricity price threshold, it is considered that the entity's bid is within the marginal transaction range, and the proportion of electricity bid by this entity relative to the total electricity bid by other entities at the same price is determined. Determine its allocation coefficient ,in To allow the receiving province k, the main body j, to declare electricity through inter-provincial spot electricity purchase at time t, Let be the transaction decomposition coefficients of each entity in the marginal transaction price within the receiving province k at time t.
[0072] Example 2 like Figure 2 As shown, based on the same inventive concept as the above embodiments, the present invention also provides an inter-provincial spot user-side electricity purchase and decomposition device, comprising: The clearing modeling module is used to obtain the day-ahead comprehensive transaction data of the inter-provincial spot market, and to construct a clearing model with the goal of maximizing transaction profits based on the comprehensive transaction data. The clearing model is used to obtain the transaction clearing data of each sending and receiving province in each time period. The marginal identification module is used to determine the marginal transaction data of the corresponding sending province based on the transaction clearing data; The path conversion module is used to perform link conversion on path transmission price and path network loss based on marginal transaction data and combined with path transmission parameters from the sending end to the receiving end, so as to obtain the comprehensive coefficient of path transmission price and path network loss respectively, and calculate the receiving end transaction data based on the comprehensive coefficient of path transmission price and path network loss; The gateway aggregation module is used to aggregate transaction data from several receiving ends to generate the total purchased electricity at the receiving end gateway, and to determine the marginal electricity price threshold based on the transaction price of each receiving end. The user decomposition module is used to calculate the allocation coefficient of each user entity within a province based on the bid price and marginal electricity price threshold of each user entity within the province. Based on the allocation coefficient, the total purchased electricity is decomposed to each user entity within the province to obtain the final transaction electricity for each user entity within the province.
[0073] Optional, the clearing modeling module includes: The data acquisition submodule is used to acquire the bid prices and corresponding transaction volumes of the sending and receiving provinces at each time period. The data modeling submodule is used to generate a transaction portfolio quotation matrix based on the bid prices from both buyers and sellers. The target setting submodule is used to establish a clearing model with the transaction price difference multiplied by the transaction volume as the objective function, based on the transaction portfolio quotation matrix and the transaction volume as the optimization variable.
[0074] Optionally, the boundary recognition module includes: The results extraction submodule is used to obtain the day-to-day trade pairs from the trade clearing data and identify the order of trades within each sending province according to the trade time. The marginal determination submodule is used to locate the most recently traded transaction pair according to the order of transactions, obtain and calculate the average of the bid prices of the buyers and sellers of the transaction pair as the marginal transaction price of the sending province, and record the transaction electricity of the most recently traded transaction pair at the clearing time as the marginal transaction electricity.
[0075] Optionally, the route conversion module includes: The channel resolution submodule is used to determine the sequential relationship of multiple transmission channels between the sending province and the receiving province based on the preset inter-provincial transmission network topology. The parameter retrieval submodule is used to obtain the line identifier of each transmission channel, retrieve the transmission price parameter and network loss parameter of the corresponding channel based on the line identifier, and establish the parameter sequence of multiple paths; The conversion calculation submodule is used to superimpose the transmission price parameters of each channel in the same path direction according to the sequential relationship to obtain the comprehensive coefficient of the path transmission price, and to convert the network loss parameters of each channel segment by segment to obtain the comprehensive coefficient of the path network loss. The result correction submodule is used to correct the marginal transaction data of the sending province based on the comprehensive coefficient of the path transmission price and the path network loss, so as to obtain the transaction price and transaction electricity of the receiving province.
[0076] Optionally, the gateway aggregation module includes: The power aggregation submodule is used to sum the transaction power of different sending ends corresponding to the receiving ends under a unified time base, maintain the correspondence between the transaction price of each receiving end and the power data, and obtain the total power purchased at the receiving end. The threshold determination submodule is used to extract the receiving-end transaction price from the receiving-end transaction data and select the minimum value from the receiving-end transaction price as the marginal electricity price threshold for the current period.
[0077] Optionally, the user decomposition module includes: The comparison and calculation submodule is used to compare the bid price of each user entity with the marginal electricity price threshold within the province, and determine the allocation coefficient based on the comparison results. The power allocation submodule is used to allocate the total purchased power proportionally according to the allocation coefficient corresponding to each user entity, so as to obtain the final transaction power for each user entity, and use the transaction power as the input data for user-side settlement calculation.
[0078] Optionally, the comparison calculation submodule includes: The allocation determination unit is used to set the allocation coefficient of the corresponding entity to the full participation value when the bid price is higher than the marginal electricity price threshold; The exclusion judgment unit is used to set the allocation coefficient of the corresponding entity to a non-participation value when the bid price is lower than the marginal electricity price threshold; The proportional decomposition unit is used to determine the allocation coefficient based on the proportion of the corresponding entity's declared electricity in the total declared electricity of entities with the same price when the declared price is equal to the marginal electricity price threshold.
[0079] Example 3 like Figure 3As shown, the present invention also provides an electronic device 100 for implementing the inter-provincial spot user-side electricity purchase decomposition method; The electronic device 100 includes a memory 101, at least one processor 102, a computer program 103 stored in the memory 101 and executable on at least one processor 102, and at least one communication bus 104.
[0080] The memory 101 can be used to store the computer program 103. The processor 102 implements the steps of the inter-provincial spot user-side electricity purchase decomposition method of Embodiment 1 by running or executing the computer program stored in the memory 101 and calling the data stored in the memory 101.
[0081] The memory 101 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created based on the use of the electronic device 100 (such as audio data), etc. In addition, the memory 101 may include non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other non-volatile solid-state storage device.
[0082] At least one processor 102 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Processor 102 may be a microprocessor or any conventional processor. Processor 102 is the control center of electronic device 100, connecting various parts of electronic device 100 via various interfaces and lines.
[0083] The memory 101 in the electronic device 100 stores multiple instructions to implement a method for splitting inter-provincial spot electricity purchases by the user side, and the processor 102 can execute multiple instructions to achieve the following: Obtain comprehensive transaction data of the inter-provincial spot market before the date, construct a clearing model with the goal of maximizing transaction profits based on the comprehensive transaction data, and obtain transaction clearing data of each sending and receiving province in each time period based on the clearing model; Based on the transaction clearing data, determine the marginal transaction data of the corresponding sending province; Based on marginal transaction data and combined with the path transmission parameters from the sending end to the receiving end, the path transmission price and path network loss are converted into a link, and the comprehensive coefficients of the path transmission price and path network loss are obtained respectively, so as to calculate the receiving end transaction data based on the comprehensive coefficients of the path transmission price and path network loss. By aggregating several receiving-end transaction data, the total purchased electricity at the receiving-end threshold is generated, and the marginal electricity price threshold is determined based on the transaction price of each receiving end. Based on the bid prices and marginal electricity price thresholds of user entities within each province, the allocation coefficients of user entities within each province are calculated. Based on the allocation coefficients, the total purchased electricity is allocated to user entities within each province, thus obtaining the final transaction electricity for each user entity within the province.
[0084] Example 4 If the modules / units integrated in the electronic device 100 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, and read-only memory (ROM).
[0085] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0086] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0087] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0088] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0089] In the description of this specification, references to terms such as "an embodiment," "example," "specific example," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0090] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for decomposing inter-provincial spot electricity purchases by users, characterized in that, The method includes: Obtain comprehensive transaction data of the inter-provincial spot market before the date, construct a clearing model with the goal of maximizing transaction profits based on the comprehensive transaction data, and obtain transaction clearing data of each sending and receiving province in each time period based on the clearing model; Based on the transaction clearing data, determine the marginal transaction data of the corresponding sending province; Based on the marginal transaction data and combined with the path transmission parameters from the sending end to the receiving end, the path transmission price and path network loss are calculated by link conversion to obtain the comprehensive coefficients of the path transmission price and path network loss, so as to calculate the receiving end transaction data according to the comprehensive coefficients of the path transmission price and path network loss. The transaction data of several receiving ends are aggregated to generate the total purchased electricity at the receiving end, and the marginal electricity price threshold is determined based on the transaction price of each receiving end. Based on the bid prices of users within each province and the marginal electricity price threshold, the allocation coefficient for each user within each province is calculated. Based on the allocation coefficient, the total purchased electricity is allocated to each user within each province to obtain the final transaction electricity for each user within each province.
2. The method for decomposing inter-provincial spot electricity purchases by users according to claim 1, wherein obtaining the comprehensive transaction data of the inter-provincial spot market before the due date and constructing a clearing model based on the comprehensive transaction data with the objective of maximizing transaction profits includes: Obtain the bid prices and corresponding transaction volumes of both the sending and receiving provinces at each time period; Based on the bids from both buyers and sellers, a transaction portfolio quotation matrix is formed; Based on the transaction portfolio price matrix, the transaction volume is used as an optimization variable to establish the clearing model with the transaction price difference multiplied by the transaction volume as the objective function.
3. The inter-provincial spot user-side electricity purchase decomposition method according to claim 1, wherein determining the marginal transaction data of the corresponding sending province based on the transaction clearing data includes: Obtain the day-to-date trade pairs from the trade clearing data, and identify the order of trades within each sending province according to the trade time; Based on the transaction order, locate the most recent transaction pair, obtain and calculate the average of the bid prices of the buyers and sellers of the transaction pair as the marginal transaction price of the sending province, and record the transaction power of the most recent transaction pair at the clearing time as the marginal transaction power.
4. The inter-provincial spot user-side electricity purchase decomposition method according to claim 1, wherein the step of performing link conversion on the path transmission price and path network loss based on the marginal transaction data and in combination with the path transmission parameters from the sending end to the receiving end, and determining the comprehensive coefficients of the path transmission price and path network loss respectively, to calculate the receiving end transaction data, includes: Based on the pre-defined inter-provincial power transmission network topology, the sequential relationship of multiple power transmission channels between the sending province and the receiving province is determined. Obtain the line identifier of each transmission channel, retrieve the transmission price parameter and network loss parameter of the corresponding channel based on the line identifier, and establish a parameter sequence for multiple paths; Based on the aforementioned sequence relationship, the transmission price parameters of each channel are superimposed in segment order along the same path direction to obtain the comprehensive coefficient of the path transmission price, and the network loss parameters of each channel are calculated segment by segment to obtain the comprehensive coefficient of the path network loss. Based on the combined coefficient of the transmission price and network loss along the transmission path, the marginal transaction data of the sending province is corrected to obtain the transaction price and transaction power of the receiving province.
5. A device for splitting inter-provincial spot electricity purchases by the user side, characterized in that, The device includes: The clearing modeling module is used to obtain the comprehensive transaction data of the inter-provincial spot market before the date, and to construct a clearing model with the goal of maximizing transaction profits based on the comprehensive transaction data, so as to obtain the transaction clearing data of each sending province and receiving province in each time period based on the clearing model. The marginal identification module is used to determine the marginal transaction data of the corresponding sending province based on the transaction clearing data; The path conversion module is used to perform link conversion on the path transmission price and path network loss based on the marginal transaction data and the path transmission parameters from the sending end to the receiving end, so as to obtain the comprehensive coefficient of the path transmission price and the path network loss respectively, and calculate the receiving end transaction data according to the comprehensive coefficient of the path transmission price and the path network loss. The gateway aggregation module is used to aggregate several of the receiving-end transaction data to generate the total purchased electricity at the receiving-end gateway, and to determine the marginal electricity price threshold based on the transaction price of each receiving end. The user decomposition module is used to calculate the allocation coefficient of each user entity within a province based on the bid price of each user entity and the marginal electricity price threshold, and to decompose the total purchased electricity to each user entity within a province according to the allocation coefficient, so as to obtain the final transaction electricity of each user entity within a province.
6. The inter-provincial spot user-side electricity purchase decomposition device according to claim 5, wherein the clearing modeling module is specifically used for: Obtain the bid prices and corresponding transaction volumes of both the sending and receiving provinces at each time period; Based on the bids from both buyers and sellers, a transaction portfolio quotation matrix is formed; Based on the transaction portfolio price matrix, the transaction volume is used as an optimization variable to establish the clearing model with the transaction price difference multiplied by the transaction volume as the objective function.
7. The inter-provincial spot user-side electricity purchase decomposition device according to claim 5, wherein the marginal identification module is specifically used for: Obtain the day-to-date trade pairs from the trade clearing data, and identify the order of trades within each sending province according to the trade time; Based on the transaction order, locate the most recent transaction pair, obtain and calculate the average of the bid prices of the buyers and sellers of the transaction pair as the marginal transaction price of the sending province, and record the transaction power of the most recent transaction pair at the clearing time as the marginal transaction power.
8. The inter-provincial spot user-side electricity purchase decomposition device according to claim 5, wherein the path conversion module is specifically used for: Based on the pre-defined inter-provincial power transmission network topology, the sequential relationship of multiple power transmission channels between the sending province and the receiving province is determined. Obtain the line identifier of each transmission channel, retrieve the transmission price parameter and network loss parameter of the corresponding channel based on the line identifier, and establish a parameter sequence for multiple paths; Based on the aforementioned sequence relationship, the transmission price parameters of each channel are superimposed in segment order along the same path direction to obtain the comprehensive coefficient of the path transmission price, and the network loss parameters of each channel are calculated segment by segment to obtain the comprehensive coefficient of the path network loss. Based on the combined coefficient of the transmission price and network loss along the transmission path, the marginal transaction data of the sending province is corrected to obtain the transaction price and transaction power of the receiving province.
9. An electronic device, characterized in that, It includes a processor and a memory, the processor being used to execute a computer program stored in the memory to implement the steps of the inter-provincial spot user-side electricity purchase and decomposition method as described in any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one instruction, which, when executed by a processor, implements the steps of the inter-provincial spot user-side electricity purchase and decomposition method as described in any one of claims 1 to 4.