A method and system for checking parameters of power grid model

By configuring the device model verification configuration table and regional configuration table, the deviation rate of the new and old system equipment model parameters is calculated and checked, the problem of ensuring the quality of the power grid model data is solved and the correctness of the new system equipment model data is ensured.

CN114911792BActive Publication Date: 2025-04-01NARI TECH CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210388650.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-14
Publication Date
2025-04-01
Estimated Expiration
2042-04-14

AI Technical Summary

Technical Problem

With the expansion of the power grid scale and refinement of requirements, the old system cannot meet the needs of higher intelligence, automation, safety, stability and reliability of the new system, making it difficult to ensure the data quality of the power grid model.

Method used

Through the pre-configured device model verification configuration table and area configuration table, the device model to be checked is obtained from the old system and the new system, the deviation rate between the device model parameters of the new and old system is calculated, and the parameter verification is performed according to the preset rules.

Benefits of technology

The calibration of the model parameters of the new and old systems is realized, the accuracy of the model data of the new system is ensured, and an important basis for the operation of the power grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114911792B_ABST
    Figure CN114911792B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for verifying the parameters of a power grid model. The present invention obtains a new system equipment model and an old system equipment model based on a pre-configured equipment model verification configuration table and a regional configuration table. When the equipment models match, the deviation rate between the same parameters is calculated to realize parameter verification, thereby providing an important basis for the correctness of the new system equipment model data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a power grid model parameter verification method and system, belonging to the field of power grid dispatching. Background Art

[0002] The power grid topology model (hereinafter referred to as the model) is a digital modeling structure for the physical power grid. Its model data is used for power grid flow calculation and state estimation. Therefore, the quality of the model data (including integrity, correctness, real-time, etc.) directly affects the accuracy of the results of power grid flow calculation and state estimation, which will be related to the completeness, stability and reliability of power grid operation. Therefore, ensuring the quality of model data is an inevitable requirement in the digital construction of power grids.

[0003] The power grid dispatching automation control system is a digital means of power grid operation and control. At present, the provincial and above control centers operate the D5000 system (referred to as the old system). However, with the continuous expansion of the scale of the power grid and the continuous refinement of the requirements, there is an urgent need for a more intelligent, more automated, safer, more stable and more reliable control system. Therefore, a new generation of intelligent dispatching automation control system (referred to as the new system) has been developed. In the future, the D5000 system operated by the provincial control centers will gradually switch to the new system, which puts forward higher requirements and more complex challenges for the operation of the new system. The quality of the power grid model data, which is the basis for supporting the safe and stable operation of the power grid, also faces higher requirements. Therefore, a power grid model parameter verification method is urgently needed. Summary of the invention

[0004] The present invention provides a method and system for checking parameters of a power grid model, which solve the problems disclosed in the background technology.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0006] A method for checking parameters of a power grid model, comprising:

[0007] According to the pre-configured device model calibration configuration table and area configuration table, the device model to be calibrated is obtained from the old system, and the device model to be calibrated is obtained from the new system;

[0008] According to the mapping table in the device model verification configuration table, a mapping relationship between the new system device model and the old system device model is obtained; wherein the mapping table defines a mapping relationship between unique identifiers of the same device model in the new system and the old system;

[0009] According to the mapping relationship between the new system equipment model and the old system equipment model, it is determined whether the old system equipment model to be calibrated matches the new system equipment model to be calibrated;

[0010] If the equipment model to be calibrated in the old system matches the equipment model to be calibrated in the new system, calculate the deviation rate of the same parameter of the equipment model to be calibrated in the old system and the equipment model to be calibrated in the new system;

[0011] Perform parameter verification based on the deviation rate and preset rules.

[0012] The contents configured in the device model verification configuration table include the name of the device, the table name of the device in the old system, the table name of the device in the new system, the mapping table, the device model parameters in the old system, the device model parameters in the new system, the SQL statement for querying the device model in the old system, and the SQL statement for querying the device model in the new system.

[0013] The contents configured in the area configuration table include the area name, the area code in the old system, and the area code in the new system.

[0014] The calculation formula of deviation rate is:

[0015]

[0016] Among them, e is the deviation rate, b is the parameter value of the equipment model to be calibrated in the new system, a is the parameter value of the equipment model to be calibrated in the old system, and a and b are the same parameter.

[0017] The preset rule is: if the deviation rate is within the preset allowable deviation range, the corresponding parameters are reasonable, otherwise they are unreasonable.

