A data processing method and system for describing the evolution process of power system

By designing new data structures, including collection tables and information tables, the problems of data redundancy and multi-time scale evolution in power system calculation and analysis are solved, and accurate description and efficient calculation of the power system evolution process are achieved.

CN115098516BActive Publication Date: 2024-09-24CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210890486.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-27
Publication Date
2024-09-24
Estimated Expiration
2042-07-27

AI Technical Summary

Technical Problem

Existing power system calculation and analysis software is difficult to describe the topological structure changes and multi-time scale evolution processes of the power system, has data redundancy, and cannot support online calculation of continuous evolution processes.

Method used

A new data structure is designed, including a collection table and an information table. Through primary key association, a time field is added, update judgment rules are set, and time records of topology, model parameters and running status are supported to reduce data redundancy and adapt to multiple times. Scale evolution.

Benefits of technology

It achieves an accurate description of the power system evolution process, reduces data redundancy, improves data storage and analysis efficiency, and supports online calculation of multiple time scales and continuous evolution processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115098516B
    Figure CN115098516B
Patent Text Reader

Abstract

The present invention discloses a data processing method and system for describing the evolution process of an electric power system, wherein the method comprises: establishing a collection table, wherein the collection table comprises a primary key; the collection table comprises a case collection table and an element collection table; wherein the case collection table is associated with the element collection table through the primary key, and the element corresponding to the case in the case collection table is determined; establishing an information table, wherein the information table comprises a primary key; the information table is associated with the collection table through the primary key; the data record of the information table comprises a time field, an element and attribute information; when the attribute information of the element changes, judging whether to add data records to the information table according to a preset update judgment rule; determining a target case in the case collection table, and searching for an element in the element collection table associated with the target case through the primary key of the case collection table; based on the found element, determining a data record corresponding to a preset time threshold in the information table associated with the element through the primary key in the information table.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power system calculation and analysis, and more specifically, to a data processing method and system for describing the evolution process of a power system. Background Art

[0002] Power system calculation and analysis are all carried out on the basis of a certain format of data files or databases. Existing power system calculation and analysis software includes PSD-BPA, PSASP, PSS / E, etc. In the data files of these software, the topological structure of the power system, the model parameters of each component, the operating status and parameter information of each component are described to meet the needs of power flow calculation, short-circuit current calculation, transient stability calculation, etc.

[0003] The existing calculation data are all based on the single state information of the power system at a certain point in time, that is, describing a certain static "data frame", which only contains the current information of the topology structure, model parameters, operating status and parameters, but does not contain their evolution information. If it is necessary to compare the characteristics of the power system based on different topologies, model parameters, operating status and parameters, and to deduce and calculate the development and changes of the power system, etc., it is necessary to combine different "data frames", that is, multiple sets of independent calculation data, in chronological order, that is, to use the "multi-data frame time series combination" method to describe the evolution process of the power system within a certain period of time. This "multi-data frame time series combination" method has its inherent disadvantages: there is a large amount of data redundancy, it is difficult to adapt to the multi-time scale evolution process, it is impossible to accurately describe the changes in the topology structure, and it is difficult to support the online calculation of the continuous evolution process.

[0004] The actual power system is constantly developing and evolving. On the macro time scale of the year, with the development and construction of the power system, the installed capacity of various power sources, the grid structure, load distribution and characteristics have been constantly evolving; on the medium time scale of the day, with the continuous change of load for 24 hours a day, the power output and grid power flow have been constantly evolving; on the micro time scale of seconds or even smaller, the rapid evolution of operating parameters such as voltage and current due to factors such as fault disturbances and switch actions.

[0005] The existing technology is based on PSD-BPA data files. If the evolution of the power system needs to be considered, different "data frames", that is, multiple sets of independent calculation data, need to be combined in chronological order, that is, the "multi-data frame time series combination" method is used to describe the evolution process of the power system within a certain period of time. However, this method has the following main disadvantages.

[0006] (1) There is a large amount of data redundancy: Since each set of PSD-BPA data files is independent, for information that does not change over time or changes very slowly over time, there is a large amount of data redundancy in multiple sets of data files, which is very detrimental to data maintenance and management. For example, if you need to add, delete, or modify the data of a certain device component, even if the device component does not change over time, you need to repeat the addition, deletion, and modification operations in each set of data files. A large amount of data redundancy will not only directly increase the cost of data storage, but also significantly reduce the efficiency of data extraction and analysis.

[0007] (2) It is difficult to adapt to the evolution process at multiple time scales: the slow evolution brought about by the development and construction of the power system belongs to the macro time scale; the hour, minute and second evolution brought about by the normal operation of the power system within a day belongs to the medium time scale; the rapid evolution of operating status and parameters caused by factors such as fault disturbances and switch actions belongs to the micro time scale.

[0008] (3) It is difficult to accurately describe changes in topology: The topology of the power system will change due to the input and output of various types of equipment, changes in the status of switches within the power plant, etc., especially the changes in the topology within the power plant are more complex.

[0009] (4) It is difficult to support online calculation of continuous evolution process: All calculation programs of PSD-BPA data files use redesigned and different memory data structures. This mode limits the flexibility of program architecture, reduces the efficiency of program operation, and makes it difficult to achieve online calculation of continuous tracking of actual power system evolution process.

[0010] In order to solve the shortcomings of existing technical solutions, it is necessary to design a new data structure to describe the evolution process of the power system. Summary of the invention

[0011] The technical solution of the present invention provides a data processing method and system for describing the evolution process of an electric power system, so as to solve the problem of how to describe the evolution process of an electric power system based on a set of data structures.

[0012] In order to solve the above problems, the present invention provides a data processing method for describing the evolution process of a power system, the method comprising:

[0013] Establishing a collection table, the collection table includes a primary key; the collection table includes a case collection table and an element collection table; wherein the case collection table is associated with the element collection table through the primary key, and the element corresponding to the case in the case collection table is determined;

