Cross-provincial and cross-regional medium and long term transaction pre-security check clearing method

By constructing a two-level model and iteratively solving it, the problem of the coupling relationship between inter-provincial and intra-provincial markets in cross-provincial and cross-regional medium- and long-term transactions was solved, realizing the security verification of transactions and the balance of electricity within the province, and maximizing the clearing of transactions to achieve social welfare.

CN120996806APending Publication Date: 2025-11-21NORTHWEST BRANCH OF STATE GRID POWER GRID CO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510869986.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-26
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

Existing methods for verifying the security of inter-provincial and inter-regional medium- and long-term transactions fail to effectively consider the coupling relationship between inter-provincial and intra-provincial markets, resulting in transaction results failing to pass the security verification of the scheduling plan and often leading to transaction failure.

Method used

A two-level model is constructed, including a cross-provincial and cross-regional medium- and long-term transaction clearing model and a provincial power balance model. Through iterative solution, social welfare and provincial power supply and demand balance are maximized, and the optimal transaction clearing scheme is output.

Benefits of technology

This effectively avoids the risk of transactions being reduced due to security checks, ensures the balance of power supply and demand within the province, and achieves a transaction clearing method that maximizes social welfare.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120996806A_ABST
    Figure CN120996806A_ABST
Patent Text Reader

Abstract

The invention provides a trans-provincial and trans-regional medium and long term transaction pre-security check clearing method, which comprises the following steps: constructing an upper-level model and a lower-level model according to power grid related parameters of each province, inter-provincial transmission line related parameters and quoted price and report quantity declared by transaction of each province; the superior model is a trans-provincial and trans-regional medium and long term transaction clearing model, maximization of social welfare is taken as a target, the achieved transaction determines power transmission and power receiving of each province, and power balance related boundary conditions of the subordinate model are influenced; the lower-level model is an intra-province electric power and electric quantity balance model of each province, minimizing the power generation cost of the power grid is taken as a target, the power supply and demand balance of the province is ensured to the maximum extent, the power transmission and receiving of the province are limited, and the transaction of part of transactions in the upper-level model is influenced; and performing iterative solution on the upper-level model and the lower-level model, and outputting an optimal transaction clearing scheme. According to the method, the risk that transactions are reduced due to safety check is avoided to the maximum extent, and a transaction clearing mode of maximizing social welfare is obtained on the premise of ensuring power supply and demand balance in a province to the maximum extent.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of power market transaction, in particular to a pre-safety check clearing method for inter-provincial and inter-regional medium and long-term transaction. BACKGROUND

[0002] In the power market, centralized bidding is an important transaction organization form of inter-provincial and inter-regional medium and long-term transaction. After the buyers and sellers report the price and quantity, the transaction is cleared through a certain way to obtain the final transaction result. The transaction result needs to be further safety checked by each province to be successfully executed. The existing safety checking methods include the medium and long-term transaction safety checking method considering safety constraint closed loop optimization, the step-by-step safety checking method, the power margin medium and long-term transaction safety checking method, etc. Although these methods make many analyses on safety checking, they do not consider the coupling relationship between inter-provincial market and intra-provincial market, and cannot provide reference for avoiding the risk of transaction being reduced by safety checking from the clearing level.

[0003] The actual power market transaction in China adopts a hierarchical architecture mode. Inter-provincial and inter-regional transaction is mainly organized by the state or the grid, and each province takes the inter-provincial and inter-regional transaction result as the boundary condition to organize the intra-provincial balance calculation and intra-provincial transaction. Therefore, there is a strong correlation between the intra-provincial power market and the inter-provincial and inter-regional power market. However, in the actual operation of the inter-provincial and inter-regional medium and long-term transaction, the excessive profit-seeking of market subjects leads to excessive power selling in inter-provincial and inter-regional transaction, resulting in a contradiction between the intra-provincial market supply and demand and the inter-provincial medium and long-term transaction. The existing transaction only focuses on whether the transmission channel transmission capacity can meet the transaction demand, and cannot make a pre-warning for the above power imbalance. Therefore, the result of the medium and long-term transaction often cannot pass the safety checking of the dispatch plan, resulting in transaction failure and unable to be executed smoothly, which is usually regarded as invalid transaction. SUMMARY