[0018] A power grid model parameter verification system, comprising:

[0019] Model acquisition module: According to the pre-configured device model calibration configuration table and area configuration table, the device model to be calibrated is acquired from the old system, and the device model to be calibrated is acquired from the new system;

[0020] Mapping acquisition module: obtains the mapping relationship between the new system device model and the old system device model according to the mapping table in the device model verification configuration table; wherein the mapping relationship between the unique identifiers of the same device model in the new system and the old system is defined in the mapping table;

[0021] Matching module: According to the mapping relationship between the new system device model and the old system device model, it is determined whether the old system device model to be calibrated matches the new system device model to be calibrated;

[0022] Deviation rate calculation module: if the equipment model to be calibrated in the old system matches the equipment model to be calibrated in the new system, calculate the deviation rate of the same parameter of the equipment model to be calibrated in the old system and the equipment model to be calibrated in the new system;

[0023] Calibration module: perform parameter calibration based on the deviation rate.

[0024] The contents configured in the device model verification configuration table include the name of the device, the table name of the device in the old system, the table name of the device in the new system, the mapping table, the device model parameters in the old system, the device model parameters in the new system, the SQL statement for querying the device model in the old system, and the SQL statement for querying the device model in the new system.

[0025] The contents configured in the area configuration table include the area name, the area code in the old system, and the area code in the new system.

[0026] The formula for calculating the deviation rate by the deviation rate calculation module is:

[0027]

[0028] Among them, e is the deviation rate, b is the parameter value of the equipment model to be calibrated in the new system, a is the parameter value of the equipment model to be calibrated in the old system, and a and b are the same parameter.

[0029] The preset rule is: if the deviation rate is within the preset allowable deviation range, the corresponding parameters are reasonable, otherwise they are unreasonable.

[0030] The beneficial effects achieved by the present invention are as follows: the present invention obtains the new system equipment model and the old system equipment model based on the pre-configured equipment model verification configuration table and the area configuration table, calculates the deviation rate between the same parameters when the equipment models match, realizes parameter verification, and provides an important basis for the correctness of the new system equipment model data. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 is a flow chart of a method for calibrating parameters of a power grid model;

[0032] Figure 2 The figure is a specific flow chart of the power grid model parameter verification method. DETAILED DESCRIPTION

[0033] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0034] like Figure 1 As shown, a method for checking parameters of a power grid model comprises the following steps:

[0035] Step 1: According to the pre-configured device model calibration configuration table and the area configuration table, the device model to be calibrated is obtained from the old system, and the device model to be calibrated is obtained from the new system;

[0036] Step 2: Obtain a mapping relationship between the new system device model and the old system device model according to a mapping table in the device model verification configuration table; wherein the mapping table defines a mapping relationship between unique identifiers (i.e., IDs) of the same device model in the new system and the old system;

[0037] Step 3: According to the mapping relationship between the new system device model and the old system device model, determine whether the old system device model to be calibrated matches the new system device model to be calibrated;

[0038] Step 4: If the equipment model to be calibrated in the old system matches the equipment model to be calibrated in the new system, the deviation rate of the same parameter of the equipment model to be calibrated in the old system and the equipment model to be calibrated in the new system is calculated;

[0039] Step 5: perform parameter verification based on the deviation rate and preset rules.

[0040] The above method obtains the new system equipment model and the old system equipment model based on the pre-configured equipment model calibration configuration table and the area configuration table. When the equipment models match, the deviation rate between the same parameters is calculated to realize parameter calibration, which provides an important basis for the correctness of the new system equipment model data.

[0041] In order to flexibly adjust the calibration scope, the equipment model calibration configuration table and the area configuration table are customized in advance. During the calibration, the equipment model calibration configuration table and the area configuration table can be configured according to actual needs.

[0042] The configurable contents of the equipment model verification configuration table are as follows:

[0043] 1) The name of the equipment; what type of equipment it is, such as a generator;

[0044] 2) The table name of the device in the old system and the table name of the device in the new system;

[0045] The same device is defined with different names in different systems. For example, the table name of the generator device in the new system is rt_dev_generator, and the table name in the old system (the existing old system is the D5000 system, so the D5000 system is used to refer to the old system later) is generatingunit;

[0046] 3) The mapping table shown in Table 1;

[0047] Table 1 Mapping table

[0048] DCLOUD_ID D5000_ID 101013205000000337 115686217120578807 101013205000000338 115686217120578808