[0014] Establishing an information table, the information table including a primary key; associating the information table with the set table through the primary key; data records in the information table including a time field, an element, and attribute information; when the attribute information of the element changes, judging whether to add data records to the information table according to a preset update judgment rule;

[0015] Determine the target case in the case collection table, and search for the element in the element collection table associated with the target case through the primary key of the case collection table; based on the found element, determine the data record corresponding to the preset time threshold in the information table associated with the element through the primary key in the information table. Preferably, the case collection table includes multiple cases;

[0016] The cases mentioned include inheritance relationships;

[0017] When there is a successor case to the current case, the current case contains all elements of the successor case.

[0018] Preferably, there are multiple information tables;

[0019] An update judgment rule is set for each information table based on the update requirement of each information table.

[0020] Preferably, setting an update judgment rule for each information table based on the update requirement of each information table includes:

[0021] Based on the update requirements of each case associated with each information table and the elements corresponding to the case, an update judgment rule is set for each element in each information table.

[0022] Preferably, when there are multiple data records for the same element in the information table, the multiple data records are sorted based on the time field.

[0023] Preferably, the preset time threshold is one time point or a time period consisting of two time points.

[0024] Preferably, it includes:

[0025] Establishing a parameter definition table, wherein the parameter definition table includes a primary key;

[0026] The parameter definition table is associated with the information table through a primary key.

[0027] Preferably, the element set table includes: a node set table and a component set table;

[0028] The node set table includes: case number, node number, node name; the case number and node number are primary keys of the node set table;

[0029] The case collection table includes: case number, case name, and inherited case number; the case number is the primary key of the case collection table;

[0030] The component set table includes: case number, component number, component category, component name, and belonging component number; the case number and component number are primary keys of the component set table.

[0031] Preferably, the information table includes: a topology information table, a model parameter information table, a model parameter information table, an operation status information table, and an operation parameter information table;

[0032] The topology structure information table includes: case number, component number, time, and multiple node numbers; the case number, component number, and time are primary keys of the topology structure information table;

[0033] The model parameter information table includes: case number, component number, time, model number, and multiple model parameter values; the case number, component number, and time are primary keys of the model parameter information table;

[0034] The operation status information table includes: case number, component number, time, state switching value, and state switching category; the case number, component number, and time are primary keys of the operation status information table;

[0035] The operation parameter information table includes: case number, component number, time, operation parameter group number, and multiple operation parameter values; the case number, component number, and time are primary keys of the operation parameter information table.

[0036] Preferably, the parameter definition table includes: a model parameter definition table and an operation parameter definition table;

[0037] The model parameter definition table includes: model number, model name, component category, and multiple model parameter names; the model number is the primary key of the model parameter definition table;

[0038] The operation parameter definition table includes: an operation parameter group number, an operation parameter group name, a component category, and multiple operation parameter names; the operation parameter group number is the primary key of the operation parameter definition table.

[0039] Based on another embodiment of the present invention, the present invention provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and the computer program is used to execute the above-mentioned data processing method for describing the evolution process of the power system.

[0040] Based on another embodiment of the present invention, the present invention provides an electronic device, characterized in that the electronic device comprises: a processor and a memory; wherein,

[0041] The memory is a memory for storing instructions executable by the processor;

[0042] The processor is used to read the executable instructions from the memory and execute the instructions to implement the above-mentioned data processing method for describing the evolution process of the power system.

[0043] According to another embodiment of the present invention, the present invention provides a data processing system for describing the evolution process of a power system, the system comprising:

[0044] An establishing unit is used to establish a collection table, the collection table includes a primary key; the collection table includes a case collection table and an element collection table; wherein the case collection table is associated with the element collection table through the primary key to determine the element corresponding to the case in the case collection table; establish an information table, the information table includes a primary key; the information table is associated with the collection table through the primary key; the data record of the information table includes a time field, an element and attribute information; when the attribute information of the element changes, it is determined whether to add data records to the information table according to a preset update judgment rule;

[0045] The acquisition unit is used to determine the target case in the case collection table, and search for the element in the element collection table associated with the target case through the primary key of the case collection table; based on the found element, determine the data record corresponding to the preset time threshold in the information table associated with the element through the primary key in the information table.

[0046] Preferably, the case collection table includes a plurality of cases;

[0047] The cases mentioned include inheritance relationships;

[0048] When there is a successor case to the current case, the current case contains all elements of the successor case.

[0049] Preferably, there are multiple information tables;

[0050] An update judgment rule is set for each information table based on the update requirement of each information table.

[0051] Preferably, the establishing unit is used to set an update judgment rule for each information table based on the update requirement of each information table, specifically for:

[0052] Based on the update requirements of each case associated with each information table and the elements corresponding to the case, an update judgment rule is set for each element in each information table.

[0053] Preferably, the establishing unit is used for sorting the multiple data records based on the time field when there are multiple data records for the same element in the information table.

[0054] Preferably, the preset time threshold is one time point or a time period consisting of two time points.

[0055] Preferably, the establishing unit is used for:

[0056] Establishing a parameter definition table, wherein the parameter definition table includes a primary key;

[0057] The parameter definition table is associated with the information table through a primary key.

[0058] Preferably, the element set table includes: a node set table and a component set table;

[0059] The node set table includes: case number, node number, node name; the case number and node number are primary keys of the node set table;

[0060] The case collection table includes: case number, case name, and inherited case number; the case number is the primary key of the case collection table;

[0061] The component set table includes: case number, component number, component category, component name, and belonging component number; the case number and component number are primary keys of the component set table.

[0062] Preferably, the information table includes: a topology information table, a model parameter information table, a model parameter information table, an operation status information table, and an operation parameter information table;

[0063] The topology structure information table includes: case number, component number, time, and multiple node numbers; the case number, component number, and time are primary keys of the topology structure information table;

[0064] The model parameter information table includes: case number, component number, time, model number, and multiple model parameter values; the case number, component number, and time are primary keys of the model parameter information table;

