A transaction path conversion and optimization modeling method considering sequential network loss rate correction
By constructing an objective function and iteratively optimizing the clearing method, the network loss rate is adjusted to take into account the hedging of forward and reverse power flows, which solves the problem of inaccurate network loss calculation in the existing technology and achieves more accurate inter-provincial transaction results and market fairness.
Patent Information
- Application Number
- CN202411693219.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2044-11-25
AI Technical Summary
The existing method for calculating network losses in inter-provincial connecting lines fails to effectively distinguish between forward and reverse power flows, leading to discrepancies between the calculated results and the actual physical power flow, which affects the accuracy of inter-provincial transaction clearing results.
The sequential network loss rate correction method is adopted. By constructing an objective function with the goal of maximizing social welfare, the method considers the available transmission capacity of tie lines, transmission fees of channels, and information declared by the purchaser and seller. The first optimization clearing is carried out, the net power flow of tie lines is calculated, and the network loss rate is adjusted according to the power flow direction. The optimization clearing results are iteratively optimized until they are consistent.
This improves the accuracy of network loss calculation, making inter-provincial transaction results more consistent with actual physical currents, and ensuring fairness and transaction efficiency for market participants.
Smart Images

Figure CN119941398B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power trading technology, and in particular to a method for trading path conversion and optimization modeling that considers sequential network loss rate correction. Background Technology
[0002] In inter-provincial power trading, my country currently implements a "one line, one price" system. This means that the buyer market participant submits a time-of-use "electricity-price" curve at each node, and after considering the transmission price and transmission network losses for all trading paths, the value is converted to the seller node one by one. The calculation of transmission network losses directly affects the clearing result of inter-provincial power trading. Currently, the network loss conversion in inter-provincial power trading relies on the network loss rate approved by the government authorities. For each inter-provincial power trading transaction, the network loss on the corresponding interconnecting line is obtained by multiplying it by the corresponding network loss rate. After subtracting this loss, the value is multiplied by the corresponding network loss rate on the next interconnecting line, and so on. However, this method is essentially only suitable when all cleared transaction volumes on the interconnecting line pass through in the same direction. When there is a reverse power flow on the interconnecting line, it effectively "hedges" the power flow, reducing the actual power flow and thus reducing losses accordingly.
[0003] Current methods for calculating losses on inter-provincial connecting lines treat the power flow on each line as consisting of several transaction path flows, some forward and some reverse. These flows are not differentiated in terms of direction during network loss calculation; their absolute values are simply added together. However, in reality, forward and reverse flows have a hedging effect, reducing the actual power flow on the connecting line and consequently reducing network loss. The current method of multiplying each flow by a network loss coefficient, when combined with the reverse flow, actually increases the calculated network loss, which significantly deviates from the actual physical power flow. Summary of the Invention
[0004] In view of this, the present invention provides a transaction path conversion and optimization modeling method that considers sequential network loss rate correction to solve the above problems.
[0005] This invention provides a method for transaction path conversion and optimization modeling considering sequential network loss rate correction, comprising: Step 1, constructing an objective function with maximizing social welfare as the optimization objective, establishing a clearing model based on the available transmission capacity of the tie line, the transmission fee of the channel, the network loss rate, and the declaration information of the buyer and seller, and performing a first optimization clearing through the clearing model to obtain the clearing result. Here, maximizing social welfare means, in the electricity market, maximizing the sum of the surplus of the buyer market participants and the surplus of the seller market participants through a reasonable price mechanism and resource allocation. The surplus of the buyer market participants refers to the difference between the price that the buyer market participants are willing to pay and the price they actually pay, and the surplus of the seller market participants refers to the difference between the price actually received by the seller market participants and their production costs; Step 2; The net power flow of the tie line is calculated based on the transmission volume of the tie line during a certain period, the trading path of the tie line, and the directional coefficient of the tie line on the trading path. Step 3: For transmission channels with both positive and negative power flows, the network loss rate at the tie line is set to zero for trading paths whose power flow is opposite to the net power flow of the tie line, and the network loss rate at the tie line is modified for trading paths whose power flow is in the same direction as the net power flow of the tie line, resulting in a new network loss rate. Step 4: The new network loss rate is substituted into the clearing model to perform a new round of optimization clearing, resulting in a new clearing result for each trading path. Step 5: The new clearing result is compared with the previous clearing result. If the results are consistent, the calculation ends; if the results are inconsistent, the process returns to step 2 and continues iterating until the new clearing result is consistent with the previous clearing result.
[0006] In another implementation of the present invention, the objective function is expressed as:
[0007]
[0008] Where T is the total transaction period, Θ is the set of seller nodes, and Ω is the total transaction duration. j Let y be the set of transaction paths where the sender is the seller node j. i,t Let represent the transaction volume at the sending end of transaction path i during time period t. Let $t$ be the electricity price declared by the seller node j during time period $t$.
[0009] In another implementation of the present invention, the formula for calculating the net power flow of the tie line is expressed as:
[0010]
[0011] Among them, td l,t For the transmission power of tie line l during time period t, Π l D is the set of transaction paths that include connection line l. i,l Let l be the direction coefficient of the connecting line l on the transaction path i.
[0012] In another implementation of the present invention, for transmission channels with both positive and negative power flows, the network loss rate at the tie line for trading paths whose power flow is opposite to the net power flow direction of the tie line is set to zero, as expressed as:
[0013]
[0014] Among them, B l Let L be the set of transaction paths where the power flow at the connecting line l is opposite to the net power flow of the connecting line;
[0015] The network loss rate at the link line is modified by taking the transaction path whose current flow is in the same direction as the net current flow of the link line, resulting in a new network loss rate, expressed as:
[0016]
[0017] Where, δ i,l δ represents the new loss rate after modifying the transaction path i at the connector l. l F is the loss rate of the tie line l. i,l For the input flow of transaction path i at the connection line l, A l Let B be the set of transaction paths at connection l in the same direction as the net current of the connection. l Let L be the set of transaction paths where the current flow at the connection line l is opposite to the net current flow of the connection line.
[0018] In another aspect of the invention, a transaction path conversion and optimization modeling apparatus considering sequential network loss rate correction is provided, comprising: a model building module: used to construct an objective function with social welfare maximization as the optimization objective, establish a clearing model based on the available transmission capacity of the tie line, the transmission fee of the channel, the network loss rate, and the declaration information of the buyer and seller, and perform a first optimization clearing through the clearing model to obtain the clearing result, wherein, social welfare maximization refers to maximizing the sum of the surplus of the buyer market participants and the surplus of the seller market participants in the electricity market through a reasonable price mechanism and resource allocation, wherein the surplus of the buyer market participants refers to the difference between the price that the buyer market participants are willing to pay and the price they actually pay, and the surplus of the seller market participants refers to the difference between the price actually received by the seller market participants and their production costs; data The correction module is used to calculate the net power flow of the tie line based on the transmission volume of the tie line in a certain period, the trading path of the tie line, and the directional coefficient of the tie line on the trading path. For transmission channels with both positive and negative power flows, the network loss rate at the tie line is set to zero for trading paths whose power flow is opposite to the net power flow of the tie line, and the network loss rate at the tie line is modified for trading paths whose power flow is in the same direction as the net power flow of the tie line, resulting in a new network loss rate. The data calculation module is used to substitute the new network loss rate into the clearing model to perform a new round of optimized clearing, obtaining a new clearing result for each trading path. The new clearing result is compared with the previous clearing result. If the results are consistent, the calculation ends; if the results are inconsistent, the process returns to the data correction module to continue iterating until the new clearing result is consistent with the previous clearing result.
[0019] In another implementation of the present invention, the model building module is further used for representing the objective function:
[0020]
[0021] Where T is the total transaction period, Θ is the set of seller nodes, and Ω is the total transaction duration. j Let y be the set of transaction paths where the sender is the seller node j. i,t Let represent the transaction volume at the sending end of transaction path i during time period t. Let $t$ be the electricity price declared by the seller node j during time period $t$.
[0022] In another implementation of the present invention, the data correction module is further used to represent the calculation formula for the net current flow of the tie line:
[0023]
[0024] Among them, td l,t For the transmission capacity of tie line l during time period t, Π l D is the set of transaction paths that include connection line l. i,lLet l be the direction coefficient of the connecting line l on the transaction path i.
[0025] In another implementation of the present invention, the data correction module is further configured to, for transmission channels with both positive and negative power flows, set the network loss rate at the tie line for trading paths whose power flow is opposite to the net power flow direction of the tie line to zero, as expressed as:
[0026]
[0027] Among them, B l Let L be the set of transaction paths where the power flow at the connecting line l is opposite to the net power flow of the connecting line;
[0028] The network loss rate at the link line is modified by taking the transaction path whose current flow is in the same direction as the net current flow of the link line, resulting in a new network loss rate, expressed as:
[0029]
[0030] Where, δ i,l δ represents the new loss rate after modifying the transaction path i at the connector l. l F is the loss rate of the tie line l. i,l For the input flow of transaction path i at the connection line l, A l Let B be the set of transaction paths at connection l in the same direction as the net current of the connection. l Let L be the set of transaction paths where the current flow at the connection line l is opposite to the net current flow of the connection line.
[0031] In another aspect of the present invention, an electronic device is provided, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of a transaction path conversion and optimization modeling method considering sequential network loss rate correction as described in any of the preceding claims.
[0032] In another aspect of the invention, a computer storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps in a transaction path conversion and optimization modeling method considering sequential network loss rate correction as described in any of the preceding claims.
[0033] In the transaction path conversion and optimization modeling method of the present invention, which considers the correction of the sequential network loss rate, firstly, a directional coefficient is added to represent the forward and reverse power flow when calculating the capacity of the connecting line; secondly, an iterative method is adopted, using the model to perform the first optimization clearing, and then considering the forward and reverse power flow on each connecting line. For connecting lines where the forward and reverse power flow is offset, the network loss rate of the transaction path whose power flow is opposite to the net power flow of the connecting line is set to zero at that connecting line, and the network loss rate of the transaction path whose power flow is the same as the net power flow of the connecting line is modified according to the formula, replacing the original network loss rate for a new round of optimization clearing, continuing to correct the network loss rate, and iterating until a certain clearing result is consistent with the previous one, so that the calculation result of network loss is more consistent with the actual physical power flow. Attached Figure Description
[0034] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. By reading the detailed description of the embodiments below, the advantages and benefits of the solutions will become clear to those skilled in the art. The accompanying drawings are only for illustrating preferred embodiments and are not intended to limit the present invention.
[0035] In the attached diagram:
[0036] Figure 1 This is a schematic diagram of a transaction path conversion and optimization modeling method considering sequential network loss rate correction, according to an embodiment of the present invention.
[0037] Figure 2 This is a schematic diagram of network loss calculation before correction according to an embodiment of the present invention.
[0038] Figure 3 This is a schematic diagram of the modified network loss calculation according to an embodiment of the present invention. Detailed Implementation
[0039] To enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and thoroughly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art should fall within the protection scope of the present invention.
[0040] Figure 1 This is a schematic diagram of a transaction path conversion and optimization modeling method considering sequential network loss rate correction provided by an embodiment of the present invention, as shown below. Figure 1 As shown, this embodiment mainly includes the following steps:
[0041] S101. Construct an objective function with the goal of maximizing social welfare. Establish a clearing model based on the available transmission capacity of the tie line, the transmission fee of the channel, the network loss rate, and the declaration information of the buyer and seller. Perform the first optimization clearing through the clearing model to obtain the clearing result. Here, maximizing social welfare means that in the electricity market, through a reasonable price mechanism and resource allocation, the sum of the surplus of the buyer market participants and the surplus of the seller market participants is maximized. The surplus of the buyer market participants refers to the difference between the price that the buyer market participants are willing to pay and the price they actually pay. The surplus of the seller market participants refers to the difference between the price that the seller market participants actually receive and their production cost.
[0042] For example, with the goal of maximizing social welfare, considering the available transmission capacity (ATC) of the tie line, the transmission cost and network loss of the channel, and the information declared by the purchaser and seller, a centralized optimization and clearing process is carried out based on inter-provincial multi-channels.
[0043] Buyer's discounted electricity price formula:
[0044]
[0045] in, The electricity price for the buyer at time t along transaction path i is discounted to the sending end. For the buyer's declared electricity price at the receiving end of the transaction path i during time period t, Λ i Let δ be the set of connecting lines that make up transaction path i. m Let P be the loss rate of the tie line m. l For the transmission fee of tie line l, Y i,l Let i be the set of connection lines from the sending end to the connection line l of the transaction path i, including the connection line l itself.
[0046] Transaction volume constraints:
[0047]
[0048] Where, x i,t Q represents the transaction volume at the receiving end of transaction path i during time period t. S,j,t Q represents the reported electricity volume of the sending node during time period t. B,k,t This represents the reported electricity consumption of the receiving node during time period t.
[0049] Line power loss conversion constraints:
[0050]
[0051] Connection line capacity:
[0052]
[0053] Among them, td l,tFor the transmission capacity of tie line l during time period t, Π l D is the set of transaction paths that include connection line l. i,l Let l be the direction coefficient of the connecting line l on the transaction path i.
[0054] Tie line capacity constraints:
[0055]
[0056] Among them, ATC l,t The available transmission capacity of tie line l during time period t.
[0057] Climbing constraints:
[0058]
[0059] in, and These represent the lower and upper limits of the gradient for connecting line l, respectively.
[0060] The first optimization and clearing process was performed using the above model, and the clearing result y was obtained. i,t .
[0061] S102. The net power flow of the tie line is calculated based on the power transmission of the tie line during a certain period, the transaction path of the tie line, and the directional coefficient of the tie line on the transaction path.
[0062] S103. For transmission channels with both positive and negative power flows, the network loss rate at the tie line is set to zero for trading paths whose power flow is opposite to the net power flow direction of the tie line, and the network loss rate at the tie line is modified for trading paths whose power flow is in the same direction as the net power flow direction of the tie line, to obtain a new network loss rate.
[0063] S104. Substitute the new network loss rate into the clearing model to conduct a new round of optimized clearing, and obtain a new clearing result for each transaction path.
[0064] S105. Compare the new clearing result with the previous clearing result. If the results are consistent, the calculation ends. If the results are inconsistent, return to S102 to continue iterating until the new clearing result is consistent with the previous clearing result.
[0065] In the transaction path conversion and optimization modeling method of the present invention, which considers the correction of the sequential network loss rate, firstly, a directional coefficient is added to represent the forward and reverse power flow when calculating the capacity of the connecting line; secondly, an iterative method is adopted, using the model to perform the first optimization clearing, and then considering the forward and reverse power flow on each connecting line. For connecting lines where the forward and reverse power flow is offset, the network loss rate of the transaction path whose power flow is opposite to the net power flow of the connecting line is set to zero at that connecting line, and the network loss rate of the transaction path whose power flow is the same as the net power flow of the connecting line is modified according to the formula, replacing the original network loss rate for a new round of optimization clearing, continuing to correct the network loss rate, and iterating until a certain clearing result is consistent with the previous one, so that the calculation result of network loss is more consistent with the actual physical power flow.
[0066] In another implementation of the present invention, the objective function is expressed as:
[0067]
[0068] Where T is the total transaction period, Θ is the set of seller nodes, and Ω is the total transaction duration. j Let y be the set of transaction paths where the sender is the seller node j. i,t Let represent the transaction volume at the sending end of transaction path i during time period t. Let $t$ be the electricity price declared by the seller node j during time period $t$.
[0069] In another implementation of the present invention, the formula for calculating the net power flow of the tie line is expressed as:
[0070]
[0071] Among them, td l,t For the transmission capacity of tie line l during time period t, Π l D is the set of transaction paths that include connection line l. i,l Let l be the direction coefficient of the connecting line l on the transaction path i.
[0072] In another implementation of the present invention, for transmission channels with both positive and negative power flows, the network loss rate at the tie line for trading paths whose power flow is opposite to the net power flow direction of the tie line is set to zero, as expressed as:
[0073]
[0074] Among them, B l Let L be the set of transaction paths where the power flow at the connecting line l is opposite to the net power flow of the connecting line;
[0075] The network loss rate at the link line is modified by taking the transaction path whose current flow is in the same direction as the net current flow of the link line, resulting in a new network loss rate, expressed as:
[0076]
[0077] Where, δ i,l δ represents the new loss rate after modifying the transaction path i at the connector l. l F is the loss rate of the tie line l. i,l For the input flow of transaction path i at the connection line l, A l Let B be the set of transaction paths at connection l in the same direction as the net current of the connection. l Let L be the set of transaction paths where the current flow at the connection line l is opposite to the net current flow of the connection line.
[0078] For example, considering the situation where different transaction paths are offset by the forward and reverse current flows through the same connector, the impact of the forward and reverse current flow offsetting on the connector is analyzed. In the forward and reverse current offsetting, the offsetting party is equivalent to having no loss on the connector. The loss rate of the reverse transaction path at this connector is set to zero, and the forward path is modified.
[0079] The direction coefficient indicates the direction of each transaction path on each connecting line. 1 indicates that the clearing flow direction of the transaction path is the same as the rated direction on that connecting line, and -1 indicates that the clearing flow direction of the transaction path is opposite to the rated direction on that connecting line.
[0080] In another implementation of the present invention, such as Figure 2 and Figure 3 As shown, for ease of explanation, it is assumed that there are four transaction paths through the tie line in the figure, the tie line loss rate is 5%, the power flow from the power transfer node 1 to the power transfer node 2 is positive, the buy-sell pair (1,1) and buy-sell pair (2,2) are respectively input with positive power flow 200, and the buy-sell pair (3,3) and buy-sell pair (4,4) are respectively input with reverse power flow 100.
[0081] like Figure 2 As shown, according to the initial model, the losses generated by the four paths on this connection line are 10, 10, 5, and 5, respectively.
[0082] like Figure 3 As shown, considering the offsetting of forward and reverse currents, only the forward current generates losses. Therefore, the loss rate of buy / sell pair (3,3) and buy / sell pair (4,4) at the tie line is set to zero, and the loss rate of buy / sell pair (1,1) and buy / sell pair (2,2) at the tie line is corrected to (200+200-100-100) / (200+200)*5%=2.5%.
[0083] Therefore, this invention takes into account the situation of opposing current flows on connecting lines in inter-provincial transactions. It sets the reverse current flow loss rate to zero and corrects the forward current flow loss rate, which better reflects the physical flow changes of connecting lines in transactions. In existing calculation methods, both forward and reverse current flows are calculated by multiplying the flow volume by a loss coefficient. However, in actual physical scenarios, the reverse current flow acts as a "hedge" against the current flow on connecting lines, effectively reducing losses. The loss correction calculation method uses a model considering the direction coefficient for initial optimization and clearing in the first step, obtaining the clearing result. Based on the clearing result, the reverse current flow loss rate for each connecting line is set to zero, and the forward current flow loss rate is modified. This calculation method ensures fairness for market participants in inter-provincial transactions where opposing current flows occur.
[0084] Inter-provincial transactions are achieved through transaction paths consisting of transaction nodes and inter-provincial connecting lines. The key terms involved in the above scheme are introduced.
[0085] Market participants include hydropower, wind power, photovoltaic and other renewable energy power generation companies participating in inter-provincial multi-channel centralized bidding transactions, as well as power grid companies, power users and electricity sales companies.
[0086] Electricity purchase and sales nodes: Electricity purchase or sales nodes are set up on a provincial basis according to the market role of participating in inter-provincial transactions.
[0087] Inter-provincial power trading links: physical infrastructure, including DC channels and AC sections.
[0088] Trading path: The connection between purchasing and selling nodes. Between provincial purchasing and selling nodes, a physical clearing channel for power transmission is formed through DC channels and AC sections. A trading path consists of one or more tie lines, and each tie line may be traversed by multiple trading paths.
[0089] Purchase-sale pair: A transaction relationship formed between a buyer and a seller.
[0090] Network loss rate: The ratio of the amount of electricity lost due to transmission on the interconnection line as approved by the government authority to the power flow through the first segment of the interconnection line.
[0091] In another aspect of the present invention, a transaction path conversion and optimization modeling apparatus considering sequential network loss rate correction is provided, comprising:
[0092] Model building module: This module constructs an objective function with the goal of maximizing social welfare. It establishes a clearing model based on available transmission capacity of tie lines, transmission fees of channels, network loss rate, and information submitted by buyers and sellers. The clearing model is then used for the first optimization clearing process to obtain the clearing result. Maximizing social welfare means maximizing the sum of the surplus of buyers and sellers in the electricity market through a reasonable pricing mechanism and resource allocation. The surplus of buyers refers to the difference between the price they are willing to pay and the price they actually pay, while the surplus of sellers refers to the difference between the price they actually receive and their production costs.
[0093] Data correction module: used to calculate the net power flow of the tie line based on the power transmission volume of the tie line in a certain period, the transaction path of the tie line, and the directional coefficient of the tie line on the transaction path; for transmission channels with positive and negative power flows, the network loss rate of the transaction path whose power flow is opposite to that of the net power flow of the tie line is set to zero at the tie line, and the network loss rate of the transaction path whose power flow is in the same direction as that of the net power flow of the tie line is modified at the tie line to obtain a new network loss rate.
[0094] Data calculation module: It is used to substitute the new network loss rate into the clearing model to perform a new round of optimized clearing and obtain a new clearing result for each transaction path; compare the new clearing result with the previous clearing result. If the result is consistent, the calculation ends. If the result is inconsistent, it returns to the data correction module to continue iterating until the new clearing result is consistent with the previous clearing result.
[0095] In another implementation of the present invention, the model building module is further used for representing the objective function:
[0096]
[0097] Where T is the total transaction period, Θ is the set of seller nodes, and Ω is the total transaction duration. j Let y be the set of transaction paths where the sender is the seller node j. i,t Let represent the transaction volume at the sending end of transaction path i during time period t. Let $t$ be the electricity price declared by the seller node j during time period $t$.
[0098] In another implementation of the present invention, the data correction module is further used to represent the calculation formula for the net current flow of the tie line:
[0099]
[0100] Among them, td l,t For the transmission capacity of tie line l during time period t, Π l D is the set of transaction paths that include connection line l.i,l Let l be the direction coefficient of the connecting line l on the transaction path i.
[0101] In another implementation of the present invention, the data correction module is further configured to, for transmission channels with both positive and negative power flows, set the network loss rate at the tie line for trading paths whose power flow is opposite to the net power flow direction of the tie line to zero, as expressed as:
[0102]
[0103] Among them, B l Let L be the set of transaction paths where the power flow at the connecting line l is opposite to the net power flow of the connecting line;
[0104] The network loss rate at the link line is modified by taking the transaction path whose current flow is in the same direction as the net current flow of the link line, resulting in a new network loss rate, expressed as:
[0105]
[0106] Where, δ i,l δ represents the new loss rate after modifying the transaction path i at the connector l. l F is the loss rate of the tie line l. i,l For the input flow of transaction path i at the connection line l, A l Let B be the set of transaction paths at connection l in the same direction as the net current of the connection. l Let L be the set of transaction paths where the current flow at the connection line l is opposite to the net current flow of the connection line.
[0107] In the transaction path conversion and optimization modeling device of the present invention, which considers the correction of the sequential network loss rate, firstly, a directional coefficient is added to represent the forward and reverse power flow when calculating the capacity of the connecting line; secondly, an iterative method is adopted to perform the first optimization clearing using the model, and then the forward and reverse power flow on each connecting line is considered. For connecting lines where the forward and reverse power flow is offset, the network loss rate of the transaction path whose power flow is opposite to the net power flow of the connecting line is set to zero at that connecting line, and the network loss rate of the transaction path whose power flow is the same as the net power flow of the connecting line is modified according to the formula, replacing the original network loss rate for a new round of optimization clearing, continuing to correct the network loss rate, and iterating until a clearing result is consistent with the previous one, so that the calculation result of network loss is more consistent with the actual physical power flow.
[0108] The present invention also provides an electronic device, which may include: a processor, a memory, a communication bus, and a communication interface.
[0109] in:
[0110] The processor, memory, and communication interface communicate with each other via a communication bus.
[0111] A communication interface is used to communicate with other electronic devices or servers.
[0112] The processor is used to execute programs, specifically, it can execute any of the steps of the transaction path conversion and optimization modeling method that considers sequential network loss rate correction in the above embodiments.
[0113] Specifically, the program may include program code, which includes computer operation instructions.
[0114] The processor may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application. The one or more processors included in the smart device may be processors of the same type, such as one or more CPUs; or they may be processors of different types, such as one or more CPUs and one or more ASICs.
[0115] Memory is used to store programs. Memory may include high-speed RAM, and may also include non-volatile memory, such as at least one disk drive.
[0116] Specifically, the program can be used to cause the processor to execute the steps of any of the transaction path conversion and optimization modeling methods considering sequential network loss rate correction described in the embodiments. The specific implementation of each step in the program can be found in the corresponding descriptions of the steps and units executed in any of the above-mentioned transaction path conversion and optimization modeling methods considering sequential network loss rate correction, and will not be repeated here. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the devices and modules described above can be referred to the corresponding process descriptions in the foregoing method embodiments.
[0117] The present invention also provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to perform the methods of the embodiments of the present application.
[0118] The methods described above according to embodiments of the present invention can be implemented in hardware, firmware, or as software or computer code that can be stored in a recording medium (such as a CD-ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or as computer code originally stored on a remote recording medium or a non-transitory machine-readable medium and subsequently stored on a local recording medium, downloaded via a network. Thus, the methods described herein can be processed by software stored on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware (such as an ASIC or FPGA). It is understood that the computer, processor, microprocessor controller, or programmable hardware includes storage components (e.g., RAM, ROM, flash memory, etc.) capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods described herein. Furthermore, when a general-purpose computer accesses code used to implement the methods shown herein, the execution of the code transforms the general-purpose computer into a dedicated computer for executing the methods shown herein.
[0119] Specific embodiments of the invention have now been described. Other embodiments are within the scope of the appended claims. In some cases, the actions described in the claims can be performed in a different order and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing can be advantageous.
[0120] It should be noted that all directional indicators (such as up, down, left, right, back, etc.) in the embodiments of the present invention are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicator will also change accordingly.
[0121] In the description of this invention, the terms "first" and "second" are used only for convenience in describing different components or names, and should not be construed as indicating or implying a sequential relationship, relative importance, or implicitly specifying the number of technical features indicated. Thus, a feature defined with "first" and "second" may explicitly or implicitly include at least one of that feature.
[0122] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
[0123] It should be noted that although specific embodiments of the present invention have been described in detail with reference to the accompanying drawings, this should not be construed as limiting the scope of protection of the present invention. Various modifications and variations that can be made by those skilled in the art without inventive effort within the scope described in the claims still fall within the scope of protection of the present invention.
[0124] The examples of the embodiments of the present invention are intended to concisely illustrate the technical features of the embodiments of the present invention, so that those skilled in the art can intuitively understand the technical features of the embodiments of the present invention, and are not intended to be an improper limitation of the embodiments of the present invention.
[0125] 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 them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for transaction path conversion and optimization modeling considering sequential network loss rate correction, characterized in that, include: Step 1: Construct an objective function with the goal of maximizing social welfare. Establish a clearing model based on the available transmission capacity of the tie line, transmission fees of the channel, network loss rate, and information declared by the buyer and seller. Perform the first optimization clearing using this clearing model to obtain the clearing result. Here, maximizing social welfare means maximizing the sum of the surplus of the buyer market participants and the surplus of the seller market participants in the electricity market through a reasonable price mechanism and resource allocation. The surplus of the buyer market participants refers to the difference between the price they are willing to pay and the price they actually pay. The surplus of the seller market participants refers to the difference between the price they actually receive and their production cost. Step 2: Calculate the net power flow of the tie line based on the power transmission of the tie line during a certain period, the transaction path of the tie line, and the directional coefficient of the tie line on the transaction path. Step 3: For transmission channels with both positive and negative power flows, set the network loss rate at the tie line to zero for trading paths whose power flow is opposite to the net power flow direction of the tie line, and modify the network loss rate at the tie line for trading paths whose power flow is in the same direction as the net power flow direction of the tie line to obtain a new network loss rate. Step 4: Substitute the new network loss rate into the clearing model to perform a new round of optimized clearing, and obtain a new clearing result for each transaction path; Step 5: Compare the new clearing result with the previous clearing result. If the results are consistent, the calculation ends. If the results are inconsistent, return to step 2 and continue iterating until the new clearing result is consistent with the previous clearing result.
2. The method according to claim 1, characterized in that, The objective function is expressed as: in, T Total trading period For the set of seller nodes, For the sending end, it is the seller node. j The set of transaction paths, For time period t Transaction path i The transaction volume at the sending end, For seller nodes j During the period t The declared electricity price For buyers during the period t Time along the transaction path i The electricity price converted to the sending end.
3. The method according to claim 1, characterized in that, The formula for calculating the net current flow of the connecting line is expressed as follows: in, For connecting lines l The amount of electricity transmitted in time period t For including connecting lines l The set of transaction paths, For connecting lines l In the transaction path i Upward direction coefficient, For time period t Transaction path i The transaction volume at the sending end, For transaction path i From the sending end to the contact line l The set of contact lines, including contact lines l itself; For connecting lines m The loss rate.
4. The method according to claim 3, characterized in that, For transmission channels with both positive and negative power flows, the network loss rate at the tie line for trading paths whose power flow is opposite to the net power flow direction of the tie line is set to zero, as expressed as: in, For the communication line l The set of trading paths whose current direction is opposite to the net current direction of the connecting line; The network loss rate at the link line is modified by taking the transaction path whose current flow is in the same direction as the net current flow of the link line, resulting in a new network loss rate, expressed as: in, For transaction path i On the communication line l The revised new network loss rate, For connecting lines l loss rate, For transaction path i On the communication line l Input flow at the location. For the communication line l The set of transaction paths where the current and the net current direction of the connecting line are the same. For the communication line l The set of trading paths where the current flow and the net current flow of the connecting line are opposite.
5. A transaction path conversion and optimization modeling device considering sequential network loss rate correction, characterized in that, include: Model building module: This module is used to construct an objective function with the goal of maximizing social welfare. It establishes a clearing model based on the available transmission capacity of tie lines, transmission fees of channels, network loss rate, and information submitted by buyers and sellers. The clearing model is then used for the first optimization clearing process to obtain the clearing result. Maximizing social welfare means maximizing the sum of the surplus of buyers and sellers in the electricity market through a reasonable pricing mechanism and resource allocation. The surplus of buyers refers to the difference between the price they are willing to pay and the price they actually pay, while the surplus of sellers refers to the difference between the price they actually receive and their production costs. Data correction module: used to calculate the net power flow of the tie line based on the power transmission volume of the tie line in a certain period, the transaction path of the tie line, and the directional coefficient of the tie line on the transaction path; for transmission channels with positive and negative power flows, the network loss rate of the transaction path with the power flow opposite to the net power flow of the tie line at the tie line is set to zero, and the network loss rate of the transaction path with the power flow in the same direction as the net power flow of the tie line at the tie line is modified to obtain a new network loss rate; Data calculation module: It is used to substitute the new network loss rate into the clearing model to perform a new round of optimized clearing and obtain a new clearing result for each transaction path; compare the new clearing result with the previous clearing result. If the result is consistent, the calculation ends. If the result is inconsistent, it returns to the data correction module to continue iterating until the new clearing result is consistent with the previous clearing result.
6. The apparatus according to claim 5, characterized in that, The model building module is also used to represent the objective function: in, T Total trading period For the set of seller nodes, For the sending end, it is the seller node. j The set of transaction paths, For time period t Transaction path i The transaction volume at the sending end, For seller nodes j During the period t The declared electricity price For buyers during the period t Time along the transaction path i The electricity price converted to the sending end.
7. The apparatus according to claim 5, characterized in that, The data correction module is also used to represent the calculation formula for the net current flow of the tie line: in, For connecting lines l The amount of electricity transmitted in time period t For including connecting lines l The set of transaction paths, For connecting lines l In the transaction path i Upward direction coefficient, For time period t Transaction path i The transaction volume at the sending end, For transaction path i From the sending end to the contact line l The set of contact lines, including contact lines l itself; For connecting lines m The loss rate.
8. The apparatus according to claim 7, characterized in that, The data correction module is also used to, for transmission channels with both positive and negative power flows, set the network loss rate at the tie line for trading paths whose power flow is opposite to the net power flow direction of the tie line to zero, expressed as: in, For the communication line l The set of trading paths whose current direction is opposite to the net current direction of the connecting line; The network loss rate at the link line is modified by taking the transaction path whose current flow is in the same direction as the net current flow of the link line, resulting in a new network loss rate, expressed as: in, For transaction path i On the communication line l The revised new network loss rate, For connecting lines l loss rate, For transaction path i On the communication line l Input flow at the location. For the communication line l The set of transaction paths where the current and the net current direction of the connecting line are the same. For the communication line l The set of trading paths where the current flow and the net current flow of the connecting line are opposite.
9. An electronic device, characterized in that, include: The memory, the processor, and the computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of a transaction path conversion and optimization modeling method considering sequential network loss rate correction as described in any one of claims 1 to 4.
10. A computer storage medium, characterized in that, The computer storage medium stores a computer program, which, when executed by a processor, implements the steps in the transaction path conversion and optimization modeling method considering sequential network loss rate correction as described in any one of claims 1 to 4.