[0049] The corresponding relationship between the device model in the new system and the D5000 system is recorded, so that the same device model in different systems can be associated and matched. Only the matched device models can be further verified for the parameter difference.

[0050] 4) Whether to check the parameters;

[0051] This parameter is used to flexibly turn on and off the verification function of a certain type of equipment model parameters. If the value is 1, verification is required, and if the value is 0, no verification is performed;

[0052] 5) Equipment model parameters in the D5000 system and equipment model parameters in the new system;

[0053] The new model parameter list configures the specific parameters of the device model that need to be checked in the new system. Multiple parameters are separated by "," and parameters can be added and deleted flexibly. Corresponding to the new model parameter list, the old model parameter list configures the parameters that need to be checked for the device model in the D5000 system.

[0054] The names of parameters of the same equipment model are defined differently in different systems, so the order of the same type of parameters must remain corresponding. For example, if the rated voltage parameter of the generator equipment terminal_voltage is configured in the first place in the new system, then in the D5000 system, the kvnom parameter that also represents the rated voltage parameter of the generator equipment must also be configured in the first place;

[0055] 6) SQL (Structured Query Language) statements for querying device models in the D5000 system and SQL statements for querying device models in the new system;

[0056] The new generation of query SQL is configured with detailed SQL statements for querying the model data of this type of equipment in the new system, including necessary basic model information, such as the device ID code, the device name, and the previously configured model parameter list that needs to be verified; the where clause can be used to configure data screening conditions to adjust the scope of the verification data accordingly;

[0057] In the power system application scenario, the grid model data is usually divided into management scopes by region. For example, Jiangsu Provincial Control Panel manages the model of the entire Jiangsu region, and Zhejiang Provincial Control Panel manages the model of the entire Zhejiang region. Therefore, the verification process also needs to be carried out for different regions. Therefore, a separate configuration table is required for the region to configure the models of those regions that need to be verified, as shown in Table 2.

[0058] In addition, since the model region filter condition is a variable parameter for the query SQL, the code representing the model region is replaced by the '? ' placeholder in the where clause as modelowner = '? '. The calculation program will replace the '? ' placeholder with the actual region code based on the configured region using the string pattern matching method. For example, for the equipment in the Jiangsu power grid region, the region condition is finally processed into modelowner = 320000.

[0059] At the same time, in the application of power system, due to the huge number of equipment, among which the equipment with voltage level above 220kv is the primary concern, only the equipment above 220kv is checked, so the voltage level condition must meet voltage_type<=1005; In addition, due to the non-standard conditions of the parameters stored in the database, such as the parameter value may be null, or some parameter values ​​need to retain a specific number of valid digits, which may affect the accuracy of parameter verification. At this time, you can also make full use of the built-in functions of SQL to do some pre-processing of the parameters, such as ifnull() function to process null values, if it is a null value, replace it with 0 or other reasonable values, use cast() function to adjust the number of valid digits, and use as alias method to force the parameter names in different systems to be consistent. Similarly, the D5000 system query SQL configures the same range of detailed SQL for data query of this type of equipment. Because the device definition method is different in different systems, the SQL writing method is also different, which is why the query SQL of different systems should be configured separately.

[0060] The above equipment model calibration configuration table can be specifically shown in Table 2.

[0061] Table 2 Equipment model calibration configuration table

[0062]

[0063]

[0064] The contents configured in the above area configuration table include the area name, the area code in the D5000 system and the area code in the new system, as shown in Table 3;

[0065] Table 3 Area Configuration Table

[0066]

[0067]

[0068] Since the regional coding formats are different in different systems, the coding of the same region needs to be configured accordingly at the same time; whether to check the regional parameter configuration is used to flexibly turn on and off the verification function of the region. If the value is 1, the region needs to be verified, and if the value is 0, the region does not need to be verified.

[0069] The device model verification configuration table can flexibly adjust the scope of models that need to be verified, including adding or deleting device types that need to be verified, modifying the parameters that need to be verified in each type of equipment, modifying the query SQL of each type of device model, etc.; the regional configuration table can flexibly adjust the power grid dispatching area that needs to be verified, including provincial and prefecture-level dispatching areas.

[0070] Based on the above general configuration, you can flexibly add and delete devices that need to be calibrated, and configure the models in those areas that need to be calibrated. The calculation program will calibrate according to the configured devices and configured areas. The use of configuration can effectively simplify the burden of the calculation program and improve flexibility. Therefore, different scene requirements can be met by changing the configuration without changing the calculation program, which improves flexibility and portability.