[0065] The operation status information table includes: case number, component number, time, state switching value, and state switching category; the case number, component number, and time are primary keys of the operation status information table;

[0066] The operation parameter information table includes: case number, component number, time, operation parameter group number, and multiple operation parameter values; the case number, component number, and time are primary keys of the operation parameter information table.

[0067] Preferably, the parameter definition table includes: a model parameter definition table and an operation parameter definition table;

[0068] The model parameter definition table includes: model number, model name, component category, and multiple model parameter names; the model number is the primary key of the model parameter definition table;

[0069] The operation parameter definition table includes: an operation parameter group number, an operation parameter group name, a component category, and multiple operation parameter names; the operation parameter group number is the primary key of the operation parameter definition table.

[0070] The technical solution of the present invention provides a data processing method and system for describing the evolution process of an electric power system, wherein the method includes: establishing a set table, the set table includes a primary key; the set table includes a case set table and an element set table; wherein the case set table is associated with the element set table through the primary key to determine the element corresponding to the case in the case set table; establishing an information table, the information table includes a primary key; the information table is associated with the set table through the primary key; the data record of the information table includes a time field, an element, and attribute information; when the attribute information of the element changes, according to the preset update judgment rule, it is judged whether to add data records to the information table; determine the target case in the case set table, and search for the element in the element set table associated with the target case through the primary key of the case set table; based on the found element, determine the data record corresponding to the preset time threshold in the information table associated with the element through the primary key in the information table. The technical solution of the present invention proposes a new set of data structures, which describes the evolution process of an electric power system based on the same set of data, and realizes but is not limited to the information evolution of topological structure, model parameters, operating status and parameters. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] A more complete understanding of exemplary embodiments of the present invention may be obtained by referring to the following drawings:

[0072] Figure 1 A flow chart of a data processing method for describing the evolution process of a power system according to a preferred embodiment of the present invention;

[0073] Figure 2 A diagram showing the overall architecture of a data structure according to a preferred embodiment of the present invention; and

[0074] Figure 3 The structure diagram of a data processing system for describing the evolution process of a power system according to a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0075] Now, exemplary embodiments of the present invention are described with reference to the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. These embodiments are provided to disclose the present invention in detail and completely and to fully convey the scope of the present invention to those skilled in the art. The terms used in the exemplary embodiments shown in the accompanying drawings are not intended to limit the present invention. In the accompanying drawings, the same units / elements are marked with the same reference numerals.

[0076] Unless otherwise specified, the terms (including technical terms) used herein have the commonly understood meanings to those skilled in the art. In addition, it is understood that the terms defined in commonly used dictionaries should be understood to have the same meanings as those in the context of the relevant fields, and should not be understood as idealized or overly formal meanings.

[0077] Figure 1 This is a flow chart of a data processing method for describing the evolution of a power system according to a preferred embodiment of the present invention. In order to solve the shortcomings of the prior art solutions in describing the evolution of the power system, such as a large amount of data redundancy, difficulty in adapting to the evolution process of multiple time scales, and inability to accurately describe the changes in the topological structure, the present invention breaks through the limitation that the topological structure and various parameters of the power system are fixed in the same set of data, and expands from describing the single state information of the power system at a certain point in time to describing the evolution process information of the power system in a certain time period, while being compatible with the ability to describe the single state information of the power system at a certain point in time.

[0078] The present invention designs a new data structure, which describes the evolution process of the power system based on the same set of data, including topological structure, model parameters, operating status and parameter evolution information, and is easy to implement using relational databases or data files, and is also easy to organize memory data. The data structure of the present invention has the following characteristics:

[0079] (1) Reducing data redundancy: The present invention avoids the use of a method in which multiple sets of independent calculation data are combined in chronological order (i.e., "multi-data frame time series combination") to describe the evolution process of the power system, and avoids a large amount of repeated information recording for the same topological structure, model parameters, operating status and parameters. The present invention needs to reduce data redundancy by improving the data structure to save data storage costs and improve data extraction and analysis efficiency.

[0080] (2) Adaptability to multi-time scale evolution processes: The present invention fully adapts to the needs for information recording in different time scale evolution processes, from power system development and construction to fault disturbances, switch actions, etc., and supports lossless and non-redundant recording of different information at different time scales that exist simultaneously in the same set of data.

[0081] (3) Accurate description of topological structure changes: The present invention avoids the use of a fixed form of topological connection relationship description. The present invention can support the accurate description of the change process of the topological connection relationship between various types of equipment in the power system.

[0082] (4) Supporting online computing of continuously evolving processes: The data structure proposed in the present invention has good universality and can fully adapt to the information recording based on databases and data files, as well as the memory data organization of computing programs, so as to improve the flexibility of program architecture and operating efficiency and realize uninterrupted online computing.

[0083] like Figure 1 As shown, the present invention provides a data processing method for describing the evolution process of a power system, the method comprising:

[0084] Step 101: Establish a collection table, the collection table includes a primary key; the collection table includes a case collection table and an element collection table; wherein the case collection table is associated with the element collection table through the primary key to determine the element corresponding to the case in the case collection table;

[0085] Preferably, the case collection table includes a plurality of cases;

[0086] The cases include inheritance relationships;

[0087] When a current case has a successor case, the current case contains all the elements of the successor case.

[0088] Preferably, the element set table includes: a node set table and a component set table;

[0089] The node collection table includes: case number, node number, node name; case number and node number are the primary keys of the node collection table;

[0090] The case collection table includes: case number, case name, inherited case number; case number is the primary key of the case collection table;

[0091] The component collection table includes: case number, component number, component category, component name, and belonging component number; the case number and component number are the primary keys of the component collection table.

[0092] Step 102: Establish an information table, the information table includes a primary key; the information table is associated with the collection table through the primary key; the data record of the information table includes a time field, an element, and attribute information; when the attribute information of the element changes, determine whether to add data records to the information table according to a preset update judgment rule; preferably, there are multiple information tables;

