A method, apparatus, device and storage medium for electrical drawing generation

By optimizing the layout of electrical drawings, the problem of layout requirements not being considered in existing technologies is solved, generating electrical drawings without intersections or overlaps, thus improving the efficiency and quality of power system planning.

CN114329865BActive Publication Date: 2026-01-02GUANGDONG POWER GRID CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111644404.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-29
Publication Date
2026-01-02
Estimated Expiration
2041-12-29

AI Technical Summary

Technical Problem

Existing electrical drawing generation technology does not take layout requirements into account, which leads to obstacles in viewing and using the drawings, consumes a lot of manpower and resources, and affects the quality of planning schemes.

Method used

By determining the topology of candidate substations, obtaining information on return lines and inter-station connection points, optimizing the layout based on the inter-station connection point information, and generating electrical drawings without intersections or overlaps.

Benefits of technology

This significantly reduces the overlap of circuit lines and equipment on electrical drawings, improves the efficiency of power dispatchers, and reduces the workload of drawing maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114329865B_ABST
    Figure CN114329865B_ABST
Patent Text Reader

Abstract

The application discloses a kind of electrical drawing generation method, device, equipment and storage medium, the method includes: determining the candidate substation existing in the electrical drawing to be generated;Obtain the topology structure of each candidate substation, and determine the loop line of the candidate substation from the topology structure and the information of interstation tie-in point;Layout optimization is carried out to the loop line based on the information of interstation tie-in point;Electrical drawing is generated using the layout-optimized loop line.The electrical drawing generated by the layout optimization of the embodiment of the present application can greatly reduce the occurrence of loop line and equipment intersection and overlap on the electrical drawing, greatly improve the efficiency of power dispatch personnel using electrical drawing and reduce the workload of maintaining drawing.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to power system drawing processing technology, and in particular, to a method and apparatus for generating an electrical drawing, a device, and a storage medium. BACKGROUND

[0002] In the planning work of a power system, the drawing and updating of planning scheme results such as a planning state loop diagram and an electrical wiring diagram are manually maintained by planning personnel. With the increase in project library planning, the huge drawing maintenance workload not only consumes a large amount of manpower and resources, but also makes the planning personnel unable to focus on the planning scheme itself, which is not conducive to improving the quality of the planning scheme.

[0003] Currently, to adapt to increasingly complex and large-scale distribution networks, research on automatic generation of electrical drawings has made great progress. However, the currently generated electrical drawings only focus on the display of geographical information and topological connection relationships, without considering the layout requirements of the drawings, which makes it difficult to view or use the electrical drawings. SUMMARY

[0004] The present application provides a method and apparatus for generating an electrical drawing, a device, and a storage medium to overcome the problem that the current technology does not consider the layout of the electrical drawing, which is not conducive to the use of the electrical drawing, and to generate an electrical drawing with a reasonable layout and no overlapping of lines and devices.

[0005] In a first aspect, embodiments of the present application provide a method for generating an electrical drawing, the method comprising:

[0006] determining candidate substations present in an electrical drawing to be generated;

[0007] obtaining a topological structure of each candidate substation, and determining loop lines of the candidate substations and inter-station tie point information from the topological structure;

[0008] performing layout optimization on the loop lines based on the inter-station tie point information;

[0009] generating an electrical drawing using the loop lines after layout optimization.

[0010] Optionally, the determining of the candidate substations present in the electrical drawing to be generated comprises:

[0011] receiving a target power area corresponding to the electrical drawing to be generated specified by a user;

[0012] identifying all substations present in the target power area as candidate substations.

[0013] Optionally, the topology of each candidate transformer substation is acquired, and the loop line and inter-station tie-in point information of the candidate transformer substation are determined from the topology, comprising:

[0014] The topology of each candidate transformer substation is acquired, and the outgoing line switch and inter-station tie-in point information of the candidate transformer substation are determined from the topology;

[0015] The topology is analyzed along the line from the outgoing line switch as the starting point, and the loop line of the candidate transformer substation is determined.

[0016] Optionally, the inter-station tie-in point information comprises inter-station tie-in point attribution information, which is used to determine the transformer substation to which the inter-station tie-in point belongs;

[0017] The layout optimization of the loop line based on the inter-station tie-in point information comprises:

[0018] The three-dimensional map of the target power area is acquired, and the position distribution information of the candidate transformer substation is extracted from the three-dimensional map;

[0019] The position information of each inter-station tie-in point in the to-be-generated electrical drawing is determined according to the inter-station tie-in point attribution information and the position distribution information;

[0020] The loop line is re-laid out according to the position information.

[0021] Optionally, the inter-station tie-in point information comprises the transformer substation information connected thereto; and the position information of each inter-station tie-in point in the to-be-generated electrical drawing is determined according to the inter-station tie-in point attribution information and the position distribution information, comprising:

