Medium and long term transaction matchmaking clearing method considering network constraint and related device
By adopting a rolling matching transaction method with simplified network models and sensitivity information in medium and long-term transactions, network constraints are considered in real time, which solves the problems of long transaction organization time and difficult verification in the existing technology, and achieves high-frequency transactions and transaction results. Compatibility with economic and physical constraints.
Patent Information
- Application Number
- CN202410839478.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-01
AI Technical Summary
Existing mid- and long-term transaction clearing methods fail to effectively consider network constraints, resulting in long transaction organization times, inability to adapt to the high-frequency transaction needs of emerging market entities, and difficulty in security verification.
Using a simplified network model and sensitivity information, through rolling matching transaction scenarios, network constraints are considered in real time, automatically associated with the network node where the quotation is located, and the remaining available transmission capacity is updated to achieve simultaneous completion of transaction clearing and network constraints.
It reduces the transaction organization time, improves the executability of transactions, meets the high-frequency transaction needs of new market entities, reduces the difficulty and workload of security verification, and ensures the compatibility of economic and physical constraints of transaction results.
Smart Images

Figure CN118735682A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power market clearing, and in particular relates to a medium- and long-term transaction matching and clearing method taking network constraints into consideration and a related device. Background Art
[0002] With the construction of new power systems, new market players such as wind power, photovoltaics, energy storage, and adjustable loads will gradually enter the market to conduct transactions. Due to their uncertainty or flexibility, these players need to constantly adjust their trading positions as the delivery time approaches. Therefore, the medium- and long-term market needs to have the ability to organize high-frequency transactions or open the market on a regular basis. When clearing existing medium- and long-term transactions, only the quotation information of the buyer and seller is considered, without considering the remaining available transmission capacity constraints of the network, resulting in an unconstrained transaction clearing result; then the transaction results are sent to the dispatcher, who performs a safety check based on the network transmission capacity, which generally takes 3 to 5 days. The whole process involves the collaboration of two departments, resulting in a long transaction organization time. This trading method cannot meet the purpose of emerging market players to conduct high-frequency transactions on a daily basis. At the same time, if the safety check fails, it will be difficult to adjust the transaction.
[0003] Therefore, in order to adapt to high-frequency medium- and long-term transactions on a daily basis, a simplified network model and remaining available transmission capacity provided by access scheduling are designed, network constraints are considered in medium- and long-term daily matching transactions, and the constraints on remaining transmission capacity are taken into account in each matching transaction. The transmission capacity is updated in time after the transaction is completed, so as to achieve the simultaneous completion of transaction clearing and network constraint restrictions. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a medium- and long-term transaction matching and clearing method and related devices that take network constraints into consideration in response to the above-mentioned deficiencies in the prior art, so as to solve the technical problem that the existing transactions are completed by the collaboration of two departments, resulting in a long time, reduce the probability of subsequent adjustment of existing transactions, and support the high-frequency medium- and long-term matching transaction needs organized on a daily basis after the participation of new energy market entities.
[0005] The present invention adopts the following technical solutions:
[0006] A medium- and long-term transaction matching and clearing method considering network constraints includes the following steps:
[0007] S1. Access simplified network model data from external systems;
[0008] S2. Create a rolling matching transaction scenario based on the simplified network model data accessed in step S1, and set the market participants, quotation start and end time, transaction delivery start and end time, and transaction commodities of the rolling matching transaction scenario;
[0009] S3. When the system time is greater than the quotation start time, the quotation window opens, and the market access subject obtained in step S2 enters the declaration interface to fill in and submit operations, and triggers the clearing calculation; the market access subject declares the trading role for the trading commodity, as well as the power and electricity price data of the product. When there are multiple commodities, multiple sets of data are declared according to the product;
[0010] S4. Based on the transaction role declared in step S3, as well as the power and electricity price data of the product, the network node where the quotation is located is automatically associated, and clearing calculations are performed independently for each commodity considering network constraints;
[0011] S5. The next market entity continues to submit quotations and executes a new round of clearing calculations until the system time is greater than the quotation end time. The quotation window is automatically closed and all matching and clearing transaction results and blocking limit information are released to the market entity.
[0012] Preferably, in step S1, the simplified network model data includes node n, transmission section r, sensitivity information T(r,n), the sensitivity information T(r,n) characterizes the sensitivity coefficient of the transmission power of the transmission section r to the injection power of the node n; the remaining available transmission capacity ATC(r,t) of the simplified network transmission section is accessed from the outside, indicating the remaining available transmission limit of branch r at time t.
[0013] Preferably, in step S3, the power and electricity price data of the product include:
[0014] Electricity B q (,t), electricity price B p (,t), role B r (,t), n represents the node;
[0015] If it is the seller, B r (,t)=1;
[0016] If it is the buyer, B r (,t)=-1.
[0017] Preferably, in step S4, the clearing calculation is performed as follows:
[0018] Submit quotation data B: {Electricity B q (,t), electricity price B p (,t), role B r (,t), where the node is n}, triggers the clearing calculation procedure;
[0019] Judgment role B r (,t), according to role B r (,t) Obtain the counterparty's queue information for matching transactions. The seller's offer is matched with the buyer's queue, and the buyer's offer is matched with the seller's queue:
[0020] If character B r (,t)=1 indicates the seller, then the first data is obtained from the buyer queue V from the front to the back ( q (1,t),V p (1,t)), V q (1,t) is the power intended by the purchaser, V p (1, t) is the intended electricity price for purchasing electricity, which is calculated with the quotation information to form a transaction matching pair (B, V)), transaction quantity R q (,n1,t), transaction price R p (,n1,t);
[0021] If character B r (,t)=0 means the buyer obtains the first data from the seller queue S from the front to the back ( q (2,t),S p (2,t)), S q (2,t) is the intended electricity for sale, S p (2, t) is the intended electricity price for electricity sales, and the transaction calculation is performed to form a transaction matching pair (B, S) and a transaction quantity R q (,n2,t), transaction price R p (,n2,t);
[0022] Update the remaining available transmission limit ATC(r,t): According to the transaction power, the power occupied by each transmission section is obtained through sensitivity factor calculation, and deducted from the available transmission limit to form the updated available transmission limit ATC(r,t) for the next transaction calculation;
[0023] Remove or deduct the traded electricity from the quotation information and queue information. If there is still remaining electricity in the quotation after deduction, continue to obtain the next data of the counterparty queue and perform the transaction calculation again until the buyer's price in the queue is < the seller's quotation, or the seller's price in the queue is > the buyer's quotation. The transaction calculation is completed; write the unsuccessful part of the seller's quotation into the seller's queue S, and write the unsuccessful part of the buyer's quotation into the buyer's queue V, and wait for the subsequent new quotation to be submitted before triggering the clearing calculation again.
[0024] Preferably, when the seller's offer is submitted, a clearing calculation is performed for the matching pair (B, S). p (,t)≤V p (1, t), continue to calculate the transaction volume and transaction price, otherwise the calculation ends;
[0025] The transaction volume R between the seller's offer B and the queue V q (n,n1,t) and transaction price R p(n,n1,t) is calculated as follows:
[0026] R q (,n1,t)=min( q (,t),V q (1,t), D(n,n1,t))
[0027] R p (,n1,t)=V p (1,t)
[0028] Among them, D(n,n1,t) is the minimum tradable power value between points n and n1 calculated by sensitivity of all transmission section limits.
[0029] Preferably, when D(n,n1,t)≤min(B q (,t),V q (1, t)), the network is blocked, the blocked transmission section is identified and recorded, as follows:
[0030] W q (,n1,t)=min( q (,t),V q (1,t))
[0031] TC(,t)=[ r (n,t)T(r,n)+B r (n1,t)T(r,n1)]×W q (,n1,t)
[0032] Among them, W q (,n1,t) is the unconstrained transaction volume between the buyer and the seller without considering network constraints; TC(,t) is the occupied capacity of the unconstrained transaction volume on the transmission section r, T(r,n) is the sensitivity information, T(r,n1) is the sensitivity information of node n1 to the transmission section r, B r (n1,t) is the role of n1;
[0033] Make judgments for all transmission sections r in turn. When TC(,t)>ATC(r,t), record {B q (,t),V q (1,t),r,TC(,t),ATC(r,t)} as the limit-crossing log.
[0034] Preferably, when the bid is submitted by the buyer, the clearing calculation is performed for the matching pair (B, S). p (,t)≤S p (2, t), continue to calculate the transaction volume and transaction price, otherwise the calculation ends;
[0035] The transaction volume R between the buyer's bid n and the first data S1 in the queue q (n,n2,t) and transaction price R p (n,n2,t) is calculated as follows:
[0036] R q (,n2,t)=min( q (,t),S q (2,t), D(n,n2,t))
[0037] R p (,n2,t)=S p (2,t)
[0038] Among them, D(n,n2,t) is the minimum tradable power value between points n and n2 calculated by sensitivity of all transmission section limits.
[0039] Preferably, when D(n,n2,t)≤min(B q (,t),S q (2, t)), the network is blocked, and the blocked transmission section is identified and recorded, as follows:
[0040] W q (,n2,t)=min( q (,t),S q (2,t))
[0041] TC(,t)=[(B r (n,t))T(r,n)+f(B r (n2,t))T(r,n2)]×W q (,n2,t)
[0042] For all transmission sections r, determine whether TC(,t)>ATC(r,t) holds. If so, record {B q (,t),S q (2,t),r,TC(,t),ATC(r,t)} as the limit-crossing log.
[0043] Preferably, updating the remaining available power transmission limit is specifically as follows:
[0044] According to the traded electricity and sensitivity factor, the decomposed electricity converted to each transmission section is calculated and deducted from the available transmission capacity parameters.
[0045] Preferably, all transmission sections r are processed as follows:
[0046] If submitting a seller's offer:
[0047] ATC(r,t)
[0048] =TC(r,t)-R q (,n1,t)×( r (n,t)×T(r,n)+B r (1,t)
[0049] ×T(r,n1))
[0050] If you are submitting a purchase offer:
[0051] TC(,t)=ATC(r,t)-R q (,n2,t)×( r (,t)×T(r,n)+B r (2,t)×T(r,n2))
[0052] Among them, r∈R, T(r,n) is the sensitivity information, R is the set of all transmission sections, and T(r,n1) is the sensitivity information of node n1 to transmission section r.
[0053] Preferably, when B p (,t)>V p (1,t), or B p (,t)>S p (2, t), the clearing calculation is completed, and the remaining unsold electricity and electricity price information are inserted into the corresponding queue; the clearing process is completed, and a new round of clearing calculation is triggered after the next round of quotation information is submitted; the sellers are sorted from low to high, and the buyers are sorted from high to low; if multiple records in the queue have the same price, they are sorted according to the time of submission of the quotation to form a new seller queue S: [(S q (1,t),S p (1,t)), (S q (2,t),S p (2,t)),...,(S q (2,t),S p (2,t))], or V:[(V q (1,t),V p (1,t)),(V q (2,t),V p (2,t)),...,(V q (1,t),V p (1,t))].
[0054] Preferably, after the quotation window ends, the transaction information and over-limit information will be released to market entities for review. The transaction information includes the electricity volume, electricity price, transaction counterparty, and transaction role at each time point; the over-limit information includes the declared electricity volume, declared electricity price, over-limit transmission section, transmission capacity occupied by the transaction, and remaining transmission capacity of the buyer and seller.
[0055] In a second aspect, an embodiment of the present invention provides a medium- and long-term transaction matching and clearing system taking into account network constraints, including:
[0056] Data module, access to simplified network model data from external systems;
[0057] The scenario module creates a rolling matching transaction scenario based on the accessed simplified network model data, and sets the market participants, quotation start and end time, transaction delivery start and end time, and transaction commodities of the rolling matching transaction scenario;
[0058] In the quotation module, when the computer system time is greater than the quotation start time, the quotation window opens, and the market access entity enters the declaration interface to fill in and submit operations, and triggers the clearing calculation; the market access entity declares the trading role for the trading commodity, as well as the power and electricity price data of the product. When there are multiple commodities, multiple sets of data are declared according to the product;
[0059] The clearing module automatically associates the network nodes where the quotations are located based on the declared transaction roles and the power and electricity price data of the products, and performs clearing calculations independently for each commodity considering network constraints;
[0060] The publishing module will execute a new round of clearing calculations when the next market entity continues to submit quotations until the system time is greater than the quotation end time, and the quotation window will automatically close. All matching and clearing transaction results and blocking limit information will be released to the market entity.
[0061] Preferably, the clearing module performs clearing calculations specifically as follows:
[0062] Submit quotation data B: {Electricity B q (,t), electricity price B p (,t), role B r (,t), where the node is n}, triggers the clearing calculation procedure;
[0063] Judgment role B r (,t), according to role B r (,t) Obtain the counterparty's queue information for matching transactions. The seller's offer is matched with the buyer's queue, and the buyer's offer is matched with the seller's queue:
[0064] If character B r(,t)=1 indicates the seller, then the first data is obtained from the buyer queue V from the front to the back ( q (1,t),V p (1,t)), V q (1,t) is the power intended by the purchaser, V p (1, t) is the intended electricity price for purchasing electricity, which is calculated with the quotation information to form a transaction matching pair (B, V)), transaction quantity R q (,n1,t), transaction price R p (,n1,t);
[0065] If character B r (,t)=0 means the buyer obtains the first data from the seller queue S from the front to the back ( q (2,t),S p (2,t)), S q (2,t) is the intended electricity for sale, S p (2, t) is the intended electricity price for electricity sales, and the transaction calculation is performed to form a transaction matching pair (B, S) and a transaction quantity R q (,n2,t), transaction price R p (,n2,t);
[0066] Update the remaining available transmission limit ATC(r,t): According to the transaction power, the power occupied by each transmission section is obtained through sensitivity factor calculation, and deducted from the available transmission limit to form the updated available transmission limit ATC(r,t) for the next transaction calculation;
[0067] Remove or deduct the traded electricity from the quotation information and queue information. If there is still remaining electricity in the quotation after deduction, continue to obtain the next data of the counterparty queue and perform the transaction calculation again until the buyer's price in the queue is < the seller's quotation, or the seller's price in the queue is > the buyer's quotation. The transaction calculation is completed; write the unsuccessful part of the seller's quotation into the seller's queue S, and write the unsuccessful part of the buyer's quotation into the buyer's queue V, and wait for the subsequent new quotation to be submitted before triggering the clearing calculation again.
[0068] Preferably, when the seller's offer is submitted, a clearing calculation is performed for the matching pair (B, S). p (,t)≤V p (1, t), continue to calculate the transaction volume and transaction price, otherwise the calculation ends;
[0069] The transaction volume R between the seller's offer B and the queue V q (n,n1,t) and transaction price R p (n,n1,t) is calculated as follows:
[0070] Rq (,n1,t)=min( q (,t),V q (1,t), D(n,n1,t))
[0071] R p (,n1,t)=V p (1,t)
[0072] Where D(n,n1,t) is the minimum tradable power value between points n and n1 calculated by sensitivity from all transmission section limits;
[0073] When D(n,n1,t)≤min(B q (,t),V q (1, t)), the network is blocked, the blocked transmission section is identified and recorded, as follows:
[0074] W q (,n1,t)=min( q (,t),V q (1,t))
[0075] tC(,t)=[ r (n,t)T(r,n)+B r (n1,t)T(r,n1)]×W q (,n1,t)
[0076] Among them, W q (,n1,t) is the unconstrained transaction volume between the buyer and the seller without considering network constraints; TC(,t) is the occupied capacity of the unconstrained transaction volume on the transmission section r, T(r,n) is the sensitivity information, T(r,n1) is the sensitivity information of node n1 to the transmission section r, B r (n1,t) is the role of n1;
[0077] Make judgments for all transmission sections r in turn. When TC(,t)>ATC(r,t), record {B q (,t),V q (1,t),r,TC(,t),ATC(r,t)} as the limit-crossing log.
[0078] Preferably, when the bid is submitted by the buyer, the clearing calculation is performed for the matching pair (B, S). p (,t)≤S p (2, t), continue to calculate the transaction volume and transaction price, otherwise the calculation ends;
[0079] The transaction volume R between the buyer's bid n and the first data S1 in the queue q(n,n2,t) and transaction price R p (n,n2,t) is calculated as follows:
[0080] R q (,n2,t)=min( q (,t),S q (2,t), D(n,n2,t))
[0081] R p (,n2,t)=S p (2,t)
[0082] Where D(n,n2,t) is the minimum tradable power value between points n and n2 calculated by sensitivity from all transmission section limits;
[0083] When D(n,n2,t)≤min(B q (,t),S q (2, t)), the network is blocked, and the blocked transmission section is identified and recorded, as follows:
[0084] W q (,n2,t)=min( q (,t),S q (2,t))
[0085] TC(,t)=[(B r (n,t))T(r,n)+f(B r (n2,t))T(r,n2)]×W q (,n2,t)
[0086] For all transmission sections r, determine whether TC(,t)>ATC(r,t) holds. If so, record {B q (,t),S q (2,t),r,TC(,t),ATC(r,t)} as the limit-crossing log.
[0087] Preferably, updating the remaining available power transmission limit is specifically as follows:
[0088] According to the traded electricity and sensitivity factor, the traded electricity is converted to the decomposed electricity of each transmission section and deducted from the available transmission capacity parameter. The processing for all transmission sections r is as follows:
[0089] If submitting a seller's offer:
[0090] ATC(r,t)
[0091] =TC(r,t)-R q (,n1,t)×( r(n,t)×T(r,n)+B r (1,t)
[0092] ×T(r,n1))
[0093] If you are submitting a purchase offer:
[0094] TC(,t)=ATC(r,t)-R q (,n2,t)×( r (,t)×T(r,n)+B r (2,t)×T(r,n2))
[0095] Among them, r∈R, T(r,n) is the sensitivity information, R is the set of all transmission sections, and T(r,n1) is the sensitivity information of node n1 to transmission section r.
[0096] Preferably, when B p (,t)>V p (1,t), or B p (,t)>S p (2, t), the clearing calculation is completed, and the remaining unsold electricity and electricity price information are inserted into the corresponding queue; the clearing process is completed, and a new round of clearing calculation is triggered after the next round of quotation information is submitted; the sellers are sorted from low to high, and the buyers are sorted from high to low; if multiple records in the queue have the same price, they are sorted according to the time of submission of the quotation to form a new seller queue S: [(S q (1,t),S q (1,t)), (S q (2,t),S p (2,t)),...,(S q (2,t),S p (2,t))], or V:[(V q (1,t),V p (1,t)),(V q (2,t),V p (2,t)),...,(V q (1,t),V p (1,t))].
[0097] In a third aspect, a computer device comprises 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 above-mentioned medium- and long-term transaction matching and clearing method taking into account network constraints when executing the computer program.
[0098] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, including a computer program, which, when executed by a processor, implements the steps of the above-mentioned medium- and long-term transaction matching and clearing method considering network constraints.
[0099] Compared with the prior art, the present invention has at least the following beneficial effects:
[0100] A medium- and long-term transaction matching and clearing method considering network constraints is proposed. A medium- and long-term rolling matching transaction clearing method considering available transmission capacity is proposed by using a simplified network model and sensitivity information, and the entire process from quotation to clearing is designed; the medium- and long-term transaction results calculated based on the present invention not only meet the economic constraints of the transaction, but also meet the transmission capacity constraints of the physical network, so that the medium- and long-term transaction results can be closer to actual execution, reducing the difficulty and workload of security verification, and strongly supporting new market players to conduct high-frequency transactions on a daily basis after entering the market; a complex process of quotation triggering, real-time calculation, updating queues, and updating available transmission capacity is designed, which realizes the opportunity to adjust the transaction strategy multiple times within the quotation window, and meets the needs of new market players to enter the power market and conduct high-frequency transactions.
[0101] Furthermore, in the transaction clearing, not only the matching of the seller's and buyer's quotations is taken into consideration, the seller's quotation must be less than or equal to the buyer's quotation for the transaction to be completed; but also the transaction quantity formed by the buyer and seller transaction pairs is taken into consideration, and no transmission section can be exceeded; the clearing method is compatible with economic constraints and physical execution constraints, and the transaction results are more conducive to the execution of the results.
[0102] Furthermore, unfulfilled transaction quotations form multiple buyer queues and seller queues according to the transaction period. The buyer queue is arranged from high to low according to price, and the seller queue is arranged from low to high according to price. If the prices are the same, they are arranged in order of quotation time. The queue design improves the processing performance of price matching.
[0103] Furthermore, after locking the transaction matching parties, the maximum power constraint that can be traded is calculated using sensitivity and available transmission capacity, realizing the dual consideration of economic and physical constraints in the transaction process;
[0104] Furthermore, after determining the traded electricity, the impact of the traded electricity on the transmission capacity is calculated, and the remaining available transmission capacity is updated in a timely manner, so that the physical constraint information is kept up to date at all times to prepare for the next quotation.
[0105] It can be understood that the beneficial effects of the second aspect mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
[0106] In summary, the present invention adopts a medium- and long-term matching transaction method that takes into account the constraints of available transmission capacity, greatly reduces the possibility of safety verification and adjustment, and comprehensively considers economic constraints and physical constraints in transaction calculations, thereby increasing the frequency of transaction organization and realizing daily medium- and long-term integrated transactions.
[0107] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0108] Figure 1 It is a schematic diagram of the process of the present invention;
[0109] Figure 2 A schematic diagram of a computer device provided by an embodiment of the present invention;
[0110] Figure 3 The block diagram is a chip provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0111] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0112] In the description of the present invention, it should be understood that the terms “include” and “comprises” indicate the presence of described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or collections thereof.
[0113] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, the singular forms "a", "an" and "the" are intended to include plural forms unless the context clearly indicates otherwise.
[0114] It should be further understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present invention generally indicates that the associated objects are in an "or" relationship.
[0115] It should be understood that, although the terms first, second, third, etc. may be used to describe preset ranges, etc. in the embodiments of the present invention, these preset ranges should not be limited to these terms. These terms are only used to distinguish preset ranges from each other. For example, without departing from the scope of the embodiments of the present invention, the first preset range may also be referred to as the second preset range, and similarly, the second preset range may also be referred to as the first preset range.
[0116] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0117] Various structural schematic diagrams of the embodiments disclosed in the present invention are shown in the accompanying drawings. These figures are not drawn to scale, and some details are magnified and some details may be omitted for the purpose of clear expression. The shapes of various regions and layers shown in the figures and the relative sizes and positional relationships therebetween are only exemplary, and may deviate in practice due to manufacturing tolerances or technical limitations, and those skilled in the art may additionally design regions / layers with different shapes, sizes, and relative positions according to actual needs.
[0118] The proportion of new energy and flexible loads in the power market will gradually increase. In the medium and long term, the market needs to build a trading method that adapts to new market players and achieves high-frequency trading. The original trading method is divided into two parts: unconstrained clearing and constrained clearing.
[0119] Unconstrained clearing is performed by the trading center, which only considers the quotations of market entities; constrained clearing is performed by the dispatching center, which adjusts the transaction results after security verification based on network constraints, etc. In the provincial medium and long-term market, the present invention takes into account network section constraints in real time in rolling matching transactions based on simplified network model information and equivalent sensitivity. Each quotation triggers a constrained clearing, shortening the transaction organization time, thereby achieving high-frequency transactions.
[0120] The present invention provides a medium- and long-term transaction matching and clearing method taking network constraints into consideration. According to sensitivity information and remaining available transmission capacity, each quotation is received to trigger clearing calculation, thereby realizing constrained rolling matching and clearing transactions. During the transaction process, the main network constraints are taken into consideration, the executability of the transaction is improved, and the problem of long medium- and long-term transaction organization cycle is solved, thus providing an effective solution for medium- and long-term transactions in the power market under the construction of a new type of power system in the future.
[0121] The present invention provides a medium- and long-term transaction matching and clearing method considering network constraints, comprising the following steps:
[0122] S1. Access simplified network model data from the outside, including node n, transmission section r, and sensitivity information T(r,n), which characterizes the sensitivity coefficient of the transmission power of transmission section r to the injection power of node n; access the remaining available transmission capacity ATC(r,t) of the simplified network transmission section from the outside, which represents the remaining available transmission limit of branch r at time t;
[0123] S2. Create a rolling matching transaction scenario, set the market entity for transaction access, quotation start and end time, and transaction commodity. The transaction commodity t is set from 1 to 24, which means that 1 day is divided into 24 periods, forming 24 products, and each period is independently declared and cleared;
[0124] S3. The computer system time is greater than the quotation start time, the quotation window opens, and the market entity declares: the market entity declares the trading role, as well as the power and electricity price data of the time period. When there are multiple commodities, multiple sets of data are declared according to the products;
[0125] Data includes: B: {Electricity B q (,t), electricity price B p (,t), role B r (,t), where the node is n}.
[0126] S4. After the market participants submit their quotations, the transaction clearing service is triggered and the clearing calculation is performed;
[0127] The clearing calculation is as follows:
[0128] S401, obtain quotation data: obtain quotation data B: {power B q (,t), electricity price B p (,t), role B r (,t), node n}, determine the quotation role B r (,t);
[0129] S402, Transaction Calculation: If the price submitted is the seller's offer B r (,t)=1, then get the first data V1 from the buyer queue V: q (1,t),V p (1,t)), if B p (,t)≤V p If (1, t) is established, the transaction calculation will begin;
[0130] At time t, the transaction volume R between the seller's offer B and the first data in queue V q (n,n1,t) and transaction price R pThe calculation method of (n,n1,t) is:
[0131]
[0132] If it is the seller, B r (,t)=1; if it is the buyer, B r (,t)=-1;
[0133] R q (,n1,t)=min( q (,t),V q (1,t), D(n,n1,t))
[0134] R p (,n1,t)=V p (1,t)
[0135] Among them, D(n,n1,t) is the minimum tradable power value between the two points of all transmission section limits converted by sensitivity,1; finally, the transaction matching pair (B,V1) and the transaction power R are formed. q (,n1,t), transaction price R p (,n1,t).
[0136] When D(n,n1,t)≤min(B q (,t),V q (1,t)), indicating that a blockage has occurred and it is necessary to identify the blocked transmission section and record it.
[0137] S403, transaction calculation: If the submitted quotation is a buyer's quotation, the first data S1 is obtained from the seller's queue S: ( q (2,t),S p (2,t)); if B q (,t)≥S p (2, t) is established, then the transaction calculation begins;
[0138] At time t, the transaction quantity RQ(,i,t) and transaction price RP(k,,) between the buyer's bid price B and S1 are calculated as follows:
[0139]
[0140] R q (,n2,t)=min( q (,t),S q (2,t), D(n,n2,t))
[0141] R p (,n2,t)=S p (2,t)
[0142] Among them, D(n,n2,t) is the minimum tradable power value between points n and n2 calculated by sensitivity of all transmission section limits.
[0143] When D(n,n2,t)≤min(B q (,t),S q (2,t)) indicates that a blockage has occurred and the blocked transmission section needs to be identified and recorded.
[0144] S404, update the remaining available transmission limit ATC(r,t): calculate the decomposed power of each transmission section converted from the traded power according to the traded power and the sensitivity factor, and deduct it from the available transmission capacity parameter;
[0145] If the price submitted is the seller's price: ATC(r,t)=ATC(,t)-R q (,n1,t)×( r (,t)×
[0146] T(r,n)+B r (1,t)×T(r,n1))
[0147] If the submission is a buyer's quotation: ATC(r,t)=ATC(,t)-R q (,n2,t)×( r (,t)×T(r,n)+B r (2,t)×T(r,n2))
[0148] The above processing is performed for all transmission sections r.
[0149] S405, iterate the next round of calculation: the electricity that has been traded is removed or deducted from the quotation information and queue information; if there is still remaining electricity in the quotation after deduction, continue to obtain the next data of the counterparty queue and perform the transaction calculation again until any of the following conditions is met and the transaction calculation is completed.
[0150] The end conditions are:
[0151] 1) All electricity transactions have been completed;
[0152] 2) There is no data in the queue that matches the seller's bid price, that is, the seller's bid price > the buyer's price in the queue B p (,t)>V p (1,t), or the buyer's bid < the seller's bid B in the queue p (,t) p (2,t).
[0153] S406, updating queue information;
[0154] If the clearing calculation is completed, the remaining power and price information pairs are written into the queue of the corresponding role and inserted into the original queue in order of price. Sellers are sorted from low to high, and buyers are sorted from high to low. If multiple records in the queue have the same price, they are sorted in order of the time when the bids were submitted to form a new buyer queue V:[(V q (1,t),V p (1,t)),(V q (2,t),V p (2,t)),...,(V q (1,t),V p (1,t))], or the seller queue s:[(S q (1,t),S p (1,t)), (S q (2,t),S p (2,t)),...,(S q (2,t),S p (2,t))].
[0155] S407, record the limit-exceeding log;
[0156] During the clearing calculation, when the transaction power is less than the buyer's or seller's power, it means that the system is blocked; record the matching pair information of the transaction, the cross-limit section r, the remaining transmission power, the buyer's power, the seller's power, and the transaction power when the limit is exceeded as the limit-exceeding log; display the limit-exceeding log on the quotation page to facilitate the quotation subject to obtain the corresponding information and adjust the quotation strategy.
[0157] W q (,n2,t)=min( q (,t),S q (2,t))
[0158] TC(,t)=[ r (n,t)T(r,n)+B r (n2,t)T(r,n2)]×W q (,n2,t)
[0159] For all transmission sections r, determine whether TC(,t)>ATC(r,t) holds. If so, record {B q (,t),S q (2,t),r,TC(,t),ATC(r,t)} as the limit-crossing log.
[0160] S408: All processing is completed, waiting for the next quotation information to be submitted, and triggering the clearing calculation again.
[0161] S5. The quotation window is closed, the system time > quotation end time, and the transaction results are released to the market entities. Each market entity can query the transaction information and blocking information related to itself.
[0162] In another embodiment of the present invention, a medium- and long-term transaction matching and clearing system taking network constraints into consideration is provided. The system can be used to implement the above-mentioned medium- and long-term transaction matching and clearing method taking network constraints into consideration. Specifically, the medium- and long-term transaction matching and clearing system taking network constraints into consideration includes a data module, a scenario module, a quotation module, a clearing module and a publishing module.
[0163] Among them, the data module accesses simplified network model data from the external system;
[0164] The scenario module creates a rolling matching transaction scenario based on the accessed simplified network model data, and sets the market participants, quotation start and end time, transaction delivery start and end time, and transaction commodities of the rolling matching transaction scenario;
[0165] In the quotation module, when the system time is greater than the quotation start time, the quotation window opens, and the market access entity enters the declaration interface to fill in and submit operations, and triggers the clearing calculation; the market access entity declares the trading role for the trading commodity, as well as the power and electricity price data of the product. When there are multiple commodities, multiple sets of data are declared according to the product;
[0166] The clearing module automatically associates the network nodes where the quotations are located based on the declared transaction roles and the power and electricity price data of the products, and performs clearing calculations independently for each commodity considering network constraints;
[0167] The publishing module will execute a new round of clearing calculations when the next market entity continues to submit quotations until the system time is greater than the quotation end time, and the quotation window will automatically close. All matching and clearing transaction results and blocking limit information will be released to the market entity.
[0168] In another embodiment of the present invention, a terminal device is provided, the terminal device includes a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc., which are the computing core and control core of the terminal, which are suitable for implementing one or more instructions, and are specifically suitable for loading and executing one or more instructions to implement the corresponding method flow or corresponding function; the processor described in the embodiment of the present invention can be used for the operation of the medium- and long-term transaction matching and clearing method considering network constraints, including:
[0169] Access simplified network model data from external systems; create rolling matching transaction scenarios based on simplified network model data, set the market participants, quotation start and end time, transaction delivery start and end time, and trading products of the rolling matching transaction scenarios; when the system time is greater than the quotation start time, the quotation window opens, and the market participants enter the declaration interface to fill in and submit operations, and trigger clearing calculations; market participants declare trading roles and the power and electricity price data of the products for the trading products, and declare multiple sets of data according to the products when there are multiple products; based on the declared trading roles and the power and electricity price data of the products, the network nodes where the quotations are located are automatically associated, and clearing calculations are performed independently for each product considering network constraints; the next market participant continues to submit quotations and executes a new round of clearing calculations until the system time is greater than the quotation end time, the quotation window is automatically closed, and all matching clearing transaction results and blocking limit information will be released to the market participants.
[0170] In another embodiment of the present invention, the present invention further provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a terminal device for storing programs and data. It can be understood that the computer-readable storage medium here can include both the built-in storage medium in the terminal device and the extended storage medium supported by the terminal device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory, or a non-volatile memory (Non-Volatile Memory), such as at least one disk memory.
[0171] The processor may load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of the medium- and long-term transaction matching and clearing method considering network constraints in the above embodiment; the processor may load and execute the following steps of one or more instructions in the computer-readable storage medium:
[0172] Access simplified network model data from external systems; create rolling matching transaction scenarios based on simplified network model data, set the market participants, quotation start and end time, transaction delivery start and end time, and trading products of the rolling matching transaction scenarios; when the system time is greater than the quotation start time, the quotation window opens, and the market participants enter the declaration interface to fill in and submit operations, and trigger clearing calculations; market participants declare trading roles and the power and electricity price data of the products for the trading products, and declare multiple sets of data according to the products when there are multiple products; based on the declared trading roles and the power and electricity price data of the products, the network nodes where the quotations are located are automatically associated, and clearing calculations are performed independently for each product considering network constraints; the next market participant continues to submit quotations and executes a new round of clearing calculations until the system time is greater than the quotation end time, the quotation window is automatically closed, and all matching clearing transaction results and blocking limit information will be released to the market participants.
[0173] See also Figure 2, the terminal device is a computer device, and the computer device 60 of this embodiment includes: a processor 61, a memory 62, and a computer program 63 stored in the memory 62 and executable on the processor 61. When the computer program 63 is executed by the processor 61, the method for calculating the composition of fluid in the reservoir transformation wellbore in the embodiment is realized. To avoid repetition, it is not described one by one here. Alternatively, when the computer program 63 is executed by the processor 61, the functions of each model / unit in the calculation system for the composition of fluid in the reservoir transformation wellbore in the embodiment are realized. To avoid repetition, it is not described one by one here.
[0174] The computer device 60 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The computer device 60 may include, but is not limited to, a processor 61 and a memory 62. Those skilled in the art will appreciate that Figure 2 This is only an example of the computer device 60 and does not constitute a limitation of the computer device 60. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the computer device may also include input and output devices, network access devices, buses, etc.
[0175] The processor 61 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0176] The memory 62 may be an internal storage unit of the computer device 60, such as a hard disk or memory of the computer device 60. The memory 62 may also be an external storage device of the computer device 60, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the computer device 60.
[0177] Furthermore, the memory 62 may include both an internal storage unit of the computer device 60 and an external storage device. The memory 62 is used to store computer programs and other programs and data required by the computer device. The memory 62 may also be used to temporarily store data that has been output or is to be output.
[0178] See also Figure 3 , the terminal device is a chip, and the chip 600 of this embodiment includes a processor 622, which may be one or more, and a memory 632 for storing a computer program executable by the processor 622. The computer program stored in the memory 632 may include one or more modules, each corresponding to a set of instructions. In addition, the processor 622 may be configured to execute the computer program to execute the above-mentioned generalizable monocular absolute depth map estimation method.
[0179] In addition, the chip 600 may further include a power supply component 626 and a communication component 650, wherein the power supply component 626 may be configured to perform power management of the chip 600, and the communication component 650 may be configured to implement communication, for example, wired or wireless communication, of the chip 600. In addition, the chip 600 may further include an input / output interface 658. The chip 600 may operate based on an operating system stored in the memory 632.
[0180] In summary, the present invention provides a medium- and long-term transaction matching and clearing method and related device that consider network constraints. It uses simplified network models and sensitivity information to propose a medium- and long-term rolling matching transaction clearing method that considers available transmission capacity, and designs the entire process from quotation to clearing. The medium- and long-term transaction results calculated based on the present invention not only meet the economic constraints of the transaction, but also meet the transmission capacity constraints of the physical network, so that the medium- and long-term transaction results can be closer to actual execution, reducing the difficulty and workload of security verification, and strongly supporting new market entities to conduct high-frequency transactions on a daily basis after entering the market.
[0181] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0182] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0183] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0184] In the embodiments provided by the present invention, it should be understood that the disclosed devices / terminals and methods can be implemented in other ways. For example, the device / terminal embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0185] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0186] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0187] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0188] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0189] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0190] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0191] The above contents are only for explaining the technical idea of the present invention and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical idea proposed by the present invention shall fall within the protection scope of the claims of the present invention.
Claims
1. A medium- and long-term transaction matching and clearing method considering network constraints, characterized by: The following steps are involved: Access simplified network model data from external systems; Create a rolling matching transaction scenario based on the accessed simplified network model data, set the market participants for the rolling matching transaction scenario, the quote start and end times, the transaction delivery start and end times, and the trading commodities; When the system time is greater than the quotation start time, the quotation window opens, and the market access entity enters the declaration interface to fill in and submit operations, and triggers the clearing calculation; wherein the market access entity declares the trading role for the trading commodity, as well as the power and electricity price data of the product. When there are multiple commodities, multiple sets of data are declared according to the product; Based on the transaction roles, the power and price data of the products, and the network nodes where the quotations are located, the clearing calculation is performed independently for each commodity taking into account the network constraints; The next market participant continues to submit a quotation and executes a new round of clearing calculations until the system time is greater than the quotation end time. The quotation window is automatically closed and all matching and clearing transaction results and blocking limit information will be released to the market participant.
2. The method for matching and clearing medium- and long-term transactions considering network constraints according to claim 1 is characterized in that: The simplified network model data includes node n, transmission section r, and sensitivity information T(r,n). The sensitivity information T(r,n) represents the sensitivity coefficient of the transmission power of transmission section r to the injection power of node n. The remaining available transmission capacity ATC(r,t) of the simplified network transmission section accessed from the outside represents the remaining available transmission limit of branch r at time t.
3. The method for matching and clearing medium- and long-term transactions considering network constraints according to claim 1 is characterized in that The product's electricity and electricity price data include: Electricity B q (,t), electricity price B p (,t), role B r (,t), n represents the node; If it is the seller, B r (,t)=1; If it is the buyer, B r (,t)=-1.
4. The method for matching and clearing medium- and long-term transactions considering network constraints according to claim 1 is characterized in that: The specific calculation for performing the clearing calculation is: Submit quotation data B: {Power B q (,t), electricity price B p (,t), role B r (,t), where the node is n}, triggers the clearing calculation program; Judgment role B r (,t), according to role B r (,t) Obtain the counterparty's queue information for matching transactions. The seller's quote is matched with the buyer's queue, and the buyer's quote is matched with the seller's queue: If character B r (,t)=1 means the seller, then get the first data from the buyer queue V from the front to the back ( q (1,t), V p (1,t)), V q (1,t) is the power intended by the buyer, V p (1, t) is the intended electricity price for electricity purchase, and the transaction calculation is performed with the quotation information to form a transaction matching pair (B, V)), the transaction quantity R q (,n1,t), transaction price R p (,n1,t); If character B r (,t)=0 means the buyer obtains the first data from the seller queue S from the front to the back ( q (2,t),S p (2,t)), S q (2,t) is the intended electricity for sale, S p (2, t) is the intended electricity price for electricity sales, and the transaction calculation is performed to form a transaction matching pair (B, S) and the transaction quantity R q (,n2,t), transaction price R p (,n2,t); Update the remaining available transmission limit (ATC(r,t)): Based on the traded power, calculate the sensitivity factor to obtain the power occupied by each transmission section, deduct it from the available transmission limit, and form the updated available transmission limit (ATC(r,t)) for the next trade calculation; Remove or deduct the traded electricity from the quotation information and queue information. If there is still remaining electricity in the quotation after deduction, continue to obtain the next data from the counterparty queue and perform the transaction calculation again until the buyer's price in the queue is less than the seller's quotation, or the seller's price in the queue is greater than the buyer's quotation. The transaction calculation is completed; the unsold part of the seller's quotation is written to the seller queue S, and the unsold part of the buyer's quotation is written to the buyer queue V. Wait for the subsequent new quotation to be submitted to trigger the clearing calculation again.
5. The method for matching and clearing medium- and long-term transactions considering network constraints according to claim 4 is characterized in that: When the seller's bid is submitted, the clearing calculation is performed for the matching pair (B, S). When the electricity price B p (,t)≤V p When (1, t), continue to calculate the transaction volume and transaction price, otherwise the calculation ends; The transaction volume R between the seller's bid B and queue V q (n,n1,t) and transaction price R p (n,n1,t) is calculated as follows: R q (,n1,t)=min( q (,t),V q (1,t),D(n,n1,t)) R p (,n1,t)=V p (1,t) Among them, D(n,n1,t) is the minimum tradable power value between points n and n1 calculated by sensitivity of all transmission section limits.
6. The method for matching and clearing medium- and long-term transactions considering network constraints according to claim 5 is characterized in that: When D(n,n1,t)≤min(B q (,t),V q At (1, t), the network is blocked, and the blocked transmission section is identified and recorded as follows: W q (,n1,t)=min( q (,t),V q (1,t)) TC(,t)=[ r (n,t)T(r,n)+B r (n1,t)T(r,n1)]×W q (,n1,t) Among them, W q (,n1,t) is the unconstrained transaction power between the buyer and the seller without considering network constraints; TC(,t) is the occupied capacity of the unconstrained transaction power on the transmission section r, T(r,n) is the sensitivity information, T(r,n1) is the sensitivity information of node n1 to the transmission section r, B r (n1,t) is the role of n1; Make judgments for all transmission sections r in turn. When TC(,t)>ATC(r,t), record {B q (,t),V q (1, t), r, TC(, t), ATC(r, t)} as the limit-crossing log.
7. The method for matching and clearing medium- and long-term transactions considering network constraints according to claim 4 is characterized in that: When the buyer's bid is submitted, the clearing calculation is performed for the matching pair (B, S). When the electricity price B p (,t)≤S p At (2, t), continue to calculate the transaction volume and transaction price, otherwise the calculation ends; The transaction volume R between the buyer's bid n and the first data S1 in the queue q (n,n2,t) and transaction price R p (n,n²,t) is calculated as follows: R q (,n2,t)=min( q (,t),S q (2,y),D(n,n2,t)) R p (,n2,t)=S p (2,t) Among them, D(n,n2,t) is the minimum tradable power value between points n and n2 calculated by sensitivity of all transmission section limits.
8. The method for matching and clearing medium- and long-term transactions considering network constraints according to claim 7 is characterized in that: When D(n,n2,t)≤min(B q (,t),S q At (2, t), the network is blocked. The blocked transmission section is identified and recorded as follows: W q (,n2,t)=min( q (,t),S q (2,t)) TC(,t)=[(B r (n,t))T(r,n)+f(B r (n2,t))T(r,n2)]×W q (,n2,t) For all transmission sections r, determine whether TC(,t)>ATC(r,t) is established. If so, record {B q (,t),S q (2, t), r, TC(, t), ATC(r, t)} as the limit-crossing log.
9. The method for matching and clearing medium- and long-term transactions considering network constraints according to claim 4 is characterized in that: Update the remaining available transmission limit as follows: Based on the transaction power and sensitivity factor, the decomposed power of each transmission section is calculated and deducted from the available transmission capacity parameters.
10. The method for matching and clearing medium- and long-term transactions considering network constraints according to claim 9 is characterized in that: The processing for all transmission sections r is as follows: If submitting a seller's offer: ATC(r,t) =TC(r,t)-R q (,n1,t)×( r (n,t)×T(r,n)+B r (1,t) ×T(r,n1)) If you are submitting a buyer's offer: TC(,t)=ATC(r,t)-R q (,n2,y)×( r (,t)×T(r,n)+B r (2,t)×T(r,n2)) Among them, r∈R, T(r,n) is the sensitivity information, R is the set of all transmission sections, and T(r,n1) is the sensitivity information of node n1 to transmission section r.
11. The method for matching and clearing medium- and long-term transactions considering network constraints according to claim 4 is characterized in that: When B p (,t)>V p (1,t), or B p (,t)>S p (2, t), the clearing calculation is completed, and the remaining unsold electricity and electricity price information are inserted into the corresponding queue; the clearing process is completed, and a new round of clearing calculation is triggered after the next round of quotation information is submitted; the sellers are sorted from low to high, and the buyers are sorted from high to low; if there are multiple records with the same price in the queue, they are sorted according to the time of submission of the quotation, forming a new seller queue S: [(S q (1,t),S p (1,t)),(S q (2,t),S p (2,t)),...,(S q (2,t),S p (2,t))], or V:[(V q (1,t), V p (1,t)),(V q (2,t),V p (2,t)),...,(V q (1,t), V p (1,t))].
12. The method for matching and clearing medium- and long-term transactions considering network constraints according to claim 1, characterized in that: After the quotation window ends, the transaction information and over-limit information will be released to market entities for review. The transaction information includes the electricity volume, electricity price, transaction counterparty, and transaction role at each time point; the over-limit information includes the declared electricity volume, declared electricity price, over-limit transmission section, transmission capacity occupied by the transaction, and remaining transmission capacity of the buyer and seller.
13. A medium- and long-term transaction matching and clearing system considering network constraints, characterized by: include: Data module, accessing simplified network model data from external systems; The scenario module creates a rolling matching transaction scenario based on the accessed simplified network model data, and sets the market participants, quotation start and end times, transaction delivery start and end times, and trading commodities for the rolling matching transaction scenario. In the quotation module, when the computer system time is greater than the quotation start time, the quotation window opens and the market access entity enters the declaration interface to fill in and submit operations, and triggers the clearing calculation; the market access entity declares the trading role for the trading commodity, as well as the power and electricity price data of the product. When there are multiple commodities, multiple sets of data are declared according to the product; The clearing module automatically associates the network nodes where the quotes are located based on the declared transaction role and the power and electricity price data of the product, and performs clearing calculations independently for each commodity taking into account network constraints; The publishing module will execute a new round of clearing calculations when the next market entity continues to submit a quotation until the system time is greater than the quotation end time, and the quotation window will automatically close. All matching and clearing transaction results and blocking limit information will be released to the market entity.
14. The medium- and long-term transaction matching and clearing system considering network constraints according to claim 13 is characterized in that: The clearing module performs clearing calculations as follows: Submit quotation data B: {Power B q (,t), electricity price B p (,t), role B r (,t), where the node is n}, triggers the clearing calculation program; Judgment role B r (,t), according to role B r (,t) Obtain the counterparty's queue information for matching transactions. The seller's quote is matched with the buyer's queue, and the buyer's quote is matched with the seller's queue: If character B r (,t)=1 means the seller, then get the first data from the buyer queue V from the front to the back ( q (1,t), V p (1,t)), V q (1,t) is the power intended by the buyer, V p (1, t) is the intended electricity price for electricity purchase, and the transaction calculation is performed with the quotation information to form a transaction matching pair (B, V)), the transaction quantity R q (,n1,t), transaction price R p (,n1,t); If character B r (,t)=0 means the buyer obtains the first data from the seller queue S from the front to the back ( q (2,t),S p (2,t)), S q (2,t) is the intended electricity for sale, S p (2, t) is the intended electricity price for electricity sales, and the transaction calculation is performed to form a transaction matching pair (B, S) and the transaction quantity R q (,n2,t), transaction price R p (,n2,t); Update the remaining available transmission limit (ATC(r,t)): Based on the traded power, calculate the sensitivity factor to obtain the power occupied by each transmission section, deduct it from the available transmission limit, and form the updated available transmission limit (ATC(r,t)) for the next trade calculation; Remove or deduct the traded electricity from the quotation information and queue information. If there is still remaining electricity in the quotation after deduction, continue to obtain the next data from the counterparty queue and perform the transaction calculation again until the buyer's price in the queue is less than the seller's quotation, or the seller's price in the queue is greater than the buyer's quotation. The transaction calculation is completed; the unsold part of the seller's quotation is written to the seller queue S, and the unsold part of the buyer's quotation is written to the buyer queue V. Wait for the subsequent new quotation to be submitted to trigger the clearing calculation again.
15. The medium- and long-term transaction matching and clearing system considering network constraints according to claim 14 is characterized in that: When the seller's bid is submitted, the clearing calculation is performed for the matching pair (B, S). When the electricity price N p (,t)≤V p When (1, t), continue to calculate the transaction volume and transaction price, otherwise the calculation ends; The transaction volume R between the seller's bid B and queue V q (n,n1,t) and transaction price R p (n,n1,t) is calculated as follows: R q (,n1,t)=min( q (,t),V q (1,t),D(n,n1,t)) R p (,n1,t)=V p (1,t) Where D(n,n1,t) is the minimum tradable power value between points n and n1 calculated by sensitivity calculation of all transmission section limits; When D(n,n1,t)≤min(B q (,t),V q At (1, t), the network is blocked, and the blocked transmission section is identified and recorded as follows: W q (,n1,t)=min( q (,t),V q (1,t)) TC(,t)=[ r (n,t)T(r,n)+B r (n1,t)T(r,n1)]×W q (,n1,t) Among them, W q (,n1,t) is the unconstrained transaction power between the buyer and the seller without considering network constraints; TC(,t) is the occupied capacity of the unconstrained transaction power on the transmission section r, T(r,n) is the sensitivity information, T(r,n1) is the sensitivity information of node n1 to the transmission section r, B r (n1,t) is the role of n1; Make judgments for all transmission sections r in turn. When TC(,t)>ATC(r,t), record {B q (,t),V q (1, t), r, TC(, t), ATC(r, t)} as the limit-crossing log.
16. The medium- and long-term transaction matching and clearing system considering network constraints according to claim 14 is characterized in that: When the buyer's bid is submitted, the clearing calculation is performed for the matching pair (B, S). When the electricity price B p (,t)≤S p At (2, t), continue to calculate the transaction volume and transaction price, otherwise the calculation ends; The transaction volume R between the buyer's bid n and the first data S1 in the queue q (n,n2,t) and transaction price R p (n,n²,t) is calculated as follows: R q (,n2,t)=min( q (,t),S q (2,t),D(n,n2,t)) R p (,n2,t)=S p (2,t) Where D(n,n2,t) is the minimum tradable power value between points n and n2 calculated by sensitivity of all transmission section limits; When D(n,n2,t)≤min(B q (,t),S q At (2, t), the network is blocked. The blocked transmission section is identified and recorded as follows: W q (,n2,t)=min( q (,t),S q (2,t)) TC(,t)=[(B r (n,t))T(r,n)+f(B r (n2,t))T(r,n2)]×W q (,n2,t) For all transmission sections r, determine whether TC(,t)>ATC(r,t) is established. If so, record {B q (,t),S q (2, t), r, TC(, t), ATC(r, t)} as the limit-crossing log.
17. The method for matching and clearing medium- and long-term transactions considering network constraints according to claim 14, characterized in that: Update the remaining available transmission limit as follows: Based on the traded electricity and sensitivity factors, the decomposed electricity of each transmission section is calculated and deducted from the available transmission capacity parameters. The processing for all transmission sections r is as follows: If submitting a seller's offer: ATC(r,t) =TC(r,t)-R q (,n1,t)×( r (n,t)×T(r,n)+B r (1,t) ×T(r,n1)) If you are submitting a buyer's offer: TC(,t)=ATC(r,t)-R q (,n2,t)×( r (,t)×T(r,n)+B r (2,t)×T(r,n2)) Among them, r∈R, T(r,n) is the sensitivity information, R is the set of all transmission sections, and T(r,n1) is the sensitivity information of node n1 to transmission section r.
18. The method for matching and clearing medium- and long-term transactions considering network constraints according to claim 14, characterized in that: When B p (,t)>V p (1,t), or B p (,t)>S p (2, t), the clearing calculation is completed, and the remaining unsold electricity and electricity price information are inserted into the corresponding queue; the clearing process is completed, and a new round of clearing calculation is triggered after the next round of quotation information is submitted; the sellers are sorted from low to high, and the buyers are sorted from high to low; if there are multiple records with the same price in the queue, they are sorted according to the time of submission of the quotation, forming a new seller queue S: [(S q (1,t),S p (1,t)),(S q (2,t),S p (2,t)),...,(S q (2,t),S p (2,t))], or V:[(V q (1,t), V p (1,t)),(V q (2,t),V p (2,t)),...,(V q (1,t), V p (1,t))].
19. A computer-readable storage medium storing one or more programs, characterized in that: The one or more programs include instructions that, when executed by a computing device, cause the computing device to perform the method of any one of claims 1 to 12.
20. A computing device, characterized in that include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include steps for executing the method according to any one of claims 1 to 12.
