Transformer Area Map Generation Method, Device, Low-Voltage Power Supply System, and Storage Medium
Through the automated table map generation method, the problems of low efficiency of traditional table map generation and poor visualization standardization are solved, and the efficient, beautiful and intuitive display of table maps is realized, which is suitable for table map management in various application scenarios.
Patent Information
- Application Number
- CN202510356060.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2045-03-25
AI Technical Summary
Traditional table map generation relies on manual drawing, which is inefficient and has poor visualization normative. The existing automatic graphing scheme results in overlapping and unsightly equipment, making it difficult to be applicable to table map management.
Using the automated table area graph generation method, by dividing the child nodes to which the first target node and the second target node of the same drawing layer are assigned to different drawing layers, ensuring that there is no node crossing in each drawing layer, and the hierarchical distribution of forked nodes and non-forked nodes is achieved.
It improves the efficiency and aesthetics of the generation of the station map, ensures the intuitiveness and readability of the station map, avoids the problems of overlapping equipment and excessive horizontal arrangement, and improves the accuracy and operation and maintenance efficiency of power grid topology management.
Smart Images

Figure CN119864952B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of substation area map generation, and in particular, to a method and device for generating a substation area map, a low-voltage power supply system, and a storage medium. Background Art
[0002] In the power system, a substation area refers to the power supply range or area of a transformer. A substation area map is an important visualization tool for the operation and management of the distribution network. It needs to use the transformer as the root node to accurately reflect the equipment connection relationship and hierarchical topology structure. In the prior art, the generation and maintenance of substation area maps face the following problems:
[0003] In the related art, most of the automatic mapping schemes are for generating feeder maps of high-voltage side substations, and their mapping logic focuses more on the management of the main grid network. The traditional feeder mapping method cannot be applied to the scenario of automatic substation area map generation; while most substation area maps still rely on manual drawing. Due to the large number of distribution network devices, diverse wiring methods, and frequent equipment changes, manual drawing is inefficient and prone to errors, omissions, etc., resulting in inconsistencies between the substation area map and the actual topology. For this reason, an automatic substation area map generation scheme has emerged.
[0004] However, the graphics generated by the existing automatic mapping schemes will have problems such as equipment overlap (node crossing), which are not aesthetically pleasing and have poor visualization standardization, making the generated substation area map inconvenient for users to use. Summary of the Invention
[0005] The present application provides a method and device for generating a substation area map, a low-voltage power supply system, and a storage medium, which are used to solve the problems that traditional substation area mapping relies on manual drawing, is inefficient, and the generated substation area map has poor visualization standardization.
[0006] The present application aims to provide an automatic and aesthetically pleasing high-efficiency substation area mapping scheme to adapt to various application scenarios and effectively improve the accuracy and operation and maintenance efficiency of power grid topology management. For the target substation area generated by the present application, each drawing layer is distributed along the axis in a hierarchical manner; if there are a first target node and a second target node in the same drawing layer, the child nodes of the first target node and the child nodes of the second target node are divided into subsequent different drawing layers, so as to ensure that there are no node crossings in the same drawing layer, the number of child nodes of the first target node is equal to 1, and the number of child nodes of the second target node is greater than 1.
[0007] It should be noted that the substation area map generation method of the present application can be adapted to the generation and maintenance scenarios of substation area maps in various application scenarios. According to whether there is an original substation area map, it can be divided into two main scenarios. One is to directly perform automatic mapping based on device data, that is, the scenario where there is no original substation area map; the other is the scenario of adding and / or removing devices to / from the original substation area map, such as the dynamic installation of new energy devices. The following will separately describe the two main scenarios.
[0008] In the first aspect of the present application, a method for generating a substation area map is provided, including: inputting target device data of a target substation area, where the target device data includes device attributes and the topological connection relationship between devices; based on the target device data, using the target transformer as the root node as the first drawing layer, the child nodes of the target transformer as the second drawing layer, and so on, traversing the devices of each node layer by layer to generate a target substation area map, where: if there are a first target node and a second target node in the same drawing layer, then the child nodes belonging to the first target node and the child nodes belonging to the second target node are divided into subsequent different drawing layers to achieve no node crossing in the same drawing layer, the number of child nodes of the first target node is equal to 1, and the number of child nodes of the second target node is greater than 1.
[0009] In the second aspect of the present application, a method for generating a substation area map is provided, including: inputting an original substation area map and target device change data;
[0010] Adding and deleting devices to the original substation area map based on the target device change data to obtain a candidate substation area map;
[0011] Performing hierarchical reconstruction on the candidate substation area map to obtain a target substation area map, where:
[0012] If there are a first target node and a second target node in the same drawing layer, then the child nodes belonging to the first target node and the child nodes belonging to the second target node are divided into subsequent different drawing layers to achieve no node crossing in the same drawing layer, the number of child nodes of the first target node is equal to 1, and the number of child nodes of the second target node is greater than 1.
[0013] In the third aspect of the present application, a device for generating a substation area map is provided, including:
[0014] A first input module for inputting target device data of a target substation area, where the target device data includes device attributes and the topological connection relationship between devices;
[0015] A drawing module for generating a target substation area map by traversing the devices of each node layer by layer based on the target device data, using the target transformer as the root node as the first drawing layer, the child nodes of the target transformer as the second drawing layer, and so on, where:
[0016] If there are a first target node and a second target node in the same drawing layer, then the child nodes belonging to the first target node and the child nodes belonging to the second target node are divided into subsequent different drawing layers to achieve no node crossing in the same drawing layer, the number of child nodes of the first target node is equal to 1, and the number of child nodes of the second target node is greater than 1.
[0017] The fourth aspect of the present application provides a device for generating a substation area map, including: a second input module for inputting an original substation area map and target device change data;
[0018] A device addition module for adding and subtracting devices from the original substation area map based on the target device change data to obtain a candidate substation area map;
[0019] A hierarchical reconstruction module for performing hierarchical reconstruction on the candidate substation area map to obtain a target substation area map, where:
[0020] If a first target node and a second target node exist in the same drawing layer, then the child nodes of the first target node and the child nodes of the second target node are divided into subsequent different drawing layers to ensure that there is no node intersection in the same drawing layer. The number of child nodes of the first target node is equal to 1, and the number of child nodes of the second target node is greater than 1.
[0021] The fifth aspect of the present application provides a low-voltage power supply system, including: a memory and at least one processor, where instructions are stored in the memory; the at least one processor invokes the instructions in the memory to cause the low-voltage power supply system to execute the above-mentioned method for generating a substation area map.
[0022] The sixth aspect of the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are run on a computer, the computer is caused to execute the above-mentioned method for generating a substation area map.
[0023] The technical solution of the present application realizes the automatic generation of the target substation area map, which can solve the problems of time-consuming, laborious, error-prone, easy to miss drawing, and the need to repeatedly modify the distribution network graph in the traditional manual drawing scheme, improve the map generation efficiency, and also avoid the situation where the target substation area map is inconsistent with the actual state due to untimely modification, improving the work efficiency and the reliability of substation area scheduling; if a first target node and a second target node exist in the same drawing layer, the present application divides the child nodes of the first target node and the child nodes of the second target node into subsequent different drawing layers to achieve the hierarchical distribution of forked nodes and non-forked nodes, avoiding possible device overlap, that is, node intersection, and inelegant phenomena such as too long horizontal arrangement caused by their mixed distribution. This not only improves the aesthetics of the map generation effect, but also ensures the intuitiveness and readability of the target substation area map. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a schematic diagram of the first embodiment of the method for generating a substation area map in the present application;
[0025] Figure 2 It is a schematic diagram of a map generation effect of the method for generating a substation area map in the present application;
[0026] Figure 3Schematic diagram of the second embodiment of the substation area map generation method in this application;
[0027] Figure 4 Schematic diagram of the third embodiment of the substation area map generation method in this application;
[0028] Figure 5 Another mapping effect schematic diagram of the substation area map generation method in this application;
[0029] Figure 6 Schematic diagram of the fourth embodiment of the substation area map generation method in this application;
[0030] Figure 7 Schematic diagram of an embodiment of the substation area map generation device in this application;
[0031] Figure 8 Schematic diagram of another embodiment of the substation area map generation device in this application;
[0032] Figure 9 Schematic diagram of an embodiment of the low-voltage power supply system in this application. Detailed implementation manners
[0033] This application provides a substation area map generation method, device, low-voltage power supply system and storage medium for realizing automatic intelligent substation area map generation.
[0034] The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and above-mentioned drawings of this application are used to distinguish similar objects and do not have to be used to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments described here can be implemented in an order different from that shown or described here.
[0035] In addition, the term "including" or "having" and any variation thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0036] For ease of understanding, the specific process of this application is described below with reference to Figure 1 This is the first embodiment of the substation area map generation method in this application. Specifically,
[0037] 101. Input the target device data of the target substation area.
[0038] In this embodiment, the target substation area is used to indicate the substation area selected by the user, that is, the substation area of the generated target substation area map, and this can be set for the user according to the actual situation; a target substation area map of a substation area usually takes a transformer (i.e., the target transformer) of this substation area as the input node;
[0039] In this embodiment, the target device data is used to indicate all the data required within the user-specified substation area, including but not limited to device attributes and the topological connection relationships between devices. Among them, the device attributes are used to describe various configuration information of the device, and it includes but not limited to device name, device ID, device type, and device type number.
[0040] The target device data in this embodiment may include distribution network devices and may also include new energy devices. That is, the substation area map generation method in this embodiment can be applied to the substation area mapping of traditional distribution networks, that is, the scenario where the target device data only includes distribution network devices; the substation area map generation method in this embodiment can also be adapted to the substation area mapping of the substation area with large-scale access of new energy devices on the low-voltage side, that is, the scenario where the target device data includes distribution network devices and new energy devices. That is, through data penetration, the substation area map can be automatically generated across systems in this embodiment.
[0041] The above-mentioned distribution network devices can be sourced from various distribution network management systems or databases storing this data. For example, a CIM / XML file is exported from a Supervisory Control And Data Acquisition (SCADA) system. This CIM file covers distribution equipment models such as power system resource classes, device classes, device container classes, conductive device classes, busbar classes, disconnector classes, circuit breaker classes, and power transformer classes.
[0042] The above-mentioned new energy devices are various new energy devices using renewable energy or new energy technologies within the target substation area, and may include solar photovoltaic panels, wind turbines, energy storage devices, etc. These can be obtained through the marketing system or other systems for managing new energy devices.
[0043] It can be understood that with the development and popularization of new energy devices in recent years, more and more distribution substations need to install new energy devices (such as photovoltaic and energy storage). After installing a photovoltaic or energy storage power station, when the photovoltaic power generation is greater than the power of the local load, the surplus electricity can be sent into the grid. And most of the distribution equipment and new energy devices on the low-voltage side are basically managed separately, that is, the model device data and new energy device data have not achieved data penetration. At this time, the new energy devices are cross-system devices. In order to manage the power consumption of the distribution substation area and the power transmission of new energy devices intuitively and transparently, the generated substation area map also needs to further cover each new energy device within the target substation area for the convenience of users.
[0044] In a feasible implementation, if the target device data includes distribution network devices and new energy devices, format conversion needs to be performed according to the data source and the data type required for mapping, so as to generate a target substation area map that supports the IEC 61970 standard, realize integrated management of diagrams and models, seamlessly apply to different systems, achieve data penetration between different systems, and the generated target substation area map meets the requirements of full-scale transparency management of the substation area, improving the safety of substation area dispatching.
[0045] 102. Based on the target device data, taking the target transformer as the root node as the first drawing layer, the child nodes of the target transformer as the second drawing layer, and so on, traverse the devices of each node layer by layer to generate the target substation area map, where: if there are a first target node and a second target node in the same drawing layer, then divide the child nodes belonging to the first target node and the child nodes belonging to the second target node into subsequent different drawing layers, so as to ensure that there are no node intersections in the same drawing layer, the number of child nodes of the first target node is equal to 1, and the number of child nodes of the second target node is greater than 1.
[0046] It can be understood that traditional automatic mapping of substation area maps usually directly maps according to the subordinate relationship of device connections (i.e., device hierarchy), resulting in an unattractive mapping effect, and as the device hierarchy increases, the lower device layers are prone to overlap, arrangement processes, etc., making it inconvenient for users to use. To solve this problem, this embodiment introduces the related concepts of "drawing layer" and "device layer", where the device layer is used to indicate the connection relationship between the parent and child nodes of the topological relationship of the device in the substation area, that is, the device hierarchy. See Figure 2 , taking the first device hierarchy (i.e., the root node) of the target transformer A0, the model devices directly connected to the target transformer as the second device hierarchy (i.e., B1, B2), and the devices directly connected to the devices of the second device hierarchy as the third device hierarchy (C1, C2, C3), and so on for multiple device hierarchies.
[0047] And the "drawing layer" in this embodiment is an abstract concept used to optimize the display effect of the substation area map. It does not change the device hierarchy of the device and does not change the subordinate connection relationship between devices. For example, devices belonging to the same device hierarchy may belong to different drawing hierarchies (as shown in Figure 2 the right figure, C3 and C1 both belong to the third device hierarchy, C3 belongs to the third drawing layer, and C1 belongs to the fourth drawing layer), or may belong to the same drawing hierarchy (as shown in Figure 2 the right figure, C2 and C1 belong to the same device hierarchy and the same drawing hierarchy).
[0048] In the target substation area map of this embodiment, each drawing layer is distributed along the axial direction according to the drawing level. This axial direction is the horizontal axis direction (X-axis direction) or the vertical axis direction (Y-axis direction) of the canvas for drawing the target substation area map. Specifically, it can be selected according to the actual situation. For example, taking a canvas for drawing a complete target substation area map as an example, with the center point of the canvas as the origin, mutually perpendicular X-Y coordinate axes are constructed. The horizontal axis of the canvas is the X-axis, and the vertical direction of the canvas is the Y-axis. The drawing layers are selected to be arranged from top to bottom along the Y-axis. At this time, the first drawing level is located at the top of the canvas, and the second drawing level is located below the first drawing layer. That is, the abscissa (X1) of the center point of the first drawing layer is the same as the abscissa (X2) of the center point of the second drawing layer, that is, X1 = X2 = 0, and so on. The third drawing level is located below the second drawing layer until the last drawing layer.
[0049] It can be understood that other axial arrangement methods can also be selected according to the user's viewing habits (such as the drawing levels increasing along the X-axis from left to right), and there is no specific limitation. For the convenience of understanding, the following description in this application takes the drawing layers arranged from top to bottom along the Y-axis on the canvas as an example, where one device corresponds to one node.
[0050] In this embodiment, the number of child nodes of the first target node is equal to 1, the number of child nodes of the second target node is greater than 1, and the number of child nodes of the third target node is equal to 0. It can be understood that the above first target node, second target node, and third target node are only distinguished according to the number of their child nodes. There may be at least one type of these nodes in a device level. Continuing with Figure 2 as an example, the number of child nodes corresponding to A in the first device level is 2, so A is the second target node. And the number of child nodes corresponding to B1 in the second device level is 2, and the number of child nodes corresponding to B2 is 1, so B1 is the second target node and B2 is the first target node; while the number of child nodes corresponding to C1, C2, and C3 in the third device level are all 0, so C1, C2, and C3 are all third target nodes.
[0051] This embodiment divides the drawing layers where the child nodes subordinate to it according to the node type of the current drawing layer. In this embodiment, if there are a first target node and a second target node in the same drawing layer, the child nodes belonging to the first target node and the child nodes belonging to the second target node are divided into subsequent different drawing layers, realizing the hierarchical distribution of forked nodes and non-forked nodes, solving the situation that in the traditional mapping scheme, due to the increase in the device level, there may be problems such as device overlap and too long horizontal arrangement, which are not convenient for users to view, and ensuring the beauty of the mapping.
[0052] Continuing with the above Figure 2For example, if it is recognized that both the first target node and the second target node exist at the second device level at the same time, the mapping algorithm of this embodiment can divide the child nodes of the first target node into one drawing layer, and divide the child nodes of the second target node into nodes of another drawing layer. The B1 child nodes (i.e., C1 and C2) are divided into nodes of the fourth drawing layer, and the B2 child nodes (i.e., C3) are divided into nodes of the third drawing layer for mapping.
[0053] It should be noted that the node intersection indicated in this embodiment refers to the situation where device primitives overlap or drawing lines cross during the mapping process. Traditional mapping directly generates a map based on multiple device levels (such as Figure 2 the left figure). It completely does not consider displaying the first target node and the second target node in different layers. In the case of a deep device level or a large number of devices in the same layer, there will be a phenomenon of bifurcation (i.e., this node is the second target node) and non-bifurcation (i.e., this node is the first target node) occurring simultaneously in the same layer, resulting in device overlap, that is, node intersection. To avoid overlap, the traditional solution usually arranges devices in a form of fixed device spacing, which will cause the horizontal arrangement of this layer to be very long, especially not suitable for the scenario with a large number of devices in this substation area.
[0054] However, the mapping effect in the target substation area map of this embodiment can achieve the hierarchical display of the child nodes of the first target node and the child nodes of the second target node, solving the confusion caused in the case of a large number of device levels and a large number of devices in the same device level, and improving the readability of the substation area map.
[0055] It can be understood that there are many implementation methods to achieve the above-mentioned phenomenon of bifurcation and non-bifurcation occurring simultaneously in the same layer. For example, first determine the number of child nodes of all devices in each device level, and then determine the drawing levels of all child nodes at one time; or, draw layer by layer from top to bottom of the device level, and determine the nodes belonging to each drawing layer in turn, etc. There is no specific limitation.
[0056] Optionally, after generating the target substation area map, the target substation area map can also be topologically colored to distinguish live lines; and / or, measurement primitives and power flow identification arrows can be added to the target substation area map to achieve full-scale transparent dynamic monitoring of the target substation area.
[0057] This embodiment realizes the automatic generation of the target substation area map, which can solve the problems of time-consuming, laborious, error-prone, easy to miss drawing, and the need to repeatedly modify the distribution network graphics in the traditional manual drawing scheme, improve the mapping efficiency, and also avoid the situation where the target substation area map is inconsistent with the actual state due to untimely modification, improving the work efficiency and the reliability of substation area dispatching; in this embodiment, if there are a first target node and a second target node in the same drawing layer, the sub-nodes of the first target node and the sub-nodes of the second target node are divided into subsequent different drawing layers to realize the hierarchical distribution of bifurcated nodes and non-bifurcated nodes, avoiding unaesthetic phenomena such as equipment overlap and too long horizontal arrangement that may occur in their mixed distribution, not only improving the aesthetics of the mapping effect, but also ensuring the intuitiveness and readability of the target substation area map.
[0058] Referring to Figure 3 This is the second embodiment of the method for generating a substation area map of the present application. To further optimize the mapping effect of the target substation area map, the method for generating a substation area map includes:
[0059] 301. Input the target device data of the target substation area.
[0060] Step 301 can be executed with reference to the above step 101 and will not be elaborated here.
[0061] 302. Based on the target device data, starting from the target transformer, place it on the current canvas, mark it as the current layer, and obtain all the sub-nodes of the current layer, and move to the next layer as the drawing layer.
[0062] Optionally, in this embodiment, the layer where the target transformer is located can be selected as the reference layer for adjusting the positions of subsequent drawing layers. Specifically, record the drawing area of the target circumscribed rectangle of the current layer, where the target circumscribed rectangle of the current layer is the smallest rectangle that encloses all the graphic elements of the current layer.
[0063] In this embodiment, the reference layer is used to indicate the reference benchmark for adjusting the positions of the drawing layers, and the non-reference layers are the layers other than the reference layer in the target substation area map. It can be understood that there are many ways to adjust the positions of the non-reference layers based on the reference layer, and specific limitations are not made. For example:
[0064] Optionally, adjust the positions of the drawing layers according to the reference coordinates of the center point of the target circumscribed rectangle of the reference layer, so that the center point coordinates of the target circumscribed rectangle of the drawing layer are consistent with the reference coordinates.
[0065] Optionally, taking the center line of the reference layer as the reference line (for example, when the drawing layers are arranged from top to bottom on the canvas, each drawing layer is distributed layer by layer along the Y-axis), the center line of the reference layer can be the X-axis, and the devices of the reference layer are evenly distributed on both sides of the X-axis. Based on the reference line, adjust the positions of the non-reference layers to achieve centered arrangement.
[0066] It should be noted that the reference layer of this embodiment can also be any layer set by the user (such as the layer where the target transformer is located or other layers), or any layer determined according to the corresponding layout requirement rules, such as using the drawing layer with the largest number of devices as the reference layer, etc., without specific restrictions.
[0067] It is understood that the position adjustment of each drawing layer can be done layer by layer when drawing from top to bottom, that is, the position of the current drawing layer is adjusted based on the previous drawing layer; or it can be adjusted at once after all drawing layers are determined, without specific limitation.
[0068] 303. Store all child nodes of the drawing layer in a first list and create an empty second list. If a first target node exists in the drawing layer, store the child nodes of the first target node in the second list and delete the child nodes of the first target node from the first list until all nodes of the drawing layer are traversed.
[0069] It is understandable that the first list and the second list are only a form of data storage. Other methods can be used to store child nodes, or to create corresponding "sets" to assist in the splitting steps of layer-by-layer drawing.
[0070] In this embodiment, the first list and the second list are each drawing layer. When allocating child nodes of the next drawing layer, a new first list and second list are created.
[0071] Continue with Figure 2 For example, when processing the second device level, the number of child nodes of all nodes is determined. Among them, the number of child nodes corresponding to B1 is 2, and the number of child nodes corresponding to B2 is 1. At this time, the first list is created to store all the child nodes (C1, C2, C3).
[0072] When the algorithm identifies the first target node, that is, when it traverses to the B2 device, it stores the child node C3 of B2 in the second list and deletes C3 from the first list.
[0073] 304. If the second list is not empty and the first list is not empty, use the devices in the second list as the next layer node of the drawing layer.
[0074] It should be further explained that the first list and the second list of this embodiment store the child nodes of the drawing layer node, not the nodes of the drawing layer. That is, this embodiment allocates nodes to the next drawing layer based on the number of child nodes of the drawing layer.
[0075] This embodiment will place the child nodes of the first target node at a smaller drawing level (closer to the parent node), that is, use the devices in the second list as the next layer instead of the first list, which can reduce the horizontal extension depth of the tree structure, make the connection line between the same parent node and its only child node shorter, the overall layout more compact, reduce the visual interference caused by long-distance connections, and improve the readability of the target substation area map. And set the child nodes of the second target node at a larger drawing level to form a clear tree-like branch expansion effect, and make the hierarchical relationship of the branch nodes more prominent.
[0076] Continuing with the above Figure 2 example, after processing all devices in the second device level (i.e., the second drawing layer) in sequence, it can be known that at this time, both the first list and the second list are not empty. Then, insert the devices in the second list as the next layer below the drawing layer, that is, use C3 as the third drawing layer.
[0077] It can be understood that in actual processing, it may occur that the first list is empty or the second list is empty in the drawing layer. At this time, there is no need to stratify its subordinate child nodes. It may also occur that both the first list and the second list are empty sets. At this time, it means that there are no child nodes in the current drawing layer.
[0078] 305. Traverse each device layer by layer to obtain the target substation area map.
[0079] Specifically, after completing the device drawing of the drawing layer, center-align the drawing layer based on the drawing area of the current layer, draw the connection lines, set the drawing layer as the current layer, move to the next layer for drawing until there is no next layer, and obtain the target substation area map.
[0080] Optionally, arrange the devices in the drawing layer at equal intervals from left to right until all devices in the drawing layer are drawn.
[0081] Exemplarily, when drawing the drawing layer, record the positions of the drawn device primitives; when drawing the next device primitive, detect whether the position of the device has been occupied; if so, translate the device by a preset device spacing along the X-axis of the occupied position until an unoccupied device position is found, and place the device at the unoccupied device position until all devices in the drawing layer are traversed and the drawing of the drawing layer is completed.
[0082] Optionally, the height of each drawing layer is set to the minimum value that can completely display the device primitive, and the layer spacing between each drawing layer is equal.
[0083] It can be understood that the above-mentioned equal-spacing arrangement from left to right is only one implementation manner, and it is also possible to select a device that arranges the drawing layers at equal intervals from right to left; the layer spacing between each drawing layer can be set to a fixed value, or can be set based on the total number of drawing layers or the area of the current display area, etc.; in this embodiment, the positions of each layer can be adjusted layer by layer when each drawing layer is completed, or the positions of all drawing layers can be adjusted at one time when all drawing layers are completely drawn, and no specific restrictions are made.
[0084] Exemplarily, the position of the drawing layer is adjusted with the first abscissa of the center point of the target circumscribed rectangle of the upper layer of the drawing layer, so that the second abscissa of the center point of the target circumscribed rectangle of the drawing layer is consistent with the first abscissa.
[0085] Exemplarily, when there is no next layer, the reference abscissa of the center point of the target circumscribed rectangle of the reference layer is determined, and the position of the non-reference layer is adjusted so that the non-reference abscissa of the center point of the target circumscribed rectangle of the non-reference layer is consistent with the reference abscissa.
[0086] This embodiment realizes the automatic generation of the target substation area map, which can solve the problems of time-consuming, laborious, error-prone, easy to miss drawing, and the need to repeatedly modify the distribution network graphics in the traditional manual drawing scheme, improve the map generation efficiency, and also avoid the situation where the target substation area map is inconsistent with the actual state due to untimely modification, improving the work efficiency and the reliability of substation area dispatching; in this application, if there are a first target node and a second target node in the same drawing layer, the sub-nodes of the first target node and the sub-nodes of the second target node are divided into subsequent different drawing layers to realize the hierarchical distribution of bifurcated nodes and non-bifurcated nodes, avoiding unsightly phenomena such as device overlap and too long horizontal arrangement that may exist in their mixed distribution, and when the drawing layer level where the first target node and its sub-nodes belonging to the same drawing layer is less than the drawing layer level where the sub-nodes of the second target node belonging to the same drawing layer, the overall layout is more compact, reducing visual interference caused by long-distance connections, not only improving the aesthetics of the map generation effect, but also ensuring the intuitiveness and readability of the target substation area map, facilitating user use and review.
[0087] For the scenario where there is an original substation area map and equipment needs to be added or removed dynamically, a third embodiment of the substation area map generation method of this application is provided. Refer to Figure 4 , specifically including:
[0088] 401. Input the original substation area map and target device change data.
[0089] It can be understood that the original substation area map in this embodiment can be a substation area map generated according to the above first and second embodiments or the solutions included in this application, or a substation area map generated according to traditional substation area mapping solutions or manually drawn, that is, the original substation area map may conform to the principle that the sub-nodes of the first target node and the sub-nodes of the second target node do not exist simultaneously in the same drawing layer restricted by this application, or may not conform to this principle, and specific restrictions are not made.
[0090] In this embodiment, the target device change data is used to indicate the device change situation compared with the original substation area map. It can be device addition and / or device deletion, and the types of devices added or deleted may include distribution network devices and / or new energy devices, etc., and specific restrictions are not made.
[0091] In this embodiment, the target device change data also includes the device attributes and topological connection relationships corresponding to each added and deleted device. According to the target device change data, the specific positions and corresponding connection relationships of each added and deleted device on the original substation area map can be determined.
[0092] To a certain extent, the original substation area map and the target device change data in this embodiment can also be understood as the aforementioned target device data, that is, all the data required to generate the target substation area map in this embodiment can be determined by the original substation area map and the target device change data. Compared with directly creating a new map based on the target device data mentioned above, this embodiment focuses more on dynamically loading devices on the basis of the original substation area map to save the computing resources required for creating a new map. Especially when the original substation area map is formed by the method provided in this application, the user does not need to perform a full update of the substation area map every time. By means of dynamic loading, only the image area where the device changes can be updated, such as only updating the graphics of the new energy device loading part.
[0093] 402. Perform device addition and deletion on the original substation area map based on the target device change data to obtain a candidate substation area map.
[0094] Optionally, if there is a device addition in the target device change data, bind the added device after the corresponding device in the original substation area map according to the device attributes and topological relationships of the added device, and update the number of sub-nodes of the corresponding device.
[0095] Optionally, if there is a device deletion in the target device change data, delete the corresponding device in the original substation area map according to the device attributes and topological relationships of the deleted device, and update the number of sub-nodes of the parent node of the corresponding device.
[0096] It can be understood that the target device change data may only involve the addition of devices (such as the dynamic loading scenario of new energy devices), or only the deletion of devices, or may involve both the addition and deletion of devices. By traversing the target device change data to add or delete devices from the original substation area map, a candidate substation area map is obtained. At this time, since the number of child nodes in each layer has changed in the candidate substation area map, the next hierarchical reconstruction operation needs to be performed to make the generated target substation area map meet the requirements restricted by this application, that is, if there are a first target node and a second target node in the same drawing layer, the child nodes belonging to the first target node and the child nodes belonging to the second target node are divided into subsequent different drawing layers.
[0097] In a feasible implementation manner, the target device change data may also include the replacement operation of devices. At this time, the child nodes of the original device are bound to the new device and the parent-child node relationship is inherited. Since it does not affect the restrictions on the drawing layer in this embodiment, this embodiment will not be elaborated.
[0098] 403. Perform hierarchical reconstruction on the candidate substation area map to obtain the target substation area map, where: if there are a first target node and a second target node in the same drawing layer, the child nodes belonging to the first target node and the child nodes belonging to the second target node are divided into subsequent different drawing layers to achieve no node intersection in the same drawing layer, the number of child nodes of the first target node is equal to 1, and the number of child nodes of the second target node is greater than 1.
[0099] In this embodiment, the hierarchical reconstruction is used to indicate the adjustment of each drawing layer in the candidate substation area map to solve the problem of poor visualization standardization existing due to device addition or deletion or the original substation area map itself. The target substation area map optimized through hierarchical reconstruction has the child nodes belonging to the first target node and the child nodes belonging to the second target node in the same drawing layer, that is, when the hierarchical reconstruction in this embodiment identifies that there are a first target node and a second target node in the same drawing layer, the child nodes belonging to the first target node and the child nodes belonging to the second target node are divided into subsequent different drawing layers to achieve the hierarchical distribution of forked nodes and non-forked nodes, and ensure the beauty, intuitiveness and readability of the target substation area map.
[0100] It can be understood that the hierarchical reconstruction in this embodiment can be roughly divided into two steps. One is the verification of the number of child nodes, and the other is the drawing layer adjustment operation (such as layering operation, merging operation, deletion operation, adjustment operation). Exemplarily, by verifying whether there are cases where the number of child nodes in each layer is equal to 1 and greater than 1 at the same time, if so, the child nodes belonging to the first target node are inserted as a new layer below this layer, if not, no layering operation of child nodes is performed.
[0101] It should be noted that in this embodiment, it is possible to determine layer by layer whether to perform hierarchical reconstruction on each layer of the candidate substation area map, that is, to traverse each drawing layer from top to bottom for hierarchical reconstruction (for example, to determine layer by layer from the first drawing layer or the second drawing layer where the target transformer is located whether a new layer needs to be inserted); it is also possible to first determine the layer to be adjusted and perform hierarchical reconstruction on the layer to be adjusted to save computing resources, and there is no specific limitation.
[0102] Optionally, starting from the second drawing layer, if there are a first target node and a second target node in the second drawing layer, then divide the sub-nodes belonging to the first target node and the sub-nodes belonging to the second target node into subsequent different drawing layers; otherwise, divide the sub-nodes belonging to each node in the second drawing layer into the same drawing layer; layer by layer, determine whether to perform the layering operation according to the number of sub-nodes corresponding to all nodes in each drawing layer until the last drawing layer to obtain the target substation area map.
[0103] For example, referring to Figure 5 , which is a scenario of dynamic loading based on the right figure as the original substation area map. Among them, Figure 2 the left figure shows that after assuming that the new energy device D1 is dynamically loaded onto the C3 device, and after the new energy devices D2 and D3 are loaded onto the C1 device, and after the new energy device D4 is loaded onto the C2 device, starting from the second drawing layer, hierarchical reconstruction processing is performed layer by layer: Figure 5 At this time, it can be seen that the number of sub-nodes in the second drawing layer has not changed, while the number of sub-nodes in the third drawing layer has changed from 0 to 1 (that is, D1 is added), so D1 is inserted as a new layer below the third drawing layer. Among the nodes C1 and C2 in the drawing layer (the original fourth drawing layer, now the fifth drawing layer), the number of sub-nodes of node C1 is 2, and the number of sub-nodes of the other node C2 is 1. Then, the sub-nodes belonging to C2 (that is, D4) need to be inserted as a new layer below the drawing layer where C1 and C2 are located, that is, D4 is used as the sixth drawing layer. In this simplified scenario, D2 and D3 are used as the seventh drawing layer, and the obtained target substation area map is as shown in
[0104] the left figure. Figure 5 as shown in the left figure.
[0105] It can be understood that the above hierarchical reconstruction starts from the second drawing layer for judgment because the first drawing layer (or the first device layer) of the substation area map usually only includes one target transformer, that is, there is only the case where the target transformer is the first target node or the second target node. Therefore, it is not necessary to consider whether the sub-nodes belonging to this layer need to be layered; if the target transformer is the third target node, it means that there is no directly connected lower-level device for this transformer, and there may be problems in the data topology relationship or data import, and the user can be prompted to process or re-import the data.
[0106] It should be noted that in this embodiment, hierarchical reconstruction can also be performed on the layer to be adjusted. Based on the type of device change, the layer where the device is added or deleted, and the associated layer in the target device change data, the hierarchical reconstruction operations include adding a drawing layer, deleting a drawing layer, and merging drawing layers.
[0107] In this embodiment, the layer to be adjusted is used to indicate the drawing layer that needs to be hierarchically reconstructed. It can be directly determined based on the target device change data, or determined according to the target device change data, the layer where the device is added or deleted, and the number of child nodes of the associated layer.
[0108] Optionally, if there are drawing layers of the first target node and the second target node in the candidate substation area map, take the child nodes of the first target node as a new layer and insert the new layer below this drawing layer;
[0109] If there is an empty layer in the candidate substation area map (such as the case where a device that deletes an entire drawing layer exists in the target device change data), then delete the empty layer and adjust the positions of the subsequent drawing layers according to the preset layer spacing;
[0110] If the parent node of the newly added device includes other child nodes (that is, in addition to the newly added device, this parent node is also connected to other lower-level devices), and the node type of the parent node is the same as the remaining node types in the drawing layer where the parent node is located, then there is no need to add a new layer, and the newly added device is added to the layer where the remaining nodes of the same node type belong;
[0111] If the drawing layers to which the parent nodes of two target drawing layers in the candidate substation area map belong are the same, and the node types of the parent nodes are the same, then the target drawing layers are merged into the same drawing layer.
[0112] Continuing with Figure 5 as an example for illustration, where Figure 5 In the right figure, device D5 is also carried after B2 compared to the left figure.
[0113] At this time, B2 has a lower-level connected device C3 in the original substation area map, that is, the parent node B2 of the newly added device D5 includes other child nodes, and both B2 and B1 in the same drawing layer are second target nodes. At this time, only D5 needs to be added to the drawing layer where C3 is located, and there is no need to add an extra new drawing layer;
[0114] When D1 is carried to C3, C3 does not have a lower-level connected device in the original substation area map, so D1 needs to be inserted as a new layer after the drawing layer where C3 is located. For details, please refer to Figure 5 the left figure, and Figure 5 the right figure also involves the operation of merging drawing layers. Specifically:
[0115] In the candidate substation area map, both B2 and B1 on the same drawing layer are the second target nodes. Among them, the number of nodes of B2 changes from 1 to 2. Therefore, the layer where the original C3 is located needs to be merged with the layers where the original C1 and C2 are located. After the merger, C1, C2, C3, and D5 are all on the third drawing layer. In the case of merging on the third drawing layer and carrying devices D1~D4, it is necessary to determine whether the node types of their parent nodes are the same. For example Figure 5 In the right figure, the parent nodes C2 and C3 to which D1 and D4 belong are both the first target nodes, while the parent node C1 to which D2 and D3 belong is the second target node. Therefore, D1 and D4 need to be set as a separate layer after the layer where the parent node is located, that is, the fourth drawing layer, while D2 and D3 are the fifth drawing layer.
[0116] In this embodiment, it realizes the dynamic update of devices on the original substation area map, can automatically generate the target substation area map in the scenario of device addition and / or device reduction, realizes the incremental update of the substation area map, solves the problems of time-consuming, laborious, error-prone, easy to miss drawing, and the need to repeatedly modify the distribution network graphics in the traditional manual drawing scheme, improves the mapping efficiency, and also avoids the situation where the target substation area map is inconsistent with the actual state due to untimely modification, improving the work efficiency and the reliability of substation area scheduling; in this embodiment, if there are the first target nodes and the second target nodes on the same drawing layer, the child nodes belonging to the first target nodes and the child nodes belonging to the second target nodes are divided into subsequent different drawing layers, improving the dynamic maintenance efficiency of the substation area map, enhancing the aesthetics of the mapping effect, ensuring the intuitiveness and readability of the target substation area map, and facilitating user use and review.
[0117] With the development trend of large-scale access of new energy devices to the low-voltage side, since new energy devices and distribution network devices are usually managed and scheduled based on different systems, the substation area maps generated by traditional schemes cannot meet the supervision requirements for the power consumption balance state in the substation area with full transparency. In order to be able to manage the power consumption of the distribution substation and the power transmission of new energy devices intuitively and transparently, a fourth embodiment of the substation area map generation method of the present application is provided. Refer to Figure 6 , specifically including:
[0118] 601. Input the original substation area map and new energy device data.
[0119] This embodiment is for the dynamic loading scenario of only new energy devices in the original substation area map. Therefore, the new energy device data is also the target device change data mentioned above.
[0120] It should be noted that the scenario of new energy devices can also directly generate a map based on the target device data, that is, there is no original substation area map. The target device data includes distribution network device data and new energy device data. Specifically, the first embodiment and the second embodiment and other solutions can be referred to for implementation, which will not be elaborated here.
[0121] In this embodiment, the new energy device data includes the device attributes corresponding to each new energy device and the information of the affiliated user. Among them, the device attributes include but are not limited to the device name, device ID, device type, device type number, and affiliated transformer substation area; the affiliated user information includes at least the affiliated user ID, and the affiliated user ID is used to identify a unique user.
[0122] 602. Mount new energy devices in the original transformer substation area based on the new energy device data to obtain a candidate transformer substation area map.
[0123] In this embodiment, the topological connection relationship between each new energy device and the distribution network device is determined through the user ID, and the mounting of the new energy device is realized, that is, the addition of the new energy device is realized on the original transformer substation area map. Through mounting, the integration of the graphic model can be realized, and the cross-system device management can be realized on the transformer substation area map.
[0124] Optionally, read all the transformer substation area user access points in the above-mentioned original transformer substation area map to obtain the user IDs corresponding to the access points, find all the new energy devices corresponding to the same user ID, and create the connection relationship between the access points and the new energy devices to complete the mounting of the new energy devices. In this embodiment, the new energy devices are matched according to the user IDs corresponding to the user access points of the original transformer substation area map, and the device mounting conditions of each user access point can be determined at one time. Subsequently, only the access points where device mounting occurs and their associated layers need to be hierarchically reconstructed, which can improve the mapping efficiency.
[0125] Optionally, match the transformer substation area user access points with the same user ID in the original transformer substation area map based on the user IDs to which each new energy device belongs, and create the connection relationship between the new energy device and the corresponding access point to complete the mounting of the new energy device. In this embodiment, the user access points to which each new energy device is connected are determined one by one according to the user IDs to which each new energy device belongs, which can also meet the dynamic mounting requirements of the new energy devices.
[0126] Specifically, the above-mentioned connection relationship between the new energy device and the transformer substation area user access point can be created by creating the first terminals corresponding to each transformer substation area user access point and the second terminals corresponding to each new energy device in the new energy device set; setting the same connection point numbers for the first terminals and the second terminals belonging to the same user number.
[0127] 603. Detect the number of child nodes in each drawing layer of the candidate transformer substation area map. When there are a first target node and a second target node in any drawing layer, use the child nodes to which the first target node belongs as the nodes belonging to the new layer, and insert the new layer below any drawing layer until there is no next layer to obtain the target transformer substation area map.
[0128] In this embodiment, the detection of the number of child nodes is to determine the node type corresponding to each node in this layer. Through the detection of the number of child nodes, automatic detection and repair of layer-level conflicts in the substation area map can be achieved. When there are a first target node and a second target node in the same drawing layer, a new layer is automatically inserted to achieve the hierarchical distribution of forked nodes and non-forked nodes, avoiding unaesthetic phenomena such as device overlap and overly long horizontal arrangement that may occur when they are mixedly distributed.
[0129] Exemplarily, starting from the second drawing layer in the candidate substation area map, if there are a first target node and a second target node in the second drawing layer, the child nodes of the first target node are used as the nodes of the new layer, and the new layer is inserted below the second drawing layer, and then moved to the next layer for the detection of the number of child nodes, and so on, until all the drawing layers in the candidate substation area map are traversed, that is, all devices are traversed, to obtain the target substation area map.
[0130] 604. Perform topological coloring on the target substation area map to distinguish live lines.
[0131] Specifically, colors are added to the substation area map to distinguish live lines (for example, red indicates live and gray indicates power-off), helping users visually identify devices and lines in different states.
[0132] 605. Add measurement primitives and power flow identification arrows to the target substation area map.
[0133] In order to visually display the power transmission of photovoltaic and energy storage, this solution proposes to use arrows to real-time identify the dynamic direction of reverse power flow, judge the power flow direction by detecting the measurement information of new energy devices, and use dynamic arrows to identify in the substation area map to assist users in monitoring and managing the power consumption of the entire substation area.
[0134] Measurement primitives corresponding to each device are created in the above-mentioned distribution network substation area map, and the above-mentioned measurement primitives are used to monitor the power parameter data (such as voltage and current) corresponding to the devices; according to the power parameter data of each above-mentioned measurement primitive, power flow identification arrows are added to the above-mentioned distribution network substation area map, and the above-mentioned power flow identification arrows are used to indicate the power transmission direction (for example, a reverse arrow is displayed when a photovoltaic device transmits power to the grid).
[0135] In this embodiment, the dynamic mounting of new energy devices is realized, and the data penetration across systems is achieved. It solves the problem that the distribution equipment on the medium and low voltage sides and new energy devices are basically managed separately, and the demand for fully monitoring the power balance state of the power distribution area cannot be met. By dynamically mounting new energy devices in the original power distribution area map, the new energy devices in the power distribution area can be managed intuitively and transparently. Through the measurement graphic elements and the power flow arrows, the power transmission direction and power parameters of the new energy devices are intuitively displayed, meeting the demand for the transparent management of power consumption and power transmission of new energy devices in the power distribution area map. It solves the problems of time-consuming, laborious, error-prone, easy to miss drawing, and the need to repeatedly modify the power distribution network graphics in the traditional manual drawing scheme, improves the mapping efficiency, and also avoids the situation where the target power distribution area map is inconsistent with the actual state due to untimely modification, improving the work efficiency and the reliability of power distribution area scheduling; if there are a first target node and a second target node in the same drawing layer in this embodiment, the sub-nodes of the first target node and the sub-nodes of the second target node are divided into subsequent different drawing layers to achieve the hierarchical distribution of forked nodes and non-forked nodes, avoiding the unsightly phenomena such as equipment overlap and too long horizontal arrangement that may occur in their mixed distribution, not only improving the aesthetics of the mapping effect, but also ensuring the intuitiveness and readability of the target power distribution area map. Further, through topological coloring, the energized lines are distinguished to reduce the risk of misoperation by maintenance personnel.
[0136] The method for generating a power distribution area map in the present application is described above. Next, the device for generating a power distribution area map in the present application will be described. Please refer to Figure 7 , an embodiment of the device for generating a power distribution area map in the present application includes:
[0137] A first input module 701, configured to input target device data of a target power distribution area, where the target device data includes device attributes and topological connection relationships between devices;
[0138] A drawing module 702, configured to generate a target power distribution area map by traversing the devices of each node layer by layer based on the target device data, using the target transformer as the root node as the first drawing layer, and the sub-nodes of the target transformer as the second drawing layer, and so on, where:
[0139] If there are a first target node and a second target node in the same drawing layer, the sub-nodes of the first target node and the sub-nodes of the second target node are divided into subsequent different drawing layers to ensure that there are no node intersections in the same drawing layer, the number of sub-nodes of the first target node is equal to 1, and the number of sub-nodes of the second target node is greater than 1.
[0140] Optionally, the drawing module 702 includes:
[0141] A processing unit 7021, configured to, based on the target device data, start from the target transformer, place it on the current canvas, mark it as the current layer, obtain all sub-nodes of the current layer, and move to the next layer as the drawing layer;
[0142] An allocation unit 7022, configured to store all child nodes of the drawing layer into a first list, create an empty second list, and if there is a first target node in the drawing layer, store the child nodes belonging to the first target node in the second list, and delete the child nodes belonging to the first target node from the first list until all nodes of the drawing layer are traversed;
[0143] A determination unit 7023, configured to use the devices in the second list as the next layer nodes of the drawing layer if the second list is not empty and the first list is not empty;
[0144] A traversal unit 7024, configured to traverse each device layer by layer to obtain a target substation area map.
[0145] Optionally, the drawing module 702 further includes:
[0146] A device arrangement unit 7025, configured to arrange the devices in the drawing layer at equal intervals;
[0147] A position adjustment unit 7026, configured to adjust the position of the drawing layer according to the reference coordinates of the center point of the target circumscribed rectangle of the reference layer, so that the coordinates of the center point of the target circumscribed rectangle of the drawing layer are consistent with the reference coordinates, and the reference layer is used to adjust the position of the drawing layer.
[0148] In this embodiment, the automatic generation of the target substation area map is realized, which can solve the problems of time-consuming, laborious, error-prone, easy to miss drawing, and the need to repeatedly modify the distribution network graph in the traditional manual drawing scheme, improve the mapping efficiency, and avoid the situation where the target substation area map is inconsistent with the actual state due to untimely modification, improving the work efficiency and the reliability of substation area scheduling; in this embodiment, if there is a first target node and a second target node in the same drawing layer, the child nodes belonging to the first target node and the child nodes belonging to the second target node are divided into subsequent different drawing layers to realize the hierarchical distribution of bifurcated nodes and non-bifurcated nodes, avoiding the unbeautiful phenomena such as device overlap and too long horizontal arrangement that may exist in the mixed distribution of the two, not only improving the aesthetics of the mapping effect, but also ensuring the intuitiveness and readability of the target substation area map.
[0149] Please refer to Figure 8 , another embodiment of the substation area map generation device in this application includes:
[0150] A second input module 801, configured to input the original substation area map and target device change data;
[0151] A device addition and deletion module 802, configured to add and delete devices to the original substation area map based on the target device change data to obtain a candidate substation area map;
[0152] The hierarchical reconstruction module 803 is used to perform hierarchical reconstruction on the candidate substation area map to obtain the target substation area map, where:
[0153] If there are a first target node and a second target node in the same drawing layer, the child nodes of the first target node and the child nodes of the second target node are divided into subsequent different drawing layers to ensure that there are no node intersections in the same drawing layer. The number of child nodes of the first target node is equal to 1, and the number of child nodes of the second target node is greater than 1.
[0154] Optionally, the hierarchical reconstruction module 803 is specifically configured to detect the number of child nodes in each drawing layer of the candidate substation area map. When there are a first target node and a second target node in any drawing layer, the child nodes of the first target node are used as the nodes belonging to the new layer, and the new layer is inserted below any drawing layer until there is no next layer, thereby obtaining the target substation area map.
[0155] Optionally, the substation area map generation device further includes:
[0156] The coloring module 804 is used to perform topological coloring on the target substation area map to distinguish live lines;
[0157] The monitoring module 805 is used to add measurement graphic elements and power flow identification arrows to the target substation area map.
[0158] In this embodiment, the dynamic mounting of new energy devices is realized, and the data penetration across systems is achieved. It solves the problem that the distribution equipment on the medium and low voltage sides and new energy devices are basically managed separately and the demand for full-scale monitoring of the power balance state of the substation area cannot be met. By dynamically mounting new energy devices in the original substation area map, the new energy devices in the distribution substation area can be managed intuitively and transparently. Through the measurement graphic elements and power flow arrows, the power transmission direction and power parameters of the new energy devices are visually displayed, meeting the demand for transparent management of power consumption and power transmission of new energy devices in the substation area map. It solves the problems of time-consuming, laborious, error-prone, easy to miss drawing, and the need to repeatedly modify the distribution network graphics in the traditional manual drawing scheme, improves the mapping efficiency, and also avoids the situation where the target substation area map is inconsistent with the actual state due to untimely modification, improving the work efficiency and the reliability of substation area dispatching; in this embodiment, if there are a first target node and a second target node in the same drawing layer, the child nodes of the first target node and the child nodes of the second target node are divided into subsequent different drawing layers to achieve the hierarchical distribution of bifurcated nodes and non-bifurcated nodes, avoiding unbeautiful phenomena such as equipment overlap and overly long horizontal arrangement that may occur in their mixed distribution, not only improving the aesthetics of the mapping effect, but also ensuring the intuitiveness and readability of the target substation area map. Further, through topological coloring, live lines are distinguished, reducing the risk of misoperation by maintenance personnel.
[0159] Above Figure 7 And Figure 8The device for generating the substation area map in this application is described in detail from the perspective of modular functional entities. Next, the low-voltage power supply system in this application is described in detail from the perspective of hardware processing.
[0160] Refer to Figure 9 As shown, the low-voltage power supply system includes a processor 900 and a memory 901. The memory 901 stores machine-executable instructions that can be executed by the processor 900. The processor 900 executes the machine-executable instructions to implement the self-checking method of the above inverter circuit.
[0161] Furthermore, Figure 9 The low-voltage power supply system shown also includes a bus 902 and a communication interface 903. The processor 900, the communication interface 903, and the memory 901 are connected through the bus 902.
[0162] Among them, the memory 901 may include a high-speed random access memory (Random Access Memory, RAM), and may also include non-volatile memory, for example, at least one disk memory. The communication connection between this system network element and at least one other network element is realized through at least one communication interface 903 (which can be wired or wireless). The Internet, wide area network, local area network, metropolitan area network, etc. can be used. The bus 902 can be an ISA bus, a PCI bus, an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, Figure 5 only a two-way arrow is used in
[0163] The processor 900 may be an integrated circuit chip with the ability to process signals. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in the processor 900 or the instructions in the form of software. The above-mentioned processor 900 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure. The general-purpose processor may be a microprocessor or the processor may also be a conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present disclosure can be directly embodied as being executed and completed by the hardware decoding processor, or executed and completed by the combination of the hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory 901, and the processor 900 reads the information in the memory 901 and combines its hardware to complete the method steps of the foregoing embodiments.
[0164] This application also provides a computer-readable storage medium. The computer-readable storage medium may be a non-volatile computer-readable storage medium, and the computer-readable storage medium may also be a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions run on the computer, the computer is enabled to execute the steps of the method for generating a substation area diagram.
[0165] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.
[0166] When an integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of various embodiments of this application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs.
[0167] The above embodiments are only used to illustrate the technical solution of this application, rather than to limit it; although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of various embodiments of this application.
Claims
1. A method for generating a substation area map, characterized in that, The method for generating the substation area map includes: Input the target device data of the target substation area, where the target device data includes device attributes and the topological connection relationships between devices; Based on the target device data, using the target transformer as the root node as the first drawing layer, the child nodes of the target transformer as the second drawing layer, and so on, traverse the devices of each node layer by layer to generate the target substation area map, where: If there are a first target node and a second target node in the same drawing layer, then divide the child nodes of the first target node and the child nodes of the second target node into subsequent different drawing layers to achieve the hierarchical distribution of the bifurcating nodes and non-bifurcating nodes, without node intersections in the same drawing layer, avoiding the overlap of the devices corresponding to the bifurcating nodes and non-bifurcating nodes and the excessive horizontal arrangement of the substation area map. The number of child nodes of the first target node is equal to 1, and the number of child nodes of the second target node is greater than 1.
2. The method for generating a substation area map according to claim 1, wherein The step of generating the target substation area map by traversing the devices of each node layer by layer based on the target device data, where the target transformer is used as the root node as the first drawing layer and the child nodes of the target transformer are used as the second drawing layer, and so on, includes: Based on the target device data, starting from the target transformer, place it on the current canvas, mark it as the current layer, and obtain all the child nodes of the current layer, then move to the next layer as the drawing layer; Store all the child nodes of the drawing layer in the first list, and create an empty second list. When there is a first target node in the drawing layer, store the child nodes of the first target node in the second list, and delete the child nodes of the first target node from the first list until all the nodes of the drawing layer are traversed; If the second list is not empty and the first list is not empty, then use the devices in the second list as the nodes of the next layer of the drawing layer; Traverse each device layer by layer to obtain the target substation area map.
3. The method for generating a substation area map according to claim 1 or 2, wherein The step of generating the target substation area map by traversing each device layer by layer further includes: Arrange the devices in the drawing layer at equal intervals; Adjust the position of the drawing layer according to the reference coordinates of the center point of the target circumscribed rectangle of the reference layer, so that the coordinates of the center point of the target circumscribed rectangle of the drawing layer are consistent with the reference coordinates. The reference layer is used to adjust the position of the drawing layer.
4. A method for generating a substation area map, characterized in that, The method for generating the substation area map includes: Input the original substation area map and the target device change data; Perform device addition and deletion on the original substation area map based on the target device change data to obtain a candidate substation area map; Perform hierarchical reconstruction on the candidate substation area map to obtain the target substation area map, where: If there are a first target node and a second target node in the same drawing layer, then divide the child nodes of the first target node and the child nodes of the second target node into subsequent different drawing layers to achieve the hierarchical distribution of the bifurcating nodes and non-bifurcating nodes, without node intersections in the same drawing layer, avoiding the overlap of the devices corresponding to the bifurcating nodes and non-bifurcating nodes and the excessive horizontal arrangement of the substation area map. The number of child nodes of the first target node is equal to 1, and the number of child nodes of the second target node is greater than 1.
5. The method for generating a substation area map according to claim 4, wherein, The step of performing hierarchical reconstruction on the candidate substation area map to obtain the target substation area map includes: Detect the number of child nodes in each drawing layer of the candidate substation area map, and when there are a first target node and a second target node in any drawing layer, use the child nodes to which the first target node belongs as the nodes to which the new layer belongs, and insert the new layer below the any drawing layer until there is no next layer, so as to obtain the target substation area map.
6. The method for generating a substation area map according to claim 1 or 4, characterized in that, It further includes: Perform topological coloring on the target substation area map to distinguish live lines; and / or Add measurement graphic elements and power flow identification arrows to the target substation area map.
7. A substation area map generation device, characterized in that, The substation area map generation device includes: A first input module, configured to input target device data of a target substation area, where the target device data includes device attributes and topological connection relationships between devices; A drawing module, configured to, based on the target device data, use the target transformer as the root node as the first drawing layer, and the child nodes of the target transformer as the second drawing layer, and so on, traverse the devices of each node layer by layer to generate a target substation area map, where: If there are a first target node and a second target node in the same drawing layer, then divide the child nodes to which the first target node belongs and the child nodes to which the second target node belongs into subsequent different drawing layers, so as to achieve a hierarchical distribution of bifurcated nodes and non-bifurcated nodes, and there is no node crossing in the same drawing layer, avoiding overlap of devices corresponding to bifurcated nodes and non-bifurcated nodes and excessive horizontal arrangement of the substation area map. The number of child nodes of the first target node is equal to 1, and the number of child nodes of the second target node is greater than 1.
8. A substation area map generation device, characterized in that, The substation area map generation device includes: A second input module, configured to input an original substation area map and target device change data; A device addition and deletion module, configured to perform device addition and deletion on the original substation area map based on the target device change data to obtain a candidate substation area map; A hierarchical reconstruction module, configured to perform hierarchical reconstruction on the candidate substation area map to obtain a target substation area map, where: If there are a first target node and a second target node in the same drawing layer, then divide the child nodes to which the first target node belongs and the child nodes to which the second target node belongs into subsequent different drawing layers, so as to achieve a hierarchical distribution of bifurcated nodes and non-bifurcated nodes, and there is no node crossing in the same drawing layer, avoiding overlap of devices corresponding to bifurcated nodes and non-bifurcated nodes and excessive horizontal arrangement of the substation area map. The number of child nodes of the first target node is equal to 1, and the number of child nodes of the second target node is greater than 1.
9. A low-voltage power supply system, characterized in that, The low-voltage power supply system includes: a memory and at least one processor, and instructions are stored in the memory; The at least one processor calls the instructions in the memory to cause the low-voltage power supply system to execute the substation area map generation method according to any one of claims 1-6.
10. A computer-readable storage medium having instructions stored thereon, characterized in that, When the instructions are read and run, they execute the substation area map generation method according to any one of claims 1-6.
Citation Information
Patent Citations
Transformer area topological relation graph automatic drawing method based on multi-way tree layered layout
CN111814281A
Method for automatically generating network diagram of power distribution network
CN119249663A