[0022] Each candidate transformer substation is traversed, and for the currently traversed transformer substation, a coordinate system is established with the position of the transformer substation as the origin;

[0023] The candidate transformer substations falling into each quadrant of the coordinate system are determined according to the position distribution information of the current candidate transformer substation and other candidate transformer substations;

[0024] For each quadrant, the candidate transformer substations falling into the current quadrant are determined as to-be-connected transformer substations;

[0025] Each to-be-connected transformer substation is traversed, and the target loop line of the current to-be-connected transformer substation and the current candidate transformer substation, and the target tie-in point information on the target loop line are determined;

[0026] According to inter-station interconnection point attribution information in the target interconnection point information, position information of each target interconnection point is determined, so that the target interconnection point is close to one side of the attributed transformer substation and is on the same horizontal line or vertical line with other determined interconnection points of the attributed transformer substation.

[0027] Optionally, the re-arranging the loop line according to the position information comprises:

[0028] According to the position information of the target interconnection point, a loop line between the corresponding target interconnection point, the current candidate transformer substation and the current to-be-connected transformer substation is drawn as the loop line after the arrangement optimization.

[0029] Optionally, the generating the electrical drawing by using the loop line after the arrangement optimization comprises:

[0030] The loop line after the arrangement optimization is subjected to overlap judgment.

[0031] If the judgment result is no overlap, a corresponding device graph element is added to the loop line after the arrangement optimization according to the topological structure of each candidate transformer substation, so as to generate the electrical drawing.

[0032] In a second aspect, the embodiments of the present application further provide a device for generating an electrical drawing, and the device comprises:

[0033] A candidate transformer substation determination module is configured to determine candidate transformer substations existing in the electrical drawing to be generated.

[0034] A determination module is configured to acquire topological structures of each candidate transformer substation and determine loop lines and inter-station interconnection point information of the candidate transformer substations from the topological structures.

[0035] An arrangement optimization module is configured to perform arrangement optimization on the loop lines based on the inter-station interconnection point information.

[0036] An electrical drawing generation module is configured to generate the electrical drawing by using the loop lines after the arrangement optimization.

[0037] In a third aspect, the embodiments of the present application further provide an electronic device, which comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor executes the program to implement the method described above.

[0038] In a fourth aspect, the embodiments of the present application further provide a computer readable storage medium, which stores a computer program executable by a processor to implement the method described above.

[0039] The present application has the following advantages:

[0040] In this embodiment, by determining the candidate substations existing in the to-be-generated electrical drawing, the topology structure of each candidate substation is acquired, the loop line and the inter-station tie-in point information of the candidate substations are determined from the topology structure, the loop line is laid out based on the inter-station tie-in point information, and the electrical drawing is generated by using the layout-optimized loop line. The electrical drawing generated by the layout optimization of this embodiment can greatly reduce the occurrence of the loop line and the device intersection and overlap on the electrical drawing, greatly improve the efficiency of the power dispatch personnel using the electrical drawing, and reduce the workload of maintaining the drawing. BRIEF DESCRIPTION OF DRAWINGS

[0041] Figure 1 is a flowchart of a method embodiment of electrical drawing generation provided by the first embodiment of the present application;

[0042] Figure 2 is a schematic map provided by the first embodiment of the present application;

[0043] Figure 3 is a schematic diagram of substation position distribution provided by the first embodiment of the present application;

[0044] Figure 4 is a schematic diagram of inter-station tie-in point position distribution provided by the first embodiment of the present application;

[0045] Figure 5 is a schematic diagram of loop line of tie-in feeder group provided by the first embodiment of the present application;

[0046] Figure 6 is a schematic diagram of electrical drawing generation process provided by the first embodiment of the present application;

[0047] Figure 7 is a schematic diagram of layout optimization provided by the first embodiment of the present application;

[0048] Figure 8 is a structural block diagram of a device embodiment of electrical drawing generation provided by the second embodiment of the present application;

[0049] Figure 9 is a structural schematic diagram of an electronic device provided by the third embodiment of the present application. DETAILED DESCRIPTION

[0050] The present application will be further described in detail below in combination with the drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, only the parts related to the present application are shown in the drawings, but not all the structures.

[0051] Embodiment One

[0052] Figure 1 A flowchart of a method embodiment of generating an electrical drawing provided for the first embodiment of the present application.