[0071] like Figure 2 As shown, according to the configured device model verification configuration table and area configuration table, the device model to be verified is obtained from the old system, and the device model to be verified is obtained from the new system; according to the mapping table in the device model verification configuration table, the mapping relationship between the new system device model and the old system device model is obtained; according to the mapping relationship between the new system device model and the old system device model, it is determined whether the old system device model to be verified and the new system device model to be verified match.

[0072] That is, data records are extracted from the mapping table and constructed into an ID mapping set, data records of the device model to be calibrated are extracted from the new system to construct a new system model set, data records of the device model to be calibrated are extracted from the D5000 system to construct a D5000 system model set, the DCLOUD_ID of each record in the new system model set is traversed, and then the corresponding D5000_ID is found according to the ID mapping set, and then the D5000_ID is searched in the D5000 system model set. If found, it means that the device model records to be calibrated from the new system and the D5000 system match, otherwise they do not match.

[0073] If the match is successful, calculate the deviation rate of the same parameter of the old system to be calibrated equipment model and the new system to be calibrated equipment model. The calculation formula used can be:

[0074]

[0075] Among them, e is the deviation rate, b is the parameter value of the equipment model to be calibrated in the new system, a is the parameter value of the equipment model to be calibrated in the old system, and a and b are the same parameter.

[0076] The deviation rate of each parameter is calculated using the same formula. The deviation rate of the parameter describes the degree of difference between the same parameter stored in different systems, giving the degree of parameter distortion. The larger the deviation rate, the more serious the distortion. If the deviation rate is within the preset allowable deviation range (-ε, ε), the corresponding parameter is reasonable. If it exceeds the allowable deviation range, the parameter is judged to be seriously distorted and unreasonable. The value of (-ε, ε) is (-10%, 10%).

[0077] Regardless of the matching and verification results, the matching results, verification results, basic information of the equipment model, equipment model distortion parameter information (including distortion parameter values ​​and corresponding parameter standard values), deviation rate and other information will be organized and persistently stored in the database to facilitate subsequent viewing, analysis, verification and correction of parameters.

[0078] In the process of switching from an old system to a new system, the above method can be used to verify the parameters of the equipment models of the old and new systems, effectively ensuring the correctness of the equipment model data of the new system.

[0079] Based on the same technical solution, the present invention also discloses a software system of the above method, namely a power grid model parameter verification system, comprising:

[0080] Model acquisition module: According to the pre-configured device model calibration configuration table and area configuration table, the device model to be calibrated is acquired from the old system, and the device model to be calibrated is acquired from the new system.

[0081] The contents configured in the device model verification configuration table include the name of the device, the table name of the device in the old system, the table name of the device in the new system, the mapping table, the device model parameters in the old system, the device model parameters in the new system, the SQL statement for querying the device model in the old system, and the SQL statement for querying the device model in the new system.

[0082] The contents configured in the area configuration table include the area name, the area code in the old system, and the area code in the new system.

[0083] Mapping acquisition module: obtains the mapping relationship between the new system device model and the old system device model according to the mapping table in the device model verification configuration table; wherein the mapping table defines the mapping relationship between the unique identifiers of the same device model in the new system and the old system.

[0084] Matching module: According to the mapping relationship between the new system device model and the old system device model, it is determined whether the old system device model to be calibrated matches the new system device model to be calibrated.

[0085] Deviation rate calculation module: if the equipment model to be calibrated in the old system matches the equipment model to be calibrated in the new system, the deviation rate of the same parameter of the equipment model to be calibrated in the old system and the equipment model to be calibrated in the new system is calculated.

[0086] The formula for calculating the deviation rate by the deviation rate calculation module can be:

[0087]

[0088] Among them, e is the deviation rate, b is the parameter value of the equipment model to be calibrated in the new system, a is the parameter value of the equipment model to be calibrated in the old system, and a and b are the same parameter.

[0089] Verification module: perform parameter verification according to the deviation rate; the preset rule is: if the deviation rate is within the preset allowable deviation range, the corresponding parameters are reasonable, otherwise they are unreasonable.

[0090] Based on the same technical solution, the present invention also discloses a computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions, and when the instructions are executed by a computing device, the computing device executes a power grid model parameter verification method.

[0091] Based on the same technical solution, the present invention also discloses a computing device, comprising 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 are configured to be executed by the one or more processors, and the one or more programs include instructions for executing a power grid model parameter verification method.

[0092] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented 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.