[0004] Therefore, the present application provides a pre-safety check clearing method for inter-provincial and inter-regional medium and long-term transaction to solve the above problems.

[0005] The present application provides a pre-safety check clearing method for inter-provincial and inter-regional medium and long-term transaction, comprising: constructing upper and lower level models according to the relevant parameters of each provincial power grid, the relevant parameters of inter-provincial transmission lines and the reported price and quantity of each provincial transaction; wherein the upper level model is an inter-provincial and inter-regional medium and long-term transaction clearing model, which maximizes social welfare as the target, and the transaction reached determines the power transmission and reception of each province, which affects the power balance related boundary conditions of the lower level model; the lower level model is an intra-provincial power balance model of each province, which minimizes the power grid generation cost as the target, maximally guarantees the power supply and demand balance of the province, limits the power transmission and reception of the province, and affects the transaction of part of the upper level model; iteratively solving the upper and lower level models to output an optimal transaction clearing scheme.

[0006] In another implementation form of the present application, the iterative solving of the upper and lower level models and outputting the optimal transaction clearing scheme comprises: inputting the obtained provincial grid related parameters, inter-provincial transmission line related parameters and transaction declared price and quantity of each province into the upper model to obtain a current transaction clearing scheme; calculating the power import and power export of each province according to the current transaction clearing result; inputting the power import and power export into the lower model to calculate the maximum power sale of each province; inputting the maximum power sale of each province into the upper model to calculate the net power sale upper limit of the upper model according to the province; judging whether the convergence condition is met according to the net power sale upper limit, and if not, performing a loop calculation until the convergence condition is met, and outputting the optimal transaction clearing scheme.

[0007] In another implementation form of the present application, the upper model is represented as:

[0008]

[0009] wherein, N R is the total number of provinces participating in inter-provincial transaction; and respectively represent the number of power purchase transaction declarations and the number of power sale transaction declarations of the province k in the time period t; and are the price and the successfully purchased power of the i th power purchase transaction declaration of the k th province in the time period t; and are the price and the successfully sold power of the i th power sale transaction declaration of the k th province in the time period t.

[0010] In another implementation form of the present application, the power import is represented as:

[0011]

[0012] The power export is represented as:

[0013]

[0014] wherein, is the successfully purchased power of the i th power purchase transaction declaration of the k th province in the time period t in the current clearing scheme obtained by solving the upper model; is the successfully sold power of the i th power sale transaction declaration of the k th province in the time period t in the current clearing scheme obtained by solving the upper model.

[0015] In another implementation form of the present application, the lower model is represented as:

[0016]

[0017] wherein, N T is the number of calculation periods; is the operation cost of thermal power units in province k in period t; is the load shedding penalty term in province k in period t; is the new energy curtailment penalty term in province k in period t; is the hydropower curtailment penalty term in province k in period t; is the total number of thermal power units in province k.

[0018] In another implementation manner of the present application, the upper limit of net power sales of the upper model is represented as:

[0019]

[0020] wherein, is the value of the upper limit of net power sales of province k in period t in the mth iteration process, is the maximum power sales of province k in period t in the mth iteration process.

[0021] In another implementation manner of the present application, the convergence condition is:

[0022]

[0023] wherein, is the value of in the (m-1)th iteration process, and ε is a preset value.

[0024] In another aspect of the present application, a pre-safety checking and clearing system for cross-province and cross-region mid-long term transaction is provided, comprising: a model construction module, which constructs upper and lower models according to relevant parameters of each provincial power grid, relevant parameters of inter-provincial transmission lines, and declared prices and quantities of each province transaction; wherein, the upper model is a cross-provincial and cross-region mid-long term transaction clearing model, which aims to maximize social welfare, and the transaction determines power transmission and reception of each province, and affects power balance related boundary conditions of the lower model; the lower model is a power balance model of each province, which aims to minimize power generation cost of the power grid, and maximally ensures power supply and demand balance of the province, limits power transmission and reception of the province, and affects part of the transaction in the upper model; a model solution module, which iteratively solves the upper and lower models, and outputs an optimal transaction clearing scheme.