[0053] In the present embodiment, the electrical drawings mentioned mainly include drawings required by power system business, including single-line diagram, loop network diagram and electrical wiring diagram. The single-line diagram is generated in units of a certain loop line, according to the topology analysis result of the power grid along the layout, starting from the first end of the line (outlet switch), and generating all the devices of the entire line on a drawing in the order of topology. The loop network diagram is generated in units of a group of multi-loop lines with mutual connection, and all the multi-loop lines in the group are drawn on the same drawing. The electrical wiring diagram is generated in units of a certain station or region, and all the lines of the target substation or region are drawn on the same drawing.

[0054] In the present embodiment, the generation of the electrical drawing and the optimization of the layout thereof can realize that there is no intersection and overlap of lines and devices on the electrical drawing, greatly improving the use efficiency of the power dispatchers and reducing the workload of maintaining the drawings.

[0055] As shown in the figure, the present embodiment can include the following steps: Figure 1

[0056] Step 110, determining candidate substations existing in the electrical drawing to be generated.

[0057] In this step, the generation of the electrical drawing is generally generated in units of substations, and the user can select and specify the substations required to be displayed on the electrical drawing as the candidate substations, or the user can select and specify the geographical region required to be displayed on the electrical drawing, and all the substations in the corresponding power grid range of the geographical region are the candidate substations, or the user can select and specify the substations required to be displayed on the electrical drawing, and all the substations within a certain radius range centered on the substations are the candidate substations.

[0058] In one embodiment, step 110 includes the following steps:

[0059] Step 110-1, receiving the target power region corresponding to the electrical drawing to be generated specified by the user.

[0060] In this step, when the user specifies a geographical region, the power region corresponding to the geographical region is the target power region, which means that the range displayed on the electrical drawing to be generated will be consistent with the specified target power region.

[0061] Step 110-2, identifying all the substations existing in the target power region as the candidate substations.

[0062] ​In this step, after the target power area is determined, the topology structure of the target power area can be obtained from the power grid system, and the substations can be directly identified from the topology structure. All the substations identified in the topology structure of the target area are taken as candidate substations.

[0063] The topology structure of the power grid system refers to connecting busbars, generators, synchronous motors, load points and other elements of the power grid through circuit breakers and other switching devices to form nodes irrelevant to their styles, and abstracting power lines connecting the nodes into lines, and then representing the relationship between the nodes in the form of a topology graph.

[0064] In step 120, the topology structure of each candidate substation is obtained, and the loop line and inter-station connection point information of the candidate substation are determined from the topology structure.

[0065] In this step, according to the identified candidate substations, the topology structure of each candidate substation itself can be obtained from the power grid system. For different electrical drawings required by different services, such as single-line diagrams and loop network diagrams, the loop line is taken as a unit, and the electrical wiring diagram is taken as a unit of a certain substation or a certain area, and all the loop lines in the substation or the area are drawn on the drawing. Therefore, the generation of the electrical drawing needs to determine the loop line based on the topology graph. In addition, the inter-station connection point refers to the point at which the lines from two different substations are connected together.

[0066] In actual application, in the process of generating the electrical drawing, when determining the overall layout of the electrical drawing, all the devices in the entire loop obtained through the topology structure do not need to be drawn, and usually only some key nodes need to be retained. For example, only the inter-station connection point needs to be drawn on the electrical wiring diagram, and therefore the topology structure can be simplified, and generally only the inter-station connection point and the connection line between nodes need to be retained, and some other devices can be added according to the requirements after the overall layout of the electrical drawing is completed.

[0067] In an embodiment, step 120 includes the following steps:

[0068] In step 120-1, the topology structure of each candidate substation is obtained, and the outgoing switch and the inter-station connection point information of the candidate substation are determined according to the topology structure.

[0069] In step 120-2, the outgoing switch is taken as a starting point to analyze the topology structure along the line, and the loop line of the candidate substation is determined.

[0070] In step 120-1 and step 120-2, for each candidate transformer substation, the outgoing line switch of the transformer substation itself and the inter-station tie-in point information related to the transformer substation itself can be determined directly from the topology structure of the transformer substation itself. The outgoing line switch refers to a medium-voltage circuit breaker switch in the transformer substation, which is a device of a line.

[0071] In the process of determining the loop line, the topology structure can be traversed, starting from each transformer substation itself with a certain outgoing line switch, and then analyzing each device along the line of the topology structure until a complete loop line is analyzed. According to the type of the electrical drawing and the loop line related to each candidate transformer substation itself, all loop lines of all candidate transformer substations are determined.

[0072] Step 130, layout optimization of the loop line based on the inter-station tie-in point information.

[0073] In this step, due to the large amount of information of the electrical drawing, the lines are prone to cross and overlap, which directly affects the readability of the drawing. In order to have a better presentation effect of the drawing, the layout of the devices on the drawing needs to be optimized and distributed. In this embodiment, the layout optimization of the loop line is performed based on the inter-station tie-in point information.

