A safety checking calculation method, device and equipment for a provincial power spot market and a storage medium
By verifying and correcting the regional power grid state estimation results, and combining the calculation of power receiving from other provinces and the regional balance stretching, the problem of abnormal power flow distribution in the safety verification calculation of the provincial power spot market was solved, and the accuracy and convergence of the calculation results were improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NARI NANJING CONTROL SYSTEM CO LTD
- Filing Date
- 2023-02-28
- Publication Date
- 2026-06-02
Smart Images

Figure CN116258261B_ABST
Abstract
Description
[0001] Technical Field Background Technology
[0002] This invention relates to a method, apparatus, equipment, and storage medium for calculating the safety verification of a provincial-level electricity spot market, belonging to the field of power system dispatch automation technology. Background Technology
[0003] As the reform of the power market continues to deepen, market participants are increasingly demanding higher accuracy from the safety verification calculations of the electricity spot market. The method of conducting safety verification calculations based on provincial power grid models suffers from significant discrepancies between the generator output power transfer factor and power flow distribution and actual operation, especially at the edges of the provincial power grid model where AC lines connecting provinces are equated to loads (generators), particularly in areas with close electrical distances to other provinces.
[0004] Therefore, some regions have attempted to conduct provincial power flow calculations based on regional power grid models. However, since each provincial power grid conducts generator unit planning and safety verification calculations at the same time, the provincial dispatching agency cannot obtain generator unit generation plans and bus load forecast data from other provinces in a timely manner. If the historically reported data from other provinces or the actual measured data of generator unit generation and bus load included in the current state estimate of the regional power grid are simply used for safety verification calculations, the power flow calculation may not converge due to the large deviation between power generation and consumption in the regional power grid model; or the total power load of other provinces may not be consistent with the actual total power load, resulting in a large deviation between the total power flow of the AC lines connecting the province and other provinces and the total planned total power flow issued by the superior dispatching agency.
[0005] Therefore, a new technical solution is needed to solve the above problems. Summary of the Invention
[0006] Objective: In order to overcome the shortcomings of the existing technology, the present invention provides a method, device, equipment and storage medium for calculating the safety verification of provincial electricity spot market.
[0007] Technical solution: To solve the above technical problems, the technical solution adopted by the present invention is as follows:
[0008] In a first aspect, the present invention provides a method for calculating the safety verification of a provincial-level electricity spot market, comprising:
[0009] S1. Periodically acquire the regional power grid state estimation results and the real-time state estimation results of the provincial power grid, and statistically analyze the regional power grid state estimation results according to the virtual control area of the province and the virtual control area of other provinces.
[0010] S2. Verify the regional power grid state estimation results and correct the regional power grid state estimation results based on the verification results;
[0011] S3. Based on the historical regional power grid state estimation result dataset formed by the corrected regional power grid state estimation result, the generation plan of the generating units in the provinces and the corrected load forecast data of the provinces are generated by calculating the power receiving in other provinces and stretching the regional balance.
[0012] S4. Based on the power generation plans of units in other provinces and the revised load forecast data of other provinces, perform power flow calculations to obtain the safety verification calculation results.
[0013] In some embodiments, the regional power grid state estimation results include a power grid physical model, generator generation and load data, and step S1 includes:
[0014] S11. Obtain the regional power grid state estimation results data and their corresponding time M from the regional power grid dispatching agency. t And request the calculation of M of the provincial power grid. t State estimation results at time points;
[0015] S12. Based on the provincial tie-line model, the regional power grid is divided into a virtual control area within the province and a virtual control area outside the province.
[0016] S13, Statistics M t Total power generation in the time-regional power grid state estimation results Total load Total power generation in the virtual control area of this province in the regional power grid Total load Total power generation in virtual control areas of other provinces Total load The regional power grid status estimation results are statistically analyzed according to the virtual control area of this province and the virtual control area of other provinces.
[0017] In some embodiments, S12, dividing the regional power grid into a virtual control area within the province and a virtual control area outside the province includes:
[0018] The two ends of the tie line connect the province and the other province respectively. In the tie line model of the province, the virtual machine group / load is defined at the end of the boundary AC line belonging to the province. Starting from the tie line model, the end of the boundary line is found. Starting from the boundary line, all physical devices connected to it are searched in the regional power grid, excluding devices connected to the other end of the line. This set is the virtual control area of the province. The area composed of other devices is the virtual control area of the other province.
[0019] In some embodiments, S13, statistics M t Total power generation in the time-regional power grid state estimation results Total power generation in the virtual control area of this province in the regional power grid Total power generation in virtual control areas of other provinces include:
[0020]
[0021]
[0022]
[0023] Where NG is the total number of generating units in the regional power grid state estimation results; This indicates that the j-th unit has active power; GnL stores the unit index set belonging to the virtual control area of this province; GnE stores the unit index set belonging to the virtual control area of another province.
[0024] Statistics M t Total load in the time-regional power grid state estimation results Total load of the virtual control area of this province in the regional power grid Total load of virtual control areas in other provinces include:
[0025]
[0026]
[0027]
[0028] Where NL is the total load in the regional power grid state estimation results; This indicates that the i-th load is active; LdL stores the load index set belonging to the virtual control area of this province; LdE stores the load index set belonging to the virtual control area of another province.
[0029] In some embodiments, step S2, verifying the regional power grid state estimation results and correcting the regional power grid state estimation results based on the verification results, includes:
[0030] S21. Verify the regional power grid state estimation results; in response to M t The verification of the regional power grid state estimation result at time M failed. t Delete the time-region power grid state estimation results;
[0031] S22, Responding to M t The time-regional power grid state estimation results have passed verification. The M-type power grid of this province is adopted. t The state estimation results at any given time replace the portion of the virtual control area within the province in the regional power grid state estimation results.
[0032] S23, if M obtained from S22 t The time-region power grid state estimation results contain some missing equipment data, which are filled by interpolation.
[0033] In some embodiments, the verification of the regional power grid state estimation result fails if any of the following conditions are met:
[0034] ① The equipment in the provincial tie-line model cannot be found in the physical model of the regional power grid state estimation results, so the regional power grid state estimation results are unusable;
[0035] ②If there are no generating units or loads in the virtual control area of this province or the virtual control area of another province, the regional power grid status estimation results are unusable;
[0036] ③ If the total power generation or total load of a region within the virtual control area of this province or a virtual control area of another province is 0, then the regional power grid state estimation results are unusable;
[0037] ④ If power flow calculations are performed based on the regional power grid state estimation results and the power flow does not converge, then the regional power grid state estimation results are unusable.
[0038] In some embodiments, the interpolation method for filling missing data is: using weighted linear interpolation to fill missing data, or using artificial intelligence methods to complete missing data based on historical data features.
[0039] Furthermore, weighted linear interpolation is used to fill in the missing data, including:
[0040]
[0041] in It is M t Data to be interpolated is always missing. For M t The value stored at time +1 For M t The value stored at time +2. For M t The value stored at time -1; For M t The value stored at time -2.
[0042] In some embodiments, step S3, which involves using out-of-province power receiving calculations and regional balancing stretching to generate out-of-province unit power generation plans and load forecasting data, includes:
[0043] S31. Calculate the total power receiving plan for other provinces based on the total cross-regional DC power plan of the regional power grid at time t, the total power receiving plan of the province, and the total power receiving plan of the units under the jurisdiction of the regional power grid in the province.
[0044] S32. Based on the historical regional power grid state estimation result dataset formed by the corrected regional power grid state estimation results, obtain the time M at which the difference between the total power generation and the total load of the virtual control area of the province is closest to the total planned power receiving value of the province at time t. tExtract the corresponding M from the dataset t The power generation and load data of units in the virtual control area of other provinces are used as the initial power generation plan and load forecast data of units in other provinces.
[0045] S33. Based on the total increase in power receiving plans from other provinces, a zoned balancing stretching strategy is used to correct the load forecast data of other provinces.
[0046] In some embodiments, S31, calculating the total amount of power receiving plans from other provinces includes:
[0047] P t tieE =P t tieA -(P t tieL -P t unL )
[0048] Where P t tieE At time t, the total power received by the province is P. t tieA For the total planned addition of inter-regional DC transmission to the regional power grid at time t, P t tieL Let P be the total planned power supply for this province at time t. t unL The total planned addition of generating units within the provincial power grid at time t, based on their geographical location.
[0049] In some embodiments, S33, based on the total increase in the out-of-province power receiving plan, a regional balancing stretching strategy is used to correct the out-of-province load forecast data, including:
[0050] The following formula is used to correct the load forecast data from other provinces:
[0051]
[0052] in This represents the adjusted load value at time t; ΔP represents the value before the i-th load correction at time t; LdE It represents the imbalance between power generation and consumption in other provinces, which is the difference between the total power generation and consumption in other provinces and the total load in other provinces.
[0053] Alternatively, the following formula can be used to correct the load forecast data from other provinces:
[0054]
[0055] The fabs(·) function represents taking the absolute value.
[0056] Secondly, the present invention provides a provincial-level electricity spot market security verification calculation device, comprising:
[0057] The data acquisition module is configured to periodically acquire the regional power grid state estimation results and the real-time state estimation results of the provincial power grid, and to statistically analyze the regional power grid state estimation results according to the virtual control area of the province and the virtual control area of other provinces.
[0058] The data verification module is configured to: verify the regional power grid state estimation results and correct the regional power grid state estimation results based on the verification results;
[0059] The data verification module is configured to: generate out-of-province power generation plans and corrected out-of-province load forecast data based on the historical regional power grid state estimation result dataset formed by the corrected regional power grid state estimation result; and generate out-of-province power receiving calculation, regional balance stretching to generate out-of-province unit power generation plans.
[0060] The power flow calculation module is configured to perform power flow calculations based on the power generation plans of generating units in other provinces and the revised load forecast data of other provinces, and obtain the safety verification calculation results.
[0061] Thirdly, the present invention provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in the first aspect.
[0062] Fourthly, the present invention provides an apparatus comprising,
[0063] One or more processors, one or more memories, and one or more programs, wherein the one or more programs are stored in the one or more memories and configured to be executed by the one or more processors, and the one or more programs include instructions for performing any of the methods described in the first aspect.
[0064] This method is applicable to scenarios requiring provincial electricity spot market security verification calculations based on regional power grid models. This method assumes that provincial power dispatching agencies can obtain real-time state estimation results of the regional power grid, the total provincial power receiving plan issued by the regional power grid dispatching agency, the total planned power generation of units geographically located within the province but under the jurisdiction of the regional power grid, and the total planned inter-regional DC transmission between the regional power grid and other power grids. These assumptions are readily achievable in practice. The main components of this method include: periodically acquiring and storing real-time state estimation results of the regional power grid and the provincial power grid; automatically verifying the stored state estimation results, issuing an alarm if automatic verification fails, and deleting the failed data; replacing the provincial portion of the regional state estimation with the provincial state estimation results, and using interpolation to fill in missing data for some equipment in the state estimation results, addressing the problem of missing state estimation results or large deviations from actual measurements due to network latency and instability, forming a historical regional power grid state estimation result dataset, improving the accuracy of subsequent generation plans and load forecasting data for other provinces based on this dataset; generating generation plans and load forecasting data for other provinces using out-of-province power receiving calculations and regional balance stretching; and finally, performing power flow calculations using existing technologies. The term "province" as used in this article refers to the jurisdiction of the provincial dispatching agency that conducts provincial electricity spot market security verification calculations based on the regional power grid; "other provinces" refers to regions outside the province within the regional power grid; and "connecting lines" in this article refer to AC lines connecting to other provinces. The term "province (other province) power receiving plan" refers to the sum of the province (other province) connecting line plan, the power generation plan of generator units geographically located within the province (other province) but not under the jurisdiction of the province (other province), and the cross-regional DC plan geographically located within the province (other province).
[0065] Beneficial Effects: Compared with existing technologies, this invention can automatically verify the acquired regional power grid model, avoiding abnormal power flow distribution caused by using abnormal models for spot market security verification calculations, which could lead to questions from market participants. It replaces the provincial portion of the regional state estimate with the provincial state estimate and uses interpolation to fill in missing equipment data in the state estimate results, solving the problem of missing state estimate results or large deviations from actual measurements due to network latency and instability. This improves the accuracy of subsequent generation of provincial power generation plans and load forecast data. Furthermore, it uses provincial power receiving calculations and regional balancing stretching to generate provincial unit generation and load data, significantly reducing the deviation between the total power flow of the provincial and provincial AC interconnection lines and the total planned power flow issued by the higher-level dispatching agency. This is of great significance for improving the rationality of provincial power spot market security verification calculation results and the convergence of power flow calculations based on the regional power grid. Attached Figure Description
[0066] Figure 1 This is a schematic diagram of a regional power grid divided into virtual zones of the province and other provinces according to an embodiment of the present invention.
[0067] Figure 2 This is a flowchart of a method according to an embodiment of the present invention. Detailed Implementation
[0068] The present invention will be further described below with reference to the accompanying drawings and embodiments. The following embodiments are only used to more clearly illustrate the technical solutions of the present invention, and should not be used to limit the scope of protection of the present invention.
[0069] In the description of this invention, "several" means one or more, "multiple" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. The use of "first" and "second" in the description is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.
[0070] In the description of this invention, the terms "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0071] Example 1
[0072] A method for calculating the safety verification of a provincial-level electricity spot market, comprising:
[0073] S1. Periodically acquire the regional power grid state estimation results and the real-time state estimation results of the provincial power grid, and statistically analyze the regional power grid state estimation results according to the virtual control area of the province and the virtual control area of other provinces.
[0074] S2. Verify the regional power grid state estimation results and correct the regional power grid state estimation results based on the verification results;
[0075] S3. Based on the historical regional power grid state estimation result dataset formed by the corrected regional power grid state estimation result, the generation plan of the generating units in the provinces and the corrected load forecast data of the provinces are generated by calculating the power receiving in other provinces and stretching the regional balance.
[0076] S4. Based on the power generation plans of units in other provinces and the revised load forecast data of other provinces, perform power flow calculations to obtain the safety verification calculation results.
[0077] In some embodiments, this embodiment discloses a method for conducting security verification calculations for provincial electricity spot markets based on a regional power grid model. The following is a preferred embodiment of the invention, which includes a security verification calculation process using the method of the present invention. Its features, objectives, and advantages can be seen from the description of the embodiment.
[0078] S1. Periodically acquire the regional power grid state estimation results and the real-time state estimation results of the provincial power grid, and statistically analyze the regional power grid state estimation results according to the virtual control area of the province and the virtual control area of other provinces.
[0079] The regional power grid state estimation results mentioned above include a power grid physical model, generator generation plans, and load data, which are stored separately according to two virtual control systems: one for the local province and one for other provinces. The specific steps are as follows:
[0080] S11 periodically acquires and stores real-time status estimation results of the regional power grid. Typically, the regional power grid dispatching agency sends real-time status estimation data periodically. The provincial dispatching agency uses a periodic monitoring method of a designated database / file path; once it detects the receipt of real-time status estimation data from the regional power grid, it records the corresponding time M. t Simultaneously, please calculate M for this province. t State estimation at time t and saving the state estimation results data. Specifically, calculating the M of the provincial power grid. t The state estimation results at time t is based on existing technology.
[0081] In some embodiments, the calculation of the provincial power grid M t Methods for estimating state results at time points include: Song Wenchao, Lu Chao, Power System State Estimation Method and Device [J]. CN115358564A, 2022.
[0082] Based on the provincial tie-line model, S12 divides the regional power grid into two virtual control areas: one for the local province and one for other provinces. The two ends of the tie-line connect the local and other provinces respectively. In the provincial tie-line model, the boundary AC lines belonging to the local province are defined as virtual machine groups / loads. Therefore, starting from the tie-line model, the end of the boundary line is found, and from that starting point, the set of all physical devices connected to it (excluding devices connected to the opposite end of the line) is searched within the regional power grid. This set constitutes the local virtual control area. The area comprised of other devices constitutes the external virtual control area.
[0083] S13 Statistics M t Total power generation in the time-regional power grid state estimation results Total power generation in the virtual control area of this province in the regional power grid Total power generation in virtual control areas of other provinces include:
[0084]
[0085]
[0086]
[0087] Where NG is the total number of generating units in the regional power grid state estimation results; This indicates that the j-th unit has active power; GnL stores the set of unit indices belonging to the virtual control area of this province; GnE stores the set of unit indices belonging to the virtual control area of another province.
[0088] Statistics M t Total load in the time-regional power grid state estimation results Total load of the virtual control area of this province in the regional power grid Total load of virtual control areas in other provinces The calculation formulas are as follows (1)-(3):
[0089]
[0090]
[0091]
[0092] NL is the total load in the area condition estimation results; This indicates that the i-th load is active; LdL stores the load index set belonging to the virtual control area of this province; LdE stores the load index set belonging to the virtual control area of another province.
[0093] Stores the corresponding generator unit's power generation and load data, M t The power output storage method at any given time is shown in Table 1-2.
[0094] Table 1. Data storage table of generator unit power generation and load in each zone
[0095]
[0096] Table 2. Statistical Table of Power Generation and Load Data for Regional Units
[0097]
[0098]
[0099] This indicates that the j-th unit has active power. It is M t Total power generation (total active power of generating units) in the virtual control area of this province at any given time. It is M t Total power generation in virtual control areas outside the province It is M t Total power generation in the region at any given time.
[0100] S2 automatically verifies the regional power grid state estimation results. If the automatic verification fails, an alarm is issued, indicating that the model is abnormal and unusable. Otherwise, the state estimation results within the virtual area of the province in the regional power grid are replaced with the state estimation results of the province at the same time. Local missing data is then interpolated and filled in. The specific steps are as follows:
[0101] S21. Automatic verification of regional power grid state estimation results. If any of the following ①-④ fails verification, the regional power grid state estimation results are unusable: ① If no equipment in the provincial tie-line model can be found in the physical model of the regional power grid state estimation results, the regional power grid state estimation results are unusable; ② If there are no generating units or loads in the provincial / outer-province virtual control area after step S12, the regional power grid state estimation results are unusable; ③ If the total generation or total load of a zone within the provincial / outer-province virtual control area is 0, the regional power grid state estimation results are unusable; ④ If power flow calculations based on the regional power grid state estimation results using existing technology do not converge, the regional power grid state estimation results are unusable.
[0102] In some embodiments, the existing technology for conducting power flow calculations is as follows: Hu Xuehao, Li Hanxiang. A preliminary study on the simulation calculation method of regional tie line power control in power flow calculation [J]. Power System Technology, 1989(04):52-54+72.DOI:10.13335 / j.1000-3673.pst.1989.04.010.
[0103] In response to M t The verification of the regional power grid state estimation result at time M failed. t The time-regional power grid state estimation results are removed from Table 1-2.
[0104] S22, if M t If the time-region state estimation result passes the verification, then the provincial power grid M is adopted. t The state estimation results at time t shall replace the virtual control area section of this province in Table 1.
[0105] S23, If M is obtained after S22 t Some equipment data is missing in timetable 1, and interpolation is used to fill in the gaps. In this example, weighted linear interpolation is used. Alternatively, it can be trained based on historical data features and artificial intelligence methods can be used to fill in the missing data. The corrected values are then used to update table 1-2. The interpolation formula for this example is as follows (4):
[0106]
[0107] It is M t Data to be interpolated is always missing. For Mt The value stored at time +1 For M t The value stored at time +2. For M t The value stored at time -1; For M t The value stored at time -2.
[0108] S3 uses out-of-province power receiving calculations and regional balancing stretching to generate out-of-province unit generation plans and load forecast data, and then uses existing technology to perform power flow calculations. Taking time t as an example, the specific steps are as follows:
[0109] S31. Calculate the total power receiving plan for other provinces based on the inter-regional DC transmission of the regional power grid at time t, the total planned power receiving of the province, and the total planned power receiving of units under the jurisdiction of the regional power grid in the province.
[0110] Depend on Figure 2 It can be seen that the province is connected to other provinces via AC interconnection lines. For interconnection lines between provincial power grids, since the line loss is very small, the sum of the active power at both ends of the AC line can be approximated as 0. Therefore, the total planned power supply from other provinces can be calculated by formula (5):
[0111]
[0112] P t tieE At time t, the total power received by the province is P. t tieA For the total planned addition of inter-regional DC transmission to the regional power grid at time t, P t tieL Let P be the total power received by the province at time t. t unL The total planned addition of generating units within the provincial power grid at time t, based on their geographical location.
[0113] S32. In the results of Table 2 after S2 correction, find the time M that is closest to the difference between the total power generation and the total load of the virtual control area of the province and the total planned power addition value of the province at time t. t Extract the corresponding M t The power generation and load data of the virtual control area of other provinces are used as the initial power generation plan and load forecast data of the units in other provinces.
[0114] S33. Based on the total power supply plan of other provinces, the load forecast data of other provinces is corrected by adopting the regional balance stretching strategy. Under normal circumstances, formula (6) can be used for correction.
[0115]
[0116] This represents the adjusted load value at time t; ΔP represents the value before the i-th load correction at time t; LdL This represents the imbalance between power generation and consumption in the province, which is the difference between the total power generation and consumption in the province and the total load in the province; ΔP LdE It represents the imbalance between power generation and consumption in other provinces, which is the difference between the total power generation and consumption in other provinces and the total load in other provinces.
[0117] Since the load composition of other provinces is unknown, if the load composition includes low-voltage side renewable energy units, it will lead to the following in formula (6): The load is very small, so formula (7) is needed to correct the load data.
[0118]
[0119] fabs(·) represents taking the absolute value.
[0120] S4. Based on the power generation plans of generating units in other provinces and the revised load forecast data of other provinces, perform power flow calculations to obtain the safety verification calculation results. The power flow calculations can be based on the aforementioned existing technologies.
[0121] Example 2
[0122] Secondly, this embodiment provides a provincial-level electricity spot market security verification calculation device, including:
[0123] The data acquisition module is configured to periodically acquire the regional power grid state estimation results and the real-time state estimation results of the provincial power grid, and to statistically analyze the regional power grid state estimation results according to the virtual control area of the province and the virtual control area of other provinces.
[0124] The data verification module is configured to: verify the regional power grid state estimation results and correct the regional power grid state estimation results based on the verification results;
[0125] The data verification module is configured to: generate out-of-province power generation plans and corrected out-of-province load forecast data based on the historical regional power grid state estimation result dataset formed by the corrected regional power grid state estimation result; and generate out-of-province power receiving calculation, regional balance stretching to generate out-of-province unit power generation plans.
[0126] The power flow calculation module is configured to perform power flow calculations based on the power generation plans of generating units in other provinces and the revised load forecast data of other provinces, and obtain the safety verification calculation results.
[0127] Example 3
[0128] Thirdly, this embodiment provides a storage medium on which a computer program is stored, which, when executed by a processor, implements the steps of the method described in Embodiment 1.
[0129] Example 4
[0130] Fourthly, the present invention provides an apparatus comprising,
[0131] One or more processors, one or more memories, and one or more programs, wherein the one or more programs are stored in the one or more memories and configured to be executed by the one or more processors, and the one or more programs include instructions for performing any of the methods described in Embodiment 1.
[0132] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application 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.
[0133] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. 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... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0134] 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.
[0135] 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.
[0136] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for calculating the safety verification of a provincial-level electricity spot market, characterized in that, include: S1. Periodically acquire the regional power grid status estimation results and the real-time status estimation results of the provincial power grid, and statistically analyze the regional power grid status estimation results according to the virtual control area of the province and the virtual control area of other provinces, including: S11. Acquire the regional power grid status estimation result data and its corresponding time issued by the regional power grid dispatching agency. And request calculation of the provincial power grid The state estimation results at any given time; the regional power grid state estimation results include the power grid physical model, unit generation and load data; S12, based on the provincial tie-line model, the regional power grid is divided into a virtual control area within the province and a virtual control area outside the province; S13, statistics. The total power generation and total load in the time-based regional power grid state estimation results, the total power generation and total load in the virtual control area of the province and the virtual control area of other provinces in the regional power grid, and the regional power grid state estimation results data are statistically analyzed according to the virtual control area of the province and the virtual control area of other provinces; S2. Verify the regional power grid state estimation results and correct them based on the verification results, including: S21. Verify the regional power grid state estimation results; in response to The verification of the regional power grid state estimation result at time point failed. The time-regional power grid state estimation results are deleted; S22, in response to The time-regional power grid state estimation results have passed verification and the provincial power grid is adopted. The state estimation result at time t should replace the virtual control area portion of the regional power grid state estimation result within the province; S23, if the result obtained in S22... The time-region power grid state estimation results contain some missing equipment data, which are filled using interpolation. S3. Based on the historical regional power grid state estimation result dataset formed by the corrected regional power grid state estimation results, the generation plans of generating units in other provinces and the corrected load forecast data of other provinces are generated by calculating the power receiving capacity of other provinces and stretching the regional balance. This includes: S31. Calculating the total power receiving capacity of other provinces based on the total cross-regional DC power plan of the regional power grid at time t, the total power receiving capacity of the province, and the total power receiving capacity of generating units under the jurisdiction of the regional power grid in the province; S32. Based on the historical regional power grid state estimation result dataset formed by the corrected regional power grid state estimation results, the time when the difference between the total power generation and the total load of the virtual control area of the province is closest to the value of the total power receiving capacity of the province at time t is obtained. Extract corresponding data from the dataset. The power generation and load data of the virtual control area of other provinces are used as the initial power generation plan and load forecast data of the other provinces; S33, based on the total power receiving plan of other provinces, the load forecast data of other provinces is corrected by the regional balance stretching strategy. S4. Based on the power generation plans of units in other provinces and the revised load forecast data of other provinces, perform power flow calculations to obtain the safety verification calculation results.
2. The provincial-level electricity spot market safety verification calculation method according to claim 1, characterized in that, In S12, the regional power grid is divided into a virtual control area within the province and a virtual control area outside the province, including: The two ends of the tie line connect the province and the other province respectively. In the tie line model of the province, the virtual machine group / load is defined at the end of the boundary AC line belonging to the province. Starting from the tie line model, the end of the boundary line is found. Starting from the boundary line, all physical devices connected to it are searched in the regional power grid, excluding devices connected to the other end of the line. This set is the virtual control area of the province. The area composed of other devices is the virtual control area of the other province.
3. The provincial-level electricity spot market safety verification calculation method according to claim 1, characterized in that, In S13, statistics Total power generation in the time-regional power grid state estimation results Total power generation in the virtual control area of this province within the regional power grid Total power generation in virtual control areas of other provinces ,include: ; ; ; Where NG is the total number of generating units in the regional power grid state estimation results; This indicates that the j-th unit has active power; GnL stores the unit index set belonging to the virtual control area of this province; GnE stores the unit index set belonging to the virtual control area of another province. statistics Total load in the time-regional power grid state estimation results Total load of the virtual control area in the regional power grid of this province Total load of virtual control areas in other provinces ,include: ; ; ; Where NL is the total load in the regional power grid state estimation results; This indicates that the i-th load is active; LdL stores the load index set belonging to the virtual control area of this province; LdE stores the load index set belonging to the virtual control area of another province.
4. The provincial-level electricity spot market safety verification calculation method according to claim 1, characterized in that, The verification of the regional power grid state estimation results will fail if any of the following conditions are met: ① The equipment in the provincial tie-line model cannot be found in the physical model of the regional power grid state estimation results, so the regional power grid state estimation results are unusable; ②If there are no generating units or loads in the virtual control area of this province or the virtual control area of another province, the regional power grid status estimation results are unusable; ③ If the total power generation or total load of a region within the virtual control area of this province or a virtual control area of another province is 0, then the regional power grid state estimation results are unusable; ④ If power flow calculations are performed based on the regional power grid state estimation results and the power flow does not converge, then the regional power grid state estimation results are unusable.
5. The provincial-level electricity spot market safety verification calculation method according to claim 1, characterized in that, The method of filling missing data using interpolation is as follows: weighted linear interpolation is used to fill missing data, or artificial intelligence is used to complete missing data based on historical data features.
6. The provincial-level electricity spot market safety verification calculation method according to claim 5, characterized in that, Weighted linear interpolation is used to fill in missing values, including: ; in yes Data to be interpolated is always missing. for The value stored at time +1 for The value stored at time +2. for The value stored at time -1; for The value stored at time -2.
7. The provincial-level electricity spot market safety verification calculation method according to claim 1, characterized in that, In S31, the calculation of the total planned power supply from other provinces includes: ; in The total power received from other provinces at time t is For the total planned cross-regional DC transmission of the regional power grid at time t, For time t, the total planned power supply of this province is... The total planned addition of generating units within the provincial power grid at time t, based on their geographical location.
8. The provincial-level electricity spot market safety verification calculation method according to claim 1, characterized in that, S33. Based on the total increase in power receiving plans from other provinces, a regional balancing stretching strategy is used to correct the load forecast data for other provinces, including: The following formula is used to correct the load forecast data from other provinces: ; in This represents the adjusted load value at time t; The value before the i-th load correction at time t; It represents the imbalance between power generation and consumption in other provinces, which is the difference between the total power generation and consumption in other provinces and the total load in other provinces. Alternatively, the following formula can be used to correct the load forecast data from other provinces: ; The fabs(·) function represents taking the absolute value.
9. A provincial-level electricity spot market safety verification calculation device, characterized in that, include: The data acquisition module is configured to periodically acquire regional power grid state estimation results and real-time power grid state estimation results for the province, and to statistically analyze the regional power grid state estimation results according to the province's virtual control area and other province's virtual control area. Specifically, it is used to acquire regional power grid state estimation result data and their corresponding time from the regional power grid dispatching agency. And request calculation of the provincial power grid The state estimation results at any given time; the regional power grid state estimation results include the power grid physical model, unit generation and load data; based on the provincial tie-line model, the regional power grid is divided into a virtual control area within the province and a virtual control area outside the province; statistics The total power generation and total load in the time-based regional power grid state estimation results, the total power generation and total load in the virtual control area of the province and the virtual control area of other provinces in the regional power grid, and the regional power grid state estimation results data are statistically analyzed according to the virtual control area of the province and the virtual control area of other provinces; The data verification module is configured to: verify the regional power grid state estimation results and correct the regional power grid state estimation results based on the verification results. Specifically, it is used to: verify the regional power grid state estimation results; and respond to... The verification of the regional power grid state estimation result at time point failed. The time-regional power grid state estimation results are deleted; in response to The time-regional power grid state estimation results have passed verification and the provincial power grid is adopted. The state estimation result at time 1 replaces the virtual control area portion of the regional power grid state estimation result for the province; if the obtained The time-region power grid state estimation results contain some missing equipment data, which are filled using interpolation. The data verification module is configured to: generate out-of-province power generation plans and corrected out-of-province load forecast data based on the historical regional power grid state estimation result dataset formed by the corrected regional power grid state estimation results, using out-of-province power receiving calculation, zonal balance stretching to generate out-of-province unit generation plans, and the corrected out-of-province load forecast data. Specifically, it is used to: calculate the total out-of-province power receiving plan based on the total inter-regional DC power generation plan of the regional power grid at time t, the total power receiving plan of the province, and the total power receiving plan of units geographically located within the regional power grid under the jurisdiction of the province; and obtain the time when the difference between the total power generation and the total load of the province's virtual control area is closest to the total power receiving plan of the province at time t, based on the historical regional power grid state estimation result dataset formed by the corrected regional power grid state estimation results. Extract corresponding data from the dataset. The power generation and load data of the virtual control area of other provinces are used as the initial power generation plan and load forecast data of the units in other provinces; based on the total power receiving plan of other provinces, a regional balance stretching strategy is used to correct the load forecast data of other provinces. The power flow calculation module is configured to perform power flow calculations based on the power generation plans of generating units in other provinces and the revised load forecast data of other provinces, and obtain the safety verification calculation results.
10. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 8.
11. A device, characterized in that: include, One or more processors, one or more memories, and one or more programs, wherein the one or more programs are stored in the one or more memories and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods according to claims 1 to 8.