[0093] An update judgment rule is set for each information table based on the update requirements of each information table.

[0094] Preferably, an update judgment rule is set for each information table based on the update requirement of each information table, including:

[0095] Based on the update requirements of each case associated with each information table and the elements corresponding to the case, an update judgment rule is set for each element in each information table.

[0096] Preferably, when there are multiple data records for the same element in the information table, the multiple data records are sorted based on the time field.

[0097] Preferably, the information table includes: a topology information table, a model parameter information table, a model parameter information table, an operation status information table, and an operation parameter information table;

[0098] The topology structure information table includes: case number, component number, time, and multiple node numbers; the case number, component number, and time are primary keys of the topology structure information table;

[0099] The model parameter information table includes: case number, component number, time, model number, and multiple model parameter values; case number, component number, and time are primary keys of the model parameter information table;

[0100] The operation status information table includes: case number, component number, time, state switching value, and state switching category; case number, component number, and time are the primary keys of the operation status information table;

[0101] The operation parameter information table includes: case number, component number, time, operation parameter group number, and multiple operation parameter values; case number, component number, and time are the primary keys of the operation parameter information table.

[0102] Preferably, it includes:

[0103] Create a parameter definition table, which includes a primary key;

[0104] The parameter definition table is associated with the information table through the primary key.

[0105] Preferably, the parameter definition table includes: a model parameter definition table and an operation parameter definition table;

[0106] The model parameter definition table includes: model number, model name, component category, and multiple model parameter names; the model number is the primary key of the model parameter definition table;

[0107] The operating parameter definition table includes: an operating parameter group number, an operating parameter group name, a component category, and multiple operating parameter names; the operating parameter group number is the primary key of the operating parameter definition table.

[0108] The embodiment of the present invention is illustrated by proposing a data structure for calculating the evolution of a power system, but the embodiment of the present invention is not limited to this data structure. The overall architecture of the data structure provided by the embodiment of the present invention is as follows: Figure 2 As shown, the data structure of the present invention consists of 9 data tables, namely: model parameter definition table, operation parameter definition table, case set table, node set table, component set table, topology structure information table, model parameter information table, operation status information table, and operation parameter information table.

[0109] (1) Model parameter definition table. This table is used to define the equipment model parameter list. It contains the following fields: model number, model name, component category, model parameter name 1, model parameter name 2, model parameter name 3... (can be expanded as needed). Among them, the model number is the primary key ( Figure 2 * indicates a primary key or a joint primary key, the same below); the component category is used to identify the equipment category of the record (such as busbar, generator, excitation system, AC line, three-winding transformer, etc.). Model parameters are inherent properties of the equipment (such as rated current, resistance, inertia time constant, etc.) and are independent of the operating status. The same component category can have multiple model parameter definition records, because different purposes and different types of calculations have different requirements for model parameters (for example, the electromechanical transient model and electromagnetic transient model of the same component category are different).

[0110] (2) Operation parameter definition table. This table is used to define the equipment operation parameter list, and contains the following fields: operation parameter group number, operation parameter group name, component category, operation parameter name 1, operation parameter name 2, operation parameter name 3... (can be expanded as needed). Among them, the operation parameter group number is the primary key; the component category is used to identify the equipment category of the record, which has the same meaning as the component category in the model parameter definition table. The operation parameters are not inherent attributes of the equipment, but are related to the operating status (such as actual current, scheduled power, control mode, etc.). There can be multiple operation parameter definition records in the same component category, because different purposes and different types of calculations have different requirements for operation parameters (for example, the flow calculation requires the output power of the generator, but the short-circuit current calculation does not require the output power of the generator).

[0111] (3) Case collection table. This table is used to record the basic information of all cases. It contains the following fields: case number, case name, and inherited case number. The case number is the primary key. If the inherited case number is left blank, it means that the current case does not inherit other cases. If the inherited case number is filled with the case number of another case, it means that the current case inherits another case. For example, if case C0 inherits case C1, then case C0 directly has all the information in case C1. For records in case C0 that have the same primary key as case C1, the corresponding records in case C0 are used first.

[0112] (4) Node collection table. This table is used to record the basic information of all nodes. It contains the following fields: case number, node number, and node name. Case number and node number are joint primary keys. Case number is associated with the primary key of case collection table through a foreign key. Nodes are the basis of the topological structure of power system. Two or more components can be connected to each other through nodes.

[0113] (5) Component collection table. This table is used to record the basic information of all components. It contains the following fields: case number, component number, component category, component name, and attributed component number. Among them, case number and component number are joint primary keys; case number is associated with the primary key of the case collection table by a foreign key; component category is used to identify the equipment category of the record, which has the same meaning as the component category in the model parameter definition table; leaving the attributed component number blank means that the current component does not belong to other components, and filling the attributed component number with the component number of another component means that the current component belongs to another component (for example, a certain excitation system belongs to a certain generator).

[0114] (6) Topology information table. This table is used to record the topology information of all components by time. The fields included are: case number, component number, time, node number 1, node number 2, node number 3, etc. (can be expanded as needed). Among them, case number, component number, and time are joint primary keys; case number is associated with the primary key of the case collection table by a foreign key; component number is associated with the primary key of the component collection table by a foreign key; time includes year, month, day, hour, minute, second, and millisecond information (depending on the specific accuracy requirements, some content can be omitted, such as only filling in year, month, day, the same below); node number 1, node number 2, node number 3, etc. are associated with the primary key of the node collection table by a foreign key, which is used to record the nodes connected to the components. For single-terminal components (such as generators), only node number 1 needs to be filled in; for double-terminal components (such as AC lines), node number 1 and node number 2 need to be filled in; for three-terminal components (such as converters), node number 1, node number 2, and node number 3 need to be filled in. For any component included in the case, there must be at least one record in the table to describe its initial topology information; when the topology of a component changes at a certain moment (such as a switch action), a record must be added accordingly to record the change.