[0074] In an embodiment, the inter-station tie-in point information includes inter-station tie-in point attribution information, the inter-station tie-in point attribution information is used to determine the transformer substation to which the inter-station tie-in point belongs, and step 130 includes the following steps:

[0075] Step 130-1, obtaining a three-dimensional map of the target power area, and extracting the position distribution information of the candidate transformer substations according to the three-dimensional map.

[0076] In this step, the three-dimensional map of the target power area can be obtained through the power distribution network GIS (GIS, geographic information system) management system. The power distribution network GIS management system is a professional geographic information distribution network management software designed for power transmission and distribution data management, which includes electronic management of distribution data, can realize selection of map according to demand, and can display in the form of three-dimensional map, can also display background map and devices, and can quickly query and locate through road name, place name, transformer substation number and other information.

[0077] In this embodiment, the three-dimensional map of the target power area can be obtained through the power distribution network GIS management system, and then the position distribution information of the candidate transformer substations can be extracted by sparse processing the three-dimensional map according to the coordinate positions of the candidate transformer substations in the target power area and the number of loop lines in the power distribution network GIS management system.

[0078] For example, referring to the map schematic diagram of Figure 2 , there are three transformer substations, "Longpan", "Songshanyu" and "Hengping". The position distribution information of the three transformer substations is extracted by sparse processing the three-dimensional map according to the coordinate positions of the three transformer substations in the target power area and the number of loop lines in the power distribution network GIS management system.Figure 2 The sparse processing of the map shown can generate a substation position distribution diagram as shown in Figure 3 The substation position distribution diagram shows that the layout of the three substations is basically consistent with the geographical position on the map. In the specific implementation, the layout distance of the substations on the electrical drawing can be further adapted according to the number and size of the loop lines. A sufficient layout interval range can be reserved between substations with more loop lines.

[0079] In step 130-2, the position information of each inter-station tie point in the electrical drawing to be generated is determined according to the inter-station tie point attribution information and the position distribution information.

[0080] In this step, the inter-station tie point information includes inter-station tie point attribution information, which is used to determine the substation to which the inter-station tie point belongs. In the layout optimization, the position of the inter-station tie point on the map can be optimized to achieve the effect of optimizing the overall layout.

[0081] In an embodiment, the inter-station tie point information includes the information of the substations connected thereto, and step 130-2 includes the following steps:

[0082] Traverse each candidate substation, and for the substation currently traversed, establish a coordinate system with the position of the substation as the origin;

[0083] According to the position distribution information of the current candidate substation and other candidate substations, determine the candidate substations falling into each quadrant of the coordinate system;

[0084] For each quadrant, determine the candidate substations falling into the current quadrant as the to-be-connected substations;

[0085] Traverse each to-be-connected substation, and determine the target loop line between the current to-be-connected substation and the current candidate substation, and the target tie point information on the target loop line;

[0086] According to the inter-station tie point attribution information in the target tie point information, determine the position information of each target tie point, so that the target tie point is close to one side of the substation to which it belongs, and is on the same horizontal line or vertical line as other determined tie points of the substation.

[0087] In this process, each inter-station tie point is connected to the lines from two different substations, so the position of the inter-station tie point in the electrical drawing to be generated can be distributed between the two substations according to the layout position relationship of the substations connected thereto.

[0088] In determining the position information of the inter-station contact points in the electrical drawing to be generated, each candidate substation can be traversed, and the position of the currently traversed substation can be taken as the origin to establish a coordinate system. After the coordinate system is established for the current substation, the candidate substations falling into each quadrant of the coordinate system can be determined through the previously acquired position distribution information of each candidate substation. These candidate substations falling into the coordinate system of the current substation are the to-be-connected substations. The to-be-connected substations are traversed to determine the target loop line of each to-be-connected substation and the current candidate substation, that is, all loop lines having a connection relationship between the two substations, and to determine the target contact point information playing a connection role on each target loop line. In particular, the case that the to-be-connected substations only happen to fall in the coordinate system of the current candidate substation but do not have a connection relationship, that is, the target loop line has 0, is not excluded.

[0089] According to the inter-station contact point attribution information in the target contact point information, the substation to which the inter-station contact point belongs is determined. In a specific implementation, reference is made to the inter-station contact point position distribution diagram (the contact node in the figure is an inter-station contact point) of Figure 4 In order to realize that there is no intersection and overlap between the lines, the target contact point belonging to the current candidate substation can be close to the side of the substation to which it belongs, and can be on the same horizontal line or vertical line as other determined inter-station contact points of the substation to which it belongs. In addition, the quadrant in which the target contact point belonging to the current candidate substation is located can be consistent with the other connected substations. The inter-station contact point layout can also consider the number of loop lines of the two connected substations to make the distance layout more reasonable.