[0025] In another aspect of the present application, 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 implements the steps of the pre-safety checking and clearing method for cross-provincial and cross-region mid-long term transaction according to any one of the above.

[0026] ​Another aspect of the present application provides a computer storage medium, characterized in that the computer storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the method for pre-security check of cross-provincial and cross-regional mid-long term transaction in any one of the above aspects.

[0027] The method for pre-security check of cross-provincial and cross-regional mid-long term transaction can consider the power balance of each province in the cross-provincial and cross-regional transaction clearing process, can avoid power supply and demand imbalance caused by blind power selling, can avoid the risk of transaction reduction due to security check to the greatest extent, and can obtain a transaction clearing mode with maximum social welfare on the premise of guaranteeing the balance between power supply and demand in each province. BRIEF DESCRIPTION OF DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. The advantages and benefits in the solutions will become clear and obvious to those skilled in the art by reading the following detailed description of the embodiments. The drawings are only for the purpose of illustrating the preferred embodiments, and are not considered as limiting the present application.

[0029] In the drawings:

[0030] Figure 1 A flowchart of the method for pre-security check of cross-provincial and cross-regional mid-long term transaction according to an embodiment of the present application is shown in

[0031] Figure 2 A flowchart of the iterative calculation of the upper and lower level models according to an embodiment of the present application is shown in DETAILED DESCRIPTION

[0032] In order to make the technical solutions in the embodiments of the present application better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be described clearly and in detail below with reference to the drawings of the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art should belong to the scope of protection of the present application.

[0033] Figure 1 A flowchart of the method for pre-security check of cross-provincial and cross-regional mid-long term transaction according to an embodiment of the present application is shown in Figure 1 as shown, the present embodiment mainly includes:

[0034] S101, constructing an upper and lower level model according to the relevant parameters of each provincial power grid, the relevant parameters of inter-provincial transmission lines, and the declared price and quantity of each provincial transaction declaration.

[0035] S1011, wherein the upper model is a cross-provincial and cross-regional medium and long-term transaction clearing model, and a transaction decision reached by maximizing social welfare determines power transmission and reception of each province and affects boundary conditions related to power balance of the lower model.

[0036] S1012, the lower model is an intraprovincial power balance model of each province, and a target is to minimize power generation cost of a power grid to maximize guarantee of intraprovincial power supply and demand balance and limit power transmission and reception of the province, and to affect part of transaction in the upper model.

[0037] S102, the upper and lower models are iteratively solved, and an optimal transaction clearing scheme is output.

[0038] The cross-provincial and cross-regional medium and long-term transaction pre-security check clearing method can make the cross-provincial and cross-regional transaction clearing process consider the power balance of each province, can avoid power supply and demand imbalance caused by blind power sale, can maximize the risk of transaction reduction due to security check, and can obtain a transaction clearing mode with maximum social welfare on the premise of maximizing the guarantee of intraprovincial power supply and demand balance.

[0039] In another implementation manner of the present application, the upper and lower models are iteratively solved, and an optimal transaction clearing scheme is output, including: inputting the obtained power grid related parameters of each province, inter-provincial transmission line related parameters and transaction declared price and quantity of each province into the upper model to obtain a current transaction clearing scheme; calculating the input power and output power of each province according to the current transaction clearing result; inputting the input power and the output power into the lower model to calculate the maximum power sale power of the whole province; inputting the maximum power sale power of the whole province into the upper model to calculate the net power sale upper limit of the upper model by province; and judging whether the convergence condition is met according to the net power sale upper limit, and if not, performing cyclic calculation until the convergence condition is met, and outputting the optimal transaction clearing scheme.