[0115] (7) Model parameter information table. This table is used to record the model parameter information of all components by time. The fields included are: case number, component number, time, model number, model parameter value 1, model parameter value 2, model parameter value 3... (can be expanded as needed). Among them, case number, component number, and time are joint primary keys; case number is associated with the primary key of the case collection table by a foreign key; component number is associated with the primary key of the component collection table by a foreign key; model number is associated with the primary key of the model parameter definition table by a foreign key; model parameter values ​​correspond to the model parameter names of the associated records in the model parameter definition table. The component category of the associated record in the component collection table must be the same as the component category of the associated record in the model parameter definition table. For any component included in the case, there must be at least one record in this table to describe its initial model parameter information; when the model parameter of a component changes at a certain moment (such as equipment modification), a corresponding record must be added to record the change.

[0116] (8) Operation status information table. This table is used to record the operation status information of all components by time, and contains the following fields: case number, component number, time, state switching value, and state switching category. Among them, the case number, component number, and time are joint primary keys; the case number is associated with the primary key of the case collection table by a foreign key; the component number is associated with the primary key of the component collection table by a foreign key; the state switching value is 0 or 1, indicating exit or start of operation respectively; the state switching category is used to identify the reason for exit or start of operation. For any component included in the case, there must be at least one record in this table to describe its initial operation status information; when the operation status of a component changes at a certain moment (such as equipment maintenance shutdown), a corresponding record must be added to record the change.

[0117] (9) Operation parameter information table. This table is used to record the operation parameter information of all components by time. The fields included are: case number, component number, time, operation parameter group number, operation parameter value 1, operation parameter value 2, operation parameter value 3... (can be expanded as needed). Among them, case number, component number, and time are joint primary keys; case number is associated with the primary key of the case collection table by a foreign key; component number is associated with the primary key of the component collection table by a foreign key; operation parameter group number is associated with the primary key of the operation parameter definition table by a foreign key; operation parameter value corresponds to the operation parameter name of the associated record in the operation parameter definition table. The component category of the associated record in the component collection table must be the same as the component category of the associated record in the operation parameter definition table. For any component included in the case, there must be at least one record in this table to describe its initial operation parameter information; when the operation status of a component changes at a certain moment (such as an increase in load power), a corresponding record must be added to record the change. For operating parameters that change continuously over time (such as the transmission power of an AC line), it is necessary to decide how to add records based on the specific accuracy requirements. For example, records are added only when the change in the parameter value exceeds a specified threshold.

[0118] Step 103: Determine the target case in the case collection table, and search for the element in the element collection table associated with the target case through the primary key of the case collection table; based on the found element, determine the data record corresponding to the preset time threshold in the information table associated with the element through the primary key in the information table.

[0119] Preferably, the preset time threshold is one time point or a time period consisting of two time points.

[0120] The present invention realizes data processing of the evolution process of the power system based on the data structure composed of the above 9 data tables. If the present invention needs to extract information of a case C0 at any time point T0, or any time period T0-T1, the method is as follows:

[0121] Step 1: Based on the node set table and component set table, determine all nodes and components included in the current case C0. If the current case inherits from another case, it includes all nodes and components of the other case.

[0122] Step 2: Based on the topology information table, model parameter information table, operation status information table, and operation parameter information table, filter the records corresponding to all components included in the current case. Each component in the same table may have multiple records, and these records are sorted by the time field. If you need to extract information at any time point T0, take the last record that is not later than T0; if you need to extract information from any time period T0-T1, take the last record that is not later than T0, as well as all records between T0-T1.

[0123] The present invention provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and the computer program is used to execute a data processing method for describing the evolution process of a power system.

[0124] The present invention provides an electronic device, characterized in that the electronic device comprises: a processor and a memory; wherein:

[0125] Memory, a memory for storing processor executable instructions;

[0126] The processor is used for reading executable instructions from the memory and executing the instructions to implement a data processing method for describing the evolution process of the power system.

[0127] The following is an illustration of the embodiments of the present invention.

[0128] Embodiment: Power system evolution calculation data management system

[0129] Based on the data structure proposed in the present invention, a power system evolution calculation data management system is constructed. The system uses a relational database, and the main data tables and their main fields are shown in Tables 1 to 9:

[0130] Table 1 Model parameter definition table (ModelDef)

[0131] Field Name Field meaning type illustrate ModelID Model Number integer Primary Key ModelName Model Name string ObjectClass Component Category integer Identify the types of equipment components such as busbars, generators, AC lines, etc. through enumeration ParmName1 Model parameter name 1 string ParmName2 Model parameter name 2 string ParmName3 Model parameter name 3 string …… …… …… Expandable items

[0132] Table 2 Operation parameter definition table (StateDef)

[0133] Field Name Field meaning type illustrate StateID Operation parameter group number integer Primary Key StateName Run parameter group name string ObjectClass Component Category integer ParmName1 Run parameter name 1 string ParmName2 Run parameter name 2 string ParmName3 Run parameter name 3 string …… …… …… Expandable items

[0134] Table 3 Case collection table (Case)

[0135] Field Name Field meaning type illustrate CaseID Case Number integer Primary Key Case Name Case Name string ParentCaseID Inheritance Case Number integer Select another case's CaseID

[0136] Table 4 Node collection table (Node)

[0137] Field Name Field meaning type illustrate CaseID Case Number integer Primary key, associated with Case.CaseID NodeID Node Number integer Primary Key NodeName Node Name string

[0138] Table 5 Component collection table (Object)

[0139] Field Name Field meaning type illustrate CaseID Case Number integer Primary key, associated with Case.CaseID ObjectID Component Number integer Primary Key ObjectName Component Name string ObjectClass Component Category integer ParentObjectID Component number integer Select the ObjectID of another component

[0140] Table 6 Topology information table (TopoInfo)