[0090] Step 130-3: according to the position information, the loop line is re-laid out.

[0091] In this step, after the position information of the inter-station contact points between the candidate substations is determined, the re-laying out of the loop line can be realized through connection by a conductor.

[0092] In an embodiment, step 130-3 includes the following steps:

[0093] According to the position information of the target contact point, the loop line between the corresponding target contact point, the current candidate substation and the current to-be-connected substation is drawn, as the loop line after the layout optimization.

[0094] In this step, after the position information of the target contact point is determined, the current candidate substation and the current to-be-connected substation connected by the target contact point and the three position points are connected in series through a conductor, and the loop line of the current optimized contact feeder group is obtained. Reference is made to Figure 5The schematic diagram of the back line of the contact feeder group can be seen from the schematic diagram, and the position information of the contact point between the stations (i.e., the contact node in the figure) is used to realize the back line of one of the contact feeder groups in the optimized electrical drawing. In addition, in order to make the electrical drawing more beautiful, the layout of the wires is kept as horizontal and vertical as possible.

[0095] Step 140, generating an electrical drawing by using the layout-optimized back line.

[0096] In this step, by traversing each candidate substation, the back line of one contact feeder group is drawn for each currently traversed candidate substation as a coordinate system. Therefore, when all candidate substations are traversed, all layout-optimized back lines are drawn, and the required electrical drawing can be generated by using all layout-optimized back lines.

[0097] In one embodiment, step 140 includes the following steps:

[0098] Step 140-1, overlapping judgment on the layout-optimized back line.

[0099] In this step, the overlapping judgment on the layout-optimized back line is performed to confirm that there is no cross or overlap that affects use between the back lines. In the specific implementation, the buffer area of all graph elements on the back line can be established by using the function of the power distribution network GIS management system to perform buffer area analysis. The buffer area analysis is a common concept in the GIS management system, which refers to the formation of a polygon with a certain range around an existing entity object, that is, the buffer area of any entity object is a polygon. For example, a substation is taken as a graph element, and a circle with a radius of 0.5 cm is taken as the polygon, at this time, the buffer area of all graph elements on the graph is a circle with a radius of 0.5 cm. Then, whether the graph elements overlap or are too close to each other is judged according to whether the polygons overlap or not. In addition, whether the current drawing size is suitable for the graph elements, that is, whether the drawing has enough space to generate the device graph elements.

[0100] Step 140-2, if the judgment result is no overlap, then according to the topological structure of each candidate substation, the corresponding device graph elements are added to the layout-optimized back line to generate an electrical drawing.

[0101] In this step, when the judgment is completed by establishing a buffer and the result is no overlap, the corresponding equipment elements are added to the optimized return lines according to business requirements. Equipment elements eligible for addition can be determined through the corresponding topology. The equipment elements on the electrical drawings, i.e., the constituent elements of the electrical drawings, are divided into two main categories: equipment and wires. Equipment elements are independent, complete, and repeatable; the elements of the same type of equipment on the electrical drawings are identical. When generating electrical drawings, templates for various types of equipment are generally preset. During generation, a copy can be simply copied from the template to the specified location. Wire elements are arbitrarily adjustable, and the connecting wires between devices are generally generated based on the specific locations of the equipment on the drawing. Since the element size is fixed and cannot be reduced, and the drawing area is also fixed, if the judgment result indicates overlap or insufficient space on the drawing, the overlapping elements can be re-laid out using optimized layout methods, such as appropriately increasing the spacing between elements or adjusting the layout direction, to continuously optimize the process.

[0102] In addition to the feeder groups connecting substations, there may also be feeder groups connecting within the same substation. After the inter-substation connections are generated, other lines of the substation also need to be generated. Since other lines, including intra-substation line connections and single-radial lines, do not involve lines of multiple substations, the layout strategy mainly considers reducing crossings and overlaps. Generally, it is only necessary to generate lines in directions with fewer outgoing lines.

[0103] For generating other information on the map, information such as line load and number of users can also be generated in the form of annotations, which can be marked at the outgoing end of the target line.

[0104] To gain a more comprehensive understanding of the electrical drawing generation process in this embodiment, we will now use... Figure 6 The following is a detailed explanation of the electrical drawing generation process, using a schematic diagram as an example. First, the required power grid range is retrieved from the user input terminal. Then, the topology of this power grid range is traversed and analyzed to obtain the complete circuits associated with each substation. The topology information obtained from the topology traversal and analysis is simplified according to the business requirements of the drawing to obtain the key nodes that need to be retained. The equipment layout in the drawing is allocated to optimize the layout. If it is determined that there is enough space on the drawing to generate equipment, the equipment is added to the drawing. If it is determined that there is not enough space to generate equipment, the equipment layout in the drawing is re-allocated and adjusted. Finally, it is determined whether all the required equipment has corresponding elements on the drawing. If it is determined that all the generated equipment has appeared on the drawing, the generation of the electrical drawing is completed.

