Power grid topological graph determination method and device and electronic equipment
The G6 visualization engine generates and displays the grid topology map, which solves the problems of low manual drawing efficiency and poor accuracy, and realizes efficient management and intuitive display of grid planning.
Patent Information
- Application Number
- CN202411621784.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2044-11-14
AI Technical Summary
In the prior art, manual drawing of power grid topology maps is inefficient and prone to inaccuracies, which affects subsequent applications.
The G6 visualization engine receives topology map construction requests, analyzes the requirements information, determines the nodes and lines to be used in the target area, obtains relevant data, and generates and displays the target grid topology map.
It improves the efficiency and accuracy of topology diagrams, realizes intuitive display and efficient management of power grid planning, and improves the efficiency and accuracy of planning work.
Smart Images

Figure CN119578002A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method, device and electronic equipment for determining a power grid topology map. Background Art
[0002] Grid planning, also known as transmission system planning, is based on load forecasting and power equipment planning. It aims to determine when, where and what type of transmission lines or power equipment should be built to meet local transmission needs.
[0003] Usually, the power system topology map is used for power planning. However, in the prior art, the power grid topology map is mainly drawn by the corresponding staff using CAD technology. However, the manual drawing of the topology map not only consumes a lot of manpower and time costs, resulting in low drawing efficiency, but also easily leads to inaccurate drawing problems, thus affecting subsequent applications. Summary of the invention
[0004] The present invention provides a method, device and electronic device for determining a power grid topology map, which realizes the generation and presentation of a target power grid topology map of a target area through a G6 visualization engine, thereby improving the efficiency and accuracy of drawing the topology map.
[0005] According to one aspect of the present invention, a method for determining a power grid topology map is provided, the method comprising:
[0006] Receive a topology map construction request, and parse and process the demand information carried in the topology map construction request to determine a plurality of nodes to be used and at least one line to be used corresponding to the target area, wherein the nodes to be used correspond to the power equipment in the target area, and the lines to be used correspond to the transmission lines connecting the power equipment in the target area;
[0007] Acquire data to be processed under at least one source system, wherein the data to be processed at least includes: node data of the node to be used, line data of the line to be used, and equipment operation data of the power equipment corresponding to the node to be used;
[0008] According to a plurality of nodes to be used, at least one line to be used and data to be processed, the target power grid topology map corresponding to the target area is determined using the G6 visualization engine, and the target power grid topology map is displayed on the target terminal.
[0009] According to another aspect of the present invention, a device for determining a power grid topology diagram is provided, the device comprising:
[0010] An information parsing module is used to receive a topology map construction request, and parse the demand information carried in the topology map construction request to determine a plurality of nodes to be used and at least one line to be used corresponding to the target area, wherein the nodes to be used correspond to the power equipment in the target area, and the lines to be used correspond to the transmission lines connecting the power equipment in the target area;
[0011] A data acquisition module, used to acquire data to be processed under at least one source system, wherein the data to be processed at least includes: node data of the node to be used, line data of the line to be used, and equipment operation data of the power equipment corresponding to the node to be used;
[0012] The topology display module is used to determine the target power grid topology corresponding to the target area based on multiple nodes to be used, at least one line to be used and data to be processed, using the G6 visualization engine, and display the target power grid topology on the target terminal.
[0013] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to at least one processor; wherein,
[0016] The memory stores a computer program that can be executed by at least one processor. The computer program is executed by at least one processor so that the at least one processor can execute the method for determining a power grid topology map according to any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions for enabling a processor to implement the method for determining a power grid topology map according to any embodiment of the present invention when the computer instructions are executed.
[0018] According to another aspect of the present invention, a computer program product is provided, including a computer program, wherein the computer program, when executed by a processor, implements a method for determining a power grid topology map according to any embodiment of the present invention.
[0019] The technical solution of the embodiment of the present invention receives a topology map construction request, and parses and processes the demand information carried by the topology map construction request to determine multiple nodes to be used and at least one line to be used corresponding to the target area. Obtain the data to be processed under at least one source system. According to the multiple nodes to be used, at least one line to be used and the data to be processed, the G6 visualization engine is used to determine the target power grid topology map corresponding to the target area, and the target power grid topology map is displayed on the target terminal. The present invention solves the problems of low drawing efficiency and inaccurate drawing caused by manual drawing of topology maps in the prior art, and realizes the generation and presentation of the target power grid topology map of the target area through the G6 visualization engine, improves the drawing efficiency and accuracy of the topology map, thereby realizing the intuitive display and efficient management of power grid planning, and improving the efficiency and accuracy of planning work.
[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 is a flow chart of a method for determining a power grid topology map provided by an embodiment of the present invention;
[0023] Figure 2 is a flow chart of a method for determining a power grid topology map provided by an embodiment of the present invention;
[0024] Figure 3 It is a structural schematic diagram of a power grid topology determination device provided by an embodiment of the present invention;
[0025] Figure 4 It is a structural schematic diagram of an electronic device for implementing the method for determining a power grid topology map according to an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0028] Embodiment 1
[0029] Figure 1 This is a flowchart of a method for determining a power grid topology provided by the first embodiment of the present invention. This embodiment is applicable to the case where a target power grid topology corresponding to a target area is generated by using the G6 visualization engine. The method can be executed by a power grid topology determination device. The power grid topology determination device can be implemented in the form of hardware and / or software. The power grid topology determination device can be configured in electronic devices such as mobile phones, computers or servers. Figure 1 As shown, the method includes:
[0030] S110: Receive a topology map construction request, and parse and process the demand information carried in the topology map construction request to determine a plurality of to-be-used nodes and at least one to-be-used line corresponding to the target area.
[0031] The nodes to be used correspond to the power equipment in the target area, and the lines to be used correspond to the transmission lines connecting the power equipment in the target area.
[0032] Among them, in the power system, in order to display the connection relationship between the power equipment and the transmission lines in the target area, a topology map construction request is put forward so that the device or system that receives the topology map construction request constructs a topology map based on the power equipment and the transmission lines in the target area. Optionally, the topology map can be a ring network topology map structure diagram of the target area. The demand information carried by the topology map construction request may include multiple nodes to be used and at least one line to be used that need to be displayed in the target area. The target area can be understood as the area where the connection relationship between its power equipment and transmission lines currently needs to be displayed.
[0033] The nodes to be used correspond to the power equipment in the target area. Optionally, the nodes to be used may include key nodes and special focus points at the power grid level of the target area, wherein the key nodes at the power grid level may be equipment that performs important functions, such as substations, transmission towers, etc. Special focus points can be understood as power equipment or transmission lines that require special attention during the operation and maintenance of the power grid in the target area, such as transmission lines that are prone to failure and power equipment in environmentally sensitive areas. At least one line to be used corresponds to a transmission line used to connect various power equipment in the target area. Optionally, the lines to be used may be of multiple types. For example, the lines to be used may be high-voltage transmission lines, low-voltage distribution lines, etc. It should be noted that the lines to be used may be divided into different types according to line voltage levels, line materials, and line uses.
[0034] Specifically, when a topology map construction request is received, the demand information carried in the topology map construction request is parsed and processed to determine multiple nodes to be used and at least one line to be used required to construct the topology map in the target area, so as to determine the edges and nodes required to construct the topology map based on these nodes to be used and lines to be used.
[0035] Optionally, based on multiple nodes to be used and at least one line to be used, a data structure and data format suitable for topological map display can be determined. The data structure generally includes nodes to be used, transmission lines, and corresponding equipment operation data. For example, the equipment operation data may be equipment voltage level, equipment current capacity, etc. The data format may include JSON, XML, etc., which can be parsed by the G6 visualization engine and used to construct a topological map.
[0036] S120. Acquire data to be processed under at least one source system, wherein the data to be processed at least includes: node data of the node to be used, line data of the line to be used, and equipment operation data of the power equipment corresponding to the node to be used.
[0037] Among them, at least one source system may be a data source system related to the data type required to construct the topology map. For example, the source system may include an internal data source system and an external data source system, wherein the internal data source system may include a Supervisory Control And Data Acquisition (SCADA), an asset management system, and a system where historical operation data is located. The external data source system may include a system where meteorological data is located, a Geographic Information System (GIS), and a system where market transaction data is located.
[0038] The data to be processed may include node data of the node to be used, line data of the line to be used, and equipment operation data of the power equipment corresponding to the node to be used. Among them, the node data may include node location data, voltage level, and connection relationship between nodes to be used. Line data may include line location data, line connection relationship, and line length data of the line to be used. Equipment operation data may include fault data, load data, and historical operation data of power equipment. For example, equipment operation data may include the type and model of power equipment and equipment operation status parameters such as current, voltage, and temperature.
[0039] Specifically, according to the data type required to construct the topological map, at least one source system is determined, and the node data of the nodes to be used, the line data of the lines to be used, and the equipment operation data of the power equipment corresponding to the nodes to be used under at least one source system are obtained, waiting for processing data, so as to construct a topological map corresponding to the target area through the data to be processed, the nodes to be used and the lines to be used.
[0040] In an embodiment of the present invention, the method for obtaining the data to be processed may be: based on at least one required data type, obtaining original data from at least one source system, wherein the original data at least includes power grid topology data, load data of power equipment, and fault record data of power equipment; performing data preprocessing on the power grid topology data to obtain node data of the node to be used and line data of the line to be used, and performing data preprocessing on the load data and the fault record data to obtain equipment operation data of the power equipment corresponding to the node to be used; using the node data, line data and equipment operation data as the data to be processed; wherein the data preprocessing includes at least one of data verification processing, data cleaning processing and data format conversion processing.
[0041] Among them, the data type can be understood as the type of original data. The original data may include data of multiple data types. Optionally, the original data includes at least power grid topology data, load data of power equipment, and fault record data of power equipment. The power grid topology data may include node location data corresponding to each power equipment in the power grid and line location data and connection relationship data of the transmission line. The load data of the power equipment can be used to characterize the load conditions borne by the power equipment. Optionally, the load data may include the load size, load type, and load change rate of the power equipment. The fault record data of the power equipment may be understood as various faults and related information that occur during the operation of the power equipment. Optionally, the fault record data may include the fault time, fault type, fault parameters, and fault location of the power equipment.
[0042] Data preprocessing may include one or more of data verification processing, data cleaning data, and data format conversion processing. Data verification processing may be used to check the integrity, consistency, and rationality of the original data. Data cleaning processing may be used to remove duplicate data, correct erroneous data, and fill in missing data in the original data. Data format conversion processing may be used to integrate the original data under at least one source system into a unified format supported by the G6 visualization engine, so as to subsequently construct a topology map.
[0043] Specifically, the data accuracy and data frequency of the required data are determined based on at least one data type of the data required to construct the topology map, as well as the detail level and update requirements of the topology map. At least one source system is determined based on at least one data type, data accuracy, data frequency, etc. The original data such as the power grid topology data, the load data of the power equipment, and the fault record data of the power equipment are obtained from at least one source system. It should be noted that the data accuracy includes the accuracy of the location data and the voltage level data in the required data. The data frequency can be understood as the data frequency of obtaining the data to be processed required to construct the topology map.
[0044] Check the data integrity, consistency and rationality of the power grid topology data, and perform data cleaning processes such as removing duplicate data, correcting erroneous data, and filling missing data on the power grid topology data with problems during the inspection process, and integrate the cleaned power grid topology data into a unified data format to obtain the node data of the nodes to be used and the line data of the lines to be used.
[0045] Perform preliminary verification on the load data and fault record data of the power equipment to check the integrity, consistency and rationality of the load data and fault record data. Perform data cleaning processing such as removing duplicate data, correcting erroneous data, and filling missing data on the load data and fault record data with problems during the verification process, and integrate the cleaned load data and fault record data into a unified data format to obtain equipment operation data. Node data, line data and equipment operation data are used as data to be processed, so as to build a topological map corresponding to the target area based on the data to be processed.
[0046] Exemplarily, the topology map corresponding to the target area is a ring network topology map, that is, a ring group map, as an example for explanation. Determine the data type of the data to be processed required for the ring network group map corresponding to the target area. For example, the data to be processed may include but is not limited to power grid topology data, load data, fault record data, meteorological data, and geographic space data. According to the detail level and update requirements of the ring network group map to be constructed, determine the data accuracy and data frequency of the required data. Select at least one source system according to the data type, data accuracy and data frequency. Among them, the source system may include an internal source system and an external source system. The external source system may be a corresponding database, a log system, or a system to which the operation and maintenance records belong. Establish a data collection mechanism to obtain raw data from at least one source system in the form of online and offline combination. The way to collect raw data online may be to automatically collect raw data through an application programming interface (Application Programming Interface, API), a data crawler, etc. For raw data that cannot be collected automatically, manually collect the corresponding raw data according to the pre-established data collection process and specifications.
[0047] In order to ensure the accuracy and integrity of the original data, the original data is subjected to data verification and data cleaning. That is, in the process of collecting the original data, the original data is preliminarily verified to check the integrity, consistency and rationality of the original data. The original data with problems in the verification process is subjected to data cleaning such as removing duplicate data, correcting erroneous data, and filling in missing data.
[0048] After data cleaning, the raw data under at least one source system is unified into data to be processed in a data format suitable for the G6 visualization engine. For example, the data format suitable for the G6 visualization engine can be in JSON format. The specific method can be: according to the logical relationship between the raw data, the raw data of different data types are associated to form a power grid data set. The raw data is subjected to unit unification, data scaling and other operations through the ETL (Extract, Transform, Load) tool, so that the raw data is converted into data to be processed in a format supported by the G6 visualization engine. For example, taking the raw data as power grid geospatial data as an example, the geospatial data in the geographic information system, such as the coordinates of the power equipment and the terrain of the target area, is converted into data to be processed in a format supported by the G6 visualization engine, such as the format supported by the G6 visualization engine can be SVG, Canvas or WebGL. If the geospatial data is stored in Shapefile format, it may be necessary to convert it into data to be processed in JSON format through geographic information system software or a special conversion tool, and include coordinate information so that the G6 visualization engine can correctly render the location of the power equipment or transmission line.
[0049] Optionally, after obtaining the data to be processed, filtering conditions can be set according to the presentation requirements of the ring network group diagram to filter the data to be processed. For example, the filtering conditions of the region and voltage level can be set to filter out the power equipment or transmission lines in a specific voltage level and a specific area. Optionally, the data to be processed can also be summarized so that it can be displayed in a more intuitive way in the ring network group diagram. Among them, data summary processing can be performed according to dimensions such as region or time.
[0050] Optionally, in order to improve the efficiency and accuracy of topology map generation, the data to be processed can be compressed to reduce the storage space and transmission time of the data to be processed. The data to be processed can be optimized by reducing redundant data and optimizing data structure to improve the rendering speed and interactive function of the subsequent ring network group map. For example, for a large amount of node data, line data and equipment operation data in the data to be processed, the volume of the data to be processed can be reduced by compression algorithm, and indexes can be created in the G6 visualization engine to quickly locate and render the data to be processed at a specific location.
[0051] Optionally, the method further includes regularly backing up the original data and the data to be processed to prevent data loss or damage. Selecting appropriate storage media and storage strategies to ensure the reliability and accessibility of data acquisition and storage.
[0052] S130, based on a plurality of nodes to be used, at least one line to be used and data to be processed, using the G6 visualization engine, determine a target power grid topology map corresponding to the target area, and display the target power grid topology map on a target terminal.
[0053] Among them, the G6 visualization engine can be understood as a graph visualization engine for constructing the target area. The target power grid topology map can be used to characterize the topology map of the connection relationship between power equipment and transmission lines in the target area. Optionally, the target power grid topology map can be a ring network (path) topology structure diagram, which presents the overall structure of the target area power grid in the form of a ring layout, which helps to improve the power supply reliability and stability of the power grid, and facilitates intuitive analysis and management of the operating status and potential problems of the target area power grid. The target terminal can be a pre-set electronic device for displaying the target power grid topology map. For example, the target terminal can be an electronic device such as a mobile phone or a computer.
[0054] Specifically, before using the G6 visualization engine to determine the target power grid topology, the G6 visualization engine can be configured first. This is done by introducing the G6 JavaScript library in the corresponding HTML file. An element is defined in the HTML file and used as the drawing area of the G6 visualization engine. For example, add <div id="graphcontainer"> , and initialize the G6 instance in JavaScript and specify this container as the mount point of the target power grid topology map. And according to actual needs, configure the chart type, layout algorithm and interaction mode that are compatible with the target power grid topology map in the G6 visualization engine, and customize the styles of the nodes and lines to be used to distinguish different types of nodes and lines to be used.
[0055] Import multiple nodes to be used, at least one line to be used, and data to be processed into a pre-configured G6 visualization engine, so as to perform layout processing on the nodes to be used and the lines to be used by using the layout algorithm pre-configured in the G6 visualization engine, and obtain a target power grid topology map corresponding to the target area in combination with the data to be processed. Display the target power grid topology map on the target terminal, so as to monitor and analyze the topology structure, equipment status, power flow, etc. of the target area in real time through the target power grid topology map, so as to perform operations such as power grid planning, fault diagnosis, load management, and optimization of power resource allocation processing.
[0056] Exemplarily, the target power grid topology diagram is a ring network diagram as an example for explanation. The G6 library is introduced into the system to create an HTML container. According to actual needs, the chart type, layout algorithm and interaction mode suitable for the ring network diagram are configured, and the ring layout is selected as the basic layout mode to highlight the characteristics of the ring network structure. The styles of the nodes to be used and the lines to be used are customized to distinguish different types of nodes to be used and lines to be used, and to achieve the purpose of enhancing the visual effect. At least one automatic layout algorithm corresponding to the basic layout mode is configured to automatically adjust the positions of the nodes to be used and the lines to be used based on the automatic layout algorithm according to the relationship between the nodes to be used and the lines to be used, so that the ring network diagram is more natural and easy to understand. Optionally, the automatic layout algorithm may include at least one of a force-directed layout algorithm, a circular layout algorithm and a tree layout algorithm. Based on the above, the configuration of the G6 visualization engine is realized, and the basic capabilities of the G6 visualization engine such as drawing, layout, analysis, interaction and animation are improved. The nodes to be used, the lines to be used and the data to be processed are imported into the pre-configured G6 visualization engine to obtain the ring network diagram corresponding to the target area.
[0057] Optionally, after determining the target power grid topology map corresponding to the target area, the method also includes: evaluating and processing the target power grid topology map based on multiple evaluation dimensions to obtain evaluation attributes under each evaluation dimension, wherein the evaluation dimensions include at least: a topology map loading dimension, a topology map rendering frame rate dimension, and a topology map memory usage dimension; determining the target evaluation dimension based on the evaluation attributes under each evaluation dimension, and determining at least one test case to be used corresponding to the target evaluation dimension; testing and processing the target power grid topology map according to at least one test case to be used to obtain test results, and updating the target power grid topology map based on the test results, and displaying the updated target power grid topology map on the target terminal.
[0058] Among them, the evaluation dimension can be a pre-set dimension for evaluating the performance of the target power grid topology map. The evaluation dimensions include at least: a topology map loading dimension, a topology map rendering frame rate dimension, and a topology map memory usage dimension. The topology map loading dimension can be used to evaluate the target power grid topology map loading time. The topology map rendering frame rate dimension can be used to evaluate the rendering frame rate of the target power grid topology map. The topology map memory usage dimension can be used to evaluate the memory usage of the target power grid topology map. The evaluation attribute can be understood as the evaluation value corresponding to each evaluation dimension. The target evaluation dimension can be an evaluation dimension whose evaluation value exceeds a preset evaluation threshold. The test case to be used can be a test case for testing the target power grid topology map. Each target evaluation dimension can correspond to at least one test case to be used. The test result can be understood as the result obtained by testing the target power grid topology map using the test case to be used. The key factors affecting the performance of the topology map in the target power grid topology map can be determined through the test results.
[0059] Specifically, after obtaining the target power grid topology map corresponding to the target area, the target power grid topology map can also be evaluated and processed according to multiple evaluation dimensions such as the topology map loading dimension, the topology map rendering frame rate dimension, and the topology map memory usage dimension to obtain the evaluation attribute corresponding to each evaluation dimension. The evaluation dimension whose evaluation attribute exceeds the preset evaluation threshold is used as the target evaluation dimension. Determine at least one test case to be used corresponding to the target evaluation dimension, and test the target power grid topology map according to the at least one test case to be used to obtain the test results to determine the key factors affecting the performance of the target power grid topology map. Update the target power grid topology map according to the test results to obtain an updated target power grid topology map. And display the updated target power grid topology map on the target terminal.
[0060] Exemplarily, the target power grid topology diagram is a ring network diagram as an example for explanation. Before the performance test of the ring network diagram is performed according to the test case to be used, a compatibility test can also be performed first, that is, the ring network diagram is tested from at least one compatibility dimension such as browser compatibility, operating system compatibility and device compatibility. For example, the compatibility of the ring network diagram on different versions of mainstream browsers and mobile browsers. Test the display effect and interactive experience of the ring network diagram on electronic devices such as desktop computers, tablet computers and mobile phones.
[0061] Use browser developer tools or other performance development tools to evaluate key performance indicators such as the loading time, rendering frame rate, and memory usage of the ring network group diagram to obtain evaluation results. Write test cases to be used based on the evaluation results. Test the basic functions of the ring network group diagram through the test cases to be used to obtain test results. For example, use the test cases to be used to perform performance tests on the node display, edge connection, layout display, and interactive functions of the ring network group diagram. For example, you can write test cases to be used to simulate the trigger operation of a user clicking a specific button to verify whether the ring network group diagram can be loaded and displayed correctly, and check whether the power equipment appears at the preset position of the ring network group diagram. Optionally, you can use a combination of automation and manual methods to perform the test of the ring network group diagram, that is, use automated testing tools to execute the test cases to be used to improve test efficiency and accuracy. For scenarios that are difficult to cover with automated testing, such as user experience testing, you can test manually. Record the problems found on each browser, operating system, and device in detail, including problem descriptions, screenshots, and reproduction steps. According to the problem records, fix the problems one by one, and perform regression testing to ensure that the problems have been resolved. Write a detailed test report including test scope, test cases, test results, problem records and repair status, etc. for subsequent review and reference.
[0062] According to the test results, the key factors affecting the performance of the ring network diagram are determined, such as the complex connection relationship between nodes and lines, a large amount of data to be processed, and unreasonable layout algorithms, so as to change the configuration of the G6 visualization engine or update the data to be processed through these key factors to obtain an updated ring network diagram.
[0063] For example, for complex connection relationships between nodes and lines, the data structure can be optimized to reduce memory usage by reducing unnecessary nodes or lines. For a large amount of data to be processed, the data to be processed in the visible area or preset area can be loaded asynchronously first, and then the data in other locations or areas in the target area can be loaded according to user operations. For inappropriate layout algorithms, appropriate layout algorithms can be selected according to the characteristics of the ring network group diagram to reduce the overlap between the nodes to be used and the lines to be used, thereby improving layout efficiency. By customizing the rendering logic between the nodes to be used and the lines to be used, unnecessary DOM (Document Object Model) operations can be reduced and rendering performance can be optimized. Optionally, the Canvas rendering method can be used to perform high-performance rendering on some more complex graphics to optimize the rendering of the ring network group diagram. When the position of the node to be used or the line to be used has not changed, the previous rendering results can be directly reused. For data to be processed that requires complex calculations, the calculation results can be cached to avoid repeated calculations. The editing code is optimized, local variables are used, and the use of global variables is reduced to avoid potential naming conflicts and performance issues, while reducing DOM operations.
[0064] Optionally, preset explanatory text information corresponding to each power device in the target area, chart information corresponding to the data to be processed, and the target power grid topology map are displayed on the target terminal in a preset format.
[0065] The preset description text information can be understood as the text description corresponding to the power equipment in the target area. The chart information can be a visual chart constructed based on the data to be processed. The preset format can be a format set according to actual needs. For example, for a target area, a one-station-one-book combined text and picture display format can be formed.
[0066] Specifically, preset explanatory text information corresponding to each power device in the target area, chart information corresponding to the data to be processed, and the target power grid topology map are displayed on the target terminal in a preset format.
[0067] Exemplarily, in combination with the above example, the target power grid topology diagram is taken as an example of a ring network diagram. The ring network diagram, preset explanatory text information, and chart information corresponding to the data to be processed are displayed on the corresponding interface of the target terminal in a one-station-one-book graphic and text display format. It is also possible to plan the network diagram after the new outgoing line and line transformation according to the pre-set one-station-one-book table data, and automatically generate the future state of the network effect.
[0068] In an embodiment of the present invention, after obtaining the target power grid topology map, the method further includes: performing load detection processing on the power equipment in the target area according to the target power grid topology map to obtain the detection result, so as to adjust the power equipment based on the detection result.
[0069] The detection result may be a result obtained after a load detection is performed on the power equipment.
[0070] Specifically, load detection processing is performed on the power equipment in the target area according to the target power grid topology map to obtain detection results, and the detection results are presented in the form of charts to adjust the power equipment in the target area based on the detection results.
[0071] In an embodiment of the present invention, after obtaining the target power grid topology map, the method also includes: performing fault simulation detection on the power equipment in the target area based on the target power grid topology map to obtain simulation results, so that when a power fault in the power equipment is detected, the power equipment can be repaired according to the simulation results.
[0072] The simulation result may be a corresponding processing result when the simulated power equipment encounters a fault.
[0073] Specifically, according to the target power grid topology, the power equipment in the target area is simulated for fault detection, and the corresponding solution to the power equipment fault is determined, that is, the simulation result is obtained. Based on this, when the power equipment encounters the same fault, the power equipment can be repaired according to the simulation result.
[0074] The technical solution of this embodiment receives a topology construction request, and parses and processes the demand information carried by the topology construction request to determine multiple nodes to be used and at least one line to be used corresponding to the target area. Obtain the data to be processed under at least one source system. Based on the multiple nodes to be used, at least one line to be used and the data to be processed, the G6 visualization engine is used to determine the target power grid topology corresponding to the target area, and the target power grid topology is displayed on the target terminal. The present invention solves the problems of low drawing efficiency and inaccurate drawing caused by manual drawing of topology maps in the prior art, and realizes the generation and presentation of the target power grid topology map of the target area through the G6 visualization engine, improves the drawing efficiency and accuracy of the topology map, thereby realizing the intuitive display and efficient management of power grid planning, and improving the efficiency and accuracy of planning work.
[0075] Embodiment 2
[0076] Figure 2 This is a flowchart of a method for determining a power grid topology provided in the second embodiment of the present invention. This embodiment is based on the above embodiment and refines the step of "determining the target power grid topology corresponding to the target area using the G6 visualization engine based on multiple nodes to be used, at least one line to be used, and data to be processed". The specific implementation method can be found in the technical solution of this embodiment. Among them, the technical terms that are the same or corresponding to the above embodiment are not repeated here. Figure 2 As shown, the method includes:
[0077] S210: Receive a topology map construction request, and parse and process the demand information carried in the topology map construction request to determine a plurality of to-be-used nodes and at least one to-be-used line corresponding to the target area.
[0078] The nodes to be used correspond to the power equipment in the target area, and the lines to be used correspond to the transmission lines connecting the power equipment in the target area.
[0079] S220. Acquire data to be processed under at least one source system, wherein the data to be processed at least includes: node data of the node to be used, line data of the line to be used, and equipment operation data of the power equipment corresponding to the node to be used.
[0080] S230: input the data to be processed into a pre-trained target classification model to obtain a classification result, wherein the classification result includes at least one category of the data to be processed.
[0081] The target classification model may be a model for classifying the data to be processed. Optionally, the target classification model may be a classification decision tree. The classification result may be at least one category of data to be processed obtained after classifying the data to be processed.
[0082] Specifically, the data to be processed is input into a pre-trained target classification model, so that the target classification model divides the data to be processed according to the preset classification criteria, and obtains at least one category of data to be processed on the basis of ensuring that each node data, line data and equipment operation data are correctly classified. The data to be processed is classified by the target classification model, and then the target power grid topology map is constructed based on the classified data to be processed. This not only makes the generated ring network diagram clear in structure and reasonable in layout, but also has higher accuracy and readability. At the same time, it also helps to discover potential problems in the data to be processed and improve the overall efficiency of power grid planning and management.
[0083] In an embodiment of the present invention, before using the target classification model to process the data to be processed, the method also includes: determining the characteristic attributes associated with the power grid topology structure based on the data to be processed; constructing a classification model to be trained based on the characteristic attributes and preset classification criteria; obtaining multiple training sample data, wherein the training sample data includes sample node data, sample line data, and sample equipment operation data; and training the classification model to be trained based on the training sample data to obtain a trained target classification model.
[0084] Among them, the characteristic attributes can be used to characterize the characteristics of the data to be processed in a certain aspect. The preset classification criterion can be a pre-selected standard for dividing the data to be processed. Optionally, the preset classification criterion can be an information gain classification criterion. The classification model to be trained can be a classification model determined according to the preset classification criteria and the characteristic attributes, and used to classify the data. The training sample data can be sample data used to train the classification model to be trained. The sample node data may include node location data of the sample node, etc. The sample line data may include line location data, line connection relationship and line length data of the sample line, etc. The sample equipment operation data may include fault data, load data and historical operation data of the sample power equipment, etc.
[0085] Specifically, characteristic attributes associated with the power grid topology are determined according to the data to be processed. A classification model to be trained is constructed according to the characteristic attributes and preset classification criteria. A plurality of training sample data are obtained to train the classification model to be trained using the training sample data, so that when the classification accuracy of the classification model to be trained reaches a preset accuracy threshold, a trained target classification model is obtained.
[0086] Exemplarily, the classification model to be trained and the target classification model are used as the classification decision tree for explanation. The characteristic attributes of the data to be processed are determined to prepare for the subsequent construction of the classification decision tree. The preset classification criterion used to construct the classification decision tree is set as the information gain classification criterion. And the information gain classification criterion is used as the attribute selection metric of the classification decision tree. A classification decision tree is constructed according to the information gain classification criterion and the characteristic attributes. And the classification decision tree is trained using the training sample data. That is, the training sample data is divided into at least one category of data according to the given class labeling training principle. The characteristic attribute with the highest information gain is selected as the splitting attribute of the current classification decision tree node, and the training sample data is divided into at least one category of data according to the value of the splitting attribute to reflect the minimum randomness of the current division. Based on this, the expected number of tests required for a given tuple can be minimized, thereby ensuring that the target classification decision tree is obtained.
[0087] It should be noted that in the process of classifying the training sample data, it is necessary to ensure that the relationship between the classified data does not conflict with the inherent relationship between the training sample data. In other words, it is necessary to ensure that each node data, line data, and equipment operation data in the training sample data can be correctly classified to reduce overfitting. Since there are no abnormal points or error points in the training sample data, the target classification decision tree does not have the problem of overfitting.
[0088] Among them, the following two formulas are needed to determine the information gain in order to accurately divide the training sample data and the subsequent data to be processed.
[0089] Taking a training sample set as an example, the expected information required for classifying the tuples (training sample data) of the training sample set can be determined by the following expected algorithm function.
[0090]
[0091] Among them, p i Indicates that any tuple i in the training sample set D belongs to class C i The probability, p i is through class C i It is estimated by the ratio between the number of occurrences in the training sample set D and the total number of tuples in the training sample set, that is, m represents the number of tuples. Info(D) represents the average amount of information required to identify the class label of a tuple in D, that is, entropy.
[0092] Assume that the tuples in the training sample set D need to be divided according to the feature attribute A, where the feature attribute A has v different values {a1, a2, a3, ..., a v}. Since the feature attribute A is a discrete value, the v values of the feature attribute A correspond to v output results. Using the feature attribute A, the training sample set D is divided into v subsets, {D1, D2, D3, ..., D v}. Among them, D j Contains tuples in the training sample set D, with value a on feature attribute A j These partitions will correspond to the branches generated by node N of the classification decision tree. These partitions may contain tuples from different classes instead of from a single class, so the partitions are not pure.
[0093] Based on the above, in order to obtain accurate classification, it is also necessary to use the classification information algorithm function. The specific formula is as follows:
[0094]
[0095] in, represents the weight of the jth partition, |D j | represents a subset D of the training sample set j The number of tuples in , |D| represents the total number of tuples in the training sample set D. A (D) represents the expected amount of information required to classify the tuples of the training sample set D according to the feature attribute A, where Info A The smaller (D), the purer the division, that is, the more accurate the classification.
[0096] According to the above formula, information gain can be defined as Gain(A)=Info(D)-InfoA (D). The above information gain quantitatively describes how much information is obtained by dividing the feature attribute A. That is, by selecting the feature attribute A with the highest information gain Gain(A) as the splitting attribute of the classification decision tree node N, it is equivalent to minimizing Info A (D).
[0097] Optionally, if the training sample data is Common Information Model (CIM) model data. In the power grid geographic information system platform and distribution automation system application integration module, the incremental update of the system diagram CIM model is generated by a large feeder cascade method. However, since the incremental data of the generated system diagram CIM model is large, the efficiency of generating, transmitting and importing CIM model data is low, so it is necessary to optimize the incremental update scheme of the original system diagram CIM model;
[0098] In addition, CIM data analysis mainly uses ETL data warehouse technology to flexibly configure, schedule and schedule CIM model data files obtained from the Supervisory Control And Data Acquisition (SCADA) and extract, convert and load data in various data formats into a temporary interface library, and then extract from the interface library to the model formal library to provide data support for automatic generation of graphics. Therefore, on this basis, the ring network diagram of the target area can be better determined.
[0099] S240, importing the classification results into the G6 visualization engine, and generating a to-be-rendered power grid topology map corresponding to the target area according to the pre-configured ring layout mode and the corresponding preset layout algorithm in the G6 visualization engine.
[0100] The ring layout method can be understood as constructing the nodes to be used and the lines to be used into a topological diagram of a ring network. The preset layout algorithm can be an algorithm pre-configured in the G6 visualization engine for automatically laying out the nodes to be used and the lines to be used. The position of each node to be used and the lines to be used in the topological diagram of the power grid to be rendered can be determined by the preset layout algorithm. The topological diagram of the power grid to be rendered can be a topological diagram of a ring network constructed according to the ring layout method and the preset layout algorithm.
[0101] Specifically, at least one category of data to be processed is imported into the G6 visualization engine, and the nodes to be used, the lines to be used, and the data to be processed are laid out using the pre-configured ring layout method and the corresponding preset layout algorithm in the G6 visualization engine to obtain a power grid topology map to be rendered corresponding to the target area.
[0102] Exemplarily, at least one category of data to be processed is imported into the G6 visualization engine, and at least one category of data to be processed is sorted and structured to clarify the relationship between the nodes to be used, the lines to be used, and the equipment operation data in the target area. Determine how to map the equipment operation data to visual elements. For example, power equipment in different operating states corresponds to topology map nodes of different shapes and colors, and lines to be used at different voltage levels correspond to topology map edges of different styles. Establish a data interaction mechanism, for example, zoom in and out of the topology map, drag and drop, and query the equipment operation data of a certain node.
[0103] The ring layout method and preset layout algorithm provided by the G6 visualization engine are used to automatically layout the nodes to be used, the lines to be used, and the data to be processed, so as to best display the connection relationship between the power equipment and the transmission lines. It should be noted that the visual effects and information transmission efficiency of the power grid topology maps to be rendered generated by different preset layout algorithms are different. For example, the tree layout algorithm is suitable for data with a clear hierarchical structure and can intuitively display the superior-subordinate relationship. The force-directed layout algorithm can simulate physical gravity and repulsion, allowing nodes to automatically avoid each other, and is suitable for data with complex relationships. The ring layout algorithm arranges the nodes to be used into a ring, highlighting the loop and closed relationship between power equipment.
[0104] For example, the power grid topology diagram to be rendered is used as a ring network diagram to illustrate. If the ring network diagram is constructed in offline mode, the line XML file can be parsed to incorporate the planning one-station-one-book perspective requirements. The traversal, recursion, search tree and other algorithms can be used to achieve automatic generation of the ring network diagram. The one-station-one-book planning table template is defined in the tool, and data is filled in the table and directly imported into the tool to achieve association and fusion of the data to be processed. From a planning perspective, a tree layout algorithm is used to automatically build the ring network diagram.
[0105] Optionally, in the process of constructing the power grid topology map to be rendered, data mining and map coordinate scatter point restoration operations can be performed on the line XML file to extract detailed information of the power equipment or transmission lines in the target area, and these detailed information can be processed and analyzed again to apply the processed detailed information to the construction process of the power grid topology map to be rendered. For example, query the XML file <node>Elements are extracted, their identification and coordinate attributes are extracted, and then this information is used to draw the power grid topology map to be rendered.
[0106] S250, rendering the power grid topology map to be rendered according to at least one power grid planning stage corresponding to the target area and corresponding scene information, obtaining a target power grid topology map, and displaying the target power grid topology map on the target terminal.
[0107] The power grid planning stage can be understood as a stage for planning the target area. The scenario information can be a planning scenario corresponding to the power grid planning stage.
[0108] Specifically, according to at least one grid planning stage corresponding to the target area and the corresponding scene information, the equipment or line detail information related to the grid planning is determined. The grid topology map to be rendered is rendered using the equipment or line detail information to obtain a target grid topology map, and the target grid topology map is displayed on the target terminal.
[0109] Exemplarily, the ring network diagram is taken as an example of the power grid topology diagram to be rendered. According to different stages and scenarios of power grid planning, the ring network diagram is dynamically loaded and rendered. In the initial stage of power grid planning, the ring network diagram only shows the main nodes and lines. As the power grid planning deepens, detailed information is gradually added to the ring network diagram. In addition, user interaction functions are added, such as dragging nodes, scaling the ring network diagram, highlighting key lines, etc. Through interactive operations, users can better understand the changes and potential problems in the power grid structure in the target area. In addition, according to user needs, the nodes corresponding to the nodes to be used in the ring network diagram and the edges corresponding to the lines to be used can be customized, for example, custom node colors, edge widths, and label styles corresponding to nodes.
[0110] The technical solution of this embodiment receives a topology map construction request, and parses and processes the demand information carried by the topology map construction request to determine multiple nodes to be used and at least one line to be used. Obtain the data to be processed under at least one source system. Input the data to be processed into a pre-trained target classification model to obtain a classification result. Import the classification result into the G6 visualization engine, and generate a power grid topology map to be rendered corresponding to the target area according to the pre-configured ring layout method and the corresponding preset layout algorithm in the G6 visualization engine. The data to be processed is classified by the target classification model, and then the target power grid topology map is constructed according to the classified data to be processed, which not only makes the generated ring network group map structure clear and the layout reasonable, but also has higher accuracy and readability. At the same time, it also helps to discover potential problems in the data to be processed and improve the overall efficiency of power grid planning and management. According to at least one power grid planning stage corresponding to the target area and the corresponding scene information, the power grid topology map to be rendered is rendered to obtain the target power grid topology map, and the target power grid topology map is displayed on the target terminal. The present invention solves the problems of low drawing efficiency and inaccurate drawing caused by manual drawing of topology maps in the prior art. The generation and presentation of the target power grid topology map of the target area is realized through the G6 visualization engine, and the drawing efficiency and accuracy of the topology map are improved, thereby realizing the intuitive display and efficient management of power grid planning, and improving the efficiency and accuracy of planning work.
[0111] Embodiment 3
[0112] Figure 3 Schematic diagram of the structure of a power grid topology determination device provided by Embodiment 3 of the present invention. Figure 3 As shown, the device includes: an information parsing module 310 , a data acquisition module 320 and a topology map display module 330 .
[0113] The information parsing module 310 is used to receive a topology map construction request, and parse the demand information carried by the topology map construction request to determine multiple nodes to be used and at least one line to be used corresponding to the target area, wherein the nodes to be used correspond to the power equipment in the target area, and the lines to be used correspond to the transmission lines connecting the power equipment in the target area; the data acquisition module 320 is used to obtain the data to be processed under at least one source system, wherein the data to be processed includes at least: node data of the nodes to be used, line data of the lines to be used, and equipment operation data of the power equipment corresponding to the nodes to be used; the topology map display module 330 is used to determine the target power grid topology map corresponding to the target area based on the multiple nodes to be used, at least one line to be used and the data to be processed, using the G6 visualization engine, and display the target power grid topology map on the target terminal.
[0114] The technical solution of this embodiment receives a topology construction request, and parses and processes the demand information carried by the topology construction request to determine multiple nodes to be used and at least one line to be used corresponding to the target area. Obtain the data to be processed under at least one source system. Based on the multiple nodes to be used, at least one line to be used and the data to be processed, the G6 visualization engine is used to determine the target power grid topology corresponding to the target area, and the target power grid topology is displayed on the target terminal. The present invention solves the problems of low drawing efficiency and inaccurate drawing caused by manual drawing of topology maps in the prior art, and realizes the generation and presentation of the target power grid topology map of the target area through the G6 visualization engine, improves the drawing efficiency and accuracy of the topology map, thereby realizing the intuitive display and efficient management of power grid planning, and improving the efficiency and accuracy of planning work.
[0115] On the basis of the above embodiment, optionally, a data acquisition module is used to acquire original data from at least one source system based on at least one required data type, wherein the original data includes at least power grid topology data, load data of power equipment, and fault record data of power equipment; preprocess the power grid topology data to obtain node data of the node to be used and line data of the line to be used, and preprocess the load data and fault record data to obtain equipment operation data of the power equipment corresponding to the node to be used; use the node data, line data and equipment operation data as data to be processed; wherein the data preprocessing includes at least one of data verification processing, data cleaning processing and data format conversion processing.
[0116] Optionally, the topology display module includes: a data classification unit, used to input the data to be processed into a pre-trained target classification model to obtain a classification result, wherein the classification result includes at least one category of data to be processed; a data layout unit, used to import the classification result into the G6 visualization engine, and generate a to-be-rendered power grid topology map corresponding to the target area according to a pre-configured ring layout method and a corresponding preset layout algorithm in the G6 visualization engine; a topology rendering unit, used to render the to-be-rendered power grid topology map according to at least one power grid planning stage and corresponding scene information corresponding to the target area, to obtain a target power grid topology map.
[0117] Optionally, the device also includes: a classification model determination module, which is used to determine characteristic attributes associated with the power grid topology structure based on the data to be processed; construct a classification model to be trained based on the characteristic attributes and preset classification criteria; obtain multiple training sample data, wherein the training sample data includes sample node data, sample line data, and sample equipment operation data; and train the classification model to be trained based on the training sample data to obtain a trained target classification model.
[0118] Optionally, the device also includes: a topology test module, which is used to evaluate the target power grid topology based on multiple evaluation dimensions to obtain evaluation attributes under each evaluation dimension, wherein the evaluation dimensions include at least: a topology loading dimension, a topology rendering frame rate dimension, and a topology memory usage dimension; based on the evaluation attributes under each evaluation dimension, determine the target evaluation dimension, and determine at least one test case to be used corresponding to the target evaluation dimension; test the target power grid topology according to at least one test case to be used to obtain a test result, and update the target power grid topology based on the test result, and display the updated target power grid topology on the target terminal.
[0119] Optionally, the device also includes: a topology map and information display module, which is used to display the preset descriptive text information corresponding to each power equipment in the target area, the chart information corresponding to the data to be processed, and the target power grid topology map in the target terminal according to a preset format.
[0120] Optionally, the device further includes: a load detection module, which is used to perform load detection processing on the power equipment in the target area according to the target power grid topology map, obtain the detection result, and adjust the power equipment based on the detection result.
[0121] Optionally, the device also includes: an equipment fault simulation module, which is used to perform fault simulation detection on power equipment in the target area based on the target power grid topology map to obtain simulation results, so that when a power fault in the power equipment is detected, the power equipment can be repaired according to the simulation results.
[0122] The power grid topology map determining device provided in the embodiment of the present invention can execute the power grid topology map determining method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0123] Embodiment 4
[0124] Figure 4 1 is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0125] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0126] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0127] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for determining a power grid topology map.
[0128] In some embodiments, the power grid topology map determination method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the power grid topology map determination method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the power grid topology map determination method in any other appropriate manner (e.g., by means of firmware).
[0129] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0130] The computer program for implementing the method for determining the power grid topology diagram of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or the block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0131] Embodiment 5
[0132] Embodiment 5 of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to cause a processor to execute a method for determining a power grid topology map, the method comprising:
[0133] Receive a topology map construction request, and parse and process the demand information carried in the topology map construction request, determine multiple nodes to be used and at least one line to be used corresponding to the target area, wherein the nodes to be used correspond to the power equipment in the target area, and the lines to be used correspond to the transmission lines connecting the power equipment in the target area; obtain data to be processed under at least one source system, wherein the data to be processed at least include: node data of the nodes to be used, line data of the lines to be used, and equipment operation data of the power equipment corresponding to the nodes to be used; determine the target power grid topology map corresponding to the target area according to the multiple nodes to be used, at least one line to be used and the data to be processed, using the G6 visualization engine, and display the target power grid topology map on the target terminal.
[0134] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0135] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0136] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0137] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0138] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0139] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.< / node>
Claims
1. A method for determining a power grid topology map, characterized in that: include: Receive a topology map construction request, and parse and process the demand information carried in the topology map construction request to determine a plurality of nodes to be used and at least one line to be used corresponding to a target area, wherein the nodes to be used correspond to power equipment in the target area, and the lines to be used correspond to transmission lines connecting the power equipment in the target area; Acquire data to be processed under at least one source system, wherein the data to be processed at least includes: node data of the node to be used, line data of the line to be used, and equipment operation data of the power equipment corresponding to the node to be used; According to the plurality of nodes to be used, at least one line to be used and the data to be processed, the target power grid topology map corresponding to the target area is determined using the G6 visualization engine, and the target power grid topology map is displayed on the target terminal.
2. The method according to claim 1, characterized in that The obtaining of the to-be-processed data from at least one source system includes: Acquire raw data from at least one source system according to at least one required data type, wherein the raw data at least includes power grid topology data, load data of the power equipment, and fault record data of the power equipment; Preprocessing the power grid topology data to obtain node data of the node to be used and line data of the line to be used, and preprocessing the load data and the fault record data to obtain equipment operation data of the power equipment corresponding to the node to be used; The node data, the line data and the equipment operation data are used as data to be processed; The data preprocessing includes at least one of data verification processing, data cleaning processing and data format conversion processing.
3. The method according to claim 1, characterized in that: Determining the target power grid topology map corresponding to the target area by using the G6 visualization engine according to the plurality of nodes to be used, at least one line to be used, and the data to be processed includes: Inputting the data to be processed into a pre-trained target classification model to obtain a classification result, wherein the classification result includes at least one category of the data to be processed; Importing the classification result into the G6 visualization engine, and generating a to-be-rendered power grid topology map corresponding to the target area according to the pre-configured ring layout mode and the corresponding preset layout algorithm in the G6 visualization engine; The power grid topology map to be rendered is rendered according to at least one power grid planning stage corresponding to the target area and corresponding scene information to obtain a target power grid topology map.
4. The method according to claim 3, characterized in that The method further comprises: Based on the data to be processed, determining characteristic attributes associated with a power grid topology structure; Constructing a classification model to be trained according to the characteristic attributes and preset classification criteria; Acquire a plurality of training sample data, wherein the training sample data includes sample node data, sample line data, and sample equipment operation data; The classification model to be trained is trained based on the training sample data to obtain a trained target classification model.
5. The method according to claim 1, characterized in that After determining the target power grid topology map corresponding to the target area, the method further includes: The target power grid topology map is evaluated based on multiple evaluation dimensions to obtain evaluation attributes under each evaluation dimension, wherein the evaluation dimensions at least include: a topology map loading dimension, a topology map rendering frame rate dimension, and a topology map memory usage dimension; Determine a target evaluation dimension according to the evaluation attributes under each of the evaluation dimensions, and determine at least one test case to be used corresponding to the target evaluation dimension; The target power grid topology map is tested and processed according to the at least one test case to be used to obtain a test result, and the target power grid topology map is updated based on the test result, and the updated target power grid topology map is displayed on the target terminal.
6. The method according to claim 1, characterized in that Also includes: The preset description text information corresponding to each power device in the target area, the chart information corresponding to the data to be processed, and the target power grid topology map are displayed on the target terminal in a preset format.
7. The method according to claim 1, characterized in that Also includes: Load detection processing is performed on the power equipment in the target area according to the target power grid topology map to obtain a detection result, so as to adjust the power equipment based on the detection result.
8. The method according to claim 1, characterized in that: Also includes: Based on the target power grid topology, fault simulation detection is performed on the power equipment in the target area to obtain simulation results, so that when a power fault of the power equipment is detected, the power equipment can be repaired according to the simulation results.
9. A device for determining a power grid topology, characterized in that: include: An information parsing module is used to receive a topology map construction request, and parse the demand information carried in the topology map construction request to determine a plurality of nodes to be used and at least one line to be used corresponding to a target area, wherein the nodes to be used correspond to power equipment in the target area, and the lines to be used correspond to transmission lines connecting the power equipment in the target area; A data acquisition module, used to acquire data to be processed under at least one source system, wherein the data to be processed at least includes: node data of the node to be used, line data of the line to be used, and equipment operation data of the power equipment corresponding to the node to be used; A topology display module is used to determine the target power grid topology corresponding to the target area based on the multiple nodes to be used, at least one line to be used and the data to be processed, using the G6 visualization engine, and display the target power grid topology on the target terminal.
10. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for determining a power grid topology map according to any one of claims 1 to 8.
Citation Information
Patent Citations
Power grid graph construction method and device based on power grid data, terminal equipment and medium
CN118171424A
Electric power circuit diagram drawing method and device, equipment and storage medium
CN118229823A
Power grid data analysis method, device and equipment and storage medium
CN118394835A
Method and system for automatically generating topological graph of power distribution network
CN118536240A
Power grid structure chart-based power grid optimization method and device
CN118539432A