Inter-provincial electric power spot transaction optimization clearing method, system, equipment and medium
By calculating the transaction combination price difference and generating sequences, an inter-provincial power spot transaction clearing optimization objective function is established, taking into account the maximum and minimum power constraints of cross-regional transmission channels, solving the problem of difficult execution of clearing results in the existing technology, and realizing clearing Optimality and implementability of results.
Patent Information
- Application Number
- CN202410762870.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-09-17
AI Technical Summary
The existing clearing method for inter-provincial power spot transactions does not consider the available capacity constraints during two-way transactions on cross-regional channels, making the clearing results difficult to implement.
Calculate the transaction combination price difference and generate the transaction combination sequence. Based on the transaction combination price difference and sequence, establish the inter-provincial spot transaction clearing optimization objective function, with the goal of maximizing social welfare for clearing, and establish constraint equations, including the maximum cross-regional transmission channel and the operating constraint equations for minimum transmission power.
By screening transaction combinations, the variables to be solved are reduced, the solution speed is improved, the optimality and executability of the clearing results are ensured, and the available capacity limit for forward and reverse transactions of cross-region transmission channels is automatically calculated, the complexity of manual settings is reduced, and the clearing solution is solved The result is difficult to implement.
Smart Images

Figure CN118657247A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power system automation, and in particular relates to an inter-provincial power spot transaction optimization clearing method, system, equipment and medium. Background Art
[0002] As the reform of the power system gradually advances, in order to accelerate the construction of an effectively competitive power market, it is necessary to establish a cross-provincial power spot trading mechanism through market-oriented means, further break down inter-provincial barriers, give full play to the role of the widely interconnected large power grid as the main platform in the optimal allocation of energy resources in my country, and promote the large-scale allocation of surplus and scarce resources across provinces and regions. At present, the inter-provincial spot market adopts clearing technology that takes into account the transmission price, network loss and available capacity of cross-regional channels. Before the clearing calculation, according to the current power grid operation mode, the available capacity of the cross-regional channel is calculated according to the cross-regional channel limit and pre-plan, forming the boundary conditions for the clearing calculation.
[0003] The transmission rights allocation method based on the price difference sequence can achieve the maximum social welfare of each step of clearing results, but when the inter-regional and inter-provincial channels are frequently blocked, the sequential allocation method sometimes cannot guarantee the maximum overall social welfare. Traditional inter-provincial spot transactions are incremental transactions, and only forward transactions in the same direction as medium- and long-term transactions in the inter-regional channels are carried out. In the clearing calculation, only the forward available capacity constraints of the inter-regional channels are considered, and the available capacity constraints of the two-way transactions of the inter-regional channels are not considered. The expansion of channel transaction volume and the change of transaction direction may change the original power grid operation mode, resulting in the inability to execute the clearing results due to power grid security. Summary of the invention
[0004] The purpose of the present invention is to provide an optimized clearing method, system, device and medium for inter-provincial electricity spot trading, so as to solve the problem that the existing clearing method does not take into account the available capacity constraints during bidirectional transactions in cross-regional channels, resulting in the difficulty in executing the clearing results.
[0005] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0006] In a first aspect, the present invention provides a method for optimizing clearing of inter-provincial electricity spot transactions, comprising the following steps:
[0007] Calculate the trading combination spread and generate the trading combination sequence;
[0008] Based on the transaction combination spread and transaction combination sequence, the inter-provincial spot transaction clearing optimization objective function is established, the clearing is carried out with the goal of maximizing social welfare, and the constraint equation is established to obtain the clearing result;
[0009] Among them, the transmission channel operation constraint equation in the constraint equation is established based on the maximum transmission power and the minimum transmission power of the inter-regional transmission channel.
[0010] Based on the above technical solution, further, the step of calculating the transaction combination spread and generating the transaction combination sequence specifically includes:
[0011] Obtain transaction combination information and calculate transaction combination price difference, remove all transaction combinations with price difference less than 0, and generate a transaction combination sequence.
[0012] Based on the above technical solution, further, the step of obtaining the transaction combination information and calculating the transaction combination spread specifically includes:
[0013] Obtain transaction combination information, including: buyer's declared electricity price, seller's declared electricity price and transaction path;
[0014] Obtaining the transmission channel information of the transmission channel through which the transaction path passes, including: the transmission price, network loss rate and total number of the transmission channel;
[0015] According to the transaction combination information and the transmission channel information of the transaction path, the transaction combination spread is calculated. The formula is as follows:
[0016]
[0017]
[0018] C t,n =(C t,n,bidprice *C t,n,ρ -C t,n,price )-C t,n,offerprice
[0019] Where: C t,n,ρ is the network loss rate of the transaction path corresponding to the nth transaction combination in the transaction period t; H is the total number of transmission channels in the transaction path; h is the transmission channel sequence number in the transaction path; L h,ρ is the network loss rate of the hth transmission channel in the transaction path; C t,n,price The electricity price conversion parameter reported by the seller of the nth transaction combination in the transaction period t; L h,cost is the transmission price of the hth transmission channel in the transaction path; L r,ρ is the network loss rate of the rth transmission channel among the first h transmission channels in the transaction path; C t,n is the spread of the nth trading combination in trading period t; C t,n,bidprice The electricity price reported by the buyer of the nth transaction combination in transaction period t; C t,n,offerprice The electricity price reported by the seller of the nth trading combination in trading period t.
[0020] Based on the above technical solution, further, the steps of establishing an inter-provincial spot transaction clearing optimization objective function based on the transaction combination spread and the transaction combination sequence, clearing with the goal of maximizing social welfare, and establishing a constraint equation to obtain the clearing result specifically include:
[0021] Acquire transaction combination information and transaction combination price difference of transaction combinations in the transaction combination sequence; the transaction combination information of the transaction combinations in the transaction combination sequence specifically includes: buyer-declared power, seller-declared power, and seller-traded power;
[0022] Obtaining the transmission channel information of the transmission channel through which the transaction path passes, specifically including: the maximum ramp power, the minimum ramp power and the initial transmission power plan value of the transmission channel;
[0023] An optimization objective function for clearing inter-provincial spot transactions is established. The optimization objective function for clearing inter-provincial spot transactions aims to maximize social welfare. The formula is as follows:
[0024]
[0025] Where: S is social welfare; x t,n is the seller transaction power of the nth trading combination in trading period t; T is the total number of trading periods; N t is the number of trading combinations included in the trading period;
[0026] Calculate the maximum and minimum transmission power of inter-regional transmission channels, and establish transmission channel operation constraint equations;
[0027] Establish the declared power constraint equation;
[0028] Establish transaction path association constraint equation;
[0029] Perform clearing calculations on the objective function and constraint equations to obtain the transaction path transaction power and transaction combination transaction power; obtain the transaction node transaction power and transaction node clearing electricity price based on the clearing calculation results;
[0030] The transaction path transaction power, transaction combination transaction power, transaction node transaction power and transaction node clearing power price are taken as the clearing results.
[0031] Based on the above technical solution, further, the step of calculating the maximum transmission power and the minimum transmission power of the inter-regional transmission channel and establishing the transmission channel operation constraint equation specifically includes:
[0032] Get the current grid operation mode and set the grid operation mode variable m corresponding to the inter-regional transmission channel t,d,i , the formula is as follows:
[0033]
[0034] Where: i = 1, 2, ..., M; M is the total number of power grid operation modes; t is the trading period;
[0035] Obtain the transmission channel information of the inter-regional transmission channel and the maximum transmission power l of the transmission channel corresponding to the grid operation mode t,d,i,max and minimum transmission power l t,d,i,min ;
[0036] According to the variables of the inter-regional transmission channel corresponding to the grid operation mode, as well as the maximum transmission power and minimum transmission power of the transmission channel corresponding to the grid operation mode, the maximum transmission power and minimum transmission power equations of the inter-regional transmission channel are established, and the formula is as follows:
[0037]
[0038] Solve to obtain the maximum transmission power l of transmission channel d in trading period t t,d,max and minimum transmission power l t,d,min ;
[0039] The available capacity constraint equation for the forward and reverse directions of the transmission channel is established, and the formula is as follows:
[0040] l t,d,min ≤r t,d +l t,d ≤l t,d,max
[0041] The minimum climbing power constraint equation of the transmission channel is established, and the formula is as follows:
[0042] |(r t,d +l t,d )-(r t-1,d +l t-1,d )|≥l t,d,p,min
[0043] The maximum climbing power constraint equation of the transmission channel is established, and the formula is as follows:
[0044] |(r t,d +l t,d )-(r t-1,d +l t-1,d )|≤l t,d,p,max
[0045] Where: r t,d is the initial transmission power plan value of transmission channel d in trading period t; l t,d is the transaction power of transmission channel d in trading period t; r t-1,d is the initial transmission power plan value of transmission channel d in trading period t-1; l t-1,d is the transaction power of transmission channel d in trading period t-1; lt,d,p,min is the minimum ramp power of transmission channel d in trading period t; t,d,p,max is the maximum ramp power of transmission channel d during trading period t.
[0046] Based on the above technical solution, further, the step of establishing the declared power constraint equation specifically includes:
[0047] Obtain the transaction combination corresponding to each group of buyer-declared power, seller-declared power, buyer-declared electricity price, and seller-declared electricity price;
[0048] Based on the corresponding transaction combination, the electricity selling power constraint equation of the transaction combination is established, and the formula is as follows:
[0049]
[0050]
[0051]
[0052] Where: Sw t It is the correlation matrix between the seller's transaction power and the seller's declared power in the transaction combination; sw t,in is the correlation coefficient between the electricity reported by the i-th seller and the transaction combination n in the transaction period t; x t,n,sell O is the serial number of the electricity price declared by the seller corresponding to the transaction combination n in the transaction period t; t,i,p Declare electricity for the ith seller in trading period t;
[0053] The power purchase constraint equation of the transaction combination is established, and the formula is as follows:
[0054]
[0055]
[0056]
[0057] Where: Bw t bw is the correlation matrix between the buyer's transaction power and the buyer's declared power in the transaction combination; t,jn is the correlation coefficient between the electricity reported by the jth buyer and the transaction combination n in the transaction period t; x t,n,buy B is the serial number of the electricity price declared by the buyer corresponding to the transaction combination n in the transaction period t; t,j,p Declare electricity for the jth buyer in trading period t.
[0058] Based on the above technical solution, further, the step of establishing the transaction path association constraint equation specifically includes:
[0059] Obtain the electricity and electricity prices declared by market entities;
[0060] Obtain the transaction combination corresponding to the power declared by each group of market entities and the electricity price declared by the market entities;
[0061] According to the corresponding transaction combination, the transaction combination and transaction path association constraint equation is established. The formula is as follows:
[0062]
[0063]
[0064] Path t,p =x t,n *pw t,pn
[0065] Where: Pw t is the correlation matrix between trading combinations and trading paths in trading period t; pw t,pn is the correlation coefficient between transaction path p and transaction combination n in transaction period t; t,n,path Path is the transaction path number corresponding to transaction combination n in transaction period t; t,p is the transaction power of transaction path p in trading period t;
[0066] Establish the association constraints between the transaction path and the transmission channel. The formula is as follows:
[0067]
[0068]
[0069] l t,d =ΣPath t,p e pd
[0070] Where: E is the power flow transfer factor matrix between the transaction path and the transmission channel; e pd is the power transfer factor from transaction path p to transmission channel d; n d,p is the sequence number of the transmission channel d in the transaction path p; ρ d,p,k is the network loss rate of the kth transmission channel d in the transaction path p; D p is the set of transmission channels in the transaction path p; l t,d is the transaction power of transmission channel d in trading period t.
[0071] In a second aspect, the present invention provides an inter-provincial electricity spot transaction optimization clearing system, comprising:
[0072] A data acquisition module is used to calculate the transaction combination spread and generate a transaction combination sequence;
[0073] The clearing calculation module is used to establish the inter-provincial spot transaction clearing optimization objective function based on the transaction combination spread and the transaction combination sequence, clearing with the goal of maximizing social welfare, and establishing constraint equations to obtain clearing results;
[0074] Among them, the transmission channel operation constraint equation in the constraint equation is established based on the maximum transmission power and the minimum transmission power of the inter-regional transmission channel.
[0075] Based on the above technical solution, further, the step of calculating the transaction combination spread and generating the transaction combination sequence specifically includes:
[0076] Obtain transaction combination information and calculate transaction combination price difference, remove all transaction combinations with price difference less than 0, and generate a transaction combination sequence.
[0077] Based on the above technical solution, further, the step of obtaining the transaction combination information and calculating the transaction combination spread specifically includes:
[0078] Obtain transaction combination information, including: buyer's declared electricity price, seller's declared electricity price and transaction path;
[0079] Obtaining the transmission channel information of the transmission channel through which the transaction path passes, including: the transmission price, network loss rate and total number of the transmission channel;
[0080] According to the transaction combination information and the transmission channel information of the transaction path, the transaction combination spread is calculated. The formula is as follows:
[0081]
[0082]
[0083] C t,n =(C t,n,bidprice *C t,n,ρ -C t,n,price )-C t,n,offerprice
[0084] Where: C t,n,ρ is the network loss rate of the transaction path corresponding to the nth transaction combination in the transaction period t; H is the total number of transmission channels in the transaction path; h is the transmission channel sequence number in the transaction path; L h,ρ is the network loss rate of the hth transmission channel in the transaction path; C t,n,price The electricity price conversion parameter reported by the seller of the nth transaction combination in the transaction period t; L h,cost is the transmission price of the hth transmission channel in the transaction path; L r,ρ is the network loss rate of the rth transmission channel among the first h transmission channels in the transaction path; C t,n is the spread of the nth trading combination in trading period t; Ct,n,bidprice The electricity price reported by the buyer of the nth transaction combination in transaction period t; C t,n,offerprice The electricity price reported by the seller of the nth trading combination in trading period t.
[0085] Based on the above technical solution, further, the steps of establishing an inter-provincial spot transaction clearing optimization objective function based on the transaction combination spread and the transaction combination sequence, clearing with the goal of maximizing social welfare, and establishing a constraint equation to obtain the clearing result specifically include:
[0086] Acquire transaction combination information and transaction combination price difference of transaction combinations in the transaction combination sequence; the transaction combination information of the transaction combinations in the transaction combination sequence specifically includes: buyer-declared power, seller-declared power, and seller-traded power;
[0087] Obtaining the transmission channel information of the transmission channel through which the transaction path passes, specifically including: the maximum ramp power, the minimum ramp power and the initial transmission power plan value of the transmission channel;
[0088] An optimization objective function for clearing inter-provincial spot transactions is established. The optimization objective function for clearing inter-provincial spot transactions aims to maximize social welfare. The formula is as follows:
[0089]
[0090] Where: S is social welfare; x t,n is the seller transaction power of the nth trading combination in trading period t; T is the total number of trading periods; N t is the number of trading combinations included in the trading period;
[0091] Calculate the maximum and minimum transmission power of inter-regional transmission channels, and establish transmission channel operation constraint equations;
[0092] Establish the declared power constraint equation;
[0093] Establish transaction path association constraint equation;
[0094] Perform clearing calculations on the objective function and constraint equations to obtain the transaction path transaction power and transaction combination transaction power; obtain the transaction node transaction power and transaction node clearing electricity price based on the clearing calculation results;
[0095] The transaction path transaction power, transaction combination transaction power, transaction node transaction power and transaction node clearing power price are taken as the clearing results.
[0096] Based on the above technical solution, further, the step of calculating the maximum transmission power and the minimum transmission power of the inter-regional transmission channel and establishing the transmission channel operation constraint equation specifically includes:
[0097] Get the current grid operation mode and set the grid operation mode variable m corresponding to the inter-regional transmission channel t,d,i , the formula is as follows:
[0098]
[0099] Where: i = 1, 2, ..., M; M is the total number of power grid operation modes; t is the trading period;
[0100] Obtain the transmission channel information of the inter-regional transmission channel and the maximum transmission power l of the transmission channel corresponding to the grid operation mode t,d,i,max and minimum transmission power l t,d,i,min ;
[0101] According to the variables of the inter-regional transmission channel corresponding to the grid operation mode, as well as the maximum transmission power and minimum transmission power of the transmission channel corresponding to the grid operation mode, the maximum transmission power and minimum transmission power equations of the inter-regional transmission channel are established, and the formula is as follows:
[0102]
[0103] Solve to obtain the maximum transmission power l of transmission channel d in trading period t t,d,max and minimum transmission power l t,d,min ;
[0104] The available capacity constraint equation for the forward and reverse directions of the transmission channel is established, and the formula is as follows:
[0105] l t,d,min ≤r t,d +l t,d ≤l t,d,max
[0106] The minimum climbing power constraint equation of the transmission channel is established, and the formula is as follows:
[0107] |(r t,d +l t,d )-(r t-1,d +l t-1,d )|≥l t,d,p,min
[0108] The maximum climbing power constraint equation of the transmission channel is established, and the formula is as follows:
[0109] |(r t,d +l t,d )-(r t-1,d +l t-1,d )|≤l t,d,p,max
[0110] Where: r t,d is the initial transmission power plan value of transmission channel d in trading period t; l t,dis the transaction power of transmission channel d in trading period t; r t-1,d is the initial transmission power plan value of transmission channel d in trading period t-1; l t-1,d is the transaction power of transmission channel d in trading period t-1; l t,d,p,min is the minimum ramp power of transmission channel d in trading period t; t,d,p,max is the maximum ramp power of transmission channel d during trading period t.
[0111] Based on the above technical solution, further, the step of establishing the declared power constraint equation specifically includes:
[0112] Obtain the transaction combination corresponding to each group of buyer-declared power, seller-declared power, buyer-declared electricity price, and seller-declared electricity price;
[0113] Based on the corresponding transaction combination, the electricity selling power constraint equation of the transaction combination is established, and the formula is as follows:
[0114]
[0115]
[0116]
[0117] Where: Sw t It is the correlation matrix between the seller's transaction power and the seller's declared power in the transaction combination; sw t,in is the correlation coefficient between the electricity reported by the i-th seller and the transaction combination n in the transaction period t; x t,n,sell O is the serial number of the electricity price declared by the seller corresponding to the transaction combination n in the transaction period t; t,i,p Declare electricity for the ith seller in trading period t;
[0118] The power purchase constraint equation of the transaction combination is established, and the formula is as follows:
[0119]
[0120]
[0121]
[0122] Where: Bw t bw is the correlation matrix between the buyer's transaction power and the buyer's declared power in the transaction combination; t,jn is the correlation coefficient between the electricity reported by the jth buyer and the transaction combination n in the transaction period t; x t,n,buy B is the serial number of the electricity price declared by the buyer corresponding to the transaction combination n in the transaction period t; t,j,p Declare electricity for the jth buyer in trading period t.
[0123] Based on the above technical solution, further, the step of establishing the transaction path association constraint equation specifically includes:
[0124] Obtain the electricity and electricity prices declared by market entities;
[0125] Obtain the transaction combination corresponding to the power declared by each group of market entities and the electricity price declared by the market entities;
[0126] According to the corresponding transaction combination, the transaction combination and transaction path association constraint equation is established. The formula is as follows:
[0127]
[0128]
[0129] Path t,p =x t,n *pw t,pn
[0130] Where: Pw t is the correlation matrix between trading combinations and trading paths in trading period t; pw t,pn is the correlation coefficient between transaction path p and transaction combination n in transaction period t; t,n,path Path is the transaction path number corresponding to transaction combination n in transaction period t; t,p is the transaction power of transaction path p in trading period t;
[0131] Establish the association constraints between the transaction path and the transmission channel. The formula is as follows:
[0132]
[0133]
[0134] l t,d =∑Path t,p e pd
[0135] Where: E is the power flow transfer factor matrix between the transaction path and the transmission channel; e pd is the power transfer factor from transaction path p to transmission channel d; n d,p is the sequence number of the transmission channel d in the transaction path p; ρ d,p,k is the network loss rate of the kth transmission channel d in the transaction path p; D p is the set of transmission channels in the transaction path p; l t,d is the transaction power of transmission channel d in trading period t.
[0136] In a third aspect, the present invention provides an electronic device, comprising a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the method for optimizing clearing of inter-provincial electricity spot transactions.
[0137] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, the method for optimizing clearing of inter-provincial electricity spot transactions is implemented.
[0138] Compared with the prior art, the present invention has the following beneficial effects:
[0139] The present invention provides a method, system, device and medium for optimizing and clearing inter-provincial electricity spot transactions, the method comprising the following steps:
[0140] Calculate the trading combination spread and generate the trading combination sequence;
[0141] Based on the transaction combination spread and transaction combination sequence, the inter-provincial spot transaction clearing optimization objective function is established, the clearing is carried out with the goal of maximizing social welfare, and the constraint equation is established to obtain the clearing result;
[0142] Among them, the transmission channel operation constraint equation in the constraint equation is established based on the maximum transmission power and the minimum transmission power of the inter-regional transmission channel.
[0143] The present invention screens transaction combinations by calculating the spread of transaction combinations, thereby reducing variables to be solved and improving the solving speed; clearing is performed with the goal of maximizing social welfare, and a constraint equation is established to ensure the optimality and executability of the clearing result; the constraint equation includes a transmission channel operation constraint equation established based on the maximum and minimum transmission powers of the inter-regional transmission channel, thereby realizing the automatic calculation of the available capacity limit of forward and reverse transactions of the inter-regional transmission channel, reducing the complexity of manually setting the limit, and solving the problem that the clearing result is difficult to execute when forward and reverse transactions are carried out simultaneously in the clearing calculation. BRIEF DESCRIPTION OF THE DRAWINGS
[0144] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:
[0145] Figure 1 This is a flow chart of an optimized clearing method for inter-provincial electricity spot trading according to the present invention;
[0146] Figure 2 This is a structural diagram of an inter-provincial electricity spot transaction optimization clearing system of the present invention;
[0147] Figure 3The present invention is a structural block diagram of an electronic device. DETAILED DESCRIPTION
[0148] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present invention can be combined with each other without conflict.
[0149] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present invention belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit the exemplary embodiments according to the present invention.
[0150] Example 1
[0151] See also Figure 1 As shown, the present invention provides an inter-provincial electricity spot transaction optimization clearing method, comprising the following steps:
[0152] S1. Calculate the transaction combination spread and generate a transaction combination sequence;
[0153] The specific steps include:
[0154] S11. In the same trading period, any price offered by the buyer, any price offered by the seller, and a feasible trading path between the buyer and the seller constitute a trading combination. The trading combination information is obtained, including: the power declared by the buyer, the electricity price declared by the buyer, the power declared by the seller, the electricity price declared by the seller, the trading path, the power traded by the buyer, and the power traded by the seller;
[0155] The transmission channel information of the transmission channel through which the transaction path passes is obtained, including: the transmission price of the transmission channel, the network loss rate, the maximum ramp power, the minimum ramp power, the initial transmission power plan value and the total number.
[0156] S12. Calculate the spread of the transaction combination;
[0157] According to the transmission channel information of the transmission channel through which the transaction path passes, the electricity price declared by the buyer is converted to the seller. The formula is as follows:
[0158]
[0159]
[0160] C t,n =(C t,n,bidprice *C t,n,ρ -C t,n,price )-C t,n,offerprice
[0161] Where: Ct,n,ρ is the network loss rate of the transaction path corresponding to the nth transaction combination in the transaction period t; H is the total number of transmission channels in the transaction path; h is the transmission channel sequence number in the transaction path; L h,ρ is the network loss rate of the hth transmission channel in the transaction path; C t,n,price The electricity price conversion parameter reported by the seller of the nth transaction combination in the transaction period t; L h,cost is the transmission price of the hth transmission channel in the transaction path; L r,ρ is the network loss rate of the rth transmission channel among the first h transmission channels in the transaction path; C t,n is the spread of the nth trading combination in trading period t; C t,n,bidprice The electricity price reported by the buyer of the nth transaction combination in transaction period t; C t,n,offerprice The electricity price reported by the seller of the nth trading combination in trading period t.
[0162] S13. Arrange all transaction combinations in order of price difference from large to small, remove the transaction combinations with price difference less than 0, and generate a transaction combination sequence, which reduces the variables to be solved and improves the solution speed.
[0163] S2. Establish an optimization objective function for clearing inter-provincial spot transactions based on the transaction combination spread and transaction combination sequence, clear the transactions with the goal of maximizing social welfare, and establish constraint equations to obtain clearing results;
[0164] The specific steps include:
[0165] S21. Obtaining the transaction combination information and transaction combination spread of the transaction combination in the transaction combination sequence;
[0166] S22. Establish an optimization objective function for clearing inter-provincial spot transactions. Inter-provincial spot transactions are cleared based on the electricity prices declared by buyers and sellers, taking into account the available capacity of inter-provincial transmission channels, the transmission prices and network losses of inter-provincial transmission channels, regional power grids and seller power grids, with the goal of maximizing social welfare. The formula is as follows:
[0167]
[0168] Where: S is social welfare; c t,n is the economic efficiency of the nth trading combination in trading period t, that is, the trading combination spread; x t,n is the seller transaction power of the nth trading combination in trading period t; T is the total number of trading periods; N t is the number of trading combinations included in the trading period;
[0169] Among them, social welfare is the sum of the social welfare of each trading combination. The social welfare of each trading combination refers to the product of the economic efficiency of the trading combination and the transaction power of its seller. The optimization goal is based on the declared electricity price and declared power of the buyer and seller, with the transaction power of each trading combination in each trading period as the decision variable, so as to obtain the transaction power of the trading combination under the maximum social benefit goal.
[0170] S23. Calculate the maximum transmission power and minimum transmission power of the inter-regional transmission channel, and establish the transmission channel operation constraint equation to ensure that the transmission power of the transmission channel is less than or equal to the maximum transmission power and greater than or equal to the minimum transmission power;
[0171] The specific steps include:
[0172] S231. Obtain data on dispatching equipment (generators, power plants, converters) and transaction components, determine the current grid operation mode, and set the grid operation mode variable m corresponding to the inter-regional transmission channel t,d,i , the formula is as follows:
[0173]
[0174] Where: i = 1, 2, ..., M; M is the total number of power grid operation modes; t is the trading period;
[0175] S232. Obtain the transmission channel information of the inter-regional transmission channel and the maximum transmission power l of the transmission channel corresponding to the grid operation mode t,d,i,max and minimum transmission power l t,d,i,min ;
[0176] S233. According to the variables of the grid operation mode corresponding to the inter-regional transmission channel, and the maximum transmission power and minimum transmission power of the transmission channel corresponding to the grid operation mode, the maximum transmission power and minimum transmission power equations of the inter-regional transmission channel are established, and the formula is as follows:
[0177]
[0178] Solve to obtain the maximum transmission power l of transmission channel d in trading period t t,d,max and minimum transmission power l t,d,min .
[0179] S234. Establish the available capacity constraint equation for the forward and reverse directions of the transmission channel. The formula is as follows:
[0180] l t,d,min ≤r t,d +l t,d ≤l t,d,max
[0181] The minimum climbing power constraint equation of the transmission channel is established, and the formula is as follows:
[0182] |(r t,d +l t,d )-(r t-1,d +l t-1,d )|≥l t,d,p,min
[0183] The maximum climbing power constraint equation of the transmission channel is established, and the formula is as follows:
[0184] |(r t,d +l t,d )-(r t-1,d +l t-1,d )|≤l t,d,p,max
[0185] Where: r t,d is the initial transmission power plan value of transmission channel d in trading period t; l t,d is the transaction power of transmission channel d in trading period t; r t-1,d is the initial transmission power plan value of transmission channel d in trading period t-1; l t-1,d is the transaction power of transmission channel d in trading period t-1; l t,d,p,min is the minimum ramp power of transmission channel d in trading period t; t,d,p,max is the maximum ramp power of transmission channel d during trading period t.
[0186] S24. Establish a declared power constraint equation to ensure that the market entity's transaction power is less than or equal to its declared power. The steps are as follows:
[0187] S241. Obtain all the electricity and electricity prices declared by buyers and sellers, and match the corresponding transaction combinations to obtain transaction combination information;
[0188] S242. The seller's transaction power of the corresponding transaction combination should be less than the corresponding seller's declared power. The power selling power constraint equation of the transaction combination is established. The formula is as follows:
[0189]
[0190]
[0191]
[0192] Where: Sw t It is the correlation matrix between the seller's transaction power and the seller's declared power in the transaction combination; sw t,in is the correlation coefficient between the electricity reported by the i-th seller and the transaction combination n in the transaction period t; x t,n,sell O is the serial number of the electricity price declared by the seller corresponding to the transaction combination n in the transaction period t; t,i,pDeclare electricity for the ith seller in trading period t;
[0193] S243. The buyer's transaction power of the corresponding transaction combination should be less than the corresponding buyer's declared power. The purchase power constraint equation of the transaction combination is established. The formula is as follows:
[0194]
[0195]
[0196]
[0197] Where: Bw t bw is the correlation matrix between the buyer's transaction power and the buyer's declared power in the transaction combination; t,jn is the correlation coefficient between the electricity reported by the jth buyer and the transaction combination n in the transaction period t; x t,n,buy B is the serial number of the electricity price declared by the buyer corresponding to the transaction combination n in the transaction period t; t,j,p Declare electricity for the jth buyer in trading period t.
[0198] S25. Establish the transaction path association constraint equation, and allocate the transaction combination transaction power to the transaction path according to the calculated allocation coefficient. The steps are as follows:
[0199] S251. Obtain the power and electricity price declared by each market entity, and match the transaction combination corresponding to the quotation in this section;
[0200] S252. According to the corresponding transaction combination, establish the transaction combination and transaction path association constraint equation, the formula is as follows:
[0201]
[0202]
[0203] Path t,p =x t,n *pw t,pn
[0204] Where: Pw t is the correlation matrix between trading combinations and trading paths in trading period t; pw t,pn is the correlation coefficient between transaction path p and transaction combination n in transaction period t; t,n,path Path is the transaction path number corresponding to transaction combination n in transaction period t; t,p is the transaction power of transaction path p in trading period t;
[0205] S253. Establish the association constraint between the transaction path and the transmission channel. The formula is as follows:
[0206]
[0207]
[0208] l t,d =ΣPath t,p *e pd
[0209] Where: E is the power flow transfer factor matrix between the transaction path and the transmission channel; e pd is the power transfer factor from transaction path p to transmission channel d; n d,p is the sequence number of the transmission channel d in the transaction path p. The sequence numbers of the same transmission channel in different transaction paths may be the same or different; ρ d,p,k is the network loss rate of the kth transmission channel d in the transaction path p. The network loss rates of the same transmission channel in different transaction paths may be the same or different. p is the set of transmission channels in transaction path p, including all transmission channels in transaction path p; l t,d is the transaction power of transmission channel d in trading period t.
[0210] S26. Use the branch and bound method to perform clearing calculations on the objective function and the constraint equations, obtain the transaction path transaction power and the transaction combination transaction power after the clearing calculation, calculate the transaction node transaction power based on the start and end transaction nodes of the transaction path, and calculate the transaction node clearing power price based on the buyer and seller declared power prices of the last transaction combination of each seller transaction node;
[0211] The transaction path transaction power, transaction combination transaction power, transaction node transaction power and transaction node clearing power price are taken as the clearing results.
[0212] Example 2
[0213] See also Figure 2 As shown, the present invention provides an inter-provincial electricity spot transaction optimization clearing system, comprising:
[0214] A data acquisition module is used to calculate the transaction combination spread and generate a transaction combination sequence;
[0215] The specific steps include:
[0216] S11. In the same trading period, any price offered by the buyer, any price offered by the seller, and a feasible trading path between the buyer and the seller constitute a trading combination. The trading combination information is obtained, including: the power declared by the buyer, the electricity price declared by the buyer, the power declared by the seller, the electricity price declared by the seller, the trading path, the power traded by the buyer, and the power traded by the seller;
[0217] The transmission channel information of the transmission channel through which the transaction path passes is obtained, including: the transmission price of the transmission channel, the network loss rate, the maximum ramp power, the minimum ramp power, the initial transmission power plan value and the total number.
[0218] S12. Calculate the spread of the transaction combination;
[0219] According to the transmission channel information of the transmission channel through which the transaction path passes, the electricity price declared by the buyer is converted to the seller. The formula is as follows:
[0220]
[0221]
[0222] C t,n =(C t,n,bidprice *C t,n,ρ -C t,n,price )-C t,n,offerprice
[0223] Where: C t,n,ρ is the network loss rate of the transaction path corresponding to the nth transaction combination in the transaction period t; H is the total number of transmission channels in the transaction path; h is the transmission channel sequence number in the transaction path; L h,ρ is the network loss rate of the hth transmission channel in the transaction path; C t,n,price The electricity price conversion parameter reported by the seller of the nth transaction combination in the transaction period t; L h,cost is the transmission price of the hth transmission channel in the transaction path; L r,ρ is the network loss rate of the rth transmission channel among the first h transmission channels in the transaction path; C t,n is the spread of the nth trading combination in trading period t; C t,n,bidprice The electricity price reported by the buyer of the nth transaction combination in transaction period t; C t,n,offerprice The electricity price reported by the seller of the nth trading combination in trading period t.
[0224] S13. Arrange all transaction combinations in order of price difference from large to small, remove the transaction combinations with price difference less than 0, and generate a transaction combination sequence, which reduces the variables to be solved and improves the solution speed.
[0225] The clearing calculation module is used to establish the inter-provincial spot transaction clearing optimization objective function based on the transaction combination spread and the transaction combination sequence, clearing with the goal of maximizing social welfare, and establishing constraint equations to obtain clearing results;
[0226] The specific steps include:
[0227] S21. Obtaining the transaction combination information and transaction combination spread of the transaction combination in the transaction combination sequence;
[0228] S22. Establish an optimization objective function for clearing inter-provincial spot transactions. Inter-provincial spot transactions are cleared based on the electricity prices declared by buyers and sellers, taking into account the available capacity of inter-provincial transmission channels, the transmission prices and network losses of inter-provincial transmission channels, regional power grids and seller power grids, with the goal of maximizing social welfare. The formula is as follows:
[0229]
[0230] Where: S is social welfare; c t,n is the economic efficiency of the nth trading combination in trading period t, that is, the trading combination spread; x t,n is the seller transaction power of the nth trading combination in trading period t; T is the total number of trading periods; N t is the number of trading combinations included in the trading period;
[0231] Among them, social welfare is the sum of the social welfare of each trading combination. The social welfare of each trading combination refers to the product of the economic efficiency of the trading combination and the transaction power of its seller. The optimization goal is based on the declared electricity price and declared power of the buyer and seller, with the transaction power of each trading combination in each trading period as the decision variable, so as to obtain the transaction power of the trading combination under the maximum social benefit goal.
[0232] S23. Calculate the maximum transmission power and minimum transmission power of the inter-regional transmission channel, and establish the transmission channel operation constraint equation to ensure that the transmission power of the transmission channel is less than or equal to the maximum transmission power and greater than or equal to the minimum transmission power;
[0233] The specific steps include:
[0234] S231. Obtain data on dispatching equipment (generators, power plants, converters) and transaction components, determine the current grid operation mode, and set the grid operation mode variable m corresponding to the inter-regional transmission channel t,d,i , the formula is as follows:
[0235]
[0236] Where: i = 1, 2, ..., M; M is the total number of power grid operation modes; t is the trading period;
[0237] S232. Obtain the transmission channel information of the inter-regional transmission channel and the maximum transmission power l of the transmission channel corresponding to the grid operation mode t,d,i,max and minimum transmission power l t,d,i,min ;
[0238] S233. According to the variables of the grid operation mode corresponding to the inter-regional transmission channel, and the maximum transmission power and minimum transmission power of the transmission channel corresponding to the grid operation mode, the maximum transmission power and minimum transmission power equations of the inter-regional transmission channel are established, and the formula is as follows:
[0239]
[0240] Solve to obtain the maximum transmission power l of transmission channel d in trading period t t,d,max and minimum transmission power l t,d,min .
[0241] S234. Establish the available capacity constraint equation for the forward and reverse directions of the transmission channel. The formula is as follows:
[0242] l t,d,min ≤r t,d +l t,d ≤l t,d,max
[0243] The minimum climbing power constraint equation of the transmission channel is established, and the formula is as follows:
[0244] |(r t,d +l t,d )-(r t-1,d +l t-1,d )|≥l t,d,p,min
[0245] The maximum climbing power constraint equation of the transmission channel is established, and the formula is as follows:
[0246] |(r t,d +l t,d )-(r t-1,d +l t-1,d )|≤l t,d,p,max
[0247] Where: r t,d is the initial transmission power plan value of transmission channel d in trading period t; l t,d is the transaction power of transmission channel d in trading period t; r t-1,d is the initial transmission power plan value of transmission channel d in trading period t-1; l t-1,d is the transaction power of transmission channel d in trading period t-1; l t,d,p,min is the minimum ramp power of transmission channel d in trading period t; t,d,p,max is the maximum ramp power of transmission channel d during trading period t.
[0248] S24. Establish a declared power constraint equation to ensure that the market entity's transaction power is less than or equal to its declared power. The steps are as follows:
[0249] S241. Obtain all the electricity and electricity prices declared by buyers and sellers, and match the corresponding transaction combinations to obtain transaction combination information;
[0250] S242. The seller's transaction power of the corresponding transaction combination should be less than the corresponding seller's declared power. The power selling power constraint equation of the transaction combination is established. The formula is as follows:
[0251]
[0252]
[0253]
[0254] Where: Sw t It is the correlation matrix between the seller's transaction power and the seller's declared power in the transaction combination; sw t,in is the correlation coefficient between the electricity reported by the i-th seller and the transaction combination n in the transaction period t; x t,n,sell O is the serial number of the electricity price declared by the seller corresponding to the transaction combination n in the transaction period t; t,i,p Declare electricity for the ith seller in trading period t;
[0255] S243. The buyer's transaction power of the corresponding transaction combination should be less than the corresponding buyer's declared power. The purchase power constraint equation of the transaction combination is established. The formula is as follows:
[0256]
[0257]
[0258]
[0259] Where: Bw t bw is the correlation matrix between the buyer's transaction power and the buyer's declared power in the transaction combination; t,jn is the correlation coefficient between the electricity reported by the jth buyer and the transaction combination n in the transaction period t; x t,n,buy B is the serial number of the electricity price declared by the buyer corresponding to the transaction combination n in the transaction period t; t,j,p Declare electricity for the jth buyer in trading period t.
[0260] S25. Establish the transaction path association constraint equation, and allocate the transaction combination transaction power to the transaction path according to the calculated allocation coefficient. The steps are as follows:
[0261] S251. Obtain the power and electricity price declared by each market entity, and match the transaction combination corresponding to the quotation in this section;
[0262] S252. According to the corresponding transaction combination, establish the transaction combination and transaction path association constraint equation, the formula is as follows:
[0263]
[0264]
[0265] Path t,p =x t,n *pw t,pn
[0266] Where: Pw t is the correlation matrix between trading combinations and trading paths in trading period t; pw t,pn is the correlation coefficient between transaction path p and transaction combination n in transaction period t; t,n,path Path is the transaction path number corresponding to transaction combination n in transaction period t; t,p is the transaction power of transaction path p in trading period t;
[0267] S253. Establish the association constraint between the transaction path and the transmission channel. The formula is as follows:
[0268]
[0269]
[0270] l t,d =∑Path t,p e pd
[0271] Where: E is the power flow transfer factor matrix between the transaction path and the transmission channel; e pd is the power transfer factor from transaction path p to transmission channel d; n d,p is the sequence number of the transmission channel d in the transaction path p. The sequence numbers of the same transmission channel in different transaction paths may be the same or different; ρ d,p,k is the network loss rate of the kth transmission channel d in the transaction path p. The network loss rates of the same transmission channel in different transaction paths may be the same or different. p is the set of transmission channels in transaction path p, including all transmission channels in transaction path p; l t,d is the transaction power of transmission channel d in trading period t.
[0272] S26. Use the branch and bound method to perform clearing calculations on the objective function and the constraint equations, obtain the transaction path transaction power and the transaction combination transaction power after the clearing calculation, calculate the transaction node transaction power based on the start and end transaction nodes of the transaction path, and calculate the transaction node clearing power price based on the buyer and seller declared power prices of the last transaction combination of each seller transaction node;
[0273] The transaction path transaction power, transaction combination transaction power, transaction node transaction power and transaction node clearing power price are taken as the clearing results.
[0274] Example 3
[0275] See also Figure 3 As shown, the present invention also provides an electronic device 100 for implementing an optimized clearing method for inter-provincial electricity spot transactions; 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 the at least one processor 102, and at least one communication bus 104.
[0276] The memory 101 can be used to store the computer program 103, and the processor 102 implements the steps of the inter-provincial electricity spot transaction optimization clearing method described in Example 1 by running or executing the computer program stored in the memory 101 and calling the data stored in the memory 101. The memory 101 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data (such as audio data) created according to the use of the electronic device 100, etc. In addition, the memory 101 can include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
[0277] The at least one processor 102 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 102 may be a microprocessor or any conventional processor, etc. The processor 102 is the control center of the electronic device 100, and uses various interfaces and lines to connect various parts of the entire electronic device 100.
[0278] The memory 101 in the electronic device 100 stores a plurality of instructions to implement an inter-provincial electricity spot transaction optimization clearing method, and the processor 102 can execute the plurality of instructions to implement:
[0279] Calculate the trading combination spread and generate the trading combination sequence;
[0280] Based on the transaction combination spread and transaction combination sequence, the inter-provincial spot transaction clearing optimization objective function is established, the clearing is carried out with the goal of maximizing social welfare, and the constraint equation is established to obtain the clearing result;
[0281] Among them, the transmission channel operation constraint equation in the constraint equation is established based on the maximum transmission power and the minimum transmission power of the inter-regional transmission channel.
[0282] Example 4
[0283] If the module / unit integrated in the electronic device 100 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory and read-only memory (ROM, Read-Only Memory).
[0284] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented 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.
[0285] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks 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 produce 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.
[0286] 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 including 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.
[0287] 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.
[0288] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does 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 optimizing clearing of inter-provincial electricity spot transactions, characterized in that: The following steps are involved: Calculate the trading combination spread and generate the trading combination sequence; Based on the transaction combination spread and transaction combination sequence, the inter-provincial spot transaction clearing optimization objective function is established, the clearing is carried out with the goal of maximizing social welfare, and the constraint equation is established to obtain the clearing result; Among them, the transmission channel operation constraint equation in the constraint equation is established based on the maximum transmission power and the minimum transmission power of the inter-regional transmission channel.
2. The method for optimizing and clearing inter-provincial electricity spot transactions according to claim 1, characterized in that: The step of calculating the transaction combination spread and generating the transaction combination sequence specifically includes: Obtain transaction combination information and calculate transaction combination price difference, remove all transaction combinations with price difference less than 0, and generate a transaction combination sequence.
3. The method for optimizing and clearing inter-provincial electricity spot transactions according to claim 2, characterized in that: The step of obtaining the transaction combination information and calculating the transaction combination spread specifically includes: Obtain transaction combination information, including: buyer's declared electricity price, seller's declared electricity price and transaction path; Obtaining the transmission channel information of the transmission channel through which the transaction path passes, including: the transmission price, network loss rate and total number of the transmission channel; According to the transaction combination information and the transmission channel information of the transaction path, the transaction combination spread is calculated. The formula is as follows: C t,n =(C t,n,bidprice *C t,n,ρ -C t,n,price )-C t,n,offerprice Where: C t,n,ρ is the network loss rate of the transaction path corresponding to the nth transaction combination in the transaction period t; H is the total number of transmission channels in the transaction path; h is the transmission channel sequence number in the transaction path; L h,ρ is the network loss rate of the hth transmission channel in the transaction path; C t,n,price The electricity price conversion parameter reported by the seller of the nth transaction combination in the transaction period t; L h,cost is the transmission price of the hth transmission channel in the transaction path; L r,ρ is the network loss rate of the rth transmission channel among the first h transmission channels in the transaction path; C t,n is the spread of the nth trading combination in trading period t; C t,n,bidprice The electricity price reported by the buyer of the nth transaction combination in transaction period t; C t,n,offerprice The electricity price reported by the seller of the nth trading combination in trading period t.
4. The method for optimizing and clearing inter-provincial electricity spot transactions according to claim 3 is characterized in that: The steps of establishing an optimization objective function for clearing inter-provincial spot transactions based on the transaction combination spread and the transaction combination sequence, clearing with the goal of maximizing social welfare, and establishing a constraint equation to obtain a clearing result specifically include: Acquire transaction combination information and transaction combination price difference of transaction combinations in the transaction combination sequence; the transaction combination information of the transaction combinations in the transaction combination sequence specifically includes: buyer-declared power, seller-declared power, and seller-traded power; Obtaining the transmission channel information of the transmission channel through which the transaction path passes, specifically including: the maximum ramp power, the minimum ramp power and the initial transmission power plan value of the transmission channel; An optimization objective function for clearing inter-provincial spot transactions is established. The optimization objective function for clearing inter-provincial spot transactions aims to maximize social welfare. The formula is as follows: Where: S is social welfare; x t,n is the seller transaction power of the nth trading combination in trading period t; T is the total number of trading periods; N t is the number of trading combinations included in the trading period; Calculate the maximum and minimum transmission power of inter-regional transmission channels, and establish transmission channel operation constraint equations; Establish the declared power constraint equation; Establish transaction path association constraint equation; Perform clearing calculations on the objective function and constraint equations to obtain the transaction path transaction power and transaction combination transaction power; obtain the transaction node transaction power and transaction node clearing electricity price based on the clearing calculation results; The transaction path transaction power, transaction combination transaction power, transaction node transaction power and transaction node clearing power price are taken as the clearing results.
5. The method for optimizing and clearing inter-provincial spot electricity transactions according to claim 4, characterized in that: The step of calculating the maximum transmission power and the minimum transmission power of the inter-regional transmission channel and establishing the transmission channel operation constraint equation specifically includes: Get the current grid operation mode and set the grid operation mode variable m corresponding to the inter-regional transmission channel t,d,i , the formula is as follows: Where: i = 1, 2, ..., M; M is the total number of power grid operation modes; t is the trading period; Obtain the transmission channel information of the inter-regional transmission channel and the maximum transmission power l of the transmission channel corresponding to the grid operation mode t,d,i,max and minimum transmission power l t,d,i,min ; According to the variables of the inter-regional transmission channel corresponding to the grid operation mode, as well as the maximum transmission power and minimum transmission power of the transmission channel corresponding to the grid operation mode, the maximum transmission power and minimum transmission power equations of the inter-regional transmission channel are established, and the formula is as follows: Solve to obtain the maximum transmission power l of transmission channel d in trading period t t,d,max and minimum transmission power l t,d,min ; The available capacity constraint equation for the forward and reverse directions of the transmission channel is established, and the formula is as follows: l t,d,min ≤r t,d +l t,d ≤l t,d,max The minimum climbing power constraint equation of the transmission channel is established, and the formula is as follows: |(r t,d +l t,d )-(r t-1,d +l t-1,d )|≥l t,d,p,min The maximum climbing power constraint equation of the transmission channel is established, and the formula is as follows: |(r t,d +l t,d )-(r t-1,d +l t-1,d )|≤l t,d,p,max Where: r t,d is the initial transmission power plan value of transmission channel d in trading period t; l t,d is the transaction power of transmission channel d in trading period t; r t-1,d is the initial transmission power plan value of transmission channel d in trading period t-1; l t-1,d is the transaction power of transmission channel d in trading period t-1; l t,d,p,min is the minimum ramp power of transmission channel d in trading period t; t,d,p,max is the maximum ramp power of transmission channel d during trading period t.
6. The method for optimizing and clearing inter-provincial spot electricity transactions according to claim 4, characterized in that: The step of establishing the declared power constraint equation specifically includes: Obtain the transaction combination corresponding to each group of buyer-declared power, seller-declared power, buyer-declared electricity price, and seller-declared electricity price; Based on the corresponding transaction combination, the electricity selling power constraint equation of the transaction combination is established, and the formula is as follows: Where: Sw t It is the correlation matrix between the seller's transaction power and the seller's declared power in the transaction combination; sw t,in is the correlation coefficient between the electricity reported by the i-th seller and the transaction combination n in the transaction period t; x t,n,sell O is the serial number of the electricity price declared by the seller corresponding to the transaction combination n in the transaction period t; t,i,p Declare electricity for the ith seller in trading period t; The power purchase constraint equation of the transaction combination is established, and the formula is as follows: Where: Bw t bw is the correlation matrix between the buyer's transaction power and the buyer's declared power in the transaction combination; t,jn is the correlation coefficient between the electricity reported by the jth buyer and the transaction combination n in the transaction period t; x t,n,buy B is the serial number of the electricity price declared by the buyer corresponding to the transaction combination n in the transaction period t; t,j,p Declare electricity for the jth buyer in trading period t.
7. The method for optimizing and clearing inter-provincial spot power transactions according to claim 4, characterized in that: The step of establishing the transaction path association constraint equation specifically includes: Obtain the electricity and electricity prices declared by market entities; Obtain the transaction combination corresponding to the power declared by each group of market entities and the electricity price declared by the market entities; According to the corresponding transaction combination, the transaction combination and transaction path association constraint equation is established. The formula is as follows: Path t,p =x t,n *pw t,pn Where: Pw t is the correlation matrix between trading combinations and trading paths in trading period t; pw t,pn is the correlation coefficient between transaction path p and transaction combination n in transaction period t; t,n,path Path is the transaction path number corresponding to transaction combination n in transaction period t; t,p is the transaction power of transaction path p in trading period t; Establish the association constraints between the transaction path and the transmission channel. The formula is as follows: the t,d =∑Path t,p And pd Where: E is the power flow transfer factor matrix between the transaction path and the transmission channel; e pd is the power transfer factor from transaction path p to transmission channel d; n d,p is the sequence number of the transmission channel d in the transaction path p; ρ d,p,k is the network loss rate of the kth transmission channel d in the transaction path p; D p is the set of transmission channels in the transaction path p; l t,d is the transaction power of transmission channel d in trading period t.
8. An inter-provincial electricity spot trading optimization clearing system, characterized in that: include: A data acquisition module is used to calculate the transaction combination spread and generate a transaction combination sequence; The clearing calculation module is used to establish the inter-provincial spot transaction clearing optimization objective function based on the transaction combination spread and the transaction combination sequence, clearing with the goal of maximizing social welfare, and establishing constraint equations to obtain clearing results; Among them, the transmission channel operation constraint equation in the constraint equation is established based on the maximum transmission power and the minimum transmission power of the inter-regional transmission channel.
9. An electronic device, characterized in that: It comprises a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement an inter-provincial electricity spot transaction optimization clearing method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by the processor, it implements the inter-provincial electricity spot transaction optimization clearing method as described in any one of claims 1 to 7.
Citation Information
Cited By
Trans-provincial electric energy optimization clearing method and related device
CN119382115A