[0093] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0094] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0095] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0096] The above are merely embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are included in the scope of the claims of the present invention to be approved.

Claims

1. A method for verifying parameters of a power grid model, characterized in that: include: According to the pre-configured device model calibration configuration table and area configuration table, the device model to be calibrated is obtained from the old system, and the device model to be calibrated is obtained from the new system; According to the mapping table in the device model verification configuration table, a mapping relationship between the new system device model and the old system device model is obtained; wherein the mapping table defines a mapping relationship between unique identifiers of the same device model in the new system and the old system; The unique identifier of the new system device model is traversed. If the corresponding unique identifier of the old system device model is found according to the mapping relationship, it indicates that the old system device model to be calibrated matches the new system device model to be calibrated. If the corresponding unique identifier of the old system device model is not found according to the mapping relationship, it indicates that the old system device model to be calibrated does not match the new system device model to be calibrated. If the equipment model to be calibrated in the old system matches the equipment model to be calibrated in the new system, calculate the deviation rate of the same parameter of the equipment model to be calibrated in the old system and the equipment model to be calibrated in the new system; Perform parameter verification based on the deviation rate and preset rules.

2. A method for checking parameters of a power grid model according to claim 1, characterized in that: The contents configured in the device model verification configuration table include the name of the device, the table name of the device in the old system, the table name of the device in the new system, the mapping table, the device model parameters in the old system, the device model parameters in the new system, the SQL statement for querying the device model in the old system, and the SQL statement for querying the device model in the new system.

3. A method for checking parameters of a power grid model according to claim 1, characterized in that: The contents configured in the area configuration table include the area name, the area code in the old system, and the area code in the new system.

4. A method for checking parameters of a power grid model according to claim 1, characterized in that: The calculation formula of deviation rate is: ; in, e is the deviation rate, b is the parameter value of the equipment model to be calibrated in the new system. a The model parameter values ​​of the equipment to be calibrated in the old system. a and b The same parameter.

5. A method for checking parameters of a power grid model according to claim 1, characterized in that: The preset rule is: if the deviation rate is within the preset allowable deviation range, the corresponding parameters are reasonable, otherwise they are unreasonable.

6. A power grid model parameter verification system, characterized in that: include: Model acquisition module: According to the pre-configured device model calibration configuration table and area configuration table, the device model to be calibrated is acquired from the old system, and the device model to be calibrated is acquired from the new system; Mapping acquisition module: according to the mapping table in the device model verification configuration table, obtain the mapping relationship between the new system device model and the old system device model; wherein the mapping table defines the mapping relationship between the unique identifiers of the same device model in the new system and the old system; Matching module: traverses the unique identifier of the new system device model. If the unique identifier of the corresponding old system device model is found according to the mapping relationship, it indicates that the old system device model to be calibrated matches the new system device model to be calibrated. If the unique identifier of the corresponding old system device model is not found according to the mapping relationship, it indicates that the old system device model to be calibrated does not match the new system device model to be calibrated. Deviation rate calculation module: if the equipment model to be calibrated in the old system matches the equipment model to be calibrated in the new system, calculate the deviation rate of the same parameter of the equipment model to be calibrated in the old system and the equipment model to be calibrated in the new system; Calibration module: perform parameter calibration based on the deviation rate.

7. A power grid model parameter verification system according to claim 6, characterized in that: The contents configured in the device model verification configuration table include the name of the device, the table name of the device in the old system, the table name of the device in the new system, the mapping table, the device model parameters in the old system, the device model parameters in the new system, the SQL statement for querying the device model in the old system, and the SQL statement for querying the device model in the new system.

8. A power grid model parameter verification system according to claim 6, characterized in that: The contents configured in the area configuration table include the area name, the area code in the old system, and the area code in the new system.

9. A power grid model parameter verification system according to claim 6, characterized in that: The formula for calculating the deviation rate by the deviation rate calculation module is: ; in, e is the deviation rate, b is the parameter value of the equipment model to be calibrated in the new system. a The model parameter values ​​of the equipment to be calibrated in the old system. a and b The same parameter.

10. A power grid model parameter verification system according to claim 6, characterized in that: The preset rule is: if the deviation rate is within the preset allowable deviation range, the corresponding parameters are reasonable, otherwise they are unreasonable.

Citation Information

Patent Citations

  • A method for improving the data accuracy of a whole power grid model based on a verification rule base

    CN109710669A

  • SOA architecture-based main and standby system real-time data checking device and method

    CN112085339A