[0040] Illustratively, the pre-security check problem is divided into two levels, corresponding to the two-level structure of the power market, the lower problem is the intraprovincial power balance problem of each province, and the upper problem is the cross-provincial and cross-regional medium and long-term transaction clearing problem. The upper problem aims to maximize social welfare, and the transaction reached by the upper problem determines the power transmission and reception of each province, which may lead to expansion of the intraprovincial power gap and affect the power balance related boundary conditions of the lower problem; the lower problem maximizes the guarantee of intraprovincial power supply and demand balance, limits the power transmission and reception of the province, and affects the transaction of part of the upper problem, which leads to changes in the clearing result of the upper model. The upper and lower problems are coupled with each other and have different optimization targets, and need to be solved by iteration.

[0041] In another implementation form of the application, the upper model is represented as:

[0042]

[0043] wherein N R is the total number of provinces participating in inter-provincial transactions; and respectively represent the number of purchase transaction declarations and the number of sale transaction declarations of the province k in the time period t; and are the price and the successfully purchased power of the i th purchase transaction declaration of the province k in the time period t; and are the price and the successfully sold power of the i th sale transaction declaration of the province k in the time period t.

[0044] Exemplarily, the inter-provincial and inter-regional medium and long-term transaction adopts centralized bidding clearing, in the upper model, for each time period, a transaction clearing model is constructed according to the price and the quantity of the buyers and sellers, the optimization objective of the model is the maximization of social welfare. The model considers the transmission capacity limit of the inter-provincial transmission line and the power supply and demand balance of the lower model, and ignores the transmission loss.

[0045] In another implementation form of the application, the sending-in power is represented as:

[0046]

[0047] The sending-out power is represented as:

[0048]

[0049] wherein, and respectively are the total purchase power and the total sale power of the province k in the time period t, the parameters are transmitted into the lower model as boundary conditions in each iteration process, is the power successfully purchased by the i th purchase transaction declaration of the province k in the time period t in the current clearing scheme obtained by solving the upper model; is the power successfully sold by the i th sale transaction declaration of the province k in the time period t in the current clearing scheme obtained by solving the upper model.

[0050] In another implementation form of the application, the lower model is represented as:

[0051]

[0052] wherein N T is the number of calculation time periods; is the operation cost of the thermal power unit of the province k in the time period t; is the cut load penalty term of the province k in the time period t; is the new energy curtailment penalty term of the province k in the time period t; is the hydropower curtailment penalty term of the province k in the time period t; is the total number of thermal power units of the province k.

[0053] Exemplarily, the provincial power balance problem in the lower-level model is a mixed integer programming problem, which takes the output and start-stop plan of all power sources in the province as optimization variables, considers the safety constraints of various types of units and networks, and calculates the optimal scheduling plan under the premise of minimizing the cut load, with the goal of minimizing the power generation cost. If the power purchase and sale subject fails to purchase / sell the expected power in the upper-level market, it can only meet its demand in the provincial trading market. Therefore, the calculation result of the provincial power balance problem can reflect the provincial power supply and demand balance under the condition of full transaction in the provincial market.

[0054] In another implementation manner of the present application, the upper limit of the net power sale of the upper-level model is represented as:

[0055]

[0056] wherein, is the value of the upper limit of the net power sale of the province k in the time period t in the mth iteration process, is the maximum power sale of the province k in the time period t. The above formula indicates that in any time period, if there is no cut load in a province, the power sale of the province does not need to be limited; if there is a cut load, the difference between the power purchase and the power sale of the province should be reduced as much as possible until the provincial power supply and demand balance or the net power sale is 0.

[0057] Exemplarily, when the cross-provincial and cross-regional transaction occurs, the power purchase and sale of each province does not consider the provincial power balance, and at some time, the cut load occurs while the power is still sold to the outside, resulting in the phenomenon that the provincial power gap is expanded due to the cross-provincial and cross-regional transaction. In order to avoid this situation in the upper-level model clearing process, the maximum total power sale of each province in each time period needs to be calculated.

