Two-stage power grid cooperative security correction method and device, electronic equipment and storage medium
By generating a set of safety constraints for re-clearing based on tie-line planning and safety correction methods in a two-level power grid, the problem of exceeding limits in the coordinated safe operation of the two-level power grid is solved, and the stability and coordination of power grid safety and market operation are realized.
Patent Information
- Application Number
- CN202210116518.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-07
- Publication Date
- 2026-01-13
- Estimated Expiration
- 2042-02-07
AI Technical Summary
In the coordinated safe operation of the two-level power grid, existing technologies are insufficient to achieve coordinated and optimized scheduling between the provincial market and regional dispatch, resulting in unstable over-limit correction strategies that fail to meet the requirements of fairness and rationality in market operation.
By determining tie-line plans based on transactions between lower-level power grids, conducting market clearing, obtaining power flow across the entire grid and performing safety verification, using regional safety correction methods to make over-limit adjustments, generating a safety constraint set and distributing it to the lower-level power grid for re-clearing, thus achieving coordinated safety correction between the two-level power grids.
This enables the reduction of unit adjustments that contribute little to safety and economy under limited information conditions, maintains consistency in the clearing direction of the lower-level power grid, ensures the safe and stable operation of the upper-level power grid, and meets the operational needs of the lower-level power grid's electricity market.
Smart Images