[0105] In order to allocate the device layout on the drawing, the layout optimization can be more comprehensive Figure 7 The layout optimization schematic diagram is taken as an example for detailed explanation. After the power grid topology structure is simplified and analyzed, the loop line which only retains the key nodes is obtained. According to the topology analysis result, the power supply point details are extracted, that is, the candidate transformer substations are extracted. According to the coordinate positions of the transformer substations and the number of outgoing lines obtained in the power distribution network GIS management system, the positions of the power supply points on the diagram are sparsely processed. The tie-in relationship of each transformer substation with other transformer substations is determined. In the specific operation, one of the transformer substations is determined first, and the tie-in relationship of the substation with other transformer substations is listed. The tie-in relationship of each transformer substation with other transformer substations is determined through the round-robin operation. For each pair of inter-station tie-in lines (that is, the lines between the two transformer substations connected by the inter-station tie-in points), according to the position relationship of the two transformer substations on the diagram, the generation positions of the inter-station tie-in points between the two transformer substations are allocated. The position layout of the inter-station tie-in points can consider the following rules: (1) the inter-station tie-in point position is placed on the side close to the transformer substation to which the inter-station tie-in point belongs, and the outgoing lines of the same direction of the same transformer substation are arranged on the same horizontal or vertical line as far as possible; (2) according to the position of the inter-station tie-in point on the power supply point diagram, the inter-station tie-in points of all the inter-station tie-in lines of the two transformer substations are distributed in the quadrant with one of the power supply points as the origin and the line connecting the two power supply points as the edge. It is judged whether the positions of the inter-station tie-in points on the diagram overlap. If there is no overlap, the inter-station tie-in points and other segment nodes and lines are generated. If the inter-station tie-in points overlap, the inter-station tie-in points are sparsely processed to prevent the inter-station tie-in points from overlapping. It is judged whether there are still un-drawn inter-station tie-in points. If the drawing of all the inter-station tie-in points of the current transformer substation is completed, the positions around the transformer substation on the diagram are scanned, and the position with fewer outgoing lines is selected to generate the intra-station tie-in feeder group of the transformer substation. Next, the same operation steps are performed for the other un-generated transformer substations until all the transformer substations to be generated are generated. Finally, according to the planning business requirements, other text information on the diagram is generated, and the optimization of the electrical diagram is completed.

[0106] In this embodiment, the candidate transformer substations in the electrical diagram to be generated are determined, the topology structures of the candidate transformer substations are obtained, the loop lines and the inter-station tie-in point information of the candidate transformer substations are determined from the topology structures, the layout optimization of the loop lines is performed based on the inter-station tie-in point information, and the electrical diagram is generated by using the layout-optimized loop lines. The electrical diagram generated through the layout optimization in this embodiment can greatly reduce the occurrence of the loop lines and the device intersection and overlap on the electrical diagram, greatly improve the efficiency of the power dispatch personnel in using the electrical diagram, and reduce the workload of maintaining the diagram.

[0107] Embodiment Two

[0108] Figure 8 A structural block diagram of an embodiment of an apparatus for generating an electrical diagram provided in Embodiment Two of the present application is shown in FIG. 8. The apparatus includes:

[0109] A candidate substation determination module 810 is configured to determine candidate substations present in an electrical diagram to be generated.

[0110] A determination module 820 is configured to acquire a topological structure of each candidate substation, and determine loop lines of the candidate substations and inter-station tie-in point information from the topological structure.

[0111] A layout optimization module 830 is configured to perform layout optimization on the loop lines based on the inter-station tie-in point information.

[0112] An electrical diagram generation module 840 is configured to generate an electrical diagram using the loop lines after layout optimization.

[0113] In an embodiment, the candidate substation determination module 810 includes the following sub-modules:

[0114] A target power area receiving sub-module is configured to receive a target power area specified by a user and corresponding to an electrical diagram to be generated.

[0115] A candidate substation identifying sub-module is configured to identify all substations present in the target power area as candidate substations.

[0116] In an embodiment, the determination module 820 includes the following sub-modules:

[0117] A determination sub-module is configured to acquire a topological structure of each candidate substation, and determine outgoing switch information and inter-station tie-in point information of the candidate substations according to the topological structure.

[0118] A loop line determination sub-module is configured to analyze the topological structure along lines starting from the outgoing switches, and determine loop lines of the candidate substations.

[0119] In an embodiment, the inter-station tie-in point information includes inter-station tie-in point attribution information configured to determine substations to which inter-station tie-in points belong, and the layout optimization module 830 includes the following sub-modules:

[0120] A position distribution information extracting sub-module is configured to acquire a three-dimensional map of the target power area, and extract position distribution information of the candidate substations according to the three-dimensional map.

[0121] A position information determining sub-module is configured to determine position information of each inter-station tie-in point in the electrical diagram to be generated according to the inter-station tie-in point attribution information and the position distribution information.

[0122] a loop line layout submodule, configured to re-layout the loop line according to the position information.

[0123] In an embodiment, the inter-station connection point information comprises substation information connected thereto, and the position information determining submodule is specifically configured to:

[0124] traversing each candidate substation, and for a currently traversed substation, establishing a coordinate system with the position of the substation as an origin;

[0125] determining, according to the position distribution information of the current candidate substation and other candidate substations, candidate substations falling into each quadrant of the coordinate system;

[0126] for each quadrant, determining candidate substations falling into the current quadrant as to-be-connected substations;

[0127] traversing each to-be-connected substation, and determining a target loop line between a current to-be-connected substation and a current candidate substation, and target connection point information on the target loop line;

[0128] determining position information of each target connection point according to inter-station connection point belonging information in the target connection point information, so that the target connection point is close to a side of a substation to which the target connection point belongs, and is on a same horizontal line or vertical line as other determined connection points of the substation.

[0129] In an embodiment, the loop line layout submodule is specifically configured to:

[0130] according to the position information of the target connection point, drawing a loop line between the corresponding target connection point, the current candidate substation and the current to-be-connected substation as a layout-optimized loop line.

[0131] In an embodiment, the electrical drawing generation module 840 comprises the following submodules:

[0132] an overlap judgment submodule, configured to perform overlap judgment on the layout-optimized loop line;

[0133] an electrical drawing generation submodule, configured to, when the judgment result is no overlap, add corresponding device graph elements to the layout-optimized loop line according to the topological structure of each candidate substation, to generate an electrical drawing.

[0134] It is explained that the above-mentioned electrical quantity data anomaly identification device provided by the embodiment of the present application can execute the electrical quantity data anomaly identification method provided by the embodiment one, and has the corresponding function modules and beneficial effects of the execution method.

[0135] Embodiment three

[0136] Figure 9 A structural schematic diagram of an electronic device provided in Embodiment Three of the present application is shown in FIG. 9. As shown in FIG. 9, the electronic device includes a processor 910, a memory 920, an input device 930, and an output device 940; the number of processors 910 in the electronic device can be one or more, and one processor 910 is taken as an example in the description below; the processor 910, the memory 920, the input device 930, and the output device 940 in the electronic device can be connected through a bus or other means, and the connection through a bus is taken as an example in the description below. Figure 9 Figure 9 Figure 9

[0137] The memory 920, as a kind of computer readable storage medium, can be used to store software programs, computer executable programs, and modules, such as program instruction modules corresponding to the method embodiments in the embodiments of the present application. The processor 910 performs various functional applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the memory 920, that is, implements the above method.

[0138] The memory 920 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and application programs required by at least one function; the data storage area can store data created according to the use of the terminal, etc. In addition, the memory 920 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state memory device. In some examples, the memory 920 can further include a memory remotely arranged with respect to the processor 910, and these remote memories can be connected to the electronic device through a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0139] The input device 930 can be used to receive input digital or character information, and generate key signal inputs related to user settings and function control of an electronic device. The output device 940 can include a display device such as a display screen.

[0140] Embodiment Four

[0141] Embodiment Four of the present application also provides a storage medium containing computer executable instructions, which, when executed by a computer processor, are used to perform the method in the method embodiments.

[0142] ​​​Through the above description of the embodiments, those skilled in the art can clearly understand that the present application can be realized by means of software and necessary universal hardware, and of course can also be realized by hardware, but in many cases the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product can be stored in a computer readable storage medium, such as a floppy disk, a read-only memory (ROM), a random access memory (RAM), a FLASH memory, a hard disk, or an optical disk, etc., and includes a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in various embodiments of the present application.

[0143] It is worth noting that in the embodiments of the above device, each module and module included is only divided according to functional logic, but is not limited to the above division, as long as the corresponding function can be realized; in addition, the specific name of each functional module is only for easy distinction, and does not limit the protection scope of the present application.

[0144] Note that the above are only preferred embodiments of the present application and the technical principles applied. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and those skilled in the art can make various obvious changes, readjustments and substitutions without departing from the scope of the present application. Therefore, although the present application has been described in more detail through the above embodiments, the present application is not limited to the above embodiments, and can include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims

1. A method for generating electrical drawings, characterized in that, The method includes: The process of identifying candidate substations in the electrical drawing to be generated includes: receiving a target power area specified by the user that corresponds to the electrical drawing to be generated; and identifying all substations in the target power area as candidate substations. Obtain the topology of each candidate substation, and determine the circuit lines and inter-station connection points of the candidate substations from the topology. The layout of the return line is optimized based on the inter-station connection point information. Electrical drawings are generated using the optimized circuit layout. The inter-station connection point information includes inter-station connection point attribution information, which is used to determine the substation to which the inter-station connection point belongs; the step of optimizing the layout of the circuit based on the inter-station connection point information includes: Obtain a three-dimensional map of the target power area, and extract the location distribution information of the candidate substations based on the three-dimensional map; Based on the attribution information of the inter-station communication points and the location distribution information, determine the location information of each inter-station communication point in the electrical drawing to be generated; Based on the location information, the return line is rearranged; The inter-station connection point information includes the substation information it connects to; determining the location information of each inter-station connection point in the electrical drawing to be generated based on the inter-station connection point attribution information and the location distribution information includes: Traverse each candidate substation, and for the currently traversed substation, establish a coordinate system with the location of the substation as the origin; Based on the location distribution information of the current candidate substations and other candidate substations, determine the candidate substations that fall into each quadrant of the coordinate system; For each quadrant, candidate substations falling into the current quadrant are identified as substations to be connected; Traverse each substation to be connected, determine the target circuit between the current substation to be connected and the current candidate substation, and the target connection point information on the target circuit; Based on the inter-station connection point attribution information in the target connection point information, the location information of each target connection point is determined, such that the target connection point is close to the side of the substation to which it belongs, and is on the same horizontal or vertical line as other determined connection points of the substation to which it belongs.

2. The method according to claim 1, characterized in that, The step of obtaining the topology of each candidate substation and determining the circuit lines and inter-substation connection point information of the candidate substations from the topology includes: Obtain the topology of each candidate substation, and determine the outgoing switches and inter-station connection point information of the candidate substations based on the topology. Starting from the outgoing switch, the analysis is performed along the line in the topology to determine the return line of the candidate substation.

3. The method according to claim 1, characterized in that, The step of rearranging the return line based on the location information includes: Based on the location information of the target connection point, draw the corresponding return lines between the target connection point, the current candidate substation, and the current substation to be connected, as the optimized return lines.

4. The method according to any one of claims 1-3, characterized in that, The generation of electrical drawings using the optimized circuit layout includes: The overlap of the loop lines after the layout optimization is determined; If the judgment result is no overlap, then according to the topology of each candidate substation, the corresponding equipment elements are added to the circuit after the layout optimization to generate electrical drawings.

5. An apparatus for generating electrical drawings, characterized in that, The device includes: The candidate substation determination module is used to determine the candidate substations that exist in the electrical drawings to be generated; The determination module is used to obtain the topology of each candidate substation and determine the return lines and inter-station connection points of the candidate substations from the topology. The layout optimization module is used to optimize the layout of the return line based on the inter-station connection point information; The electrical drawing generation module is used to generate electrical drawings using the optimized circuit layout. The candidate substation determination module includes: The target power area receiving submodule is used to receive the target power area specified by the user that corresponds to the electrical drawing to be generated. The candidate substation identification submodule is used to identify all substations existing in the target power area as candidate substations. The inter-station connection point information includes inter-station connection point attribution information, which is used to determine the substation to which the inter-station connection point belongs; the layout optimization module includes: The location distribution information extraction submodule is used to obtain a three-dimensional map of the target power area and extract the location distribution information of the candidate substations based on the three-dimensional map. The location information determination submodule is used to determine the location information of each inter-station connection point in the electrical drawing to be generated based on the inter-station connection point attribution information and the location distribution information. The return line layout submodule is used to rearrange the return lines according to the location information; The inter-station connection point information includes information about the substations it connects to, and the location information determination submodule is specifically used for: Traverse each candidate substation, and for the currently traversed substation, establish a coordinate system with the location of the substation as the origin; Based on the location distribution information of the current candidate substations and other candidate substations, determine the candidate substations that fall into each quadrant of the coordinate system; For each quadrant, candidate substations falling into the current quadrant are identified as substations to be connected; Traverse each substation to be connected, determine the target circuit between the current substation to be connected and the current candidate substation, and the target connection point information on the target circuit; Based on the inter-station connection point attribution information in the target connection point information, the location information of each target connection point is determined, such that the target connection point is close to the side of the substation to which it belongs, and is on the same horizontal or vertical line as other determined connection points of the substation to which it belongs.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1-4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Automatic circuit contact graph forming system and method based on graph matching

    CN104091034A

  • GIS (Geographic Information System)-based automatic diagram forming system and method of power supply diagram

    CN104102790A