Power grid distribution network grid topology construction method based on matching holographic data model
By using a holographic data model of power distribution and utilization, the graphical data of the power grid PMS system is transformed into topological data. The topological map of the power grid distribution network is constructed using graph databases and 3D technology, which solves the problem of low efficiency in power grid equipment management in existing technologies and achieves efficient operation and maintenance management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GLOBAL ENERGY INTERCONNECTION RES INST CO LTD
- Filing Date
- 2022-11-16
- Publication Date
- 2026-06-05
AI Technical Summary
In the current management of power grid equipment, using relational databases to store ledger data and graphical data is inefficient, difficult to maintain, and makes it difficult to achieve efficient correlation analysis.
By adopting a holographic data model based on power distribution, the graphical data of the power grid PMS system is transformed into topological data. The graph database is used to identify substation nodes and tower nodes. The sag line segment function is constructed through sag-related parameters, and the overhead line curves are drawn to form the power grid distribution network topology map.
It improves the efficiency and visualization capabilities of power grid equipment management, enhances the level of operation and maintenance management, and solves the problem of low efficiency in existing technologies.
Smart Images

Figure CN115730410B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power grid topology, and more particularly to a method for constructing a power grid distribution network topology based on a holographic data model of power distribution and consumption. Background Technology
[0002] As the scale of power grid equipment grows year by year, the complexity of the equipment and the requirements for technical levels have increased dramatically, leading to a major contradiction: the mismatch between equipment management needs and the number and capabilities of technical personnel. Therefore, it is crucial to conduct research on technologies related to power grid digital twin scenarios, promote the sharing and maintenance of distribution network digital resources and multi-dimensional spatial data simulation, improve the intelligent management and control level of active distribution networks, and promote the integrated application of energy and digital technologies.
[0003] In general, relational databases (such as Oracle databases) are used in power grid business systems to store ledger data and graphical data. When performing correlation analysis, it is necessary to parse related columns of multiple tables and perform matching processing, which is inefficient and cumbersome to maintain. Summary of the Invention
[0004] In view of this, in order to solve the above-mentioned technical problems or some of the technical problems, the present invention provides a method for constructing the power grid distribution network topology based on a power distribution holographic data model.
[0005] In a first aspect, embodiments of the present invention provide a method for constructing the topology of a power grid distribution network based on a holographic data model of power distribution and consumption, comprising:
[0006] Obtain graphical data of multiple power grid devices in the power grid PMS system, convert the graphical data into topology data, and write the topology data into a graph database;
[0007] Based on the graph database, substation nodes and multiple tower nodes with interconnected relationships among multiple power grid devices are identified;
[0008] Sag-related parameters are determined based on the distance between each pair of adjacent towers in the plurality of tower nodes, and a sag segment function is constructed based on the sag-related parameters;
[0009] Based on the sag line segment function, the overhead line curve between each pair of adjacent towers is plotted to obtain the power grid distribution network topology.
[0010] In one possible implementation, the method further includes:
[0011] The connection relationship information of multiple power grid devices is obtained from the graphical data to obtain topology data, wherein the topology data includes the connection attribute information corresponding to each power grid device;
[0012] The topology data is written into the graph database through the target interface.
[0013] In one possible implementation, the method further includes:
[0014] Based on the connection attribute information corresponding to each power grid device, obtain the first connection attribute value of the substation node among multiple power grid devices;
[0015] Based on the first connection attribute value of the substation node, the second connection attribute values of other tower nodes in multiple power grid devices are traversed.
[0016] Tower nodes whose second connection attribute value is the same as the first connection attribute value are considered as tower nodes that have a connection relationship with the substation nodes corresponding to the first connection attribute value.
[0017] In one possible implementation, the method further includes:
[0018] Based on topological data, determine the latitude and longitude coordinates corresponding to each pair of adjacent towers;
[0019] Based on the latitude and longitude coordinates corresponding to each pair of adjacent towers, the sag-related parameters are calculated using the first formula, which is:
[0020]
[0021] In the formula, h is the sag height, the latitude and longitude coordinates of two adjacent towers are (Lng1, Lat1) and (Lng2, Lat2) respectively, s is the number of segments into which the sag line is divided, and Hr is the ratio of the sag height to the distance between towers.
[0022] In one possible implementation, the method further includes:
[0023] Based on the aforementioned sag parameters, a sag segment function is constructed using a second formula, which is:
[0024]
[0025] Where x is the number of segments in each sag line, and f(x) represents the height of the endpoint of each segment.
[0026] In one possible implementation, the method further includes:
[0027] Obtain the location information of substation nodes and multiple tower nodes that are connected to them in multiple power grid devices;
[0028] Based on the sag line segment function and the position information of the multiple tower nodes, determine the end point position information of multiple line segments in the overhead line curve;
[0029] By loading the tower model to the end position of the corresponding line segment, the topology diagram of the power grid distribution network is obtained.
[0030] Secondly, embodiments of the present invention provide a power grid distribution network topology construction device based on a power distribution holographic data model, comprising:
[0031] The acquisition module is used to acquire graphical data of multiple power grid devices in the power grid PMS system, convert the graphical data into topology data, and write the topology data into the graph database.
[0032] The identification module is used to identify, based on the graph database, substation nodes and multiple tower nodes with which they are connected in a plurality of power grid devices;
[0033] A construction module is used to determine sag-related parameters based on the distance between every two adjacent towers in the plurality of tower nodes, and to construct a sag segment function based on the sag-related parameters;
[0034] The drawing module is used to draw the overhead line curve between every two adjacent towers based on the sag line segment function, so as to obtain the power grid distribution network topology diagram.
[0035] In one possible implementation, the acquisition module is specifically used to acquire connection relationship information of multiple power grid devices from the graphical data to obtain topology data, wherein the topology data includes connection attribute information corresponding to each power grid device; and to write the topology data into the graph database through a target interface.
[0036] In one possible implementation, the identification module is specifically used to obtain the first connection attribute value of the substation node in a plurality of power grid devices based on the connection attribute information corresponding to each power grid device; based on the first connection attribute value of the substation node, traverse the second connection attribute values of other pole nodes in the plurality of power grid devices; and identify the pole node whose second connection attribute value is the same as the first connection attribute value as the pole node that has a connection relationship with the substation node corresponding to the first connection attribute value.
[0037] In one possible implementation, the construction module is specifically used to determine the latitude and longitude coordinates corresponding to each pair of adjacent towers based on topology data; and to calculate the sag-related parameters based on the latitude and longitude coordinates corresponding to each pair of adjacent towers using a first formula, wherein the first formula is:
[0038] In the formula, h is the sag height, the latitude and longitude coordinates of two adjacent towers are (Lng1, Lat1) and (Lng2, Lat2) respectively, s is the number of segments into which the sag line is divided, and Hr is the ratio of the sag height to the distance between towers.
[0039] In one possible implementation, the construction module is further configured to construct a sag segment function based on the sag-related parameters using a second formula, wherein the second formula is:
[0040] Where x is the number of segments in each sag line, and f(x) represents the height of the endpoint of each segment.
[0041] In one possible implementation, the drawing module is specifically used to acquire the location information of substation nodes and multiple tower nodes that are connected to them in multiple power grid devices; determine the endpoint location information of multiple line segments in the overhead line curve based on the sag line segment function and the location information of the multiple tower nodes; and load the tower model to the corresponding endpoint location of the line segment to obtain the power grid distribution network topology diagram.
[0042] Thirdly, embodiments of the present invention provide a server, including a processor and a memory, wherein the processor is configured to execute a power grid distribution network topology construction program based on a power distribution holographic data model stored in the memory, so as to implement the power grid distribution network topology construction method based on a power distribution holographic data model described in the first aspect above.
[0043] Fourthly, embodiments of the present invention provide a storage medium, comprising: the storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the power grid distribution network topology construction method based on the power distribution holographic data model described in the first aspect above.
[0044] The power grid distribution network topology construction scheme based on a holographic data model of power distribution and utilization provided in this invention involves acquiring graphical data of multiple power grid devices in the power grid PMS system, converting the graphical data into topology data, and writing the topology data into a graph database. Based on the graph database, substation nodes and multiple tower nodes with interconnected relationships among the multiple power grid devices are identified. Sag-related parameters are determined based on the distance between each pair of adjacent towers among the multiple tower nodes, and a sag segment function is constructed based on the sag-related parameters. The overhead line curve between each pair of adjacent towers is drawn based on the sag segment function to obtain the power grid distribution network topology diagram. Compared with existing power grid business systems that use relational databases (e.g., Oracle databases) to store ledger data and graphical data, which require parsing and matching columns of multiple tables during correlation analysis, resulting in low efficiency and cumbersome maintenance, this scheme utilizes graph databases and 3D technology to construct a unified topology model, realize the calculation and visualization of 3D topology line sag, and improve the level of operation and maintenance management. Attached Figure Description
[0045] Figure 1A flowchart illustrating a method for constructing a power grid distribution network topology based on a holographic data model of power distribution and utilization, provided in an embodiment of the present invention;
[0046] Figure 2 A flowchart illustrating another method for constructing the power grid distribution network topology based on a holographic data model of power distribution and utilization, provided in an embodiment of the present invention;
[0047] Figure 3 This invention provides a schematic diagram of the power grid equipment nodes and relationship structure in a graph database.
[0048] Figure 4 This is a schematic diagram of the model library tower according to an embodiment of the present invention;
[0049] Figure 5 This is a schematic diagram of a method for calculating line sag according to an embodiment of the present invention;
[0050] Figure 6 A schematic diagram of a power grid distribution network topology construction device based on a power distribution holographic data model is provided in this embodiment of the invention.
[0051] Figure 7 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. Detailed Implementation
[0052] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0053] To facilitate understanding of the embodiments of the present invention, further explanations and descriptions will be provided below with reference to the accompanying drawings and specific embodiments. These embodiments do not constitute a limitation on the embodiments of the present invention.
[0054] Figure 1 A flowchart illustrating a method for constructing a power grid distribution network topology based on a holographic data model of power distribution and utilization, as provided in this embodiment of the invention, is shown below. Figure 1 As shown, the method specifically includes:
[0055] S11. Obtain graphical data of multiple power grid devices in the power grid PMS system, convert the graphical data into topology data, and write the topology data into a graph database.
[0056] In this embodiment of the invention, graphical data from the power grid PMS system is converted into topology data and written into a graph database; main node attributes are set, and other ledgers are used as dynamic attributes; several connection relationships between nodes are defined; substation nodes are obtained, and all subsequent tower nodes under the substation are obtained through depth-first traversal; tower models are loaded into a 3D geographic information system based on the tower's latitude and longitude coordinates; sag-related parameters are calculated based on the distance between towers, and a sag segment function is constructed; finally, the overhead line curve is drawn in the 3D scene based on the sag segment function.
[0057] Specifically, graphical data of multiple power grid devices is obtained from the power grid PMS system, transformed into topology data, and written into a graph database. The main ledger data of the devices is stored as node attributes, and the connections between devices are stored as edges between nodes. The graphical data includes, but is not limited to, data on poles, substations, and power distribution on poles.
[0058] Nodes are divided into two types: substation TRANSFER_NODE and tower TOWER_NODE. The common attributes of TRANSFER_NODE and TOWER_NODE include NODE_NAME, NODE_ID, and NODE_COOR, which represent the node name, node ID, and latitude and longitude coordinates of the node, respectively. Other attributes for substations and towers are provided as flexible extension attributes.
[0059] The connection between nodes is called GLINK, which represents the physical network structure relationship between devices, specifically the connection between substations and towers, and between towers themselves.
[0060] S12. Based on the graph database, identify substation nodes and multiple tower nodes with connection relationships among multiple power grid devices.
[0061] The Cyber interface for obtaining the substation node is MATCH(n)where TYPE(n) = "Transfer"; the interface for depth-first traversal of all subsequent nodes is MATCH(n)-[r*]->(tower)where n.Title = '#Transfer'returntower, where #Transfer refers to the NODE_NAME attribute value of each substation node.
[0062] Based on the pole's latitude and longitude coordinates, the pole model is loaded into the 3D geographic information system. The pole model library contains various styles of poles, and different poles are loaded according to their category, height, and other attributes.
[0063] S13. Determine the sag-related parameters based on the distance between each pair of adjacent towers in the plurality of tower nodes, and construct the sag segment function based on the sag-related parameters.
[0064] The latitude and longitude coordinates of two adjacent towers are (Lng1, Lat1) and (Lng2, Lat2), respectively. First, calculate the sag height according to Formula 1:
[0065]
[0066] Where h is the sag height, the latitude and longitude coordinates of two adjacent towers are (Lng1, Lat1) and (Lng2, Lat2) respectively, s is the number of segments of the sag line, which can be set to 50 in this embodiment, and Hr is the ratio of the sag height to the distance between towers, which can be set to 0.125 in this embodiment.
[0067] Furthermore, construct the sag function based on Formula 2:
[0068]
[0069] Where x is the number of segments in each sag line, and f(x) represents the height of the endpoint of each segment.
[0070] S14. Based on the sag line segment function, draw the overhead line curve between every two adjacent towers to obtain the power grid distribution network topology diagram.
[0071] Furthermore, the overhead line curve is drawn in the three-dimensional scene based on the sag line segment function.
[0072] The starting point is located at (Lng1, Lat1, ht), where ht is the height of the tower, and the ending point of the first segment is... The location of the end point of the second segment is... The location of the end point of the third segment is And so on.
[0073] Furthermore, straight lines are drawn between the points of the tower model to ultimately form the entire line.
[0074] The present invention provides a method for constructing a power grid distribution network topology based on a holographic data model of power distribution and consumption. This method acquires graphical data of multiple power grid devices in the power grid PMS system, converts the graphical data into topology data, and writes the topology data into a graph database. Based on the graph database, it identifies substation nodes and multiple tower nodes with interconnected relationships among the multiple power grid devices. It determines sag-related parameters based on the distance between each pair of adjacent towers among the multiple tower nodes, and constructs a sag segment function based on these parameters. Finally, it draws the overhead line curves between each pair of adjacent towers based on the sag segment function, obtaining the power grid distribution network topology diagram. Compared to existing power grid business systems that use relational databases (e.g., Oracle databases) to store ledger data and graphical data, which require parsing and matching columns from multiple tables during correlation analysis, resulting in low efficiency and cumbersome maintenance, this method utilizes a graph database and 3D technology to construct a unified topology model, enabling the calculation and visualization of 3D topology line sag, thereby improving operation and maintenance management.
[0075] Figure 2 A flowchart illustrating another method for constructing the power grid distribution network topology based on a holographic data model of power distribution and utilization, as provided in this embodiment of the invention, is shown below. Figure 2 As shown, the method specifically includes:
[0076] S21. Obtain the connection relationship information of multiple power grid devices from the graphic data to obtain topology data, wherein the topology data includes the connection attribute information corresponding to each power grid device.
[0077] S22. Write the topology data into the graph database through the target interface.
[0078] In this embodiment of the invention, graphical data of multiple power grid devices are obtained from the power grid PMS system, converted into topology data, and written into a graph database. Based on the graphical data from the power grid PMS system, the connection column of each device table is obtained, connection relationships between nodes are established, and basic topology, line topology, and electrical topology are generated. The data is written into the graph database using the Cypher interface of the graph database. The main ledger data of the devices is stored as node attributes, and the connections between devices are treated as edges between nodes. There are two types of nodes: TRANSFER_NODE for substations and TOWER_NODE for towers. The common attributes of TRANSFER_NODE and TOWER_NODE include NODE_NAME, NODE_ID, and NODE_COOR, which represent the node name, node ID, and latitude and longitude coordinates of the node, respectively. Other substation and tower ledger data are used as flexible extended attributes.
[0079] S23. Based on the connection attribute information corresponding to each power grid device, obtain the first connection attribute value of the substation node among multiple power grid devices.
[0080] S24. Based on the first connection attribute value of the substation node, traverse the second connection attribute values of other tower nodes in multiple power grid devices.
[0081] S25. The tower node whose second connection attribute value is the same as the first connection attribute value is regarded as the tower node that has a connection relationship with the substation node corresponding to the first connection attribute value.
[0082] In this embodiment of the invention, the connection relationship between nodes is GLINK, representing the physical network structure relationship between devices, specifically referring to the connection between substations and towers, and between towers themselves. A basic diagram illustrating the nodes and connection relationships is shown below. Figure 3 As shown.
[0083] Each power grid device has corresponding connection attribute information. The process involves obtaining the first connection attribute value of a substation node from multiple power grid devices. Based on this first connection attribute value, the process iterates through the second connection attribute values of other pole nodes within the power grid devices. Pole nodes whose second connection attribute values match their first connection attribute values are identified as pole nodes connected to the substation node corresponding to their first connection attribute value. The connection attribute value can be a connection identifier; devices with the same connection attribute value are connected to each other.
[0084] Specifically, the Cyber interface for obtaining the substation node is MATCH(n)where TYPE(n) = "Transfer"; the interface for depth-first traversal of all subsequent nodes is MATCH(n)-[r*]->(tower)where n.Title = '#Transfer'return tower, where #Transfer refers to the NODE_NAME attribute value of each substation node.
[0085] S26. Determine the latitude and longitude coordinates corresponding to each pair of adjacent towers based on topology data.
[0086] In this embodiment of the invention, the topology data package contains the latitude and longitude coordinates of the devices. Based on the topology data, the latitude and longitude coordinates corresponding to each pair of adjacent towers are determined. Based on the tower's latitude and longitude coordinates, a tower model is loaded into the three-dimensional geographic information system. The tower model library contains various styles of towers. Different towers are loaded according to their category, height, and other attributes. Some tower styles are as follows: Figure 4 As shown.
[0087] S27. Based on the latitude and longitude coordinates corresponding to each pair of adjacent towers, calculate the sag-related parameters using the first formula.
[0088] The latitude and longitude coordinates of two adjacent towers are (Lng1, Lat1) and (Lng2, Lat2), respectively. First, calculate the sag height according to Formula 1:
[0089]
[0090] Where h is the sag height, the latitude and longitude coordinates of two adjacent towers are (Lng1, Lat1) and (Lng2, Lat2) respectively, s is the number of segments of the sag line, which can be set to 50 in this embodiment, and Hr is the ratio of the sag height to the distance between towers, which can be set to 0.125 in this embodiment.
[0091] S28. Based on the sag-related parameters, construct the sag line segment function using the second formula.
[0092] Furthermore, construct the sag function based on Formula 2:
[0093]
[0094] Where x is the number of segments in each section of the sag track, and f(x) represents the height of the endpoint of each segment, such as... Figure 5 The diagram shown is a schematic representation of a line sag calculation method provided in an embodiment of the present invention.
[0095] S29. Obtain the location information of substation nodes and multiple tower nodes that are connected to them in multiple power grid devices.
[0096] S210. Based on the sag line segment function and the position information of the multiple tower nodes, determine the endpoint position information of multiple line segments in the overhead line curve.
[0097] Furthermore, the location information of substation nodes and their connected tower nodes within multiple power grid devices is obtained, and the overhead line curve is drawn in a 3D scene based on the sag segment function. The starting point is located at (Lng1, Lat1, ht), where ht is the tower height, and the ending point of the first segment is... The location of the end point of the second segment is... The location of the end point of the third segment is And so on, such as Figure 5 As shown.
[0098] S211. Load the tower model to the end position of the corresponding line segment to obtain the power grid distribution network topology diagram.
[0099] Furthermore, the tower model is loaded to the corresponding end position of the line segment, and straight lines are drawn between each point of the tower model to finally form the entire line and obtain the power grid distribution network topology diagram.
[0100] The present invention provides a method for constructing a power grid distribution network topology based on a holographic data model of power distribution and utilization. This method acquires graphical data of multiple power grid devices in the power grid PMS system, converts the graphical data into topology data, and writes the topology data into a graph database. Based on the graph database, it identifies substation nodes and multiple tower nodes with interconnected relationships among the multiple power grid devices. It determines sag-related parameters based on the distance between each pair of adjacent towers among the multiple tower nodes, and constructs a sag segment function based on these parameters. Finally, it draws the overhead line curves between each pair of adjacent towers based on the sag segment function, obtaining the power grid distribution network topology diagram. This method utilizes a graph database and 3D technology to construct a unified topology model, enabling the calculation and visualization of 3D topology line sag, thereby improving the level of operation and maintenance management.
[0101] Figure 6 A schematic diagram of a power grid distribution network topology construction device based on a holographic data model of power distribution and utilization, according to an embodiment of the present invention, is shown. Figure 6 As shown, the device includes:
[0102] The acquisition module 601 is used to acquire graphical data of multiple power grid devices in the power grid PMS system, convert the graphical data into topology data, and write the topology data into a graph database. For detailed explanations, please refer to the relevant descriptions in the above method embodiments; they will not be repeated here.
[0103] The identification module 602 is used to identify substation nodes and multiple tower nodes with connection relationships among multiple power grid devices based on the graph database. For detailed explanations, please refer to the relevant descriptions in the above method embodiments; they will not be repeated here.
[0104] The construction module 603 is used to determine sag-related parameters based on the distance between every two adjacent towers in the plurality of tower nodes, and to construct a sag segment function based on the sag-related parameters. For detailed explanations, please refer to the relevant descriptions in the above method embodiments; they will not be repeated here.
[0105] The drawing module 604 is used to draw the overhead line curve between every two adjacent towers based on the sag line segment function, thereby obtaining the power grid distribution network topology diagram. For detailed explanations, please refer to the relevant descriptions in the above method embodiments; they will not be repeated here.
[0106] The power grid distribution network topology construction device based on the power distribution holographic data model provided in this embodiment of the invention is used to execute the power grid distribution network topology construction method based on the power distribution holographic data model provided in the above embodiment. Its implementation method and principle are the same. For details, please refer to the relevant description of the above method embodiment, which will not be repeated here.
[0107] Figure 7A computer device according to an embodiment of the present invention is shown, such as Figure 7 As shown, the computer device may include a processor 901 and a memory 902, wherein the processor 901 and the memory 902 may be connected via a bus or other means. Figure 7 Taking the example of a connection between China and Israel via a bus.
[0108] Processor 901 can be a Central Processing Unit (CPU). Processor 901 can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations of the above types of chips.
[0109] The memory 902, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as the program instructions / modules corresponding to the methods provided in the embodiments of the present invention. The processor 901 executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions, and modules stored in the memory 902, thereby implementing the methods in the above-described method embodiments.
[0110] The memory 902 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created by the processor 901, etc. Furthermore, the memory 902 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 902 may optionally include memory remotely located relative to the processor 901, and these remote memories may be connected to the processor 901 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0111] One or more modules are stored in memory 902, and when executed by processor 901, they perform the methods described in the above method embodiments.
[0112] The specific details of the aforementioned computer equipment can be understood by referring to the relevant descriptions and effects in the above method embodiments, and will not be repeated here.
[0113] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk drive (HDD), or solid-state drive (SSD), etc.; the storage medium can also include combinations of the above types of memory.
[0114] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method for constructing the topology of a power grid distribution network based on a holographic data model of power distribution and consumption, characterized in that, include: Obtain graphical data of multiple power grid devices in the power grid PMS system, convert the graphical data into topology data, and write the topology data into a graph database; Based on the graph database, substation nodes and multiple tower nodes with interconnected relationships among multiple power grid devices are identified; Sag-related parameters are determined based on the distance between each pair of adjacent towers in the plurality of tower nodes, and a sag segment function is constructed based on the sag-related parameters; Based on the sag line segment function, the overhead line curve between each two adjacent towers is plotted to obtain the power grid distribution network topology diagram. The step of determining the sag-related parameters based on the distance between every two adjacent towers in the plurality of tower nodes includes: determining the latitude and longitude coordinates corresponding to each pair of adjacent towers based on topological data; and calculating the sag-related parameters using a first formula based on the latitude and longitude coordinates corresponding to each pair of adjacent towers, wherein the first formula is: ; In the formula, Let s be the sag height, and let (Lng1, Lat1) and (Lng2, Lat2) be the latitude and longitude coordinates of two adjacent towers, respectively. Let s be the number of segments into which the sag line is divided, and let Hr be the ratio of the sag height to the distance between towers. The construction of the sag segment function based on the sag-related parameters includes: Based on the aforementioned sag parameters, a sag segment function is constructed using a second formula, which is: ; Where x is the number of segments in each section of the sag line. Indicates the height of the corresponding endpoint of each segment; The process of drawing the overhead line curve between every two adjacent towers based on the sag segment function includes: The starting point is located at (Lng1, Lat1, ht), where ht is the height of the tower. The ending point of the first segment is located at (Lng1+). Lat1+ ,ht-f(1)), the position of the end point of the second segment is (Lng1+ 2, Lat1+ 2, ht-f(2)), the position of the end point of the third segment is (Lng1+ 3, Lat1+ 3, ht-f(3)).
2. The method according to claim 1, characterized in that, The process of acquiring graphical data of multiple power grid devices in the power grid PMS system, converting the graphical data into topology data, and writing the topology data into a graph database includes: The connection relationship information of multiple power grid devices is obtained from the graphical data to obtain topology data, wherein the topology data includes the connection attribute information corresponding to each power grid device; The topology data is written into the graph database through the target interface.
3. The method according to claim 2, characterized in that, The process of identifying substation nodes and their interconnected tower nodes within a plurality of power grid devices based on the graph database includes: Based on the connection attribute information corresponding to each power grid device, obtain the first connection attribute value of the substation node among multiple power grid devices; Based on the first connection attribute value of the substation node, the second connection attribute values of other tower nodes in multiple power grid devices are traversed. Tower nodes whose second connection attribute value is the same as the first connection attribute value are considered as tower nodes that have a connection relationship with the substation nodes corresponding to the first connection attribute value.
4. The method according to claim 3, characterized in that, The process of drawing the overhead line curve between every two adjacent towers based on the sag line segment function to obtain the power grid distribution network topology diagram includes: Obtain the location information of substation nodes and multiple tower nodes that are connected to them in multiple power grid devices; Based on the sag line segment function and the position information of the multiple tower nodes, determine the end point position information of multiple line segments in the overhead line curve; Loading the tower model to the end position of the corresponding line segment yields the power grid distribution network topology diagram.
5. A power grid distribution network topology construction device based on a holographic data model of power distribution and utilization, characterized in that, include: The acquisition module is used to acquire graphical data of multiple power grid devices in the power grid PMS system, convert the graphical data into topology data, and write the topology data into the graph database. The identification module is used to identify, based on the graph database, substation nodes and multiple tower nodes with which they are connected in a plurality of power grid devices; A construction module is used to determine sag-related parameters based on the distance between every two adjacent towers in the plurality of tower nodes, and to construct a sag segment function based on the sag-related parameters; The drawing module is used to draw the overhead line curve between every two adjacent towers based on the sag line segment function, so as to obtain the power grid distribution network topology diagram. The step of determining the sag-related parameters based on the distance between every two adjacent towers in the plurality of tower nodes includes: determining the latitude and longitude coordinates corresponding to each pair of adjacent towers based on topological data; and calculating the sag-related parameters using a first formula based on the latitude and longitude coordinates corresponding to each pair of adjacent towers, wherein the first formula is: ; In the formula, Let s be the sag height, and let (Lng1, Lat1) and (Lng2, Lat2) be the latitude and longitude coordinates of two adjacent towers, respectively. Let s be the number of segments into which the sag line is divided, and let Hr be the ratio of the sag height to the distance between towers. The construction of the sag segment function based on the sag-related parameters includes: Based on the aforementioned sag parameters, a sag segment function is constructed using a second formula, which is: ; Where x is the number of segments in each section of the sag line. Indicates the height of the corresponding endpoint of each segment; The process of drawing the overhead line curve between every two adjacent towers based on the sag segment function includes: The starting point is located at (Lng1, Lat1, ht), where ht is the height of the tower. The ending point of the first segment is located at (Lng1+). Lat1+ ,ht-f(1)), the position of the end point of the second segment is (Lng1+ 2, Lat1+ 2, ht-f(2)), the position of the end point of the third segment is (Lng1+ 3, Lat1+ 3, ht-f(3)).
6. The power grid distribution network topology construction device based on a holographic data model of power distribution and utilization as described in claim 5, characterized in that, The acquisition module is specifically used to acquire the connection relationship information of multiple power grid devices from the graphical data to obtain topology data, wherein the topology data includes the connection attribute information corresponding to each power grid device; and to write the topology data into the graph database through the target interface.
7. A computer device, characterized in that, include: A processor and a memory, wherein the processor is configured to execute a power grid distribution network topology construction program based on a power distribution holographic data model stored in the memory, so as to implement the power grid distribution network topology construction method based on a power distribution holographic data model as described in any one of claims 1 to 4.
8. A storage medium, characterized in that, The storage medium stores one or more programs, which can be executed by one or more processors to implement the power grid distribution network topology construction method based on the power distribution holographic data model as described in any one of claims 1 to 4.