Figure CN114465239B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of power grid security technology, and specifically relates to a two-level power grid coordinated security correction method, device, electronic equipment and storage medium. Background Technology
[0002] With the ongoing construction of ultra-high-voltage inter-provincial power transmission lines, the structure of these lines has become increasingly complex. Provincial markets lack access to external grid clearing and output information, making it impossible to guarantee the accuracy of power flow near these lines. Therefore, accurate full-network safety verification by the regional power grid remains necessary, along with safety corrections when limits are exceeded. However, with the large-scale development of provincial spot markets, adjustments to unit output must consider market fairness and the rationality of clearing results. Currently, regional power grids lack access to unit pricing information from various provinces, making direct adjustments to unit output inappropriate. Under the "three-level dispatch, two-level market" construction model, the progress of electricity market construction varies across provinces. Regional power grid safety verification requires coordination between the provincial market and regional dispatch, and correction strategies after limits are exceeded need to consider market stability, posing new challenges to traditional safety verification models.
[0003] Achieving coordinated and optimized scheduling at both levels, and ensuring the safe and coordinated operation of the two-level power grid, presents even greater challenges. Summary of the Invention
[0004] The purpose of this invention is to provide a method, apparatus, electronic device and storage medium for coordinated safety correction of two-level power grids, so as to solve the technical problem that existing two-level power grids are difficult to achieve coordinated safety operation.
[0005] To achieve the above objectives, the present invention adopts the following technical solution:
[0006] In a first aspect, the present invention provides a two-level power grid coordinated security correction method, characterized in that it includes:
[0007] Based on the lower-level power grid X1~X n The transaction determines the inter-grid tie-line plan for lower-level power grids, and uses the tie-line plan as the boundary for market clearing within the lower-level power grids, obtaining X1 to X from each lower-level power grid. n Preliminary clearing results in the domestic market;
[0008] According to each lower-level power grid X1~X n The pre-clearing results of the market are used to determine the planned output of each generating unit and obtain the overall power flow of the upper-level power grid Y. A safety check is then performed based on the overall power flow of the upper-level power grid Y to determine if any lines have exceeded their limits. If no lines have exceeded their limits, the safety check ends. If any lines have exceeded their limits, adjustments are made using a regional safety correction method to obtain the adjusted output of each generating unit. The upper-level power grid Y consists of lower-level power grids X1 to X... n constitute;
[0009] Generate lower-level power grids X1 to X n The adjusted set of security constraints is distributed to each lower-level power grid X1 to X. n Each lower-level power grid X1~X n The electricity market adds a set of security constraints to the market clearing model, and re-clears based on the adjusted output of each unit, thus completing the coordinated security correction of the two-level power grid.
[0010] A further improvement of this invention is that the step of performing over-limit adjustments using a regional safety correction method to obtain the adjusted output of each unit specifically includes:
[0011] Substitute the planned output of each unit and the planned output of each tie line section into the pre-established safety correction optimization model, call the preset constraint conditions to calculate, and obtain the adjusted output of each unit.
[0012] A further improvement of this invention is that the expression of the security correction optimization model is:
[0013]
[0014] In the formula, T represents the total number of planned time periods, and N... l N represents the total number of interconnecting lines within the upstream power grid. all p represents the total number of generating units within the upstream power grid. i,t For the adjusted output of unit i at time t, p i0,t For the planned output of unit i at time t, p l,t For the output of the connecting line section l after adjustment at time t, p l0,t The output force of the connecting line section l after adjustment at time t; σ i σ is the adjustment cost coefficient for unit i; l This is the adjustment cost coefficient for the connecting line section l.
[0015] A further improvement of this invention lies in: the adjustment cost coefficient σ of unit i. i The value can be:
[0016] When the planned output of unit i is at its upper limit, σ i The value ranges from 10 to 100;
[0017] When the planned output of unit i is at the lower limit, σ i The value ranges from 10 to 100;
[0018] When the planned output of unit i is between the upper and lower limits, σ i The value ranges from 1 to 50;
[0019] When unit i stops, σ i The value is 1000.
[0020] A further improvement of this invention lies in: the adjustment cost coefficient σ of the connecting line section l. l The value is 10000.
[0021] A further improvement of the present invention is that the preset constraints specifically include:
[0022] (i) System load balance constraints:
[0023]
[0024] In the formula, N d p represents the number of loads within the region. d,t Let d be the predicted load value at time t;
[0025] (ii) Unit performance constraints:
[0026]
[0027] In the formula, u i,t Let P represent the start / stop state of unit i at time t, where 1 represents start-up and 0 represents stop-up. i,max P i,min P represents the upper and lower limits of the output of unit i; i,up P i,down These are the upper and lower limits of the ramp rate for unit i;
[0028] (iii) Branch flow constraints:
[0029]
[0030] In the formula: G l,i G is the distribution factor of unit i to branch l. l,d F is the distribution factor of load d with respect to branch l. l,max F l,min For the upper and lower limits of the power flow of the branch line;
[0031] (iv) Sectional constraints:
[0032]
[0033] In the formula: P s,t p is the calculated power of section s in time period t. s,u p s,d f represents the upper and lower limits of the cross-sectional power s. l,t For the current flow of section member l in time period t, The direction of the branch flow is 1 if it is consistent with the direction of the cross section, otherwise it is -1. L is the total number of branches that make up this cross section.
[0034] A further improvement of this invention is that the security constraint set specifically comprises:
[0035] When unit i exceeds the upper limit or is within the first preset range of the distance to the upper limit, the safety constraint set is:
[0036]
[0037] When unit i crosses the lower limit or is within the second preset range of the distance from the lower limit, the safety constraint set is:
[0038]
[0039] In the formula, G k,i G represents the sensitivity of unit i to branch or section k. k,d p′ represents the sensitivity of load d to branch or section k. i,t For the output of unit i after regional safety correction, p′ k,t This represents the power flow result for the branch or section k after regional safety correction.
[0040] Secondly, the present invention provides a two-level power grid coordinated security correction device, comprising:
[0041] The pre-clearing module is used to clear the grid based on the downstream grid X1 to X2. n Inter-grid transactions determine the interconnection plans between lower-level grids. Market clearing within the lower-level grids is then conducted using these interconnection plans as boundaries, yielding X1 to X2 for each lower-level grid. n Preliminary clearing results in the domestic market;
[0042] The verification and correction module is used to verify the data according to the values of X1 to X of each lower-level power grid. n The pre-clearing results of the market are used to determine the planned output of each generating unit and obtain the overall power flow of the upper-level power grid Y. A safety check is then performed based on the overall power flow of the upper-level power grid Y to determine if any lines have exceeded their limits. If no lines have exceeded their limits, the safety check ends. If any lines have exceeded their limits, adjustments are made using a regional safety correction method to obtain the adjusted output of each generating unit. The upper-level power grid Y consists of lower-level power grids X1 to X... n constitute;
[0043] The re-clearing module is used to generate the downstream power grid X1 to X. n The adjusted set of security constraints is distributed to each lower-level power grid X1 to X. n Each lower-level power grid X1~X n The electricity market adds a set of security constraints to the market clearing model, and re-clears based on the adjusted output of each unit, thus completing the coordinated security correction of the two-level power grid.
[0044] Thirdly, the present invention provides an electronic device comprising a processor and a memory, the processor being configured to execute a computer program stored in the memory to implement the two-level power grid coordinated security correction method.
[0045] Fourthly, the present invention provides a computer-readable storage medium storing at least one instruction that, when executed by a processor, implements the two-level power grid coordinated security correction method.
[0046] Compared with the prior art, the present invention has the following beneficial effects:
[0047] The purpose of this invention is to provide a two-level power grid collaborative security correction method, device, electronic device, and storage medium. Firstly, based on the lower-level power grid X1 to X... n Inter-grid transactions determine the interconnection plan between lower-level power grids, and market clearing within the lower-level power grids is carried out using the interconnection plan as the boundary; secondly, based on the X1 to X... of each lower-level power grid... n The pre-clearing results of the market are used to determine the planned output of each generating unit, thereby obtaining the overall power flow of the upper-level power grid Y. Based on the overall power flow of the upper-level power grid Y, a regional network-wide safety check is performed. If any lines exceed limits, adjustments are made using a regional safety correction method to obtain the adjusted output of each generating unit. Then, the output of each lower-level power grid X1 to X2 is generated. n Finally, the corresponding security constraint set is distributed to the corresponding lower-level power grids X1 to X. n Each lower-level power grid X1~X n In the clearing model, the set of security constraints is cleared again, thereby achieving coordinated security correction of the two-level power grid.
[0048] During the safety correction phase of the upper-level power grid (Y), this invention identifies the adjustment value of generating units within limited information, minimizing adjustments to units that contribute little to safety and economy, and maintaining alignment with the lower-level power grid (X1~X). n Consistency in the direction of clearing.
[0049] This invention is applied to the lower-level power grid X1~X n In the re-clearing phase, based on the X1 to X of each lower-level power grid n The nodes are divided into blocks, and the corresponding set of safety constraints is added to the clearing model to ensure that the sections or equipment of the upper-level power grid Y safety correction do not exceed the limits.
[0050] This aspect aims to ensure the safety of the lower-level power grid X1~X. n Based on the stable operation of the domestic electricity spot market, and with the aim of solving the problems faced by the upper-level power grid Y in ensuring the safe and stable operation of the power grid under market conditions, a system is established between the upper-level power grid Y and the lower-level power grids X1 to X2. nA highly efficient collaborative mechanism for market-level two-tier verification and correction is proposed, including a key equipment aggregation mechanism. Through safety correction of the upper-level power grid Y, corrected key safety constraints are generated, and closed-loop coordination of regional safety verification and two-tier coordinated correction is achieved, considering the lower-level power grid X1 to X... n The safety correction of the upper-level power grid Y and the lower-level power grid X1 to X in the electricity market environment n Electricity market clearing coordination calculation. When branch lines or sections exceed limits, more efficient correction and regulation are achieved within the regional power grid. The correction results are made as close as possible to the market re-clearing results, thereby satisfying the requirements of the lower-level power grid X1~X. n The objective requirements of electricity market operation. Attached Figure Description
[0051] The accompanying drawings, which form part of this specification, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an undue limitation of the invention. In the drawings:
[0052] Figure 1 This invention provides a flowchart of a two-level power grid coordinated security correction method;
[0053] Figure 2 This invention provides a structural block diagram of a two-level power grid collaborative safety correction device;
[0054] Figure 3 This is a structural block diagram of an electronic device according to the present invention. Detailed Implementation
[0055] The present invention will now be described in detail with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0056] The following detailed description is exemplary and intended to provide further detailed explanation of the invention. Unless otherwise specified, all technical terms used in this invention have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this invention is for describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention.
[0057] Example 1
[0058] Please see Figure 1 As shown, this invention provides a two-level power grid coordinated security correction method. The two-level power grid includes an upper-level power grid and a lower-level power grid. The upper-level power grid and the lower-level power grid can be a regional power grid and a provincial power grid, or other upper-level and lower-level power grids. In this embodiment, a regional power grid is used as the upper-level power grid and a provincial power grid is used as the lower-level power grid for illustration. Specifically, it includes:
[0059] S1: Based on inter-provincial transactions, an inter-provincial link plan is determined. The intra-provincial market is cleared using the link plan as the boundary to obtain the intra-provincial market clearing result.
[0060] S2: The regional dispatch obtains the market clearing results of each province within the region. Based on the planned output of each unit in the market clearing results of each province, it obtains the power flow of the entire network. Based on the power flow of the entire network, it performs a safety check to determine whether there are any line violations. If there are no line violations, there is no output adjustment for the entire network, and the safety check ends. If there are line violations, the regional safety correction method is used to adjust the limits and obtain the adjusted output of each unit.
[0061] S3: Generate a set of security constraints for provincial adjustments and distribute it to the corresponding provinces. The provincial electricity market will add the set of security constraints distributed by the regional sub-center to the market clearing model and clear again; return to step S2.
[0062] In step S2:
[0063] If any line exceeds the limit during the regional safety check, a regional safety correction is performed. The correction result should be as close as possible to the result of the provincial market clearing, eliminating the limit violation of a branch or section at the lowest cost, while maintaining the power balance of the power grid.
[0064] 1) Optimization Objective
[0065] By pre-clearing the provincial electricity market, the most economically efficient unit output can be obtained. Regional dispatching adjusts unit output from a grid security perspective, with the set correction and optimization objective being to approximate the pre-clearing or pre-planned results of each province as closely as possible.
[0066]
[0067] In the formula, T represents the total number of planned time periods, and N... l N represents the total number of connecting lines within the region. all p represents the total number of generating units in the region. i,t For the adjusted output of unit i at time t, p i0,t For unit i at time t, p l,t For the output of the connecting line section l after adjustment at time t, p l0,t Let σ be the planned value of the connecting line section l at time t. i The adjustment cost coefficient for unit i is used to control the adjustment order of different transactions, σ l The adjustment cost coefficient for tie line section l is used to control the magnitude of tie line section power adjustment.
[0068] In the absence of unit pricing information by the regional dispatch center, eliminating over-limit issues at a certain branch or section at minimal cost would theoretically involve adjusting the unit with the highest sensitivity, based on power system analysis. However, considering electricity market operation factors, the economics of unit adjustment should be comprehensively considered. Therefore, for σ... i σ l The value of is obtained from the following analysis:
[0069] (1) Because the key equipment considered in the regional power grid is generally located at high voltage levels of 500kV and above, and has a high sensitivity to many units in the power grid, if σ i If a constant value is used, the sensitivity factor will have an excessive impact, potentially causing over-adjustment of some units with high sensitivity related to equipment exceeding limits. However, in reality, the provincial spot market will adjust uniformly based on sensitivity and unit pricing. Therefore, σ i It is not advisable to use a constant value; instead, it should increase with the increase of the unit output adjustment. A piecewise step function can be adopted based on experience.
[0070] (2) When the unit's output is at its maximum, its quoted price will inevitably be less than or equal to the marginal electricity price. When the system needs to increase output, there is no room for this unit to increase its output; when the system needs to reduce output, because of its low quoted price, it is not suitable for this unit to bear the burden of reducing output. For such units, σ i Take a range of 10 to 100.
[0071] (3) When the unit's output is at its lower limit, the unit's marginal cost must be greater than or equal to the marginal electricity price. When the system needs to reduce output, there is no room for further reduction in the unit's output; when the system needs to increase output, the unit is not suitable to bear the increased output due to its high price. For such units, σ i Take a range of 10 to 100.
[0072] (4) For generating units whose output has not reached the upper or lower limits, the unit may also be at the peak of a certain bidding segment, which is not necessarily equal to the marginal price. However, the regional power grid does not have the bidding information and therefore cannot make a judgment. For such units, σ i The value ranges from 1 to 50.
[0073] (5) When the unit is shut down, p i0,t =0, the unit combination arrangement of the provincial dispatch center is generally not adjusted unless there is an unavoidable violation of the limit. For such units, σ i Take 1000.
[0074] (6) For tie-line projects, since they involve electricity trading, they are generally not adjusted and are set to the lowest priority, σ l The value is 10000.
[0075] 2) Constraints
[0076] The main constraints for safety correction under ground-state power flow include:
[0077] (i) System load balance constraints:
[0078]
[0079] In the formula, N d p represents the number of loads within the region. d,t Let d be the predicted load value at time t.
[0080] (ii) Unit performance constraints, including limit constraints and ramping constraints:
[0081]
[0082] In the formula, u i,t Let P represent the start / stop state of unit i at time t, where 1 represents start-up and 0 represents stop-up. i,max P i,min P represents the upper and lower limits of the output of unit i; i,up P i,down These are the upper and lower limits of the ramp rate for unit i.
[0083] (iii) Branch flow constraints:
[0084]
[0085] In the formula: G l,i G is the distribution factor of unit i to branch l. l,d F is the distribution factor of load d with respect to branch l. l,max F l,min The upper and lower limits of the power flow of the branch line.
[0086] (iv) Sectional constraints:
[0087]
[0088] In the formula: P s,t p is the calculated power of section s in time period t. s,u p s,d f represents the upper and lower limits of the cross-sectional power s. l,t For the current flow of section member l in time period t, The direction of the branch flow is 1 if it is consistent with the direction of the cross section, otherwise it is -1. L is the total number of branches that make up this cross section.
[0089] In step 3:
[0090] After the regional power grid undergoes safety correction, the power flow of a branch or section is composed of the sum of the products of all units, loads, and their sensitivity to that branch or section in the entire region, which can be obtained as follows:
[0091]
[0092] In the formula, G k,i G represents the sensitivity of unit i to branch or section k. k,d p′ represents the sensitivity of load d to branch or section k. i,t For the output of unit i after regional safety correction, p′ k,t This represents the power flow result for the branch or section k after regional safety correction.
[0093] Therefore, in order to clear out p again in each province k,t Without exceeding the limits, key security constraints will be broken down and distributed to various provinces, such as A, B, and C. Specifically, for a province A, the key security constraints that need to be considered are:
[0094] (a) When critical equipment exceeds or approaches the upper limit:
[0095]
[0096] (b) When critical equipment is above or close to the lower limit:
[0097]
[0098] In equations (7) and (8), the right side is the calculation result after regional security correction, which takes into account the sum of the product of the units not in province A and the relevant sensitivity, and the result is a constant term. The left side is the units participating in the re-clearing of the province A electricity market.
[0099] For other provinces B, C, etc., the provincial key security constraints of key equipment k also need to be considered, and A in equations (7) and (8) should be replaced with B, C, etc.
[0100] Example 2
[0101] Please see Figure 2 As shown, the present invention also provides a two-level power grid coordinated security correction device, comprising:
[0102] The pre-clearing module is used to clear the grid based on the downstream grid X1 to X2. n Inter-grid transactions determine the interconnection plans between lower-level grids. Market clearing within the lower-level grids is then conducted using these interconnection plans as boundaries, yielding X1 to X2 for each lower-level grid. n Preliminary clearing results in the domestic market;
[0103] The verification and correction module is used to verify the data according to the values of X1 to X of each lower-level power grid. nThe pre-clearing results of the market are used to determine the planned output of each generating unit and obtain the overall power flow of the upper-level power grid Y. A safety check is then performed based on the overall power flow of the upper-level power grid Y to determine if any lines have exceeded their limits. If no lines have exceeded their limits, the safety check ends. If any lines have exceeded their limits, adjustments are made using a regional safety correction method to obtain the adjusted output of each generating unit. The upper-level power grid Y consists of lower-level power grids X1 to X... n constitute;
[0104] The re-clearing module is used to generate the downstream power grid X1 to X. n The adjusted set of security constraints is distributed to each lower-level power grid X1 to X. n Each lower-level power grid X1~X n The electricity market adds a set of security constraints to the market clearing model, and re-clears based on the adjusted output of each unit, thus completing the coordinated security correction of the two-level power grid.
[0105] The expression for the security correction optimization model is as follows:
[0106]
[0107] In the formula, T represents the total number of planned time periods, and N... l N represents the total number of interconnecting lines within the upstream power grid. all p represents the total number of generating units within the upstream power grid. i,t For the adjusted output of unit i at time t, p i0,t For the planned output of unit i at time t, p l,t For the output of the connecting line section l after adjustment at time t, p l0,t The output force of the connecting line section l after adjustment at time t; σ i σ is the adjustment cost coefficient for unit i; l This is the adjustment cost coefficient for the connecting line section l.
[0108] Among them, the adjustment cost coefficient σ of unit i i The value of σ is: when the planned output of unit i is at the upper limit. i The value of σ ranges from 10 to 100; when the planned output of unit i is at the lower limit, σ i The value of σ ranges from 10 to 100; when the planned output of unit i is between the upper and lower limits, σ i The value of σ ranges from 1 to 50; when unit i is shut down, σ i The value is 1000; the adjustment cost coefficient σ for the connecting line section l. l The value is 10000.
[0109] The preset constraints specifically include:
[0110] (i) System load balance constraints:
[0111]
[0112] In the formula, N d p represents the number of loads within the region. d,t Let d be the predicted load value at time t;
[0113] (ii) Unit performance constraints:
[0114]
[0115] In the formula, u i,t Let P represent the start / stop state of unit i at time t, where 1 represents start-up and 0 represents stop-up. i,max P i,min P represents the upper and lower limits of the output of unit i; i,up P i,down These are the upper and lower limits of the ramp rate for unit i;
[0116] (iii) Branch flow constraints:
[0117]
[0118] In the formula: G l,i G is the distribution factor of unit i to branch l. l,d F is the distribution factor of load d with respect to branch l. l,max F l,min For the upper and lower limits of the power flow of the branch line;
[0119] (iv) Sectional constraints:
[0120]
[0121] In the formula: P s,t p is the calculated power of section s in time period t. s,u p s,d f represents the upper and lower limits of the cross-sectional power s. l,t For the current flow of section member l in time period t, The direction of the branch flow is 1 if it is consistent with the direction of the cross section, otherwise it is -1. L is the total number of branches that make up this cross section.
[0122] Specifically, the set of security constraints includes:
[0123] When unit i exceeds the upper limit or is within the first preset range of the distance to the upper limit, the safety constraint set is:
[0124]
[0125] When unit i crosses the lower limit or is within the second preset range of the distance from the lower limit, the safety constraint set is:
[0126]
[0127] In the formula, G k,i G represents the sensitivity of unit i to branch or section k. k,d p′ represents the sensitivity of load d to branch or section k. i,t For the output of unit i after regional safety correction, p′ k,t This represents the power flow result for the branch or section k after regional safety correction.
[0128] Example 3
[0129] Please see Figure 3 As shown, the present invention also provides an electronic device 100 for a two-level power grid coordinated safety correction method; the electronic device 100 includes a memory 101, at least one processor 102, a computer program 103 stored in the memory 101 and executable on the at least one processor 102, and at least one communication bus 104.
[0130] The memory 101 can be used to store the computer program 103. The processor 102 implements the method steps of any of the two-level power grid coordinated security correction methods described in Embodiment 1 by running or executing the computer program stored in the memory 101 and calling the data stored in the memory 101. The memory 101 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device 100 (such as audio data), etc. In addition, the memory 101 may include non-volatile memory, such as hard disk, memory, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other non-volatile solid-state storage device.
[0131] The at least one processor 102 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 102 may be a microprocessor or any conventional processor. The processor 102 is the control center of the electronic device 100, connecting various parts of the electronic device 100 via various interfaces and lines.
[0132] The memory 101 in the electronic device 100 stores multiple instructions to implement a two-level power grid coordinated security correction method, and the processor 102 can execute the multiple instructions to achieve the following:
[0133] Based on the lower-level power grid X1~X n Inter-grid transactions determine the interconnection plans between lower-level grids. Market clearing within the lower-level grids is then conducted using these interconnection plans as boundaries, yielding X1 to X2 for each lower-level grid. n Preliminary clearing results in the domestic market;
[0134] According to each lower-level power grid X1~X n The pre-clearing results of the market are used to determine the planned output of each generating unit and obtain the overall power flow of the upper-level power grid Y. A safety check is then performed based on the overall power flow of the upper-level power grid Y to determine if any lines have exceeded their limits. If no lines have exceeded their limits, the safety check ends. If any lines have exceeded their limits, adjustments are made using a regional safety correction method to obtain the adjusted output of each generating unit. The upper-level power grid Y consists of lower-level power grids X1 to X2. n constitute;
[0135] The upper-level power grid generates the lower-level power grids X1 to X. n The adjusted set of security constraints is distributed to each lower-level power grid X1 to X. n Each lower-level power grid X1~X n The electricity market adds a set of security constraints to the market clearing model, and re-clears based on the adjusted output of each unit, thus completing the coordinated security correction of the two-level power grid.
[0136] Example 4
[0137] If the modules / units integrated in the electronic device 100 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).
[0138] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0139] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0140] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0141] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0142] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A two-stage grid coordination security correction method, characterized in that, The method comprises the following steps: Based on the inter-trading of lower-level power grids X1~X n , the tie-line plan between lower-level power grids is determined, and the market clearing within lower-level power grids is carried out with the tie-line plan as the boundary, to obtain the market pre-clearing results within each lower-level power grid X1~X n . According to the upper-level power grid Y, each lower-level power grid X1~X n The pre-clearing results of the market are used to determine the planned output of each generating unit and obtain the overall power flow of the upper-level power grid Y. A safety check is then performed based on the overall power flow of the upper-level power grid Y to determine if any lines have exceeded their limits. If no lines have exceeded their limits, the safety check ends. If any lines have exceeded their limits, adjustments are made using a regional safety correction method to obtain the adjusted output of each generating unit. The upper-level power grid Y is composed of lower-level power grids X1~X2. n constitute; Generate the lower grid X1~X n Adjust the security constraint set and issue it to each lower grid X1~X n , increase the security constraint set in the market clearing model through the power market of each lower grid X1~X n , based on the adjusted output of each unit, re-clear the market, and complete the two-level grid collaborative security correction; The step of adjusting the over-limit by the regional security correction method to obtain the adjusted output of each unit specifically comprises: The pre-planned output of each unit and the pre-planned output of each tie-line section are substituted into the pre-established security correction optimization model, and preset constraint conditions are called to calculate to obtain the adjusted output of each unit. The expression of the security correction optimization model is: (1) In the formula, T is the total number of planning periods, N l is the total number of tie lines in the upper grid, N all is the total number of units in the upper grid, p i,t is the unit i the adjusted output at time t , p i0,t is the unit i the pre-planned output at time t , p l,t is the tie line section l the adjusted output at time t , p l0,t is the tie line section l the pre-planned output at time t ; The security constraint set specifically comprises: i is the adjustment cost coefficient of the unit i ; The preset constraint conditions specifically comprise: l is the adjustment cost coefficient of the tie line section l ; Machine set i The adjustment cost coefficient (i) System load balance constraint: i The value of: When the machine set i The pre-planned output is located at the upper limit, (ii) Unit performance constraint: i The value of the is 10-100; When the machine set i The pre-planned output is located at the lower limit, (iii) Branch flow constraint: i The value of the is 10-100; When the machine set i The pre-planned output is located between the upper and lower limits, (iv) Section constraint: i The value of the is 1-50. When the unit i At shutdown, The method comprises the following steps: i is 1000; The step of adjusting the over-limit by the regional security correction method to obtain the adjusted output of each unit specifically comprises: Machine set i When the distance is greater than the upper limit or within the first preset range, the safety constraint set is: (7) Machine set i When the lower limit or the distance lower limit value is within the second preset range, the safety constraint set is: (8) wherein G k,i representing the generating units i sensitivity of the branch or section k to the generating units, G k,d representing the loads d sensitivity of the branch or section k to the loads, the power output of the generating units after security correction for the area i ; the power flow result of the branch or section after security correction for the area k ; p d,t the load prediction value of the load d at the time t .
2. The two-stage grid co-ordinated security correction method of claim 1, wherein, Interconnection line cross section l Adjustment cost coefficient The pre-planned output of each unit and the pre-planned output of each tie-line section are substituted into the pre-established security correction optimization model, and preset constraint conditions are called to calculate to obtain the adjusted output of each unit. l is 10000.
3. The two-stage grid co-ordinated security correction method of claim 1, wherein, The expression of the security correction optimization model is: The security constraint set specifically comprises: (2) In the formula, N d is the number of loads in the region; The electronic device comprises a processor and a memory, and the processor is used to execute a computer program stored in the memory to realize the two-level power grid cooperative security correction method according to any one of claims 1 to 3. (3) In the formula, u i,t is the on-off state of the unit i at time t, 1 for on and 0 for off, P i,max , P i,min is the output upper and lower limit of the unit i ; P i,up , P i,down is the ramping upper and lower limit of the unit i ; The computer readable storage medium stores at least one instruction, and the at least one instruction is executed by the processor to realize the two-level power grid cooperative security correction method according to any one of claims 1 to 3. (4) In the formula: G l,i For the unit i For branch roads l The distribution factor, G l,d For load d For branch roads l The distribution factor, F l,max , F l,min branch road l Trend limits; (5) where: P s,t is the cross section s at time interval t , p s,u , p s,d is the cross section s upper and lower power limits, f l,t is the cross section member l at time interval t , l is the branch flow direction, 1 if consistent with the cross section direction, otherwise -1, L is the total number of branches that make up the cross section 4. A two-stage power grid coordination safety correction device, characterized in that, The pre-dispatching module is configured to determine inter-subordinate power grid X1~X n Xn interconnection line plans based on inter-subordinate power grid X1~X n market pre-dispatching results. The verification and correction module is used to verify the data of each lower-level power grid X1~X within the upper-level power grid Y. n The pre-clearing results of the market are used to determine the planned output of each generating unit and obtain the overall power flow of the upper-level power grid Y. A safety check is then performed based on the overall power flow of the upper-level power grid Y to determine if any lines have exceeded their limits. If no lines have exceeded their limits, the safety check ends. If any lines have exceeded their limits, adjustments are made using a regional safety correction method to obtain the adjusted output of each generating unit. The upper-level power grid Y is composed of lower-level power grids X1~X2. n constitute; A re-dispatching module is configured to generate a lower-level power grid X1~X n An adjusted security constraint set is sent to each lower-level power grid X1~X n The power market of each lower-level power grid X1~X n The security constraint set is added to the market dispatching model, and the power is re-dispatched based on the adjusted output of each unit to complete the two-level power grid coordinated security correction. (1) In the formula, T is the total number of planning periods, N l is the total number of tie lines in the upper grid, N all is the total number of units in the upper grid, p i,t is the unit i adjusted output at time t , p i0,t is the unit i planned output at time t , p l,t is the tie line section l adjusted output at time t , p l0,t is the tie line section l planned output at time t ; i is the adjustment cost coefficient of the unit i ; l is the adjustment cost coefficient of the tie line section l ; Machine set i The adjustment cost coefficient i The value of the adjustment cost coefficient is: When the machine set i The pre-planned output power is located at the upper limit, i The value of the is 10-100. When the machine set i The pre-planned output power is located at the lower limit, i The value of the parameter is 10-100. When the machine set i The pre-planned output power is located between the upper and lower limits, i The value of the is 1-50. When the machine is stopped i At the time of stopping, i is equal to 1000; Machine set i When the distance is greater than the upper limit or within the first preset range, the safety constraint set is: (7) Machine set i When the lower limit or the distance lower limit value is within the second preset range, the safety constraint set is: (8) wherein G k,i representing the generating units i sensitivity of the branch or section k to the generating units, G k,d representing the loads d sensitivity of the branch or section k to the loads, corrected for regional security i output of the generating units, corrected for regional security k power flow result of the branch or section; p d,t load forecast value of the load d at the time point t .
5. An electronic device, comprising: 6. A computer-readable storage medium, characterized in that,
Citation Information
Patent Citations
Regional power grid pre-clearing result correction method, system and device and storage medium
CN114006412A