[0141] Field Name Field meaning type illustrate CaseID Case Number integer Primary key, associated with Case.CaseID ObjectID Component Number integer Primary key, associated with Object.ObjectID Time time datetime Primary Key NodeID1 Node number 1 integer Associate Node.NodeID NodeID2 Node number 2 integer Associate Node.NodeID NodeID3 Node number 3 integer Associate Node.NodeID …… …… Expandable items

[0142] Table 7 Model parameter information table (ModelInfo)

[0143] Field Name Field meaning type illustrate CaseID Case Number integer Primary key, associated with Case.CaseID ObjectID Component Number integer Primary key, associated with Object.ObjectID Time time datetime Primary Key ModelID Model Number integer Associate ModelDef.ModelID ParmValue1 Model parameter value 1 float Corresponds to ModelDef.ParmName1 ParmValue2 Model parameter value 2 float Corresponds to ModelDef.ParmName2 ParmValue3 Model parameter value 3 float Corresponds to ModelDef.ParmName3 …… …… Expandable items

[0144] Table 8 Operation status information table (BasicStateInfo)

[0145] Field Name Field meaning type illustrate CaseID Case Number integer Primary key, associated with Case.CaseID ObjectID Component Number integer Primary key, associated with Object.ObjectID Time time datetime Primary Key StateValue State switching value integer 0 means exit, 1 means invest StateClass State switching category integer 0 commissioning or decommissioning, 1 planned maintenance, 2 failure events, 3 other reasons

[0146] Table 9 Operation parameter information table (StateInfo)

[0147] Field Name Field meaning type illustrate CaseID Case Number integer Primary key, associated with Case.CaseID ObjectID Component Number integer Primary key, associated with Object.ObjectID Time time datetime Primary Key StateID Operation parameter group number integer Associated with StateDef.StateID ParmValue1 Run parameter value 1 float Corresponds to StateDef.ParmName1 ParmValue2 Run parameter value 2 float Corresponds to StateDef.ParmName2 ParmValue3 Run parameter value 3 float Corresponds to StateDef.ParmName3 …… …… Expandable items

[0148] The data processing method for describing the evolution process of the power system proposed in the present invention has been used to support the computational analysis of the dynamic evolution process of the power system in business areas such as power system planning and design and dispatching and operation. The functions that have been realized include power system planning scheme comparison, equipment model parameter and operation parameter optimization, fault inversion analysis, etc. The characteristics of the relevant business are large time span, and the power grid topology, model parameters, operating status and parameters will change significantly. In this method, by arbitrarily selecting the first and last two time points T0 and T1, detailed evolution information describing the power grid topology, model parameters and operating status within the time period can be flexibly extracted, supporting detailed calculation and analysis at different times (such as power grid stability verification), and evaluating the development and evolution trend of power grid characteristics.

[0149] The present invention integrates an online calculation and analysis program that supports continuous evolution processes. In terms of information organization, the program adopts the same data structure as the above-mentioned database, and contains 9 classes, which correspond to the above-mentioned 9 data tables respectively. In each class, a data index function is developed based on the primary key or the joint primary key to return a pointer to the data record. Between objects instantiated by different classes, the query of the association relationship is realized through the data index function, and the access to the data content of the associated object is realized through the pointer. Due to the same data structure, the program realizes efficient two-way data synchronization with the database, runs in the memory as an independent process, does not need to re-read data frequently and in large quantities, can continuously track the evolution process of the power system, continuously update the data in the program memory, and perform uninterrupted online calculation and analysis.

[0150] The data structure proposed by the present invention includes 9 data tables, and in practical applications, the data tables may be appropriately increased or decreased. For example, a system is developed based on the data structure proposed by the present invention. In order to manage additional information such as users who log in to the system and their permissions, data maintenance logs, etc., it is necessary to add several additional information tables; if the system does not need operating parameter information, the operating parameter information table can be omitted.

[0151] Each data table of the present invention contains several important fields, and in practical applications, the fields in the data table may be appropriately increased or decreased. For example, if a system is developed based on the data structure proposed by the present invention, it may be necessary to add annotation information to the components, and a field needs to be added to the component collection table to store the annotation information; it may also be unnecessary to record the reasons for the component to exit or start operation, and the state switching category field in the operation status information table can be omitted.

[0152] Therefore, the alternative solution is not strictly limited to the 9 data tables and the fields contained therein proposed by the present invention.

[0153] Based on the proposed data structure, the present invention breaks through the limitation that the topological structure, model parameters, operating status and parameters of the power system are fixed in the same set of data, and realizes the description of the evolution process of the power system based on the same set of data, which is expanded from describing the single state information of the power system at a certain point in time to describing the information of the evolution process of the power system in a certain period of time. At the same time, it is compatible with the ability to describe the single state information of the power system at a certain point in time, which is convenient for using relational databases or data files to implement, and it is also convenient for organizing memory data. Based on the present invention, a power system evolution calculation data management system has been developed, which has been used to support the calculation and analysis of the dynamic evolution process of the power system in business fields such as power system planning, design and dispatching operation. The functions that have been realized include comparison and selection of power system planning schemes, optimization of equipment model parameters and operating parameters, fault inversion analysis, etc. Based on the present invention, the functions being developed include response-driven power system operation trend analysis, and related artificial intelligence calculation and analysis functions, which will effectively promote the upgrading of power system calculation and analysis technology.

[0154] The present invention reduces data redundancy: since it is not necessary to use multiple sets of independent calculation data to describe the evolution process of the power system, a large amount of repeated information recording for the same topology, model parameters, operating status and parameters is avoided. In the 9 data tables of the data structure of the present invention, the model parameter definition table, the operating parameter definition table, the case set table, the node set table, and the component set table are independent of time. The information in these tables is relatively fixed and basic, and the amount of data will not increase significantly over time; the present invention adopts a case inheritance mechanism, which can also significantly reduce the repeated data between different cases. The remaining 4 tables, namely the topology information table, the model parameter information table, the operating status information table, and the operating parameter information table, have a time field. Only when the information of a certain component of a case changes, a record needs to be added, and there is no redundant information. Since the amount of data is greatly reduced, it not only saves the data storage cost, but also helps to improve the efficiency of data extraction and analysis.

