Distribution network topology minimum simplified aggregation method and equipment based on graph database
By constructing virtual devices and eliminating redundant connections based on graph databases, the inefficiency and inaccuracy caused by redundant nodes in the distribution network topology model are solved, achieving efficient and accurate topology model construction and analysis.
Patent Information
- Application Number
- CN202511716974.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-21
- Publication Date
- 2026-02-10
AI Technical Summary
Existing power distribution network topology models suffer from excessive redundant nodes, resulting in high data storage and retrieval costs, low computational efficiency, and the potential obscuring of critical connections, which affects the accuracy and usability of analysis results and makes it difficult to support intelligent operation.
By employing a graph database-based approach, non-core devices are aggregated to form a structured topology model by constructing virtual devices and eliminating redundant connections. Key node devices are retained, and parameters are aggregated according to the principle of shortest connection path to form a standard ring network structure.
It significantly improves the efficiency of topology model construction and analysis accuracy, ensures clear connection logic, reduces redundant storage and retrieval costs, and supports efficient power supply reliability assessment and fault location.
Smart Images

Figure CN121502679A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power grid data processing and analysis technology, specifically a method and device for minimal simplification aggregation of distribution network topology based on graph database. Background Technology
[0002] Distribution network equipment topology models are the core foundation for conducting power grid operation analyses (such as load distribution assessment, rapid fault location, and dispatch strategy optimization). Their simplicity and accuracy directly determine the efficiency and reliability of the analysis results. As the scale of distribution networks continues to expand and the number of primary equipment continues to increase, the topological relationships become increasingly complex. Constructing accurate and usable topology models has become a key prerequisite for supporting the intelligent operation of distribution networks.
[0003] Currently, distribution network topology models used for power grid operation analysis are mostly built directly from the original equipment ledgers in the production management system. These models not only include core equipment such as buses, switches, and distribution transformers, but also retain a large amount of non-core equipment information such as conductors, cables, towers, and branch line terminal auxiliary equipment. This raw data has not undergone targeted simplification, resulting in an extremely complex data structure for the topology model. The connection relationships of various devices are wrapped in layers of redundant information, forming a massive number of redundant nodes, and the logical relationships between nodes lack a clear structured organization.
[0004] Existing topology models constructed using current technologies suffer from significant drawbacks. Firstly, the presence of numerous redundant nodes makes the model overly bloated, increasing data storage and retrieval costs and leading to excessively long processing times for basic operations such as topology traversal and connection identification, severely reducing the computational efficiency of power grid operation analysis. Secondly, complex and redundant node structures can easily cause topology logic confusion, obscuring the core connections of critical equipment with redundant information. This increases the difficulty of extracting and reusing key parameters (such as total line length and rated current carrying capacity), and may even affect the accuracy of analysis results due to topology logic misjudgments. Ultimately, these problems directly lead to a significant decrease in the usability of distribution network equipment topology models, making it difficult to efficiently support the actual needs of distribution network operation analysis and hindering the improvement of the intelligent operation level of distribution networks. Therefore, these issues urgently need to be addressed. Summary of the Invention
[0005] To address the technical challenge of significantly reduced usability of distribution network topology models due to excessive and complex redundant nodes, this invention provides a minimal simplification aggregation method for distribution network topologies based on graph databases. Furthermore, this invention also provides a computer device for executing the aforementioned method via a computer program.
[0006] To achieve the above objectives, the present invention provides the following technical solution: A method for minimal simplification aggregation of distribution network topology based on graph database includes the following steps: S1. Extract the primary equipment ledger and topology information of the power distribution network from the production management system; S2. Convert the extracted primary power grid equipment and topology information into corresponding nodes and node connection relationships in the graph database; S3. Based on the node connection relationship, construct virtual devices at the junctions of three or more devices in the distribution network, and update the virtual devices and their generated node connection relationships to the graph database. S4. Clear the original connection relationships of all devices connected to virtual devices and buses; S5. Designate busbars, switches, virtual devices, and distribution transformers as node devices, and aggregate conductors, cables, connecting lines, and towers to the node devices they are connected to, and accumulate key parameters according to the principle of the shortest connection path distance. S6. Calculate the in-degree and out-degree of each node device in the graph database, retaining only the bus and node devices with an in-degree and out-degree of 2, thereby forming a distribution network ring network structure.
[0007] As a further improvement to the above scheme: In S1, the equipment types included in the primary equipment ledger of the distribution network are conductors, cables, poles, pole-mounted switches, fuses, circuit breakers, pole-mounted transformers, distribution transformers and busbars; the topology information includes the connection terminal information of each device, and the connection terminal information includes input terminal information and output terminal information.
[0008] As a further improvement to the above scheme: In S2, all types of devices are converted into independent nodes in the graph database. When the output terminal information of one independent node is consistent with the input terminal information of another independent node, the two nodes are connected to each other.
[0009] As a further improvement to the above scheme: In S3, the junction of three or more devices means that the three or more devices are interconnected through the same connection terminal information, and the virtual device constructed therefrom is transformed into an independent node. The independent node is directly connected to the three or more devices and generates a corresponding node connection relationship.
[0010] As a further improvement to the above solution: exclude bus intersection scenarios when constructing virtual devices.
[0011] As a further improvement to the above scheme: In S4, the original connection relationships to be cleared include: direct connection relationships between devices directly connected to virtual devices, and direct connection relationships between devices directly connected to the bus that are not connected through the bus.
[0012] As a further improvement to the above scheme: In S5, key parameters include length and model. The lengths of all non-node devices aggregated to the same node device are added together, and the model is selected according to the proportion of quantity and then assigned to the node device.
[0013] As a further improvement to the above scheme: In S6, in-degree refers to the sum of the number of connections between other node devices that actively and directly connect to the current node device and the number of connections between the current node device that actively and directly connect to other node devices.
[0014] As a further improvement to the above scheme: In S6, the deletion of node devices is carried out by cyclically executing the deletion principle from the end of the topology until all node devices except the bus have an in-degree of 2. The deletion principle is: identify the end node device, calculate the in-degree, and delete the end node device with an in-degree of 1.
[0015] The present invention also provides a computer device including a memory, a processor, and a computer program stored in the memory and running on the processor. When the computer program is executed by the processor, it implements the steps of a graph database-based distribution network topology minimal simplification aggregation method to simplify the distribution network equipment topology model.
[0016] Compared with the prior art, the beneficial effects of the present invention are: 1. This invention extracts equipment ledgers and topology information from the production management system and transforms them into nodes and node connections in a graph database. This transforms non-topology-friendly raw data into a structured and visualized topology model, intuitively presenting the physical connection logic of equipment. Simultaneously, it constructs virtual devices and updates connection relationships for scenarios where three or more devices intersect, eliminating redundant original connections and resolving the fragmentation problem of connection relationships at intersection points, making the topology logic clearer. By aggregating non-core devices such as conductors and cables to core nodes according to the shortest connection path principle and accumulating key parameters, it eliminates a large number of redundant nodes, simplifies the model structure, reduces data storage and retrieval costs, and centralizes core device association information. Finally, by selecting and retaining busbars and node devices with an in-degree and out-degree of 2, a standard ring network structure that meets the core application requirements of the distribution network is formed. This structure accurately adapts to scenarios such as power supply reliability assessment, fault location, and ring network operation control. The entire process requires no additional manual intervention, forming a closed-loop process, significantly improving the construction efficiency, usability, and analysis accuracy of the distribution network topology model. It effectively solves the technical problem of a significant decrease in the usability of the distribution network equipment topology model due to too many complex and redundant nodes.
[0017] 2. This invention establishes a standardized topology transformation rule: "All types of devices are converted into independent nodes, and connections are established when terminal information is consistent." This ensures a clear and unique mapping logic from devices to the topology. The independent node designation clarifies the topology identity of each device, preventing information confusion. Using the consistency of input / output terminal information as the criterion for determining connection relationships eliminates interference from subjective human judgment, ensuring that node connection relationships perfectly match the physical connections of actual devices in the distribution network. This effectively avoids issues such as false connections and missing connections. Furthermore, this rule possesses strong operability and automated adaptability, supporting rapid topology transformation for large-scale devices and significantly improving the efficiency and accuracy of topology model construction.
[0018] 3. By defining "three or more devices interconnected through the same connection terminal" as an intersection scenario, a clear and quantifiable standard is provided for identifying complex intersection relationships, avoiding misjudgments or omissions in intersection scenarios. Simultaneously, the constructed virtual devices are transformed into independent nodes in the graph database and directly connected to the intersection devices. This transforms the previously fragmented and cross-cutting logic of multi-device intersections into a concise and clear "virtual node-intersection device" connection structure, completely solving the problem of difficulty in sorting out and tracing multi-device intersection relationships in traditional topologies. The integration of virtual devices as independent nodes into the topology also provides a clear node basis for subsequent operations such as parameter aggregation and fault path analysis, further enhancing the practicality of the topology model.
[0019] 4. When constructing virtual devices, scenarios involving busbar intersections are explicitly excluded. This perfectly aligns with the core role of the busbar in the distribution network—as a hub for power aggregation and distribution. The connection relationships of the busbars directly determine the power supply architecture of the distribution network. This limitation avoids constructing unnecessary virtual devices at the busbars, preventing disruption of the direct connection logic between the busbars and core equipment such as switches and main transformers, and ensuring the authenticity and rationality of the core framework of the distribution network topology. Simultaneously, it avoids topology logic distortion caused by mishandling busbar scenarios, ensuring that subsequent analysis work such as ring network structure construction and power supply reliability assessment can be carried out based on a topology model that conforms to the actual operation of the power grid.
[0020] 5. Two types of redundant connections are eliminated: first, existing direct connections between devices directly connected to virtual devices; and second, direct connections between devices directly connected to the busbar that are not via the busbar. This precise limitation ensures the complete elimination of redundant connections, avoiding interference with the topology logic from invalid direct connections between intersecting devices and "private connections" between busbar-related devices. It also prevents the destruction of valid connections due to excessive elimination. After the elimination operation, the topology model retains only the standard connection relationships established through virtual devices and buses, making the device connection logic purer and more in line with the actual power grid operation, significantly improving the usability and analytical value of the topology model.
[0021] 6. The length parameter in the key parameters is calculated using arithmetic summation, while the model parameter is selected based on quantity proportion. Length summation accurately reflects the total physical extension distance of the lines associated with the core node, providing accurate data support for subsequent quantitative analyses such as line loss calculation and voltage drop assessment. Selecting models by proportion ensures that the associated models of the core node represent the performance characteristics of most aggregation devices, avoiding errors in current-carrying capacity assessment and expansion plan formulation caused by inconsistent model parameters. This rule makes the parameter aggregation operation from non-core devices to core nodes more feasible, while ensuring the authenticity and representativeness of core node parameters, providing a high-quality data foundation for distribution network operation analysis.
[0022] 7. A node cleanup rule of "removing nodes layer by layer from the topology end" was established, clarifying the operation process of "identifying end nodes → calculating in-degree and out-degree → deleting nodes with an in-degree and out-degree of 1," making the removal of redundant nodes more logical and orderly. Deleting from the topology end follows the "branch-trunk" structural characteristics of the distribution network, avoiding topology breaks caused by deleting trunk nodes first; the cyclic execution method dynamically identifies newly generated end nodes after deletion, ensuring that all redundant ends are completely removed. Ultimately, the goal of "all nodes except the busbar having an in-degree and out-degree of 2" is achieved, ensuring the output ring network structure is standard and complete, accurately adapting to core application scenarios such as power supply reliability assessment, fault isolation range division, and ring network operation control, thus enhancing the practical value of the topology model. Attached Figure Description
[0023] Figure 1 This is a flowchart of the invention.
[0024] Figure 2 This is the initial node connection diagram in this invention.
[0025] Figure 3 This is a topology diagram after adding virtual devices in this invention.
[0026] Figure 4 This is a preliminary simplified model diagram of the present invention.
[0027] Figure 5 This is a schematic diagram of the final ring network structure in this invention. Detailed Implementation
[0028] 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, and 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.
[0029] Please see Figure 1 In this embodiment of the invention, the distribution network topology minimal simplification aggregation method of the present invention is described in detail, taking into account the actual distribution network scenario of the 10kV Yangzhuang 109 line. In this embodiment, the production management system stores the complete primary equipment ledger and topology information of the line. The graph database uses Neo4j, and all equipment nodes and connection relationships are created and updated using Cypher statements.
[0030] I. Extracting primary equipment ledgers and topology information of the distribution network Extract the primary equipment ledger and topology information of the 10kV Yangzhuang 109 line from the Production Management System (PMS), as follows.
[0031] 1. Equipment type It includes conductors, cables, poles, pole-mounted switches (Yangzhuang 109 line switch, ID: K-001), fuses, circuit breakers, pole-mounted transformers, distribution transformers (Wangtan branch distribution transformer, ID: B-001), and substation distribution busbars (ID: M-001).
[0032] 2. Topology information The key focus is on extracting the connection terminal information (including input terminal information and output terminal information) for each device. The connection terminal information is as follows: Substation distribution bus (M-001): Output terminal information "D-001".
[0033] Yangzhuang 109 line switch (K-001): Input terminal information "D-001", output terminal information "D-002".
[0034] Wire 1 (ID: L-001, #001~#002 segments): Input terminal “D-002”, output terminal “D-003”, single segment length 48.53m.
[0035] Wire 2 (ID: L-002, #002~#003 segments): Input terminal “D-003”, output terminal “D-004”, single segment length 44.15m.
[0036] Wire 3 (ID: L-003, #003~#004 segments): Input terminal “D-004”, output terminal “D-005”, single segment length 37.522m.
[0037] Wire 4 (ID: L-004, #004~#005 segments): Input terminal “D-005”, output terminal “123194470”, single segment length 45.87m.
[0038] Wire 5 (ID: L-005, #012~#013 segments): Input terminal “D-006”, output terminal “123194470”, single segment length 52.3m.
[0039] Wire 6 (ID: L-006, #013~#014 segments): Input terminal “123194470”, output terminal “D-007”, single segment length 38.6m.
[0040] Conductor 7 (ID: L-007, Wangtan branch line #29 pole ~ transformer section): Input terminal "123194470", output terminal "D-008", single section length 25.4m.
[0041] Wangtan branch transformer (B-001): Input terminal “D-008”, no output terminal.
[0042] The extracted equipment ledger fields (such as equipment ID, length, and model) and terminal information are verified for completeness. Once confirmed to be free of missing or incorrect information, they are used as the basis for subsequent topology construction.
[0043] II. Nodes and Node Connections All extracted devices are converted into independent nodes in the graph database, and connection relationships are established based on terminal information.
[0044] 1. Create an independent node Create individual nodes for each device using Cypher statements. Node attributes include device ID, name, type, input terminals, output terminals, length, model, etc. For example: Busbar Node: CREATE (M001:Node {id:"M-001", name:"Substation Distribution Network Busbar", type:"Busbar", outTerminal:"D-001"}); Switch node: CREATE (K001:Node {id:"K-001", name:"Yangzhuang 109 Line Switch",type:"Switch",inTerminal:"D-001", outTerminal:"D-002"}); Wire 1 Node: CREATE (L001:Node {id:"L-001", name:"Wire 1 (#001~#002)",type:"Wire",inTerminal:"D-002", outTerminal:"D-003", length:48.53, model:"LGJ-120"}); All other equipment nodes (including conductors 2-7, transformers, towers, etc.) should be created according to this format, forming a structure like this: Figure 2 The initial node connection diagram is shown.
[0045] 2. Establishing connection relationships When the output terminal information of one independent node matches the input terminal information of another independent node, a "connection" relationship (represented by "CONNECT") is created between the two, for example: Busbar → Switch: MATCH (a:Node {id:"M-001"}), (b:Node {id:"K-001"}) WHERE a.outTerminal =b.inTerminal CREATE (a)-[:CONNECT]->(b); Switch → Wire 1: MATCH (a:Node {id:"K-001"}), (b:Node {id:"L-001"}) WHERE a.outTerminal =b.inTerminal CREATE (a)-[:CONNECT]->(b); Establish the connection relationships of all devices sequentially, ultimately forming the original topology connection of "busbar → switch → conductor 1 → conductor 2 → conductor 3 → conductor 4 → conductor 5 / 6 / 7 → transformer", as follows. Figure 2 As shown.
[0046] III. Constructing virtual devices and updating connection relationships Based on the node connection relationships, virtual devices are constructed at the junctions of three or more devices in the distribution network, and the virtual devices and their resulting node connection relationships are updated to the graph database.
[0047] 1. Intersection scene recognition Traversing the connection relationships of all nodes in the graph database, it is found that wire 5 (output terminal "123194470"), wire 6 (input terminal "123194470"), and wire 7 (input terminal "123194470") are interconnected through the same connection terminal information "123194470", which meets the definition of "three or more devices intersecting", and the connection point corresponding to this terminal is determined to be an intersection scenario.
[0048] 2. Virtual device creation Since this intersection scenario does not involve the bus (meets the limitation of "excluding bus scenarios"), a virtual device "#aggregation point 001" is constructed and converted into an independent node. The creation statement is: CREATE(V001:Node{id:"V-001",name:"#aggregation point 001",type:"virtual device",inTerminal:"123194470",outTerminal:"123194470"}).
[0049] 3. Update connection relationships Delete the direct connections between the original junction devices, establish connections between the virtual device and each junction device, and the updated connections are as follows: Figure 3 As shown: Wire 5 → Virtual Device: MATCH (a:Node {id:"L-005"}), (b:Node {id:"V-001"})CREATE (a)-[:CONNECT]->(b); Virtual Device → Wire 6: MATCH (a:Node {id:"V-001"}), (b:Node {id:"L-006"})CREATE(a)-[:CONNECT]->(b); Virtual device → Wire 7: MATCH (a:Node {id:"V-001"}), (b:Node {id:"L-007"})CREATE(a)-[:CONNECT]->(b).
[0050] IV. Clear existing redundant connections Clear the existing connections of all devices connected to virtual devices and buses.
[0051] 1. Clear direct connections between devices connected to the virtual device. Delete the original direct connection between wire 5 and wire 6, and between wire 5 and wire 7 (using the Cypher statement MATCH(a:Node{id:"L-005"})-[r:CONNECT]->(b:Node{id:"L-006"})DELETEr; similarly delete the connection between wire 5 and wire 7) to avoid redundant connections between the connecting devices interfering with the topology logic.
[0052] 2. Eliminate direct connections between devices that are not connected to the busbar, except through the busbar. Assume that there is a direct connection (not through the busbar) between "Yangzhuang 109 line switch (K-001) and Xiaotong 07 line switch (K-002)" in the production management system. This connection belongs to "direct connection between equipment directly connected to the busbar but not through the busbar". Execute the deletion statement: MATCH(a:Node{id:"K-001"})-[r:CONNECT]->(b:Node{id:"K-002"})DELETEr to ensure that the core logic of the busbar as a power hub is not destroyed.
[0053] V. Aggregate and accumulate key parameters of equipment The busbar, switch, virtual equipment, and distribution transformer are designated as node devices. Based on the principle of the shortest connection path distance, conductors, cables, connecting lines, and towers are aggregated to the node devices connected to them, and key parameters are accumulated.
[0054] 1. Equipment Division The identified node equipment is "substation distribution network bus (M-001), Yangzhuang 109 line switch (K-001), virtual device #aggregation point 001 (V-001), Wangtan branch distribution transformer (B-001)"; the equipment to be merged is "conductors 1-7, poles (corresponding to the pole groups of each conductor segment), and connecting lines".
[0055] 2. Equipment aggregation Based on the principle of "shortest connection path distance", the devices to be merged are aggregated to the nearest node device: Conductors 1-4 (segments #001~#005) are directly connected to the Yangzhuang 109 line switch and aggregated to the switch node; conductors 5-7 are directly connected to the virtual device #aggregation point 001 and aggregated to the virtual device node; the towers corresponding to each conductor are synchronously aggregated to the corresponding node device according to their conductor segments.
[0056] 3. Accumulation of key parameters Length parameters: Using arithmetic summation, the total length of wires 1-4 = 48.53 + 44.15 + 37.522 + 45.87 = 176.072m, is assigned to the "Associated Total Length" attribute of the switch node; the total length of wires 5-7 = 52.3 + 38.6 + 25.4 = 116.3m, is assigned to the "Associated Total Length" attribute of the virtual device node.
[0057] 4. Model Parameters The model distribution of the conductors to be merged is statistically analyzed (assuming that LGJ-120 accounts for 3 conductors and LGJ-95 accounts for 1 conductor in conductors 1-4, accounting for 75% and 25% respectively). According to the principle of "priority of quantity proportion", the "associated model" of the switch node is determined to be LGJ-120; conductors 5-7 are all LGJ-120, and the "associated model" of the virtual device node is LGJ-120.
[0058] 5. Output the preliminary model After polymerization, it forms as follows Figure 4 The topology shown retains only 4 types of node devices. The devices to be merged have been fully aggregated, and the node attributes contain the accumulated key parameters.
[0059] VI. Calculate in-degree and out-degree and form a ring network structure The in-degree and out-degree of each node device in the computation graph database are calculated, and only the busbar and the node devices with an in-degree and out-degree of 2 are retained to form the distribution network ring network structure.
[0060] 1. Definition and calculation of in-degree and out-degree In-degree is defined as "the number of other nodes actively connecting directly to the current node + the number of the current node actively connecting directly to other nodes", based on Figure 4 The initial model is used to calculate the in-degree and out-degree of each node device: Substation distribution bus (M-001): Only connects to switch nodes, in-degree 0, out-degree 1 (not involved in screening); Yangzhuang 109 line switch (K-001): connects the busbar and the virtual device, with an in-degree of 1 and an out-degree of 1, and an in-degree and out-degree of 2. Virtual device #aggregation point 001 (V-001): connects the switch and distribution transformer, and the Xiaotong 07 line switch, with an in-degree of 1 and an out-degree of 2, and an in-degree and out-degree of 3. Wangtan branch transformer (B-001): Only connected to virtual devices, in-degree 1, out-degree 0, in-degree = 1.
[0061] 2. Delete layer by layer in a loop Following the principle of "identifying end nodes → calculating in-degree and out-degree → deleting nodes with an in-degree and out-degree of 1", the process starts from the end of the topology: First deletion: Wangtan branch transformer (in-degree = 1, end node), execute the deletion statement MATCH(n:Node{id:"B-001"})DETACHDELETEn; Dynamic recalculation: After deleting the distribution transformer, the out-degree of virtual device #aggregation point 001 becomes 1 (only connected to Xiaotong 07 line switch), and the in-degree = 1 + 1 = 2, so it is no longer an end node; 3. Verify the stopping condition Except for the busbar, the in-degree and out-degree of the switch node, the virtual device node, and the Xiaotong 07 line switch node (newly added backbone node) are all 2, which meets the stop condition.
[0062] 4. Output ring network structure Ultimately, the closed topology of "substation distribution bus → Yangzhuang 109 line switch → # aggregation point 001 → Xiaotong 07 line switch → substation distribution bus" is retained, forming a topology like this: Figure 5 The distribution network ring network structure shown can be directly used in core scenarios such as power supply reliability assessment and fault isolation range division.
[0063] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.
Claims
1. A method for minimal simplification and aggregation of distribution network topology based on graph database, characterized in that, Includes the following steps: S1. Extract the primary equipment ledger and topology information of the power distribution network from the production management system; S2. Convert the extracted primary power grid equipment and topology information into corresponding nodes and node connection relationships in the graph database; S3. Based on the node connection relationship, construct virtual devices at the junctions of three or more devices in the distribution network, and update the virtual devices and their generated node connection relationships to the graph database. S4. Clear the original connection relationships of all devices connected to virtual devices and buses; S5. Designate busbars, switches, virtual devices, and distribution transformers as node devices, and aggregate conductors, cables, connecting lines, and towers to the node devices they are connected to, and accumulate key parameters according to the principle of the shortest connection path distance. S6. Calculate the in-degree and out-degree of each node device in the graph database, retaining only the bus and node devices with an in-degree and out-degree of 2, thereby forming a distribution network ring network structure.
2. The method for minimal simplification and aggregation of distribution network topology based on graph database according to claim 1, characterized in that, In S1, the equipment types included in the primary equipment ledger of the distribution network are conductors, cables, poles, pole-mounted switches, fuses, circuit breakers, pole-mounted transformers, distribution transformers, and busbars; the topology information includes the connection terminal information of each device, and the connection terminal information includes input terminal information and output terminal information.
3. The method for minimal simplification and aggregation of distribution network topology based on graph database according to claim 2, characterized in that, In S2, all types of devices are converted into independent nodes in the graph database. When the output terminal information of one independent node is consistent with the input terminal information of another independent node, the two nodes are connected to each other.
4. A method for minimal simplification and aggregation of distribution network topology based on graph database according to claim 2 or 3, characterized in that, In S3, a junction where three or more devices intersect refers to the interconnection of these three or more devices through the same connection terminal information, and the virtual device constructed therefrom is transformed into an independent node. This independent node is directly connected to the three or more devices and generates a corresponding node connection relationship.
5. The method for minimal simplification and aggregation of distribution network topology based on graph database according to claim 4, characterized in that, When constructing virtual devices, exclude scenarios involving bus intersections.
6. The method for minimal simplification and aggregation of distribution network topology based on graph database according to claim 5, characterized in that, In S4, the original connection relationships to be cleared include: direct connection relationships between devices that are directly connected to virtual devices, and direct connection relationships between devices that are directly connected to the bus but not through the bus.
7. A method for minimal simplification and aggregation of distribution network topology based on graph database according to any one of claims 1-3, characterized in that, In S5, key parameters include length and model. The lengths of all non-node devices aggregated to the same node device are added together, and the model is selected according to the proportion of quantity and then assigned to that node device.
8. A method for minimal simplification and aggregation of distribution network topology based on graph database according to any one of claims 1-3, characterized in that, In S6, in-degree refers to the sum of the number of connections between other nodes that actively and directly connect to the current node and the number of connections between the current node and other nodes that actively and directly connect to the current node.
9. A method for minimal simplification and aggregation of distribution network topology based on graph database according to claim 8, characterized in that, In S6, the deletion of node devices is carried out by iteratively executing the deletion principle layer by layer starting from the end of the topology until all node devices except the bus have an in-degree of 2. The deletion principle is: identify the end node device, calculate the in-degree, and delete the end node device with an in-degree of 1.
10. A computer device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the computer program is executed by the processor, it implements the steps of the graph database-based distribution network topology minimal simplification aggregation method as described in any one of claims 1-9, so as to simplify the distribution network equipment topology model.
Citation Information
Patent Citations
Network topology calculation method based on manual intervention in operation and maintenance system
CN115361296A
Graph data-based power grid topology path generation method, apparatus and device, and medium
CN117498344A
Power grid distribution network frame topology construction method based on power distribution and utilization holographic data model
WO2024103968A1