[0058] In another implementation manner of the present application, the convergence condition is:

[0059]

[0060] wherein, is the value of the upper limit of the net power sale of the province k in the time period t in the mth iteration process, is a preset value.

[0061] As shown in FIG. 1, the iteration calculation process is as follows: Figure 2

[0062] ​1. Input the relevant parameters of the power grid of each province, the relevant parameters of the inter-provincial transmission line, and the quotations and quantities submitted by each province for transaction.

[0063] 2. Set all parameters in the parent model. For M( This represents the upper limit of net electricity sales in province k within time period t in the higher-level model.

[0064] 3. Set the iteration count m = 0.

[0065] 4. Set the iteration count m = m + 1.

[0066] 5. Calculate the upper-level transaction clearing model to obtain the transaction clearing scheme, and then calculate the incoming power of each province at each time period. and output power

[0067] 6. The results of the transaction clearing will be used to determine the provinces' [resources / benefits]. as well as Passing to the lower-level model ( and These represent the power transmitted from node j to province k during time period t.

[0068] 7. For each province's sub-model, calculate the sub-province's power balance model, and then calculate the province's maximum power sales.

[0069] 8. Calculate the results from the models at the lower levels of each province. Input the upper-level model, calculate the upper-level model by province. The calculation method is as follows:

[0070]

[0071] In the formula: During the m-th iteration The value, During the m-th iteration The value of .

[0072] 9. Determine if the convergence criteria are met. If they are met, complete the calculation. The convergence criteria are as follows:

[0073]

[0074] In the formula: ε is a small value, which indicates that the model converges when the maximum net electricity sales power of each province and time period no longer changes in two adjacent iterations.

[0075] Repeat steps 4-9 until the convergence condition is met.

[0076] In each calculation of the lower-level model, the maximum net sale of electricity in each province in the lower-level model is limited by the demand for the balance between power supply and demand in the province; in each calculation of the upper-level model, the upper-level model carries out transaction clearing with the goal of maximizing social welfare. In each iteration process, the upper limit of net electricity sales of each province in each period will be reduced or maintained unchanged until the convergence condition is met.

[0077] After multiple iterations, reducing any transaction that has been reached will result in a decrease in social welfare, and reaching any new transaction will not reduce the power gap in any province. The upper-level model and the lower-level model reach equilibrium, and the upper-level model transaction clearing result no longer changes, and the power balance of the lower-level model no longer changes, and finally the clearing scheme that takes into account the optimization goals of the upper-level model and the lower-level model is obtained.

[0078] Compared with the existing method, the clearing method proposed in the present application effectively reduces the power gap of each province in executing transactions without significantly reducing the total transaction power, and reduces the risk of cross-provincial and cross-regional medium and long-term transactions being reduced due to dispatching review. The model proposed in the present application has good performance under different price environments, different review strictness, and different transaction sizes.

[0079] In another aspect of the present application, a cross-provincial and cross-regional medium and long-term transaction pre-safety review clearing system is provided, comprising:

[0080] A model construction module: according to the relevant parameters of each provincial power grid, the relevant parameters of inter-provincial transmission lines, and the quoted price and quoted quantity of each provincial transaction declaration, the upper and lower level models are constructed. The upper-level model is a cross-provincial and cross-regional medium and long-term transaction clearing model, which aims to maximize social welfare, and the transactions reached determine the power transmission and reception of each province, which affects the power balance related boundary conditions of the lower-level model. The lower-level model is a provincial power balance model, which aims to minimize the power generation cost of the power grid, and maximizes the guarantee of the balance between power supply and demand in the province, limits the power transmission and reception of the province, and affects the completion of part of the transactions in the upper-level model.

[0081] A model solving module: iteratively solving the upper and lower level models outputs the optimal transaction clearing scheme.

[0082] The cross-provincial and cross-regional medium and long-term transaction pre-safety review clearing system of the present application, through iterative calculation of the transaction clearing model and the power balance model of each province, enables the cross-provincial and cross-regional transaction clearing process to consider the power balance of each province, avoid power supply and demand imbalance caused by blind power sales, and maximize the guarantee of the balance between power supply and demand in the province. On the premise of guaranteeing the balance between power supply and demand in the province, the transaction clearing method that maximizes social welfare is obtained.

[0083] In another aspect of the present application, the electronic device comprises a processor, a memory, and a communication bus, and a communications interface.

[0084] wherein:

[0085] The processor, the memory, and the communications interface communicate with each other through the communication bus.

[0086] The communications interface is configured to communicate with other electronic devices or servers.

[0087] The processor is configured to execute a program, and specifically, can execute the steps of any one of the above-mentioned embodiments of the method for pre-security checking and clearing of inter-provincial and inter-regional medium and long-term transactions.

[0088] Specifically, the program can include program code comprising computer operation instructions.

[0089] The processor can be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the smart device can be processors of the same type, such as one or more CPUs, or processors of different types, such as one or more CPUs and one or more ASICs.

[0090] The memory is configured to store the program. The memory can include a high-speed RAM memory, and can also include a non-volatile memory, such as at least one disk memory.

[0091] The program can specifically be used to cause the processor to execute the steps described in any one of the embodiments of the method for pre-security checking and clearing of inter-provincial and inter-regional medium and long-term transactions. The specific implementation of each step in the program can refer to the corresponding description of the steps and units executed by any one of the above-mentioned embodiments of the method for pre-security checking and clearing of inter-provincial and inter-regional medium and long-term transactions, which will not be described here. Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-mentioned devices and modules can refer to the corresponding process descriptions in the foregoing method embodiments.

[0092] The exemplary embodiments of the present application also provide a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method of the embodiments of the present application.

[0093] The above-described methods according to embodiments of the application can be implemented in hardware, firmware, or software, or any combination thereof, and can be implemented as software storable on a recording medium which is readable from a general use computer, a special processor or programmable or special hardware (such as ASIC, or FPGA) using such software. It is understood that a computer, a processor, a micro-processor controller or programmable hardware includes a storage component (for example, RAM, ROM, Flash, etc.) which can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implement the methods described herein. In addition, when a general use computer accesses code for implementing the methods shown herein, the execution of the code transforms the general use computer into a special purpose computer which is configured to perform the methods shown herein.

[0094] Thus far, specific embodiments of the application have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve the desired results.

[0095] It should be noted that all directional directions (such as up, down, left, right, back, etc.) described in the embodiments of the present application are only used to explain the relative positional relationship between components, etc. in a certain specific order (as shown in the drawings), and if the specific order changes, the directional directions also change accordingly.

[0096] In the description of the present application, the terms "first", "second", etc. are only used for the convenience of describing different components or names, and cannot be understood as indicating or implying a sequential relationship, relative importance, or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one of the features.

[0097] 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 application belongs. The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.

[0098] It should be noted that, although the specific embodiments of the present application are described in detail with reference to the accompanying drawings, it should not be understood as limiting the scope of protection of the present application. Various modifications and variations made by those skilled in the art within the scope described in the claims are still within the scope of protection of the present application.

[0099] The examples of the embodiments of the present application are intended to simply illustrate the technical features of the embodiments of the present application, so that those skilled in the art can directly understand the technical features of the embodiments of the present application, and are not improper limitations on the embodiments of the present application.

[0100] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for pre-security checking and clearing of cross-provincial and cross-regional medium and long-term transactions, characterized in that, The application relates to a pre-safety checking and clearing method for inter-provincial and inter-regional medium and long-term transactions. The upper model is an inter-provincial and inter-regional medium and long-term transaction clearing model, and the target is to maximize social welfare; the transactions achieved by the upper model determine the power transmission and reception of each province and affect the power balance related boundary conditions of the lower model; the lower model is a power balance model of each province, and the target is to minimize the power generation cost of the power grid to maximize the balance between power supply and demand in the province, limit the power transmission and reception of the province, and affect the transactions of part of the upper model; and the upper and lower models are iteratively solved to output an optimal transaction clearing scheme. The upper model is an inter-provincial and inter-regional medium and long-term transaction clearing model, and the target is to maximize social welfare; the transactions achieved by the upper model determine the power transmission and reception of each province and affect the power balance related boundary conditions of the lower model; the lower model is a power balance model of each province, and the target is to minimize the power generation cost of the power grid to maximize the balance between power supply and demand in the province, limit the power transmission and reception of the province, and affect the transactions of part of the upper model; and the upper and lower models are iteratively solved to output an optimal transaction clearing scheme. The upper model is an inter-provincial and inter-regional medium and long-term transaction clearing model, and the target is to maximize social welfare; the transactions achieved by the upper model determine the power transmission and reception of each province and affect the power balance related boundary conditions of the lower model; the lower model is a power balance model of each province, and the target is to minimize the power generation cost of the power grid to maximize the balance between power supply and demand in the province, limit the power transmission and reception of the province, and affect the transactions of part of the upper model; and the upper and lower models are iteratively solved to output an optimal transaction clearing scheme. The upper model is represented as follows:

2. The method of claim 1, wherein, The power transmission is represented as follows: The power transmission is represented as follows: The lower model is represented as follows: The upper model is represented as follows: The convergence condition is as follows: The application relates to a pre-safety checking and clearing method for inter-provincial and inter-regional medium and long-term transactions.

3. The method of claim 2, wherein, The model construction module constructs the upper and lower models according to the related parameters of the power grids of the provinces, the related parameters of the inter-provincial transmission lines and the quoted prices and quantities of the transaction declarations of the provinces; the upper model is an inter-provincial and inter-regional medium and long-term transaction clearing model, and the target is to maximize social welfare; the transactions achieved by the upper model determine the power transmission and reception of each province and affect the power balance related boundary conditions of the lower model; the lower model is a power balance model of each province, and the target is to minimize the power generation cost of the power grid to maximize the balance between power supply and demand in the province, limit the power transmission and reception of the province, and affect the transactions of part of the upper model; where N R is the total number of provinces participating in inter-provincial trading; and denote the number of purchase and sale transaction declarations of province k in time period t, respectively; and are the bid price and the successfully purchased power of the i-th purchase transaction declaration of province k in time period t; and are the bid price and the successfully sold power of the i-th sale transaction declaration of province k in time period t.

4. The method of claim 3, wherein, The model solution module iteratively solves the upper and lower models to output an optimal transaction clearing scheme. The application relates to a pre-safety checking and clearing method for inter-provincial and inter-regional medium and long-term transactions. wherein, is the power successfully purchased by the ith power purchase transaction of the kth province in the time period t in the current dispatch scheme obtained by solving the upper model; is the power successfully sold by the ith power sale transaction of the kth province in the time period t in the current dispatch scheme obtained by solving the upper model.

5. The method of claim 2, wherein, The computer storage medium stores a computer program, and the computer program is executed by the processor to realize the steps of the pre-safety checking and clearing method for inter-provincial and inter-regional medium and long-term transactions. wherein, N T is the number of calculation periods; is the operation cost of thermal power units in province k during period t; is the load shedding penalty term in province k during period t; is the new energy curtailment penalty term in province k during period t; is the hydropower station water curtailment penalty term in province k during period t; is the total number of thermal power units in province k.

6. The method of claim 5, wherein, ​ wherein, is the value of the net upper limit of electricity sales for the kth consumer in the time period t in the mth iteration process, is the value of the maximum electricity sales for the kth consumer in the time period t in the mth iteration process.

7. The method of claim 6, wherein, ​ wherein: is the value of the mth iteration process is the value of the mth iteration process 8. A cross-provincial and cross-regional medium and long-term transaction pre-security checking clearing system, characterized in that, ​ ​ ​ 9. An electronic device, comprising: ​ ​ 10. A computer storage medium, characterized in that, ​