Network topology correction method and device, equipment, storage medium and program product
By obtaining the initial network topology model and trend data of the power system, using preset correction rules and Kirchoff's law, screening and correcting the data to be corrected in the power system, the problem of inaccurate network topology of the power system is solved, and accurate topology correction and processing measures are achieved.
Patent Information
- Application Number
- CN202510348916.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-24
- Publication Date
- 2025-07-25
AI Technical Summary
The prior art cannot realize automatic correction and reconstruction of power system network topology, resulting in inaccurate or incomplete topology structure.
By obtaining the initial network topology model, initial wiring vector diagram and trend data of the power system, based on preset correction rules and Kirchoff's law, the data to be corrected are selected, and the initial network topology model is corrected to obtain the target network topology model.
Accurate correction of the power system network topology is achieved, ensuring the accuracy and consistency of the topology structure, and providing handling measures for the power system to reduce the impact.
Smart Images

Figure CN120377279A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power systems, and particularly to a method, device, equipment, storage medium and program product for network topology correction. Background Art
[0002] In recent years, with the continuous improvement of the intelligent construction of the power grid, technical applications such as those relying on the topological structure of the power system have become increasingly widespread, which has put forward higher requirements for the accuracy of the power grid topology.
[0003] Due to reasons such as equipment updates, renovations, and changes in the power grid structure, the plant station diagram model may be inaccurate or incomplete, that is, there are inaccuracies in the initial power system topology.
[0004] Currently, the method of judging whether the network topology is normal by means of power flow convergence is adopted, and there is no way to automatically correct and reconstruct the network topology. Summary of the Invention
[0005] Based on this, in view of the above technical problems, it is necessary to provide a method, device, equipment, storage medium and program product for network topology correction, which can accurately correct the network topology of the power system.
[0006] In a first aspect, the present application provides a method for network topology correction, the method comprising:
[0007] Obtain the initial network topology model and initial wiring vector diagram of the power system, as well as the power flow data of the power system in the target period;
[0008] Based on the power flow data, determine the data to be corrected of the power system from the initial network topology model and the initial wiring vector diagram;
[0009] Based on the data to be corrected, correct the initial network topology model to obtain the target network topology model of the power system.
[0010] In one embodiment, determining the data to be corrected of the power system from the initial network topology model and the initial wiring vector diagram based on the power flow data includes:
[0011] Obtain the device data of the power system from the initial network topology model and the initial wiring vector diagram; wherein, the device data includes the attribute data of each power device and / or the physical connection data between each power device; based on the power flow data and a preset correction rule, screen out the data to be corrected of the power system from the device data.
[0012] In one embodiment, screening out the data to be corrected of the power system from the device data based on the power flow data and a preset correction rule includes:
[0013] Based on the naming rules in the preset correction rules, the attribute data that does not conform to the naming rules is screened out from the attribute data of each power device as the first data to be corrected; based on the power flow data and the connection rules in the preset correction rules, the physical connection data that does not conform to the connection rules is screened out from the physical connection data between each power device as the second data to be corrected.
[0014] In one embodiment, based on the power flow data and the connection rules in the preset correction rules, screening out the physical connection data that does not conform to the connection rules from the physical connection data between each power device as the second data to be corrected includes:
[0015] Based on the connection rules in the preset correction rules, screening out the physical connection data that does not conform to the connection rules from the physical connection data between each power device as the intermediate data to be corrected; based on the power flow data and the intermediate data to be corrected, reasoning about the physical connection relationship between each power device according to Kirchhoff's law to obtain the second data to be corrected.
[0016] In one embodiment, after correcting the initial network topology model based on the data to be corrected to obtain the target network topology model of the power system, the method further includes:
[0017] Based on the initial network topology model and the target network topology model, determining the correction level of the power system; based on the correction level, outputting the processing measures of the power system.
[0018] In one embodiment, it includes:
[0019] Updating the preset correction rules based on the target network topology model of the power system.
[0020] In a second aspect, the present application also provides a network topology correction device, which includes:
[0021] An acquisition module, configured to acquire the initial network topology model, the initial wiring vector diagram of the power system, and the power flow data of the power system at the target time period;
[0022] A determination module, configured to determine the data to be corrected of the power system from the initial network topology model and the initial wiring vector diagram based on the power flow data;
[0023] A correction module, configured to correct the initial network topology model based on the data to be corrected to obtain the target network topology model of the power system.
[0024] In a third aspect, the present application also provides a computer device, including a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0025] Obtain the initial network topology model of the power system, the initial wiring vector diagram, and the power flow data of the power system in the target period;
[0026] Based on the power flow data, determine the data to be corrected in the power system from the initial network topology model and the initial wiring vector diagram;
[0027] Based on the data to be corrected, correct the initial network topology model to obtain the target network topology model of the power system.
[0028] Fourthly, the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0029] Obtain the initial network topology model of the power system, the initial wiring vector diagram, and the power flow data of the power system in the target period;
[0030] Based on the power flow data, determine the data to be corrected in the power system from the initial network topology model and the initial wiring vector diagram;
[0031] Based on the data to be corrected, correct the initial network topology model to obtain the target network topology model of the power system.
[0032] Fifthly, the present application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0033] Obtain the initial network topology model of the power system, the initial wiring vector diagram, and the power flow data of the power system in the target period;
[0034] Based on the power flow data, determine the data to be corrected in the power system from the initial network topology model and the initial wiring vector diagram;
[0035] Based on the data to be corrected, correct the initial network topology model to obtain the target network topology model of the power system.
[0036] The above network topology correction method, device, equipment, storage medium and program product provide a data premise for obtaining the change data of the power system topology by acquiring the initial network topology model, initial wiring vector diagram of the power system, and the power flow data of the power system in the target period; further, based on the power flow data, the data to be corrected of the power system can be determined from the initial network topology model and the initial wiring vector diagram, providing a basis for accurately implementing topology correction; furthermore, based on the data to be corrected, the initial network topology model can be corrected to obtain the target network topology model of the power system. This solution provides a basis for obtaining the data of the initial topology structure of the power system by introducing the initial network topology model and the initial wiring vector diagram; moreover, by introducing the power flow data, it provides a way of thinking for determining the data of the topology structure of the power system in the target period, and finally, accurately corrects the network topology of the power system. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for use in the description of the embodiments or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0038] Figure 1 It is an application environment diagram of a network topology correction method provided in an embodiment of the present application;
[0039] Figure 2 It is a flowchart showing the process of a network topology correction provided in an embodiment of the present application;
[0040] Figure 3 It is a flowchart showing the process of determining the data to be corrected provided in an embodiment of the present application;
[0041] Figure 4 It is a flowchart showing the process of determining the correction level provided in an embodiment of the present application;
[0042] Figure 5 It is a flowchart showing the process of another network topology correction method provided in an embodiment of the present application;
[0043] Figure 6 It is a structural block diagram of a network topology correction device provided in an embodiment of the present application;
[0044] Figure 7 It is a structural block diagram of another network topology correction device provided in an embodiment of the present application;
[0045] Figure 8It is an internal structure diagram of a computer device provided in an embodiment of the present application. Detailed implementation manners
[0046] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0047] The network topology correction method provided in the embodiment of the present application can be applied to, for example Figure 1 the application environment shown in the figure. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or can be placed in the cloud or other network servers. The initial network topology model, the initial wiring vector diagram and the power flow data of the power system can all be stored in the data storage system. Furthermore, the server 104 can directly obtain the initial network topology model, the initial wiring vector diagram of the power system, and the power flow data of the power system at the target time period from the data storage system. Further, the server 104 can determine the data to be corrected of the power system from the initial network topology model and the initial wiring vector diagram based on the power flow data, and correct the initial network topology model based on the data to be corrected to obtain the target network topology model of the power system, and can display the target network topology model through the terminal 102 for technicians to refer to. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptop computers, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. The portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented by an independent server or a server cluster composed of multiple servers.
[0048] In an exemplary embodiment, as Figure 2 shown, a network topology correction method is provided. Taking the method applied to Figure 1 the server 104 in the figure as an example, it may include the following steps:
[0049] S201, obtain the initial network topology model, the initial wiring vector diagram of the power system, and the power flow data of the power system at the target time period.
[0050] Among them, the initial network topology model can represent the connection mode and organizational structure of each power device in the power system during initial design and construction; the initial wiring vector diagram can represent information such as the connection relationship, signal flow direction, and power supply configuration among the power devices in the power monitoring system; the power flow data can represent the steady-state distribution of voltage and power in the power system, and can include information such as the voltage amplitude and phase angle of each node in the power system, and the active power and reactive power of each branch.
[0051] Exemplarily, the server 104 can directly obtain the initial network topology model, the initial wiring vector diagram of the power system, and the power flow data of the power system during the target period from the data storage system through a communication module or a communication link.
[0052] S202, based on the power flow data, determine the data to be corrected in the power system from the initial network topology model and the initial wiring vector diagram.
[0053] Among them, the data to be corrected can represent the data that needs to be corrected in the initial network topology model, such as the power devices that need to be corrected, and the physical connection relationship between the power-related devices, etc.
[0054] Exemplarily, data such as nodes, connection edges, and logical relationships can be parsed from the initial network topology model first, and graphic elements such as device symbols, connection lines, and vector arrows can be parsed from the initial wiring vector diagram; further, based on the power flow data, the hierarchical relationships of each node and each branch in the power system can be analyzed; finally, based on the analysis results of the power flow data, the data parsed from the initial network topology model and the initial wiring vector diagram are compared, and the data that does not conform to the analysis results of the power flow data is determined as the data to be corrected in the power system.
[0055] S203, based on the data to be corrected, correct the initial network topology model to obtain the target network topology model of the power system.
[0056] Exemplarily, the data to be corrected can be compared with the initial network topology model to identify the change points in the network structure, such as the addition and deletion of power devices and the change of connection relationships, etc.; further, according to the data to be corrected, the device information of the power devices in the initial network topology model can be updated, such as the name, model, and status of the devices, and according to the change of the connection relationship in the data to be corrected, the connection edges in the initial network topology model can be adjusted to ensure that the new connection relationship is consistent with the data to be corrected, and finally, the target network topology model reflecting the current connection layout of the power system is obtained.
[0057] The above network topology correction method provides a data premise for obtaining the change data of the power system topology by acquiring the initial network topology model, the initial wiring vector diagram of the power system, and the power flow data of the power system during the target period. Further, based on the power flow data, the data to be corrected in the power system can be determined from the initial network topology model and the initial wiring vector diagram, providing a basis for accurately implementing topology correction. Furthermore, based on the data to be corrected, the initial network topology model can be corrected to obtain the target network topology model of the power system. This solution provides a basis for obtaining the data of the initial topology structure of the power system by introducing the initial network topology model and the initial wiring vector diagram. Moreover, by introducing the power flow data, it provides a way to determine the data of the topology structure of the power system during the target period. Finally, the accurate correction of the network topology of the power system is realized.
[0058] Based on the above embodiments, the embodiments of the present application further explain the above embodiment S202 in detail. Specifically, the process of determining the data to be corrected in the embodiments of the present application is as follows Figure 3 shown, and specifically includes the following steps:
[0059] S301, Obtain the device data of the power system from the initial network topology model and the initial wiring vector diagram.
[0060] Among them, the device data may include, but is not limited to, the attribute data of each power device and / or the physical connection data between each power device.
[0061] Exemplarily, for the initial network topology model represented by a graph, image processing or pattern recognition technology can be used to identify information such as power device nodes and connection edges. For the initial network topology model represented by a database, the database can be directly queried to obtain information such as power device nodes and connection edges. And, electrical parameters related to power devices (such as the rated voltage, rated current, and power factor of power devices) and connection states (such as the voltage level and phase of connection points) can be extracted from the initial wiring vector diagram through image processing, pattern recognition, or database query technology. Furthermore, the parsed power device nodes can be matched with the extracted wiring vector diagram to obtain complete device data.
[0062] Optionally, during the data matching process, unique identifiers such as device names, models, and locations can be used to ensure the accuracy of the data.
[0063] S302, Based on the power flow data and the preset correction rules, screen out the data to be corrected in the power system from the device data.
[0064] Among them, the data to be corrected includes the first data to be corrected and the second data to be corrected.
[0065] Exemplarily, the power flow data and device data can be input into a correction model, which analyzes and compares the power flow data and device data, and determines the data to be corrected in the power system from the device data; optionally, the correction model includes preset correction rules, and the correction model can analyze the device data based on the preset correction rules.
[0066] In an implementable manner, based on the naming rules in the preset correction rules, the attribute data that does not conform to the naming rules is screened out from the attribute data of each power device as the first data to be corrected; based on the power flow data and the connection rules in the preset correction rules, the physical connection data that does not conform to the connection rules is screened out from the physical connection data between each power device as the second data to be corrected.
[0067] Exemplarily, according to the naming rules in the preset correction rules, the attribute data of each power device can be checked to screen out the attribute data that does not conform to the naming rules, that is, the first data to be corrected. For example, the naming rules include double naming methods (such as Chinese characters + numbers), character specifications (such as no spaces, backslashes, single quotes, double quotes, percentage signs, etc.), Roman numerals, and prohibited characters (such as it is strictly prohibited to use "#" instead of the Chinese character "number"), etc.; and, according to the power flow data, data such as the voltage amplitude and phase angle of each node in the power system can be determined to judge the connection relationship between each node. Further, in combination with the connection rules in the preset correction rules, the physical connection data between each power device can be analyzed and judged, and the physical connection data that does not conform to the connection relationship and connection rules between each node is screened out, that is, the second data to be corrected.
[0068] Optionally, based on the connection rules in the preset correction rules, the physical connection data that does not conform to the connection rules is screened out from the physical connection data between each power device as the intermediate data to be corrected; based on the power flow data and the intermediate data to be corrected, the physical connection relationship between each power device is inferred according to Kirchhoff's law to obtain the second data to be corrected.
[0069] It should be noted that the connection relationship between power devices (such as generators, transformers, circuit breakers, and instrument transformers, etc.) and the main circuit of power devices (such as each distribution circuit, etc.) is connected in accordance with a certain law or order. Correspondingly, the connection rules in the preset correction rules follow the connection relationship between power devices and the main circuit of power devices; Kirchhoff's law includes Kirchhoff's current law and Kirchhoff's voltage law. Kirchhoff's current law: At any moment, for any node in the circuit, the algebraic sum of the currents passing through this node is always equal to zero; Kirchhoff's voltage law: At any moment, along any closed loop in the circuit, the algebraic sum of the voltages on each section of the circuit is always equal to zero.
[0070] In the embodiments of the present application, by introducing device data including the attribute data of each power device and / or the physical connection data between each power device, a data basis is provided for determining the data to be corrected; and by introducing power flow data and preset correction rules, a judgment basis is provided for screening out the data to be corrected.
[0071] Based on the above embodiments, the embodiments of the present application relate to the process after obtaining the target network topology model, such as Figure 4 shown, which specifically includes the following steps:
[0072] S401, based on the initial network topology model and the target network topology model, determine the correction level of the power system.
[0073] Among them, the correction level can represent the update degree of the topological structure of the power system; optionally, the correction level can include level one, level two, and level three. The level one correction level indicates that the topological structure of the power system changes greatly and involves many power devices. The level two correction level indicates that the topological structure of the power system changes relatively greatly and involves more power devices. The level three correction level indicates that the topological structure of the power system changes relatively little and involves fewer power devices.
[0074] Exemplarily, the initial network topology model and the target network topology model can be compared to determine the power devices to be corrected and the connection relationships between the power devices, and determine the number of correction operations; further, the correction level of the power system can be determined according to the ratio of the number of correction operations to the number of devices of the total power devices in the power system; optionally, the correction level can be mapped to the range of the ratio, such as level three: ratio < b, level two: b <= ratio < c, level one: c <= ratio, where c > b.
[0075] Optionally, based on the target network topology model of the power system, update the preset correction rules.
[0076] Exemplarily, the target network topology model can be analyzed, and the regulations that are outside the preset correction rules and are prone to errors can be updated into the preset correction rules to enhance the update effect on the network topology model.
[0077] S402, based on the correction level, output the processing measures for the power system.
[0078] Optionally, the processing measures can include but are not limited to adjusting device operation parameters, replacing damaged components, adjusting circuits, emergency repair, and strengthening inspections, etc.
[0079] Exemplarily, based on the correction level, the severity and urgency of the power system topology change can be determined to output corresponding levels of processing measures, achieving accurate and effective processing, minimizing the impact on the power system, and ensuring the safety and stability of power supply.
[0080] In the embodiments of the present application, by introducing the correction level, a foundation is laid for judging the degree of power system topology update, and finally precise processing measures are taken.
[0081] Based on the above embodiments, this embodiment provides an optional example of a network topology correction method. As Figure 5 shown, the specific implementation process is as follows:
[0082] S501, Obtain the initial network topology model of the power system, the initial wiring vector diagram, and the power flow data of the power system at the target time period.
[0083] S502, Obtain the device data of the power system from the initial network topology model and the initial wiring vector diagram.
[0084] Among them, the device data includes the attribute data of each power device and / or the physical connection data between each power device.
[0085] S503, Based on the naming rules in the preset correction rules, screen out the attribute data that does not conform to the naming rules from the attribute data of each power device as the first data to be corrected.
[0086] S504, Based on the connection rules in the preset correction rules, screen out the physical connection data that does not conform to the connection rules from the physical connection data between each power device as the intermediate data to be corrected.
[0087] S505, Based on the power flow data and the intermediate data to be corrected, infer the physical connection relationship between each power device according to Kirchhoff's law to obtain the second data to be corrected.
[0088] S506, Based on the first data to be corrected and the second data to be corrected, correct the initial network topology model to obtain the target network topology model of the power system.
[0089] The specific processes of the above S501 - S506 can refer to the description of the above method embodiments, and their implementation principles and technical effects are similar, so they will not be elaborated here.
[0090] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially shown according to the indications of the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless there is a clear indication in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0091] Based on the same inventive concept, an embodiment of the present application further provides a network topology correction device for implementing the above-mentioned network topology correction method. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the network topology correction device provided below can refer to the limitations on the network topology correction method in the above text, and will not be repeated here.
[0092] In an exemplary embodiment, as Figure 6 shown, a network topology correction device 1 is provided, including: an acquisition module 10, a determination module 20, and a correction module 30, where:
[0093] The acquisition module 10 is configured to acquire an initial network topology model of the power system, an initial wiring vector diagram, and power flow data of the power system during a target period.
[0094] The determination module 20 is configured to determine the data to be corrected of the power system from the initial network topology model and the initial wiring vector diagram based on the power flow data.
[0095] The correction module 30 is configured to correct the initial network topology model based on the data to be corrected to obtain a target network topology model of the power system.
[0096] In an embodiment, as Figure 7 shown, the determination module 20 specifically further includes:
[0097] The data acquisition unit 21 is configured to acquire device data of the power system from the initial network topology model and the initial wiring vector diagram; where the device data includes attribute data of each power device and / or physical connection data between each power device.
[0098] The data screening unit 22 is configured to screen out the data to be corrected of the power system from the device data based on the power flow data and a preset correction rule.
[0099] In one embodiment, the data screening unit 22 is further specifically configured to:
[0100] Based on the naming rules in the preset correction rules, screen out the attribute data that does not conform to the naming rules from the attribute data of each power device as the first data to be corrected; based on the power flow data and the connection rules in the preset correction rules, screen out the physical connection data that does not conform to the connection rules from the physical connection data between each power device as the second data to be corrected.
[0101] In one embodiment, the data screening unit 22 is further specifically configured to:
[0102] Based on the connection rules in the preset correction rules, screen out the physical connection data that does not conform to the connection rules from the physical connection data between each power device as the intermediate data to be corrected; based on the power flow data and the intermediate data to be corrected, infer the physical connection relationship between each power device according to Kirchhoff's law to obtain the second data to be corrected.
[0103] In one embodiment, the network topology correction device 1 further specifically includes:
[0104] A processing module, configured to determine the correction level of the power system based on the initial network topology model and the target network topology model; and output the processing measures of the power system based on the correction level.
[0105] In one embodiment, the network topology correction device 1 further specifically includes:
[0106] A rule update module, configured to update the preset correction rules based on the target network topology model of the power system.
[0107] Each module in the above network topology correction device can be implemented in whole or in part by software, hardware, and their combination. Each of the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory of the computer device in the form of software, so as to facilitate the processor to call and execute the operations corresponding to each of the above modules.
[0108] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as Figure 8As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store power system data. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals through a network connection. The computer program, when executed by the processor, implements a network topology correction method.
[0109] Those skilled in the art can understand that Figure 8 the structure shown in is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0110] In an exemplary embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the following steps are implemented:
[0111] Obtain the initial network topology model, the initial wiring vector diagram of the power system, and the power flow data of the power system during the target period;
[0112] Based on the power flow data, determine the data to be corrected of the power system from the initial network topology model and the initial wiring vector diagram;
[0113] Based on the data to be corrected, correct the initial network topology model to obtain the target network topology model of the power system.
[0114] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0115] Obtain the device data of the power system from the initial network topology model and the initial wiring vector diagram; where the device data includes the attribute data of each power device and / or the physical connection data between each power device; based on the power flow data and the preset correction rules, screen out the data to be corrected of the power system from the device data.
[0116] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0117] Based on the naming rules in the preset correction rules, the attribute data that does not conform to the naming rules is screened out from the attribute data of each power device as the first data to be corrected; based on the power flow data and the connection rules in the preset correction rules, the physical connection data that does not conform to the connection rules is screened out from the physical connection data between each power device as the second data to be corrected.
[0118] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0119] Based on the connection rules in the preset correction rules, the physical connection data that does not conform to the connection rules is screened out from the physical connection data between each power device as the intermediate data to be corrected; based on the power flow data and the intermediate data to be corrected, the physical connection relationship between each power device is inferred according to Kirchhoff's law to obtain the second data to be corrected.
[0120] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0121] Based on the initial network topology model and the target network topology model, the correction level of the power system is determined; based on the correction level, the processing measures of the power system are output.
[0122] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0123] Based on the target network topology model of the power system, the preset correction rules are updated.
[0124] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0125] Obtain the initial network topology model, the initial wiring vector diagram of the power system, and the power flow data of the power system at the target time period;
[0126] Based on the power flow data, the data to be corrected of the power system is determined from the initial network topology model and the initial wiring vector diagram;
[0127] Based on the data to be corrected, the initial network topology model is corrected to obtain the target network topology model of the power system.
[0128] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:
[0129] Obtain the device data of the power system from the initial network topology model and the initial wiring vector diagram; wherein, the device data includes the attribute data of each power device and / or the physical connection data between each power device; based on the power flow data and the preset correction rules, screen out the data to be corrected in the power system from the device data.
[0130] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:
[0131] Based on the naming rules in the preset correction rules, screen out the attribute data that does not conform to the naming rules from the attribute data of each power device as the first data to be corrected; based on the power flow data and the connection rules in the preset correction rules, screen out the physical connection data that does not conform to the connection rules from the physical connection data between each power device as the second data to be corrected.
[0132] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:
[0133] Based on the connection rules in the preset correction rules, screen out the physical connection data that does not conform to the connection rules from the physical connection data between each power device as the intermediate data to be corrected; based on the power flow data and the intermediate data to be corrected, infer the physical connection relationship between each power device according to Kirchhoff's law to obtain the second data to be corrected.
[0134] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:
[0135] Based on the initial network topology model and the target network topology model, determine the correction level of the power system; based on the correction level, output the processing measures of the power system.
[0136] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:
[0137] Update the preset correction rules based on the target network topology model of the power system.
[0138] In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by the processor, the following steps are implemented:
[0139] Obtain the initial network topology model, the initial wiring vector diagram of the power system, and the power flow data of the power system at the target time period;
[0140] Based on the power flow data, determine the data to be corrected in the power system from the initial network topology model and the initial wiring vector diagram;
[0141] Based on the data to be corrected, the initial network topology model is corrected to obtain the target network topology model of the power system.
[0142] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:
[0143] Obtain the device data of the power system from the initial network topology model and the initial wiring vector diagram; wherein, the device data includes the attribute data of each power device and / or the physical connection data between each power device; based on the power flow data and the preset correction rules, screen out the data to be corrected of the power system from the device data.
[0144] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:
[0145] Based on the naming rules in the preset correction rules, screen out the attribute data that does not conform to the naming rules from the attribute data of each power device as the first data to be corrected; based on the power flow data and the connection rules in the preset correction rules, screen out the physical connection data that does not conform to the connection rules from the physical connection data between each power device as the second data to be corrected.
[0146] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:
[0147] Based on the connection rules in the preset correction rules, screen out the physical connection data that does not conform to the connection rules from the physical connection data between each power device as the intermediate data to be corrected; based on the power flow data and the intermediate data to be corrected, infer the physical connection relationship between each power device according to Kirchhoff's law to obtain the second data to be corrected.
[0148] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:
[0149] Based on the initial network topology model and the target network topology model, determine the correction level of the power system; based on the correction level, output the processing measures of the power system.
[0150] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:
[0151] Based on the target network topology model of the power system, update the preset correction rules.
[0152] It should be noted that the information (including but not limited to device information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data that have been fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.
[0153] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memories can include read-only memory (ROM), magnetic tapes, floppy disks, flash memories, optical memories, high-density embedded non-volatile memories, resistive random access memories (ReRAM), magnetoresistive random access memories (MRAM), ferroelectric random access memories (FRAM), phase change memories (PCM), graphene memories, etc. Volatile memories can include random access memory (RAM) or external cache memories, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.
[0154] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0155] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims
1. A network topology correction method, characterized in that, The method includes: Obtaining an initial network topology model and an initial wiring vector diagram of a power system, as well as power flow data of the power system during a target period; Based on the power flow data, determining the data to be corrected in the power system from the initial network topology model and the initial wiring vector diagram; Based on the data to be corrected, correcting the initial network topology model to obtain a target network topology model of the power system.
2. The method according to claim 1, wherein The determining the data to be corrected in the power system from the initial network topology model and the initial wiring vector diagram based on the power flow data includes: Obtaining device data of the power system from the initial network topology model and the initial wiring vector diagram; wherein the device data includes attribute data of each power device and / or physical connection data between each power device; Based on the power flow data and a preset correction rule, screening out the data to be corrected in the power system from the device data.
3. The method according to claim 2, characterized in that, The data to be corrected includes first data to be corrected and second data to be corrected; The screening out the data to be corrected in the power system from the device data based on the power flow data and a preset correction rule includes: Based on a naming rule in the preset correction rule, screening out attribute data that does not conform to the naming rule from the attribute data of each power device as the first data to be corrected; Based on the power flow data and a connection rule in the preset correction rule, screening out physical connection data that does not conform to the connection rule from the physical connection data between each power device as the second data to be corrected.
4. The method according to claim 3, wherein The screening out physical connection data that does not conform to the connection rule from the physical connection data between each power device based on the power flow data and the connection rule in the preset correction rule as the second data to be corrected includes: Based on the connection rule in the preset correction rule, screening out physical connection data that does not conform to the connection rule from the physical connection data between each power device as intermediate data to be corrected; Based on the power flow data and the intermediate data to be corrected, reasoning about the physical connection relationship between each power device according to Kirchhoff's law to obtain the second data to be corrected.
5. The method according to claim 1, characterized in that, After the correcting the initial network topology model based on the data to be corrected to obtain a target network topology model of the power system, the method further includes: Determining a correction level of the power system based on the initial network topology model and the target network topology model; Based on the correction level, outputting a processing measure for the power system.
6. The method according to any one of claims 2-4, characterized in that The method further includes: Updating the preset correction rule based on the target network topology model of the power system.
7. A network topology correction device, characterized in that, The device includes: An obtaining module, configured to obtain an initial network topology model and an initial wiring vector diagram of a power system, as well as power flow data of the power system during a target period; A determining module, configured to determine the data to be corrected in the power system from the initial network topology model and the initial wiring vector diagram based on the power flow data; A correction module, configured to correct the initial network topology model based on the data to be corrected, so as to obtain the target network topology model of the power system.
8. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Self-correction method and device of network topology, electronic equipment and storage medium
CN121217584A