[0155] The present invention adapts to the multi-time scale evolution process: in the four tables of topology information table, model parameter information table, operation status information table, and operation parameter information table, when the information of a certain component of a case changes, a record needs to be added. The information described by these four tables changes completely over time. The changes in model parameter information are the least, and only when events such as equipment modification occur, the model parameters may need to be updated; the changes in topology information are also not frequent, and only when a fault occurs or the operation mode is adjusted, will the switch action be caused, and the topology structure needs to be updated; the changes in operation status information are also not frequent, it records the input or exit status caused by equipment commissioning or retirement, planned maintenance, fault events, etc., and only when the state is switched does it need to add records; the operation parameter information changes most frequently, and some operation parameters are changing almost every moment, and it is necessary to decide how to add records according to specific accuracy requirements, for example, when the parameter value change exceeds the specified threshold, the record is added. The judgment rules for whether to add records to these four tables are independent of each other, and the judgment rules for whether to add records to each component are also independent of each other, which is equivalent to each table and each component in each case having an independent "time axis". This fully adapts to the needs for information recording in evolution processes of different time scales, from the development and construction of the power system to fault disturbances, switching operations, etc., and supports lossless and non-redundant recording of different information at different time scales that exist simultaneously in the same set of data.

[0156] The present invention realizes accurate description of topological structure changes: nodes are the basis of the topological structure of the power system. Two or more components can only be connected to each other through nodes. The topological structure information table is specifically used to describe the connection relationship between components and nodes. In the table, node number 1, node number 2, node number 3, etc. are associated with the primary key of the node set table by foreign keys to record the nodes to which the components are connected. For any component included in the case, there must be at least one record in the table to describe its initial topological structure information; when the topological structure of a component changes at a certain moment (such as a switch action), a record must be added accordingly to record the change. This mechanism for describing topological structure changes is accurate and non-redundant.

[0157] The present invention supports online calculation of continuous evolution process: the data structure proposed in the present invention has good universality, which can fully adapt to the information records based on databases and data files, and can also fully adapt to the memory data organization of computing programs, which helps to improve the flexibility of program architecture and operation efficiency. Based on the data structure proposed in the present invention, a power system evolution calculation data management system is constructed, which integrates online calculation and analysis programs that support continuous evolution processes. Due to the same data structure, the program realizes efficient two-way data synchronization with the database, runs in memory as an independent process, does not need to re-read data frequently and in large quantities, can continuously track the evolution process of the power system, continuously update the data in the program memory, and perform uninterrupted online calculation and analysis.

[0158] Figure 3 This is a structural diagram of a data processing system for describing the evolution of a power system according to a preferred embodiment of the present invention. Figure 3 As shown, the present invention provides a data processing system for describing the evolution process of a power system, the system comprising:

[0159] Establishing unit 301, used to establish a collection table, the collection table includes a primary key; the collection table includes a case collection table and an element collection table; wherein the case collection table is associated with the element collection table through the primary key to determine the element corresponding to the case in the case collection table; establish an information table, the data record of the information table includes a primary key; the information table is associated with the collection table through the primary key; the information table includes a time field, an element and attribute information; when the attribute information of the element changes, it is determined whether to add a data record to the information table according to a preset update judgment rule;

[0160] Preferably, there are multiple information tables;

[0161] An update judgment rule is set for each information table based on the update requirements of each information table.

[0162] Preferably, an update judgment rule is set for each information table based on the update requirement of each information table, including:

[0163] Based on the update requirements of each case associated with each information table and the elements corresponding to the case, an update judgment rule is set for each element in each information table.

[0164] Preferably, when there are multiple data records for the same element in the information table, the multiple data records are sorted based on the time field.

[0165] Preferably, the element set table includes: a node set table and a component set table;

[0166] The node collection table includes: case number, node number, node name; case number and node number are the primary keys of the node collection table;

[0167] The case collection table includes: case number, case name, inherited case number; case number is the primary key of the case collection table;

[0168] The component collection table includes: case number, component number, component category, component name, and belonging component number; the case number and component number are the primary keys of the component collection table.

[0169] Preferably, the information table includes: a topology information table, a model parameter information table, a model parameter information table, an operation status information table, and an operation parameter information table;

[0170] The topology structure information table includes: case number, component number, time, and multiple node numbers; the case number, component number, and time are primary keys of the topology structure information table;

[0171] The model parameter information table includes: case number, component number, time, model number, and multiple model parameter values; case number, component number, and time are primary keys of the model parameter information table;

[0172] The operation status information table includes: case number, component number, time, state switching value, and state switching category; case number, component number, and time are the primary keys of the operation status information table;

[0173] The operation parameter information table includes: case number, component number, time, operation parameter group number, and multiple operation parameter values; case number, component number, and time are the primary keys of the operation parameter information table.

[0174] Preferably, it includes:

[0175] Create a parameter definition table, which includes a primary key;

[0176] The parameter definition table is associated with the information table through the primary key.

[0177] Preferably, the parameter definition table includes: a model parameter definition table and an operation parameter definition table;

[0178] The model parameter definition table includes: model number, model name, component category, and multiple model parameter names; the model number is the primary key of the model parameter definition table;

[0179] The operating parameter definition table includes: an operating parameter group number, an operating parameter group name, a component category, and multiple operating parameter names; the operating parameter group number is the primary key of the operating parameter definition table.

[0180] The acquisition unit 302 is used to determine the target case in the case collection table, and search for the element in the element collection table associated with the target case through the primary key of the case collection table; based on the found element, determine the data record corresponding to the preset time threshold in the information table associated with the element through the primary key in the information table.

[0181] Preferably, the preset time threshold is one time point or a time period consisting of two time points.

