Looped network diagram arrangement method and device, computer equipment, readable storage medium and program product
By determining the target power supply area, acquiring feeder group and equipment line node types, and identifying the main line and branch line trunks in combination with the diagram model data and switch library, and automatically generating the ring network diagram, the problem of time-consuming and labor-consuming generation of the ring network diagram in the existing technology is solved. , improves efficiency and readability.
Patent Information
- Application Number
- CN202411231006.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2044-09-04
AI Technical Summary
In the prior art, generating ring network diagrams requires a lot of manual resources, and when the distribution network circuit is partially transformed, it will cause the entire ring network diagram space to be chaotic, and manual layout is required again, which is time-consuming and labor-intensive.
Provide a ring network diagram layout method, by determining the target power supply area, acquiring the feeder group, determining the device line node type on each feeder, and generating a ring network diagram according to the node type, including extracting the graph model from the distribution geographic information system The data and feeder switch library combines the two to determine the line node type of the device, identify the main line and branch line, and arrange it according to the preset layout method.
The automatic generation of ring network diagrams is realized, the generation efficiency is improved, the demand for manual layout is reduced, and the generation efficiency and readability of ring network diagrams is improved.
Smart Images

Figure CN119203445A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electric power technology, and in particular to a ring network diagram arrangement method, device, computer equipment, computer-readable storage medium and computer program product. Background Art
[0002] A ring network diagram is an electrical diagram consisting of two or more interconnected feeders, used to show the interconnection relationship of the feeders. The ring network diagram provides an intuitive way to show the physical layout and topology of the power grid, making the complexity of the power grid easier to understand. When a fault occurs, the ring network diagram can help quickly locate the fault area, understand the impact of the fault on the power grid, and formulate corresponding countermeasures.
[0003] At present, the method of generating a ring network diagram in related technologies is to obtain basic diagram information from the distribution network GIS system, and then manually perform spatial layout of the distribution network lines and equipment, which consumes a lot of human resources. At the same time, when the distribution network lines are partially modified and a new version of the diagram is released, the spatial layout of the entire distribution network ring network diagram will be disordered, and it will be necessary to manually typeset again, which takes a lot of time and consumes a lot of manpower. Summary of the invention
[0004] Based on this, it is necessary to provide a ring network diagram arrangement method, device, computer equipment, computer readable storage medium and computer program product that can automatically generate a ring network diagram in response to the above technical problems.
[0005] In a first aspect, the present application provides a ring network diagram arrangement method, the method comprising:
[0006] Determine the target power supply area;
[0007] Acquire a feeder group corresponding to the target power supply area; the feeder group includes a plurality of feeders, and each feeder includes a plurality of devices;
[0008] Determining a line node type for each device on each of the feeders;
[0009] According to the line node type, a ring network diagram corresponding to the target power supply area is generated.
[0010] In one embodiment, determining the line node type of each device in each feeder includes:
[0011] Extracting the graphic model data corresponding to each feeder from the power distribution geographic information system; the graphic model data includes the connection relationship between each device on the feeder;
[0012] Obtain a feeder switch library corresponding to the feeder group;
[0013] The line node type of the device is determined by combining the graphic model data and the feeder switch library.
[0014] In one embodiment, the combining the graphic model data and the feeder switch library to determine the line node type of the device includes:
[0015] Based on the feeder switch library, determining a root node of each of the graph model data;
[0016] Taking the root node as the starting point, boundary condition judgment is performed on each device node in each of the graphic model data to obtain the line node type of each of the devices.
[0017] In one embodiment, the step of performing boundary condition judgment on each device node in each of the graph data with the root node as the starting point to obtain the line node type of each of the devices includes:
[0018] If the device node is a single connection element or a non-connection element, determining that the line node type of the device node is a branch line node;
[0019] If the device node is a contact point, the line node type of the device node is determined to be a trunk line node.
[0020] In one of the embodiments, generating a ring network diagram corresponding to the target power supply area according to the line node type includes:
[0021] Based on the line node type, identifying a main line and a branch line in the feeder;
[0022] The main trunk lines and the branch trunk lines are arranged according to the corresponding layout modes of the main trunk lines and the branch trunk lines, and a ring network diagram corresponding to the target power supply area is generated.
[0023] In one embodiment, the identifying the main trunk line and the branch trunk line in the feeder line based on the line node type includes:
[0024] If the device node is the trunk line node, determining that the connection line connecting the device node is the trunk line;
[0025] If the device node is the branch line node, determining that the connection line connecting the device node is the branch trunk line;
[0026] Arranging the main line and the branch line according to the layout modes corresponding to the main line and the branch line includes:
[0027] Arranging the trunk lines according to a horizontal layout or a vertical layout;
[0028] Arranging the branch trunk lines according to the branch line layout;
[0029] The horizontal layout is that the feeder switch is at a first preset position and the contact point is at a second preset position and is evenly arranged in space;
[0030] The longitudinal layout is to arrange each of the trunk lines at equal intervals in a preset manner in sequence according to the identifiers of the feeder lines;
[0031] The branch line layout is arranged at a third preset position of the lead-out node on the main line.
[0032] In a second aspect, the present application provides a ring network diagram arrangement device, the device comprising:
[0033] An area determination module, used to determine a target power supply area;
[0034] An information acquisition module, used to acquire a feeder group corresponding to the target power supply area; the feeder group includes a plurality of feeders, each of which includes a plurality of devices;
[0035] A type determination module, used to determine the line node type of each device on each feeder line;
[0036] The ring network diagram generation module is used to generate a ring network diagram corresponding to the target power supply area according to the line node type.
[0037] In a third aspect, the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0038] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.
[0039] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the steps of the above method when executed by a processor.
[0040] The above-mentioned ring network diagram arrangement method, device, computer equipment, computer-readable storage medium and computer program product first determine the target power supply area and obtain the feeder group corresponding to the area. Each feeder group includes multiple feeders, and each feeder includes a number of devices. Next, the line node type of each device on each feeder is determined one by one. By classifying the node types, the trunk line and branch line can be accurately identified. Finally, based on these node types, a ring network diagram of the target power supply area is generated. In this way, the ring network diagram can be automatically generated, which greatly improves the generation efficiency of the ring network diagram. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0042] FIG1 is a schematic diagram of a flow chart of a ring network diagram arrangement method in one embodiment;
[0043] FIG2 is a schematic diagram of a ring network structure in one embodiment;
[0044] FIG3 is a schematic diagram of a flow chart of a ring network diagram arrangement method in another embodiment;
[0045] FIG4 is a structural block diagram of a ring network diagram arrangement device in one embodiment;
[0046] FIG. 5 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0048] In one embodiment, as shown in FIG1 , a ring network diagram arrangement method is provided. This embodiment is illustrated by applying the method to a terminal. It is understandable that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0049] Step S102, determining a target power supply area.
[0050] First, determine the power supply area for which the ring network diagram is to be generated, that is, the target power supply area. The target power supply area can be set according to actual needs.
[0051] Exemplarily, for example, if the user location is cell A, a ring network diagram of cell A needs to be generated, and cell A is set as the target power supply area.
[0052] Exemplarily, the target power supply area may be determined based on a geographic information system and a user's location.
[0053] Step S104, obtaining a feeder group corresponding to the target power supply area; the feeder group includes a plurality of feeders, and each feeder includes a plurality of devices.
[0054] Among them, the feeder group refers to a collection of multiple feeders in the target power supply area, which are the lines in the power supply network responsible for transmitting electricity from the substation to the user.
[0055] Among them, the feeder is the main channel for power transmission, which connects the side station with multiple branch lines and equipment to ensure that the power can be transmitted to the end user. Among them, the equipment refers to various power equipment on the feeder, such as switches, transformers, knife switches, etc. These devices are responsible for and manage the transmission of power.
[0056] Optionally, all feeder information of the target power supply area may be retrieved from the power management system to form a feeder group.
[0057] Optionally, an existing database may be queried or retrieved through the system to ensure that all relevant feeders in the area are included.
[0058] Step S106, determining the line node type of each device on each feeder line.
[0059] Optionally, by traversing each feeder, all devices connected to it are identified and recorded. Then, the line node type of each device is determined based on the location and connection relationship of the device in the feeder. For example, a node near a substation may be a trunk node, while a device at the end of a branch line may be an end node.
[0060] Step S108: Generate a ring network diagram corresponding to the target power supply area according to the line node type.
[0061] Among them, the ring network diagram is a diagram that reflects the power network structure in the power supply area, showing each feeder and their connection relationship, which is used to analyze and manage power distribution.
[0062] Optionally, a corresponding layout method may be determined according to the line node type, and a ring network diagram corresponding to the target power supply area may be generated according to the corresponding layout method.
[0063] Optionally, the line node type may include a branch line node and a trunk line node. If the line node type is a trunk line node, the trunk line layout is adopted for layout. If the line node type is a branch trunk line node, the branch line layout is adopted.
[0064] Furthermore, the type of connection line corresponding to the device can be determined according to the device line node type. For example, if the line node type is a trunk line node, the connection line connecting the device is determined to be a trunk line, otherwise it is a branch trunk line. Then, the trunk line and the branch trunk line are arranged according to the layout method to generate a ring network diagram corresponding to the target power supply area.
[0065] The above ring network diagram arrangement method first determines the target power supply area and obtains the feeder group corresponding to the area. Each feeder group contains multiple feeders, and each feeder includes several devices. Next, the line node type of each device on each feeder is determined one by one. By classifying the node types, the trunk line and branch line can be accurately identified. Finally, based on these node types, a ring network diagram of the target power supply area is generated. In this way, the ring network diagram can be automatically generated, which greatly improves the generation efficiency of the ring network diagram.
[0066] In one of the embodiments, determining the line node type of each device in each feeder includes: extracting the graphic model data corresponding to each feeder from the power distribution geographic information system; the graphic model data includes the connection relationship between each device on the feeder; obtaining the feeder switch library corresponding to the feeder group; combining the graphic model data and the feeder switch library to determine the line node type of the device.
[0067] Among them, the graphical data describes the connection relationship between the feeder and the equipment in the power. For example, the graphical data abstracts the equipment into nodes, and the connection relationship between the equipment is abstracted into the connection line between the nodes. Since each feeder includes several equipments, and each equipment is connected to each other or forms a loop, the connection relationship between each equipment on each feeder can be clearly and intuitively obtained through the graphical data.
[0068] The feeder switch library refers to the collection of outgoing switches of each feeder substation. Outgoing switch of feeder substation: It is the starting switch of the distribution network line. It is the power supply of the distribution network line and the final switch of the substation.
[0069] Optionally, each switch has a unique identifier ID for identification and management in the system. In addition, each feeder switch is associated with a feeder, and the feeder identifier indicates the feeder corresponding to the switch.
[0070] Specifically, in this embodiment, the feeder switch library and the graphic model data are combined to determine the linear node type of the equipment.
[0071] Optionally, since the diagram data includes the connection relationship between each device, the hierarchy of each device in each feeder and their parent node and child node can be identified through the diagram data. The feeder switch library stores the switches of each feeder and the power grid, so the starting point of the traversal in the diagram data, that is, the root node, can be determined through the feeder switch library to judge each device in the diagram data to determine the line node type of each device.
[0072] In the above embodiment, each device can be quickly identified using the graphic model data and the feeder switch library, and the connection relationship between each device is retained in the graphic model data. Therefore, traversal can be performed from the parent node to the child node in sequence according to the connection relationship between each device, which can make the traversal more efficient.
[0073] In one of the embodiments, the line node type of the equipment is determined by combining the graphic model data and the feeder switch library, including: determining the root node of each graphic model data based on the feeder switch library; and judging the boundary conditions of each device node in each graphic model data with the root node as the starting point to obtain the line node type of each device.
[0074] Optionally, each switch in the feeder switch library corresponds to each feeder, so the root node of each graph data can be determined based on the feeder switch library.
[0075] Exemplarily, assume that feeder group A = {a1, a2, ..., an}, where each element represents a feeder. Feeder switch library B = {b1, b2, ..., bn}, where each element bn represents the substation outgoing line switch corresponding to feeder an. This switch is the starting point of the traversal, and each feeder has a unique corresponding outgoing line switch. One thing that needs to be explained is that each switch ID in the feeder switch library B corresponds one-to-one to the feeder ID in the feeder group library A. For example, the outgoing line switch corresponding to feeder a1 is b1, a2 corresponds to b2, and so on.
[0076] Optionally, the traversal starts from the starting switch (such as B1) in the corresponding feeder switch library B, and the connected devices and lines are traversed step by step according to the topological structure of the feeder.
[0077] For example, B1 is the outgoing line switch of feeder a1 and the starting point of this feeder. The topology traversal starts from B1. Starting from B1, the connected lines and devices are traversed according to the connection relationship in the graph data. The traversal process here mainly focuses on the connection nodes (such as switches, transformers, etc.) along the line downward, and the line node type corresponding to each device will be determined during the traversal process.
[0078] Optionally, when the traversal reaches the boundary condition, it indicates that the traversal of this line is finished. Then, the next feeder (such as a2) can be switched to start a new round of traversal from the corresponding starting switch (such as B2).
[0079] Optionally, during the traversal process, the graph data may be traversed using a depth traversal or a breadth traversal.
[0080] This ensures that the topology of each feeder can be fully identified and analyzed.
[0081] Furthermore, in one of the embodiments, the boundary conditions of each device node in each graphical model data are judged starting from the root node to obtain the line node type of each device, including: if the device node is a single connection element or a non-connection element, the line node type of the device node is determined to be a branch line node; if the device node is a contact point, the line node type of the device node is determined to be a trunk line node.
[0082] In this embodiment, each device, that is, each node in the graph data, is judged according to the boundary judgment condition to obtain the line node type of each device.
[0083] The boundary judgment condition is a set of rules or standards that are pre-set according to the actual situation of the power grid to determine when to stop traversal or how to classify nodes.
[0084] Optionally, in this embodiment, there are three boundary judgment conditions, which are as follows:
[0085] Boundary judgment condition 1: The component is a single-connection component, such as a distribution transformer.
[0086] Boundary judgment condition 2: The back end of the component is empty and there is no connected component, such as a switch or knife switch that is not connected to a device.
[0087] Boundary judgment condition 3: The component is defined as a contact point.
[0088] Among them, the contact point is a node that connects the primary equipment of two or more feeders together to form a physical connection relationship. In the actual distribution network, the distribution ring main unit is used as the contact point.
[0089] Boundary 1 and Boundary 2 are the boundary conditions of the branch line in the feeder. Boundary 3 is the boundary condition of the trunk line in the feeder. When traversing the feeder, the line node type of each type of equipment can be determined by judging the boundary conditions.
[0090] In the above embodiment, the line node type of each device is accurately determined according to the boundary judgment condition.
[0091] In one of the embodiments, a ring network diagram corresponding to the target power supply area is generated according to the line node type, including: identifying the main lines and branch lines in the feeder based on the line node type; arranging the main lines and branch lines according to their corresponding layout methods, and generating a ring network diagram corresponding to the target power supply area.
[0092] Since the line node type of each device has been obtained, the type of the connection line connecting the corresponding device can be obtained according to the line node type. Therefore, in this embodiment, the main line and branch line in each feeder can be identified according to the line node type.
[0093] Among them, the trunk line refers to a single radiating branch line that is branched off from the main line node and is mainly used to supply power to the distribution transformer. When the upper node loses power, the rear-end nodes will lose power.
[0094] Among them, the branch line is a secondary line branched from the main line, which is responsible for allocating traffic or resources from the main line to specific sub-networks, areas or devices.
[0095] Furthermore, after the main trunk lines and branch trunk lines are determined, the main trunk lines and branch trunk lines are arranged according to their corresponding layout modes, and a ring network diagram corresponding to the target power supply area is generated.
[0096] In the above embodiment, the main line and branch line in the feeder are identified by line node type, and then arranged according to the local mode corresponding to the main line and the branch line, so as to accurately generate a ring network diagram corresponding to the target power supply network.
[0097] Furthermore, in one of the embodiments, based on the line node type, the main line and branch trunk line in the feeder are identified, including: if the device node is a main line node, determining that the connection line connecting the device node is the main line; if the device node is a branch line node, determining that the connection line connecting the device node is the branch trunk; arranging the main line and the branch trunk line according to the corresponding layout methods of the main line and the branch trunk line, including: arranging the main line according to the horizontal layout and the vertical layout; arranging the branch trunk line according to the branch line layout; the horizontal layout is to arrange the feeder switch in the first preset position and the contact point in the second preset position in space uniformly; wherein, the vertical layout is to arrange each main line in equal intervals according to the preset method according to the identification of the feeder; wherein the branch line layout is to arrange it at the third preset position of the lead-out node on the main line.
[0098] Exemplarily, if the device node is a trunk line node, the connection line connecting the device node is determined to be a main line; if the device node is a branch line node, the connection line connecting the device node is determined to be a branch trunk.
[0099] Exemplarily, the trunk lines are arranged according to the horizontal layout and the vertical layout, and the branch trunk lines are arranged according to the branch line layout.
[0100] Among them, the horizontal arrangement is arranged with the feeder switch at the first preset position and the contact point at the second preset position. The first preset position and the second preset position are preset. For example, the first preset position is on the left and the second preset position is on the right. In this way, arranging the trunk lines evenly from the left can make the ring network diagram more organized. In addition, arranging the trunk lines evenly in space from left to right can optimize the visualization effect and space utilization of the network diagram. This arrangement makes the network structure clearer and neater, and is easy to observe and operate.
[0101] Among them, the vertical layout is based on the corresponding identification of the feeder, according to the size of the feeder identification, from small to large, and the main lines of each feeder are arranged at equal intervals from top to bottom, and the layout space of the branch lines is reserved between the main lines of each feeder. In this way, in the vertical layout, the main lines of each feeder are arranged at equal intervals from top to bottom according to the order of the feeder identification from small to large, and the layout space of the branch lines is reserved, which helps to improve the orderliness, space utilization and readability of the network diagram. The reserved space ensures the effective separation between the main line and the branch line, and simplifies maintenance and expansion operations.
[0102] The branch line layout is arranged at the third preset position of the lead-out node on the main line. Exemplarily, the branch layout is filled and laid out below the lead-out node of the branch line on the main line.
[0103] Exemplarily, in conjunction with Figure 2, Figure 2 is a schematic diagram of a ring network diagram in an embodiment. Figure 2 includes two feeders, namely feeder a1 and feeder a2. The feeder switch library includes switch b1 and switch b2. According to the method of determining the line node type of each device on each feeder in the above embodiment, the main lines and branch lines of the distribution network ring network feeder a1 and feeder a2 are marked. As shown in Figure 3, a1 main line, a1 branch line 1, a1 branch line 2, a1 branch line 3, a2 main line, a2 branch line 1, a2 branch line 2. Then, according to the layout of the main line and the branch line, the a1 main line and the a2 main line are arranged horizontally and vertically; the a1 branch line 1, a1 branch line 2, a1 branch line 3, a2 branch line 1, and a2 branch line 2 are filled and laid out below the node according to the lead-out node of the branch line on the main line.
[0104] In an exemplary embodiment, in combination with FIG. 3 , FIG. 3 is a schematic flow chart of a ring network diagram arrangement method in an embodiment.
[0105] First, obtain the feeder group and feeder group diagram data. Define feeder group A = {a1, a2, ..., an}, where an refers to the feeder ID and is unique. The topology traversal of the distribution network ring diagram is based on the feeder substation outgoing switch as the starting point of the topology (that is, the root node of the traversal). Therefore, based on the feeder group library A, obtain the feeder substation outgoing switch, and define the feeder switch library B = {b1, b2, ..., bn}, where bn refers to the feeder substation outgoing switch ID, which is unique and corresponds one-to-one with an.
[0106] Traverse each feeder separately, take n=1, start traversing the b1 switch of the a1 feeder, and perform boundary judgment conditions on the nodes according to the connection relationship of the feeder diagram. The boundary condition is the termination criterion for a traversal path. Determine the line node type of each device according to the boundary judgment condition, and generate a corresponding ring network diagram according to the line node type. Among them, determining the line node type of each device and generating a corresponding ring network diagram according to the line node type has been specifically described in the above embodiment, and will not be repeated here.
[0107] In the above embodiment, the equipment of each feeder in the feeder group is globally traversed, the main line and branch line of the feeder are identified, and the main line and branch line are specifically arranged, which can greatly improve the efficiency of generating the ring network diagram. In addition, through automatic typesetting, a unified network topology analysis and spatial layout rules are adopted, which can reduce the differences in manual typesetting.
[0108] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0109] Based on the same inventive concept, the embodiment of the present application also provides a ring network diagram arrangement device for implementing the above-mentioned ring network diagram arrangement method. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above-mentioned method, so the specific limitations in one or more embodiments of the ring network diagram arrangement device provided below can refer to the limitations of the ring network diagram arrangement method above, and will not be repeated here.
[0110] In an exemplary embodiment, as shown in FIG4 , a ring network diagram arrangement device is provided, comprising: an area determination module 410, an information acquisition module 420, a type determination module 430 and a ring network diagram generation module 440, wherein:
[0111] The area determination module 410 is used to determine a target power supply area.
[0112] The information acquisition module 420 is used to acquire a feeder group corresponding to a target power supply area; the feeder group includes a plurality of feeders, and each feeder includes a plurality of devices.
[0113] The type determination module 430 is used to determine the line node type of each device on each feeder line.
[0114] The ring network diagram generating module 440 is used to generate a ring network diagram corresponding to the target power supply area according to the line node type.
[0115] In one embodiment, the type determination module includes:
[0116] The graphic model data acquisition unit is used to extract the graphic model data corresponding to each feeder from the power distribution geographic information system; the graphic model data includes the connection relationship between each device on the feeder.
[0117] A switch library acquisition unit, used to acquire a feeder switch library corresponding to a feeder group;
[0118] The node type determination unit is used to determine the line node type of the equipment in combination with the graphic model data and the feeder switch library.
[0119] In one embodiment, the node type determination unit includes:
[0120] The root node determination subunit is used to determine the root node of each graph model data based on the feeder switch library.
[0121] The judgment subunit is used to judge the boundary conditions of each device node in each diagram data with the root node as the starting point to obtain the line node type of each device.
[0122] In one embodiment, the judgment subunit includes:
[0123] The first judgment subunit is used to determine that the line node type of the device node is a branch line node if the device node is a single connection element or a non-connection element.
[0124] The second judgment subunit is used to determine the line node type of the device node as a trunk line node if the device node is a contact point.
[0125] In one embodiment, the ring network diagram generation module includes:
[0126] The trunk line identification unit is used to identify the main trunk line and branch trunk line in the feeder line based on the line node type.
[0127] The arrangement generation unit is used to arrange the main trunk lines and the branch trunk lines according to their corresponding layout methods, and generate a ring network diagram corresponding to the target power supply area.
[0128] In one embodiment, the trunk line identification unit includes:
[0129] The first identification subunit is used to determine that the connection line connecting the device node is a main line if the device node is a main line node.
[0130] The second identification subunit is used to determine that the connection line connecting the device node is a branch trunk line if the device node is a branch line node.
[0131] In one embodiment, the arrangement generation unit includes:
[0132] The first arrangement subunit is used to arrange the trunk lines according to the horizontal layout and the vertical layout. The horizontal layout is that the feeder switches are at the first preset position and the contact points are evenly arranged in space at the second preset position; the vertical layout is that each trunk line is arranged at equal intervals in a preset manner according to the identification of the feeder line.
[0133] The second arranging subunit is used to arrange the branch trunk line according to the branch line layout, wherein the branch line layout is arranged at the third preset position of the lead-out node on the trunk line.
[0134] Each module in the above-mentioned ring network diagram arrangement device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0135] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG5. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store model data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a ring network diagram arrangement method is implemented.
[0136] Those skilled in the art will understand that the structure shown in FIG. 5 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0137] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: determining a target power supply area; obtaining a feeder group corresponding to the target power supply area; the feeder group includes multiple feeders, and each feeder includes a number of devices; determining a line node type for each device on each feeder; and generating a ring network diagram corresponding to the target power supply area according to the line node type.
[0138] In one embodiment, when the processor executes the computer program, the following steps are also implemented: extracting the graphic model data corresponding to each feeder from the power distribution geographic information system; the graphic model data includes the connection relationship between each device on the feeder; obtaining the feeder switch library corresponding to the feeder group; combining the graphic model data and the feeder switch library to determine the line node type of the device.
[0139] In one embodiment, when the processor executes the computer program, the following steps are also implemented: based on the feeder switch library, the root node of each graphical model data is determined; starting from the root node, the boundary condition of each device node in each graphical model data is judged to obtain the line node type of each device.
[0140] In one embodiment, when the processor executes the computer program, the following steps are also implemented: if the device node is a single connection element or a connectionless element, the line node type of the device node is determined to be a branch line node; if the device node is a contact point, the line node type of the device node is determined to be a trunk line node.
[0141] In one embodiment, when the processor executes the computer program, the following steps are also implemented: based on the line node type, the main lines and branch lines in the feeder are identified; the main lines and branch lines are arranged according to their corresponding layout methods, and a ring network diagram corresponding to the target power supply area is generated.
[0142] In one embodiment, when the processor executes the computer program, the following steps are further implemented: if the device node is a main line node, determining that the connection line connecting the device node is a main line; if the device node is a branch line node, determining that the connection line connecting the device node is a branch line;
[0143] In one embodiment, when the processor executes the computer program, the following steps are also implemented: the trunk lines are arranged according to the horizontal layout and the vertical layout; the branch trunk lines are arranged according to the branch line layout; the horizontal layout is to arrange the feeder switches evenly in space in the first preset position and the contact points in the second preset position; the vertical layout is to arrange each trunk line at equal intervals in a preset manner according to the identification of the feeder line; the branch line layout is to arrange the branch lines at the third preset position of the lead-out node on the trunk line.
[0144] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: determining a target power supply area; obtaining a feeder group corresponding to the target power supply area; the feeder group includes multiple feeders, and each feeder includes a number of devices; determining the line node type of each device on each feeder; and generating a ring network diagram corresponding to the target power supply area according to the line node type.
[0145] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: extracting the graphic model data corresponding to each feeder from the power distribution geographic information system; the graphic model data includes the connection relationship between each device on the feeder; obtaining the feeder switch library corresponding to the feeder group; combining the graphic model data and the feeder switch library to determine the line node type of the device.
[0146] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: based on the feeder switch library, the root node of each graphical model data is determined; starting from the root node, the boundary condition of each device node in each graphical model data is judged to obtain the line node type of each device.
[0147] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the device node is a single connection element or a connectionless element, the line node type of the device node is determined to be a branch line node; if the device node is a contact point, the line node type of the device node is determined to be a trunk line node.
[0148] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: based on the line node type, the main lines and branch lines in the feeder are identified; the main lines and branch lines are arranged according to their corresponding layout methods, and a ring network diagram corresponding to the target power supply area is generated.
[0149] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: if the device node is a main line node, determining that the connection line connecting the device node is a main line; if the device node is a branch line node, determining that the connection line connecting the device node is a branch line;
[0150] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: the trunk lines are arranged according to the horizontal layout and the vertical layout; the branch trunk lines are arranged according to the branch line layout; the horizontal layout is to arrange the feeder switches evenly in space in the first preset position and the contact points in the second preset position; the vertical layout is to arrange each trunk line at equal intervals in a preset manner according to the identification of the feeder line; the branch line layout is to arrange the branch lines at the third preset position of the lead-out node on the trunk line.
[0151] In one embodiment, a computer program product is provided, including a computer program, which implements the following steps when executed by a processor: determining a target power supply area; obtaining a feeder group corresponding to the target power supply area; the feeder group includes multiple feeders, each feeder includes a number of devices; determining the line node type of each device on each feeder; and generating a ring network diagram corresponding to the target power supply area according to the line node type.
[0152] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: extracting the graphic model data corresponding to each feeder from the power distribution geographic information system; the graphic model data includes the connection relationship between each device on the feeder; obtaining the feeder switch library corresponding to the feeder group; combining the graphic model data and the feeder switch library to determine the line node type of the device.
[0153] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: based on the feeder switch library, the root node of each graphical model data is determined; starting from the root node, the boundary condition of each device node in each graphical model data is judged to obtain the line node type of each device.
[0154] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the device node is a single connection element or a connectionless element, the line node type of the device node is determined to be a branch line node; if the device node is a contact point, the line node type of the device node is determined to be a trunk line node.
[0155] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: based on the line node type, the main lines and branch lines in the feeder are identified; the main lines and branch lines are arranged according to their corresponding layout methods, and a ring network diagram corresponding to the target power supply area is generated.
[0156] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: if the device node is a main line node, determining that the connection line connecting the device node is a main line; if the device node is a branch line node, determining that the connection line connecting the device node is a branch line;
[0157] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: the trunk lines are arranged according to the horizontal layout and the vertical layout; the branch trunk lines are arranged according to the branch line layout; the horizontal layout is to arrange the feeder switches evenly in space in the first preset position and the contact points in the second preset position; the vertical layout is to arrange each trunk line at equal intervals in a preset manner according to the identification of the feeder line; the branch line layout is to arrange the branch lines at the third preset position of the lead-out node on the trunk line.
[0158] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0159] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0160] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A ring network diagram arrangement method, characterized in that: The method comprises: Determine the target power supply area; Acquire a feeder group corresponding to the target power supply area; the feeder group includes a plurality of feeders, and each feeder includes a plurality of devices; Determining a line node type for each device on each of the feeders; According to the line node type, a ring network diagram corresponding to the target power supply area is generated.
2. The ring network diagram arrangement method according to claim 1, characterized in that: The determining of the line node type of each device in each feeder includes: Extracting the graphic model data corresponding to each feeder from the power distribution geographic information system; the graphic model data includes the connection relationship between each device on the feeder; Obtain a feeder switch library corresponding to the feeder group; The line node type of the device is determined by combining the graphic model data and the feeder switch library.
3. The ring network diagram arrangement method according to claim 2, characterized in that: The determining the line node type of the device by combining the graphic model data and the feeder switch library includes: Based on the feeder switch library, determining a root node of each of the graph model data; Taking the root node as the starting point, boundary condition judgment is performed on each device node in each of the graphic model data to obtain the line node type of each of the devices.
4. The ring network diagram arrangement method according to claim 3, characterized in that: The step of judging the boundary conditions of each device node in each of the graphic model data with the root node as the starting point to obtain the line node type of each of the devices includes: If the device node is a single connection element or a non-connection element, determining that the line node type of the device node is a branch line node; If the device node is a contact point, the line node type of the device node is determined to be a trunk line node.
5. The ring network diagram layout method according to claim 4, characterized in that: The generating, according to the line node type, a ring network diagram corresponding to the target power supply area includes: Based on the line node type, identifying a main line and a branch line in the feeder; The main trunk lines and the branch trunk lines are arranged according to the corresponding layout modes of the main trunk lines and the branch trunk lines, and a ring network diagram corresponding to the target power supply area is generated.
6. The ring network diagram layout method according to claim 5, characterized in that: The step of identifying a main line and a branch line in the feeder based on the line node type includes: If the device node is the trunk line node, determining that the connection line connecting the device node is the trunk line; If the device node is the branch line node, determining that the connection line connecting the device node is the branch trunk line; Arranging the main line and the branch line according to the layout modes corresponding to the main line and the branch line includes: Arranging the trunk lines according to a horizontal layout or a vertical layout; Arranging the branch trunk lines according to the branch line layout; The horizontal layout is that the feeder switch is at a first preset position and the contact point is at a second preset position and is evenly arranged in space; The longitudinal layout is to arrange each of the trunk lines at equal intervals in a preset manner in sequence according to the identifiers of the feeder lines; The branch line layout is arranged at a third preset position of the lead-out node on the main line.
7. A ring network diagram arrangement device, characterized in that: The device comprises: An area determination module, used to determine a target power supply area; An information acquisition module, used to acquire a feeder group corresponding to the target power supply area; the feeder group includes a plurality of feeders, each of which includes a plurality of devices; A type determination module, used to determine the line node type of each device on each feeder line; The ring network diagram generation module is used to generate a ring network diagram corresponding to the target power supply area according to the line node type.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method and system for generating looped network contact diagram of power grid
CN114862985A
Distribution network contact diagram automatic generation method
CN115577480A
Distribution line looped network diagram generation method and system based on single line diagram in power grid
CN117077334A