[0182] A data processing system 300 for describing the evolution process of a power system in a preferred embodiment of the present invention corresponds to a data processing method 100 for describing the evolution process of a power system in a preferred embodiment of the present invention, and will not be described in detail herein.

[0183] It should be understood by those skilled in the art that the 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 codes. The solutions in the embodiments of the present invention may be implemented in various computer languages, for example, object-oriented programming language Java and interpreted scripting language JavaScript, etc.

[0184] 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 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0185] 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.

[0186] 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.

[0187] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0188] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

[0189] The invention has been described above with reference to a few embodiments. However, it is readily apparent to a person skilled in the art that other embodiments than the ones disclosed above are equally within the scope of the invention, as defined by the appended patent claims.

[0190] Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to "a / / the [means, component, etc.]" are to be openly interpreted as at least one instance of a means, component, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not necessarily have to be performed in the exact order disclosed, unless explicitly stated otherwise.

Claims

1. A data processing method for describing the evolution process of a power system, the method comprising: Establishing a collection table, wherein the collection table includes a primary key; the collection table includes a case collection table and an element collection table; The case collection table is associated with the element collection table through a primary key to determine the element corresponding to the case in the case collection table; The element set table includes: a node set table and a component set table; The node set table includes: case number, node number, node name; the case number and node number are primary keys of the node set table; The case collection table includes: case number, case name, and inherited case number; the case number is the primary key of the case collection table; The component set table includes: case number, component number, component category, component name, and belonging component number; the case number and component number are primary keys of the component set table; Establish an information table, the information table includes a primary key; the information table is associated with the set table through the primary key; the data record of the information table includes a time field, an element and attribute information; when the attribute information of the element changes, it is determined whether to add data records to the information table according to a preset update judgment rule; the information table includes: a topology information table, a model parameter information table, a model parameter information table, an operation status information table, and an operation parameter information table; The topology structure information table includes: case number, component number, time, and multiple node numbers; the case number, component number, and time are primary keys of the topology structure information table; The model parameter information table includes: case number, component number, time, model number, and multiple model parameter values; the case number, component number, and time are primary keys of the model parameter information table; The operation status information table includes: case number, component number, time, state switching value, and state switching category; the case number, component number, and time are primary keys of the operation status information table; The operation parameter information table includes: case number, component number, time, operation parameter group number, and multiple operation parameter values; the case number, component number, and time are primary keys of the operation parameter information table; Determine the target case in the case collection table, and search for the element in the element collection table associated with the target case through the primary key of the case collection table; based on the found element, determine the data record corresponding to the preset time threshold in the information table associated with the element through the primary key in the information table.

2. The method according to claim 1, wherein the case collection table includes a plurality of cases; The cases mentioned include inheritance relationships; When a current case has a successor case, the current case contains all the elements of the successor case.

3. The method according to claim 1, wherein the information table is multiple; An update judgment rule is set for each information table based on the update requirement of each information table.

4. The method according to claim 3, wherein the step of setting an update judgment rule for each information table based on the update requirement of each information table comprises: Based on the update requirements of each case associated with each information table and the elements corresponding to the case, an update judgment rule is set for each element in each information table.

5. The method according to claim 1, when there are multiple data records for the same element in the information table, the multiple data records are sorted based on the time field.

6. According to the method of claim 1, the preset time threshold is one time point or a time period consisting of two time points.

7. The method according to claim 1, comprising: Establishing a parameter definition table, wherein the parameter definition table includes a primary key; The parameter definition table is associated with the information table through a primary key.

8. The method according to claim 7, wherein the parameter definition table comprises: Model parameter definition table, operation parameter definition table; The model parameter definition table includes: model number, model name, component category, and multiple model parameter names; the model number is the primary key of the model parameter definition table; The operation parameter definition table includes: an operation parameter group number, an operation parameter group name, a component category, and multiple operation parameter names; the operation parameter group number is the primary key of the operation parameter definition table.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is used to execute the method according to any one of claims 1 to 8.

10. An electronic device, characterized in that: The electronic device comprises: a processor and a memory; wherein, The memory is a memory for storing instructions executable by the processor; The processor is configured to read the executable instructions from the memory and execute the instructions to implement the method according to any one of claims 1 to 8.

11. A data processing system for describing an evolution process of a power system, the system comprising: An establishing unit, used for establishing a set table, wherein the set table includes a primary key; the set table includes a case set table and an element set table; The case collection table is associated with the element collection table through a primary key to determine the element corresponding to the case in the case collection table; The element set table includes: a node set table and a component set table; The node set table includes: case number, node number, node name; the case number and node number are primary keys of the node set table; The case collection table includes: case number, case name, and inherited case number; the case number is the primary key of the case collection table; The component set table includes: case number, component number, component category, component name, and belonging component number; the case number and component number are primary keys of the component set table; Establish an information table, the information table includes a primary key; the information table is associated with the set table through the primary key; the data record of the information table includes a time field, an element and attribute information; when the attribute information of the element changes, it is determined whether to add data records to the information table according to a preset update judgment rule; the information table includes: a topology information table, a model parameter information table, a model parameter information table, an operation status information table, and an operation parameter information table; The topology structure information table includes: case number, component number, time, and multiple node numbers; the case number, component number, and time are primary keys of the topology structure information table; The model parameter information table includes: case number, component number, time, model number, and multiple model parameter values; the case number, component number, and time are primary keys of the model parameter information table; The operation status information table includes: case number, component number, time, state switching value, and state switching category; the case number, component number, and time are primary keys of the operation status information table; The operating parameter information table includes: case number, component number, time, operating parameter group number, and multiple operating parameter values; the case number, component number, and time are the primary keys of the operating parameter information table; an acquisition unit is used to determine the target case in the case collection table, and search for the element in the element collection table associated with the target case through the primary key of the case collection table; based on the found element, determine the data record corresponding to the preset time threshold in the information table associated with the element through the primary key in the information table.