Transformer area diagram generation method and device, low-voltage power supply system and storage medium
Through the automated platform map generation method, the target transformer is used to generate platform maps for the root node layer by layer, and node crossing is avoided by dividing nodes to different drawing layers, which solves the problems of low efficiency and poor visualization normativeness in traditional methods, and achieves efficient, accurate and beautiful platform map generation.
Patent Information
- Application Number
- CN202510356060.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2045-03-25
AI Technical Summary
The traditional platform graph generation method relies on manual drawing, which is inefficient and prone to errors. The graphics visualization generated by the automatic graphing scheme is poor, resulting in inconsistent with the actual topology.
An automated platform diagram generation method is provided. By inputting target device data, the target transformer is used as the root node to generate the platform diagram layer by layer. If there are multiple target nodes in the same drawing layer, their children nodes are divided to the subsequent different drawing layers to avoid node crossing.
It realizes efficient and automated table area map generation, improves graph production efficiency and accuracy, avoids manual drawing errors and omissions, and improves the aesthetics and readability of the graph.
Smart Images

Figure CN119864952A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of generating a substation map, and in particular to a method and device for generating a substation map, a low-voltage power supply system and a storage medium. Background Art
[0002] In the power system, the substation refers to the power supply range or area of the transformer. The substation map is an important visualization tool for the operation and management of the distribution network. The transformer must be the root node to accurately reflect the equipment connection relationship and hierarchical topology. In the existing technology, the generation and maintenance of the substation map faces the following problems: In related technologies, automatic mapping solutions are mostly aimed at generating feeder diagrams for high-voltage substations. Their mapping logic focuses more on the management of the main grid of the power grid. Traditional feeder mapping methods are not suitable for automatic mapping scenarios of substations. Most substations still rely on manual drawing. Due to the large number of distribution network equipment, diverse wiring methods, and frequent equipment changes, manual drawing is inefficient and prone to errors and omissions, resulting in inconsistencies between substations and actual topology. For this reason, an automatic mapping solution for substations has emerged.
[0003] However, the graphics generated by existing automatic mapping solutions have problems such as equipment overlap (node crossing) and poor visualization standardization, and the generated substation maps are not convenient for users to use. Summary of the invention
[0004] The present application provides a method, device, low-voltage power supply system and storage medium for generating a substation map, which are used to solve the problem that traditional substation mapping relies on manual drawing, which is inefficient, and the substation map generated by traditional solutions has poor visualization standardization.
[0005] The present application aims to provide an automatic, beautiful and efficient substation mapping solution to adapt to a variety of application scenarios and effectively improve the accuracy of power grid topology management and operation and maintenance efficiency. The target substation generated by the present application has each drawing layer distributed axially according to the hierarchy; if there is a first target node and a second target node in the same drawing layer, the subnodes belonging to the first target node and the subnodes 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 subnodes of the first target node is equal to 1, and the number of subnodes of the second target node is greater than 1.
[0006] It should be noted that the substation map generation method of the present application can be adapted to the substation map generation and maintenance scenarios in various application scenarios. It can be divided into two main scenarios according to whether there is an original substation map. The first is to automatically generate a map based directly on the equipment data, that is, the scenario where the original substation map does not exist; the second is the scenario where equipment is added and / or reduced to the original substation map, for example, the dynamic installation of new energy equipment, etc. The two main scenarios are explained below.
[0007] The first aspect of the present application provides a method for generating a substation map, comprising: inputting target device data of a target substation, wherein the target device data includes device attributes and topological connection relationships between devices; based on the target device data, taking a target transformer as a root node as a first drawing layer, and the child nodes of the target transformer as a second drawing layer, and so on, traversing the devices of each node layer by layer to generate a target substation map, wherein: if a first target node and a second target node exist 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 that no nodes are crossed 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.
[0008] A second aspect of the present application provides a method for generating a station area map, comprising: inputting an original station area map and target device change data; Based on the target equipment change data, the original area map is added or subtracted to obtain a candidate area map; The candidate area map is hierarchically reconstructed to obtain the target area map, where: If the first target node and the second target node exist 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 achieve that no nodes are crossed 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.
[0009] A third aspect of the present application provides a station area map generating device, comprising: A first input module is used to input target device data of a target area, wherein the target device data includes device attributes and topological connection relationships between devices; The drawing module is used to generate the target area map based on the target device data, with the target transformer as the root node as the first drawing layer, the child node of the target transformer as the second drawing layer, and so on, traversing the devices of each node layer by layer, where: If the first target node and the second target node exist 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 achieve that no nodes are crossed 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.
[0010] A fourth aspect of the present application provides a station area map generating device, comprising: a second input module, for inputting an original station area map and target device change data; The equipment adding module is used to add or subtract equipment from the original area map based on the target equipment change data to obtain a candidate area map; The hierarchical reconstruction module is used to hierarchically reconstruct the candidate area map to obtain the target area map, where: If the first target node and the second target node exist 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 achieve that no nodes are crossed 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.
[0011] The fifth aspect of the present application provides a low-voltage power supply system, comprising: a memory and at least one processor, wherein instructions are stored in the memory; at least one processor calls the instructions in the memory so that the low-voltage power supply system executes the above-mentioned station map generation method.
[0012] The sixth aspect of the present application provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the above-mentioned method for generating a platform map.
[0013] The technical solution of the present application realizes the automatic generation of the target substation map, which can solve the problems of time-consuming and labor-intensive, error-prone, easy to miss drawings, and the need to repeatedly modify the distribution network diagram in the traditional manual drawing solution, improve the drawing efficiency, and avoid the situation where the target substation map is inconsistent with the actual state due to untimely modification, thereby improving the work efficiency and the reliability of substation scheduling; if the first target node and the second target node exist in the same drawing layer, the present application divides the subnodes belonging to the first target node and the subnodes belonging to the second target node into subsequent different drawing layers to realize the hierarchical distribution of forked nodes and non-forked nodes, avoids the possible equipment overlap caused by the mixed distribution of the two, that is, node crossing, and the unsightly phenomenon of excessive horizontal arrangement, which not only improves the aesthetics of the drawing effect, but also ensures the intuitiveness and readability of the target substation map. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 This is a schematic diagram of a first embodiment of a method for generating a platform area map in the present application; Figure 2 A schematic diagram of a mapping effect of the method for generating a table area map in this application; Figure 3 This is a schematic diagram of a second embodiment of the method for generating a table area map in the present application; Figure 4 This is a schematic diagram of a third embodiment of the method for generating a table area map in the present application; Figure 5 It is another schematic diagram of the effect of generating a table area map in the present application; Figure 6 This is a schematic diagram of a fourth embodiment of the method for generating a platform area map in the present application; Figure 7 A schematic diagram of an embodiment of a platform area map generating device in the present application; Figure 8 It is a schematic diagram of another embodiment of the device for generating a platform area map in the present application; Fig. 9 A schematic diagram of an embodiment of a low voltage power supply system in the present application. DETAILED DESCRIPTION
[0015] The present application provides a method, device, low-voltage power supply system and storage medium for generating a substation map, which are used to realize automatic intelligent substation map generation.
[0016] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that shown or described herein.
[0017] In addition, the terms "comprises" or "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such process, method, product, or apparatus.
[0018] For ease of understanding, the specific process of this application is described below. Figure 1 This is the first embodiment of the method for generating a station area map of the present application. Specifically, 101. Input the target device data of the target area.
[0019] In this embodiment, the target area is used to indicate the area selected by the user, that is, the area of the generated target area map, which can be set by the user according to actual conditions; a target area map of an area usually takes a transformer (that is, the target transformer) of the area as an input node; In this embodiment, the target device data is used to indicate the generation of all data required in the user-specified area, including but not limited to device attributes and topological connection relationships between devices, wherein the device attributes are used to describe various configuration information of the device, including but not limited to device name, device ID, device type, and device type number.
[0020] The target device data of the present embodiment may include distribution network equipment and may also include new energy equipment, that is, the substation map generation method of the present embodiment may be applicable to the substation mapping of traditional distribution networks, that is, the scenario in which the target device data only includes distribution network equipment; the substation map generation method of the present embodiment may also be adapted to the substation mapping of new energy equipment connected to the low-voltage side on a large scale, that is, the scenario in which the target device data includes distribution network equipment and new energy equipment, that is, the present embodiment may realize automatic mapping of substation maps across systems through data penetration.
[0021] The above-mentioned distribution network equipment can be derived from various distribution network management systems or databases that store the data, such as CIM / XML files exported from the Supervisory Control And Data Acquisition (SCADA) system. The CIM file covers distribution equipment models such as power system resource class, equipment class, equipment container class, conductive equipment class, busbar class, disconnector class, circuit breaker class, power transformer class, etc.
[0022] The above-mentioned new energy equipment refers to various types of new energy equipment that utilize renewable energy or new energy technologies in the target area, which may include solar photovoltaic panels, wind turbines, energy storage devices, etc., which can be obtained through marketing systems or other systems that manage new energy equipment.
[0023] It is understandable that with the development and promotion of new energy equipment in recent years, more and more distribution substations need to install new energy equipment (such as photovoltaics and energy storage). After installing photovoltaic or energy storage power stations, when the photovoltaic power generation power is greater than the power of the local load, the unabsorbed electricity can be sent to the power grid. However, most low-voltage side distribution equipment and new energy equipment are basically managed separately, that is, the model equipment data and new energy equipment data have not achieved data penetration. At this time, the new energy equipment is a cross-system device. In order to intuitively and transparently manage the power consumption of the distribution substation and the power transmission of new energy equipment, the generated substation map also needs to further cover the various new energy equipment in the target substation for user use.
[0024] In a feasible implementation, if the target device data includes distribution network equipment and new energy equipment, the format needs to be converted based on the data source and the data type required for drawing, so as to generate a target substation map that supports the IEC 61970 standard, realize integrated management of the map and model, and seamlessly apply to different systems to achieve data penetration of different systems. The generated target substation map meets the needs of full transparent management of the substation and improves the safety of substation scheduling.
[0025] 102. Based on the target device data, the target transformer is used as the root node as the first drawing layer, the child nodes of the target transformer are used as the second drawing layer, and so on, and the devices of each node are traversed layer by layer to generate a target substation map, wherein: if the first target node and the second target node exist 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 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.
[0026] It is understandable that the traditional automatic drawing of the substation map is usually directly based on the subordinate relationship of the device connection (that is, the device hierarchy), which results in the drawing effect not being beautiful enough, and with the increase of the device hierarchy, the lower device layers are prone to overlap and arrangement processes, which makes it inconvenient for users to use. In order 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 parent-child node connection relationship of the device in the substation topology, that is, the device hierarchy, see Figure 2 , taking the first device level (that is, the root node) of the target transformer A0, the model devices directly connected to the target transformer are the second device level (that is, B1, B2), and the devices directly connected to the second device level devices are the third device level (C1, C2, C3), and so on for multiple device levels.
[0027] The "drawing layer" in this embodiment is an abstract concept used to optimize the display effect of the station map. It does not change the device level of the device, and does not change the subordinate connection relationship between devices. For example, devices belonging to the same device level may belong to different drawing levels (such as Figure 2 As shown in the right figure, C3 and C1 both belong to the third device level, C3 belongs to the third drawing layer, and C1 belongs to the fourth drawing layer). They may also belong to the same drawing layer (such as Figure 2 The right figure shows that C2 and C1 belong to the same device level and the same drawing level).
[0028] In the target area map of this embodiment, each drawing layer is distributed along the axial direction according to the drawing level, and the axial direction is the horizontal axis direction (X-axis direction) of the canvas for drawing the target area map, or the vertical axis direction (Y-axis direction) of the canvas. The specific direction can be selected according to the actual situation. For example, a canvas used to draw a complete target area map is taken as an example. The mutually perpendicular XY coordinate axes are constructed with the center point of the canvas as the origin. The horizontal axis of the canvas is the X-axis, and the vertical axis 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 level, that is, the horizontal coordinate (X1) of the center point of the first drawing layer is consistent with the horizontal coordinate (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.
[0029] It is understandable that other axial arrangement methods can be selected according to the user's viewing habits (such as drawing levels increasing from left to right along the X-axis). There is no specific limitation. For ease of understanding, this application will be explained later using the arrangement of drawing layers from top to bottom along the Y-axis on the canvas as an example, where one device corresponds to one node.
[0030] 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 first target node, the second target node, and the third target node are distinguished only by the number of their child nodes. At least one type of node may exist in a device level. Figure 2 For example, the number of child nodes corresponding to A of the first device level is 2, then A is the second target node, and the number of child nodes corresponding to B1 of the second device level is 2, and the number of child nodes corresponding to B2 is 1, then B1 is the second target node, and B2 is the first target node; and the number of child nodes corresponding to C1, C2, and C3 in the third device level are all 0, then C1, C2, and C3 are all third target nodes.
[0031] This embodiment divides the drawing layer where the sub-nodes to which the current drawing layer belongs are located according to the node type of the current drawing layer. In this embodiment, if the first target node and the second target node exist in the same drawing layer, the sub-nodes belonging to the first target node and the sub-nodes belonging to the second target node are divided into subsequent different drawing layers, thereby realizing the hierarchical distribution of forked nodes and non-forked nodes, solving the problem that the traditional drawing solution may have overlapping devices, too long horizontal arrangement and other inconveniences for users to view due to the increase of device levels, thereby ensuring the aesthetics of the drawing.
[0032] Continue with the above Figure 2For example, if it is recognized that 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 sub-nodes belonging to the first target node into one drawing layer, and divide the sub-nodes belonging to the second target node into nodes of another drawing layer, divide the B1 sub-nodes (that is, C1 and C2) into nodes of the fourth drawing layer, and divide the B2 sub-nodes (that is, C3) into nodes of the third drawing layer for mapping.
[0033] It should be noted that the node intersection indicated in this embodiment refers to the situation in which the device primitives overlap or the drawing lines cross during the drawing process. Traditional drawing directly draws pictures based on multiple device levels (such as Figure 2 Left), it does not consider the hierarchical display of the first target node and the second target node. When the device level is deep or there are many devices on the same layer, there will be a fork phenomenon (that is, the node is the second target node) and a non-fork phenomenon (that is, the node is the first target node) on the same layer, resulting in device overlap, that is, node crossing. To avoid overlap, traditional solutions usually arrange the devices in the form of fixed spacing, which will cause the horizontal arrangement of the layer to be very long, which is especially not suitable for scenarios with many devices in the area.
[0034] The mapping effect in the target substation map of this embodiment can realize the hierarchical display of the subnodes belonging to the first target node and the subnodes belonging to the second target node, which solves the confusion caused by many equipment levels and a large number of equipment at the same equipment level, and improves the readability of the substation map.
[0035] It is understandable that there are many ways to achieve the above-mentioned forking and non-forking phenomena at the same layer. For example, first determine the number of sub-nodes of all devices in each device level, and then determine the drawing levels of all sub-nodes at one time; for another example, draw layer by layer from top to bottom of the device level, and determine the nodes belonging to each drawing level in turn, etc., without specific limitation.
[0036] Optionally, after generating the target substation map, the target substation map may be topologically colored to distinguish energized lines; and / or measurement elements and flow identification arrows may be added to the target substation map to achieve full transparent dynamic monitoring of the target substation.
[0037] The present embodiment realizes the automatic generation of the target substation map, which can solve the problems of time-consuming and labor-intensive, error-prone, easy to miss drawings, and the need to repeatedly modify the distribution network diagram in the traditional manual drawing scheme, improve the drawing efficiency, and avoid the situation where the target substation map is inconsistent with the actual status due to untimely modification, thereby improving the work efficiency and the reliability of substation scheduling; the present embodiment divides the subnodes belonging to the first target node and the subnodes belonging to the second target node into subsequent different drawing layers if the first target node and the second target node exist in the same drawing layer, so as to realize the hierarchical distribution of forked nodes and non-forked nodes, avoid the unsightly phenomena such as equipment overlap and excessive horizontal arrangement that may exist in the mixed distribution of the two, which not only improves the aesthetics of the drawing effect, but also ensures the intuitiveness and readability of the target substation map.
[0038] Reference Figure 3 This is the second embodiment of the method for generating a station area map of the present application. To further optimize the mapping effect of the target station area map, the method for generating a station area map includes: 301. Input the target device data of the target area.
[0039] Step 301 may be performed with reference to the above-mentioned step 101 and will not be described in detail here.
[0040] 302. Based on the target device data, take the target transformer as the starting point, place it on the current canvas, mark it as the current layer, obtain all child nodes of the current layer, and move it to the next layer as the drawing layer.
[0041] Optionally, this embodiment can select the layer where the target transformer is located as the reference layer for adjusting the position of subsequent drawing layers. Specifically, the drawing area of the target circumscribed rectangle of the current layer is recorded, wherein the target circumscribed rectangle of the current layer is the minimum rectangle enclosing all the current layer graphics elements.
[0042] In this embodiment, the reference layer is used to indicate a reference reference for adjusting the position of the drawing layer, and the non-reference layer is each layer other than the reference layer in the target station area map. It can be understood that there are many ways to adjust the position of the non-reference layer based on the reference layer, which are not specifically limited, for example: Optionally, the position of the drawing layer is adjusted 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.
[0043] Optionally, the center line of the reference layer is used as the reference line (for example, when 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, that is, the X axis, and the devices of the reference layer are equidistantly distributed on both sides of the X axis), and the positions of the non-reference layers are adjusted based on the reference line to achieve centered arrangement.
[0044] 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 limitation.
[0045] It can be 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; it can also be done at one time after all drawing layers are determined, without specific limitation.
[0046] 303. Store all child nodes of the drawing layer into the first list, and create an empty second list. If the drawing layer has a first target node, 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.
[0047] It is understandable that the first list and the second list are only a form of data storage. Other methods may be used to store child nodes, or corresponding "sets" may be created to assist in performing splitting steps for layer-by-layer drawing.
[0048] In this embodiment, the first list and the second list are all drawing layers. When allocating child nodes of the next drawing layer, a new first list and a new second list are created.
[0049] Continue with Figure 2 For example, when processing to the second device level, the number of child nodes of all nodes is determined, where 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 child nodes (C1, C2, C3) first; When the algorithm identifies the first target node, that is, when traversing to the B2 device, the child node C3 of B2 is stored in the second list, and C3 is deleted from the first list.
[0050] 304. If the second list is not empty and the first list is not empty, the devices in the second list are used as the next layer nodes of the drawing layer.
[0051] It should be further explained that the first list and the second list of this embodiment store the child nodes of the drawing layer nodes, 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.
[0052] In this embodiment, the child nodes belonging to the first target node are placed at a smaller drawing level (closer to the parent node), that is, the devices in the second list are placed 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, and make the overall layout more compact, reduce the visual interference caused by long-distance connections, and improve the readability of the target station map. The child nodes of the second target node are set at a larger drawing level to form a clear tree branch expansion effect, and make the hierarchical relationship of the branch nodes more prominent.
[0053] Continue above Figure 2 Take the example of , after processing all devices in the second device level (that is, the second drawing layer) in turn, it can be known that at this time, both the first list and the second list are not empty, then the devices in the second list are inserted as the next layer under the drawing layer, that is, C3 is used as the third drawing layer.
[0054] It is understandable that in actual processing, the first list or the second list of the drawing layer may be empty. In this case, there is no need to stratify its subordinate child nodes. It is also possible that both the first list and the second list are empty sets, which means that there are no child nodes in the current drawing layer.
[0055] 305. Traverse each device layer by layer to obtain the target area map.
[0056] Specifically, after completing the device drawing of the drawing layer, the drawing layer is adjusted based on the drawing area of the current layer, and a connecting line is drawn. The drawing layer is set as the current layer, and the drawing is moved to the next layer until the next layer does not exist, thereby obtaining the target station area map.
[0057] Optionally, the devices of the drawing layer are arranged at equal intervals from left to right until all devices of the drawing layer are finished drawing.
[0058] Exemplarily, when drawing a drawing layer, the position of the drawn device primitive is recorded; when drawing the next device primitive, it is checked whether the device position is occupied; if so, the preset device spacing is translated along the X-axis of the occupied position until an unoccupied device position is found, and the device is placed at the unoccupied device position until all devices of the drawing layer are traversed to complete the drawing of the drawing layer.
[0059] Optionally, the height of each drawing layer is set with the complete display device primitive as the minimum value, and the layer spacing of each drawing layer is equal.
[0060] It can be understood that the above-mentioned equal spacing from left to right is only one implementation method, and a device that arranges the drawing layers equally from right to left can also be selected; the layer spacing of each drawing layer can be set to a fixed value, and can also be set based on the total number of drawing layers or the area of the current display area; this embodiment can adjust the position of each drawing layer layer by layer when each drawing layer is completed, and can also adjust the position of each layer at once when all drawing layers are completely drawn, without specific limitation.
[0061] Exemplarily, the position of the drawing layer is adjusted based on the first horizontal coordinate of the center point of the target circumscribed rectangle of the previous layer of the drawing layer, so that the second horizontal coordinate of the center point of the target circumscribed rectangle of the drawing layer is consistent with the first horizontal coordinate.
[0062] Exemplarily, when there is no next layer, the reference horizontal coordinate of the center point of the reference layer target circumscribed rectangle is determined, and the position of the non-reference layer is adjusted so that the non-reference horizontal coordinate of the center point of the non-reference layer target circumscribed rectangle is consistent with the reference horizontal coordinate.
[0063] This embodiment realizes the automatic generation of the target substation map, which can solve the problems of time-consuming, labor-intensive, error-prone, easy to miss drawings, and the need to repeatedly modify the distribution network diagram in the traditional manual drawing scheme, improve the drawing efficiency, and avoid the situation where the target substation map is inconsistent with the actual state due to untimely modification, thereby improving work efficiency and the reliability of substation scheduling; if there are a first target node and a second target node in the same drawing layer, the application divides the subnodes belonging to the first target node and the subnodes belonging to the second target node into subsequent different drawing layers to realize the hierarchical distribution of forked nodes and non-forked nodes, avoids the unsightly phenomena such as equipment overlap and excessive horizontal arrangement that may exist in the mixed distribution of the two, and the first target node and the subnode belonging to the same drawing layer The drawing level is smaller than the drawing level where the subnode belonging to the second target node of the same drawing layer is located, making the overall layout more compact and reducing the visual interference caused by long-distance connections. It not only improves the aesthetics of the drawing effect, but also ensures the intuitiveness and readability of the target substation map, which is convenient for users to use and read.
[0064] For the scenario where there is an original area map and equipment needs to be added or reduced dynamically, a third embodiment of the area map generation method of the present application is provided, referring to Figure 4 , including: 401. Input the original area map and target equipment change data.
[0065] It can be understood that the original station area map of this embodiment can be a station area map generated according to the above-mentioned first and second embodiments or the scheme included in this application, or it can be a station area map based on a traditional station area mapping scheme or manually drawn, that is, the original station area map may comply with the restriction of this application that the same drawing layer does not simultaneously contain sub-nodes belonging to the first target node and sub-nodes belonging to the second target node, or it may not comply with this principle, and there is no specific limitation.
[0066] In this embodiment, the target equipment change data is used to indicate the equipment changes compared to the original substation map, which may be the addition of equipment and / or deletion of equipment. The types of equipment added or removed may include distribution network equipment and / or new energy equipment, etc., without specific limitation.
[0067] In this embodiment, the target device change data also includes the device attributes and topological connection relationships corresponding to the added and reduced devices. The specific location and corresponding connection relationship of each added or reduced device on the original station area map can be determined based on the target device change data.
[0068] The original station map and target device change data of this embodiment can also be understood to a certain extent as the target device data mentioned above, that is, all the data required to generate the target station map in this embodiment can be determined by the original station map and the target device change data. Compared with the above-mentioned creation of a new map directly based on the target device data, this embodiment focuses more on the dynamic loading of equipment based on the original station map to save the computing resources required to create a new map, especially when the original station map is based on the method provided by this application. The user does not need to update the full station map every time. Through dynamic loading, only the image area where the equipment changes occur can be updated, such as only updating the graphics of the loaded part of the new energy equipment.
[0069] 402. Add or subtract equipment to the original area map based on the target equipment change data to obtain a candidate area map.
[0070] Optionally, if there is an added device in the target device change data, the added device is bound to the corresponding device in the original station area map according to the device attributes and topological relationship of the added device, and the number of child nodes of the corresponding device is updated; Optionally, if there is device deletion in the target device change data, the corresponding device is deleted in the original station map according to the device attributes and topological relationship of the deleted device, and the number of child nodes of the corresponding device parent node is updated.
[0071] It is understandable that the target device change data may only include the addition of equipment (such as the dynamic loading scenario of new energy equipment), or may only include the deletion of equipment, or may include the addition and deletion of equipment at the same time. The target device change data is traversed to add and reduce equipment in the original station map to obtain a candidate station map. At this time, since the number of sub-nodes in each layer in the candidate station map has changed, the next step of hierarchical reconstruction operation is required to make the generated target station map meet the requirements restricted by this application, that is, if the first target node and the second target node exist in the same drawing layer, the sub-nodes belonging to the first target node and the sub-nodes belonging to the second target node are divided into subsequent different drawing layers.
[0072] In a feasible implementation, the target device change data may also include a device replacement operation. At this time, the child nodes of the original device are bound to the new device and inherit the parent node relationship. Since it does not affect the limitation of the drawing layer in this embodiment, it will not be repeated in this embodiment.
[0073] 403. Reconstruct the candidate station area map hierarchically to obtain the target station area map, wherein: if the first target node and the second target node exist in the same drawing layer, the sub-nodes belonging to the first target node and the sub-nodes belonging to the second target node are divided into subsequent different drawing layers to achieve that there is no node intersection 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.
[0074] In this embodiment, hierarchical reconstruction is used to indicate adjustments to the drawing layers in the candidate station area map to solve the problem of poor visualization standardization due to the increase or decrease of equipment or the original station area map itself. The target station area map optimized by hierarchical reconstruction has sub-nodes belonging to the first target node and sub-nodes belonging to the second target node in the same drawing layer. That is, the hierarchical reconstruction of this embodiment, when recognizing the existence of the first target node and the second target node in the same drawing layer, divides the sub-nodes belonging to the first target node and the sub-nodes belonging to the second target node into subsequent different drawing layers to achieve hierarchical distribution of forked nodes and non-forked nodes, thereby ensuring the aesthetics, intuitiveness and readability of the target station area map.
[0075] It can be understood that the hierarchical reconstruction of the present 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, it is verified whether the number of child nodes in each layer is equal to 1 and greater than 1 at the same time. If so, the child node belonging to the first target node is inserted as a new layer below the layer. If not, the layering operation of the child node is not performed.
[0076] It should be noted that the present implementation can determine whether to perform hierarchical reconstruction for each layer of the candidate substation map one by one, that is, to traverse each drawing layer from top to bottom to perform hierarchical reconstruction (such as determining whether to insert a new layer from the first drawing layer or the second drawing layer where the target transformer is located one by one downward); or the layer to be adjusted can be determined first, and the layer to be adjusted can be reconstructed to save computing resources, without specific limitation.
[0077] Optionally, taking the second drawing layer as the starting point, if there are the first target node and the second target node in the second drawing layer, the sub-nodes belonging to the first target node and the sub-nodes belonging to the second target node are divided into subsequent different drawing layers, otherwise the sub-nodes belonging to each node in the second drawing layer are divided into the same drawing layer; the number of sub-nodes corresponding to all nodes in each drawing layer is determined layer by layer to determine whether to perform a layered operation, until the last drawing layer, to obtain a target station area map.
[0078] For example, see Figure 5 , which is in Figure 2 The right picture is a scene dynamically loaded based on the original area map, where: Figure 5 The left picture shows that after the new energy device D1 is dynamically installed on the C3 device, and the new energy devices D2 and D3 are installed on the C1 device, and the new energy device D4 is installed on the C2 device, the hierarchical reconstruction process is performed layer by layer starting from the second drawing layer: At this time, the number of child nodes in the second drawing layer remains unchanged, while the number of child nodes in the third drawing layer changes from 0 to 1 (that is, D1 is added), so D1 is inserted as a new layer below the third drawing layer. In the drawing layer where C1 and C2 are located (formerly the fourth drawing layer, now the fifth drawing layer), the number of child nodes of node C1 is 2, and the number of child nodes of the other node C2 is 1. In this case, the child node of C2 (that is, D4) needs 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 target area map is obtained as follows: Figure 5 As shown in the left picture.
[0079] It can be understood that the above-mentioned hierarchical reconstruction is judged based on the second drawing layer as the starting point. This is because the first drawing layer (or the first equipment layer) of the substation map usually only includes one target transformer, that is, there is only a situation where the target transformer is the first target node or the second target node. Therefore, there is no need 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 the transformer has no directly connected lower-level equipment, and there may be problems with the data topology or data import, and the user may be prompted to process or re-import the data.
[0080] It should be noted that this embodiment can also perform hierarchical reconstruction on the layer to be adjusted, and the hierarchical reconstruction based on the type of device change in the target device change data, the layer where the device is added or reduced, and the associated layer includes adding a new drawing layer, deleting a drawing layer, and merging drawing layers.
[0081] In this embodiment, the layer to be adjusted is used to indicate the drawing layer that needs to be reconstructed, which can be directly determined based on the target device change data, or can be determined based on the target device change data, the layer where the device is added or reduced, and the number of child nodes of the associated layer.
[0082] Optionally, if there are drawing layers of the first target node and the second target node in the candidate station map, the child node of the first target node is used as a new layer, and the new layer is inserted below the drawing layer; If there is an empty layer in the candidate area map (for example, if there is a device with an entire drawing layer deleted in the target device change data), the empty layer is deleted, and the position of the subsequent drawing layer is adjusted according to the preset layer spacing; If the parent node to which the newly added device belongs includes other child nodes (that is, in addition to the newly added device, the 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 of the drawing layer where the parent node is located, there is no need to add a new layer, and the newly added device is added to the layer where the child nodes of the remaining nodes of the same node type are located; If there are two target drawing layers in the candidate area map whose parent nodes are located in the same drawing layer and whose parent nodes are of the same node type, the target drawing layers are merged into the same drawing layer.
[0083] Continue with Figure 5 Take this as an example to illustrate, Figure 5 Compared with the left picture, the right picture also has the device D5 installed behind B2.
[0084] At this time, B2 has a lower-level connected device C3 in the original station map, that is, the parent node B2 to which the newly added device D5 belongs includes other child nodes, and B2 and B1 in the same drawing layer are both second target nodes. At this time, it is only necessary to add D5 to the drawing layer where C3 is located, without adding a new drawing layer. When D1 is mounted on C3, there is no lower-level connection device in the original station area map of C3, 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 Left picture, and Figure 5 The right picture also involves the drawing layer merging operation, specifically: In the candidate area map, B2 and B1 of the same drawing layer are both the second target nodes. The number of nodes in B2 changes from 1 to 2. In this case, the layer where the original C3 is located needs to be merged with the layer where the original C1 and C2 are located. After the merger, C1, C2, C3, and D5 are all in the third drawing layer. When the third drawing layer is merged and equipped with D1~D4 devices, it is necessary to determine whether the node type of their parent nodes is the same, such as Figure 5 In the right figure, the parent nodes C2 and C3 of D1 and D4 are both the first target nodes, and the parent node C1 of D2 and D3 is the second target node. Therefore, D1 and D4 need to be set as a separate layer after the layer where the parent nodes are located, that is, the fourth drawing layer, while D2 and D3 are the fifth drawing layer.
[0085] This embodiment realizes dynamic updating of equipment on the original substation map, and can realize automatic generation of the target substation map in the scenario of equipment increase and / or equipment reduction, realizes incremental update of the substation map, solves the problems of time-consuming and labor-intensive, error-prone, and omission-prone drawing in traditional manual drawing solutions, and requires repeated modification of distribution network graphics, improves drawing efficiency, and avoids the situation where the target substation map is inconsistent with the actual status due to untimely modification, thereby improving work efficiency and reliability of substation scheduling; in this embodiment, if the first target node and the second target node exist in the same drawing layer, the subnodes belonging to the first target node and the subnodes belonging to the second target node are divided into subsequent different drawing layers, thereby improving the dynamic maintenance efficiency of the substation map, enhancing the aesthetics of the drawing effect, ensuring the intuitiveness and readability of the target substation map, and facilitating user use and review.
[0086] With the development trend of large-scale access of new energy equipment to the low-voltage side, since new energy equipment and distribution network equipment are usually managed and scheduled based on different systems, the substation map generated by the traditional solution cannot meet the regulatory needs of the full transparent management of the power balance status in the substation area. In order to be able to intuitively and transparently manage the power consumption of the distribution substation area and the power transmission of new energy equipment, a fourth embodiment of the substation map generation method of the present application is provided, with reference to Figure 6 , including: 601. Input the original area map and new energy equipment data.
[0087] This embodiment is aimed at the dynamic loading scenario where only new energy equipment exists in the original area map. Therefore, the new energy equipment data is also the target equipment change data mentioned above.
[0088] It should be noted that the scene of new energy equipment can also be directly mapped based on the target equipment data, that is, there is no original substation map. The target equipment data includes distribution network equipment data and new energy equipment data. For details, please refer to the first embodiment and the second embodiment and other solutions for execution, which will not be repeated here.
[0089] In this embodiment, the new energy equipment data includes the equipment attributes and user information corresponding to each new energy equipment, wherein the equipment attributes include but are not limited to the equipment name, equipment ID, equipment type, equipment type number, and station area; the user information includes at least the user ID, which is used to identify a unique user.
[0090] 602. Mount new energy equipment in the original area based on the new energy equipment data to obtain a candidate area map.
[0091] This embodiment determines the topological connection relationship between each new energy device and the distribution network equipment through the user ID, and realizes the mounting of the new energy device, that is, the addition of new energy equipment is realized on the original substation map. Through mounting, the graphic model can be integrated and cross-system equipment management can be realized on the substation map.
[0092] Optionally, all the user access points in the original area map are read to obtain the user ID corresponding to the access point, and all the new energy devices corresponding to the same user ID are found, and a connection relationship between the access point and the new energy device is created to complete the mounting of the new energy device. This embodiment matches the new energy device according to the user ID corresponding to the user access point in the original area map, and can determine the device mounting status of each user access point at one time. Subsequently, only the access point where the device is mounted and its associated layer need to be reconstructed, which can improve the efficiency of mapping.
[0093] Optionally, based on the user ID of each new energy device, the user access point of the area with the same user ID is matched in the original area map, and a connection relationship between the new energy device and the corresponding access point is created to complete the mounting of the new energy device. This embodiment determines the user access point to which each new energy device is connected one by one according to the user ID to which each new energy device belongs, and can also meet the dynamic mounting requirements of the new energy device.
[0094] Specifically, the above-mentioned creation of a connection relationship between new energy equipment and a substation user access point can be achieved by creating a first terminal corresponding to each substation user access point and a second terminal corresponding to each new energy equipment in the new energy equipment set; and setting the same connection point number for the first terminal and the second terminal belonging to the same user number.
[0095] 603. Detect the number of child nodes of each drawing layer in the candidate area map, and when there is a first target node and a second target node in any drawing layer, use the child nodes of the first target node as nodes of the new layer, and insert the new layer under any drawing layer until there is no next layer, thereby obtaining the target area map.
[0096] In this embodiment, the detection of the number of sub-nodes is to determine the node type corresponding to each node in the layer. This embodiment can realize automatic detection and repair of hierarchical conflicts in the area map through the detection of the number of sub-nodes. When the first target node and the second target node appear in the same drawing layer, a new layer is automatically inserted to realize the hierarchical distribution of forked nodes and non-forked nodes, so as to avoid unsightly phenomena such as device overlap and excessive horizontal arrangement that may exist in the mixed distribution of the two.
[0097] Exemplarily, taking the second drawing layer in the candidate station area map as the starting point, if the second drawing layer has a first target node and a second target node, the child node of the first target node is used as the node of the new layer, and the new layer is inserted below the second drawing layer, and moved to the next layer to detect the number of child nodes, and so on, until all drawing layers in the candidate station area map are traversed, that is, all devices are traversed, and the target station area map is obtained.
[0098] 604. Topologically color the target substation map to distinguish energized lines.
[0099] Specifically, colors are added to the substation map to distinguish energized lines (such as red for energized and gray for power off), helping users to intuitively identify equipment and lines in different states.
[0100] 605. Add measurement elements and flow identification arrows to the target area map.
[0101] In order to intuitively display the power transmission situation of photovoltaics and energy storage, this solution proposes to use arrows to mark the dynamic direction of the reverse flow in real time, determine the flow direction by detecting the measurement information of new energy equipment, and use dynamic arrows to mark it in the substation map to assist users in monitoring and managing the electricity consumption of the entire substation.
[0102] In the above-mentioned distribution network substation diagram, measurement elements corresponding to each device are created, and the above-mentioned measurement elements are used to monitor the electrical quantity parameter data (such as voltage and current) corresponding to the device; according to the electrical quantity parameter data of each of the above-mentioned measurement elements, flow identification arrows are added to the above-mentioned distribution network substation diagram, and the above-mentioned flow identification arrows are used to indicate the direction of power transmission (such as a reverse arrow is displayed when the photovoltaic device transmits power to the power grid).
[0103] In this embodiment, dynamic mounting of new energy equipment is realized, and cross-system data penetration is achieved to solve the problem that the distribution equipment and new energy equipment on the medium and low voltage sides are basically managed separately and cannot fully monitor the power balance status of the substation. By dynamically mounting new energy equipment in the original substation map, the new energy equipment in the distribution substation can be managed intuitively and transparently, and the power transmission direction and power parameters of the new energy equipment can be intuitively displayed through measurement elements and flow arrows, meeting the needs of the substation map to achieve transparent management of power consumption and power transmission of new energy equipment. It solves the problems of time-consuming, error-prone, easy to miss drawings, and the need to repeatedly modify the distribution network diagram in the traditional manual drawing scheme, improves the drawing efficiency, and avoids the situation where the target substation map is inconsistent with the actual state due to untimely modification, thereby improving work efficiency and the reliability of substation scheduling; in this embodiment, if the first target node and the second target node exist in the same drawing layer, the subnodes belonging to the first target node and the subnodes belonging to the second target node are divided into subsequent different drawing layers to achieve hierarchical distribution of forked nodes and non-forked nodes, avoiding the unsightly phenomena such as equipment overlap and excessive horizontal arrangement that may exist in the mixed distribution of the two, which not only improves the aesthetics of the drawing effect, but also ensures the intuitiveness and readability of the target substation map. Furthermore, through topological coloring, live lines can be distinguished to reduce the risk of misoperation by operation and maintenance personnel.
[0104] The above describes the method for generating a table area map in the present application. The following describes the device for generating a table area map in the present application. Figure 7 , an embodiment of the platform area map generating device in the present application includes: The first input module 701 is used to input target device data of a target area, wherein the target device data includes device attributes and topological connection relationships between devices; Drawing module 702 is used to generate a target area map based on target device data, with 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, wherein: If the first target node and the second target node exist 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 achieve that no nodes are crossed 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.
[0105] Optionally, the drawing module 702 includes: The processing unit 7021 is used to place the target transformer as the starting point based on the target device data to the current canvas, mark it as the current layer, obtain all child nodes of the current layer, and move to the next layer as the drawing layer; The allocation unit 7022 is used to store all the child nodes of the drawing layer into the first list and create an empty second list. If the drawing layer has a first target node, the child nodes of the first target node are stored in the second list and the child nodes of the first target node are deleted from the first list until all the nodes of the drawing layer are traversed. The determining unit 7023 is configured to use the devices in the second list as the next layer node of the drawing layer if the second list is not empty and the first list is not empty; The traversal unit 7024 is used to traverse each device layer by layer to obtain a target station area map.
[0106] Optionally, the drawing module 702 further includes: The device arrangement unit 7025 is used to arrange the devices of the drawing layer at equal intervals; The position adjustment unit 7026 is used 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. The reference layer is used to adjust the position of the drawing layer.
[0107] In the present embodiment, the automatic generation of the target substation map is realized, which can solve the problems of the traditional manual drawing scheme that is time-consuming and labor-intensive, prone to errors, prone to omissions, and requires repeated modification of the distribution network diagram, thereby improving the drawing efficiency. It also avoids the situation where the target substation map is inconsistent with the actual state due to untimely modification, thereby improving work efficiency and the reliability of substation scheduling. In the present embodiment, if there are a first target node and a second target node in the same drawing layer, the subnodes belonging to the first target node and the subnodes belonging to the second target node are divided into subsequent different drawing layers to realize the hierarchical distribution of forked nodes and non-forked nodes, thereby avoiding the unsightly phenomena such as equipment overlap and excessive horizontal arrangement that may exist in the mixed distribution of the two. This not only improves the aesthetics of the drawing effect, but also ensures the intuitiveness and readability of the target substation map.
[0108] See also Figure 8 Another embodiment of the platform area map generating device in the present application includes: The second input module 801 is used to input the original area map and target equipment change data; The equipment adding and reducing module 802 is used to add and reduce equipment to the original area map based on the target equipment change data to obtain a candidate area map; The hierarchical reconstruction module 803 is used to hierarchically reconstruct the candidate area map to obtain the target area map, wherein: If the first target node and the second target node exist 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 achieve that no nodes are crossed 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.
[0109] Optionally, the hierarchical reconstruction module 803 is specifically used to detect the number of child nodes of each drawing layer in the candidate station area map, and when there is a first target node and a second target node in any drawing layer, the child nodes belonging to the first target node are used as nodes belonging to the new layer, and the new layer is inserted under any drawing layer until there is no next layer, thereby obtaining the target station area map.
[0110] Optionally, the station map generating device further includes: A coloring module 804 is used to perform topological coloring on the target area map to distinguish energized lines; The monitoring module 805 is used to add measurement elements and flow identification arrows to the target station area map.
[0111] In this embodiment, dynamic mounting of new energy equipment is realized, and cross-system data penetration is achieved to solve the problem that the distribution equipment and new energy equipment on the medium and low voltage sides are basically managed separately and cannot fully monitor the power balance status of the substation. By dynamically mounting new energy equipment in the original substation map, the new energy equipment in the distribution substation can be managed intuitively and transparently, and the power transmission direction and power parameters of the new energy equipment can be intuitively displayed through measurement elements and flow arrows, meeting the needs of the substation map to achieve transparent management of power consumption and power transmission of new energy equipment. It solves the problems of time-consuming, error-prone, easy to miss drawings, and the need to repeatedly modify the distribution network diagram in the traditional manual drawing scheme, improves the drawing efficiency, and avoids the situation where the target substation map is inconsistent with the actual state due to untimely modification, thereby improving work efficiency and the reliability of substation scheduling; in this embodiment, if the first target node and the second target node exist in the same drawing layer, the subnodes belonging to the first target node and the subnodes belonging to the second target node are divided into subsequent different drawing layers to achieve hierarchical distribution of forked nodes and non-forked nodes, avoiding the unsightly phenomena such as equipment overlap and excessive horizontal arrangement that may exist in the mixed distribution of the two, which not only improves the aesthetics of the drawing effect, but also ensures the intuitiveness and readability of the target substation map. Furthermore, through topological coloring, live lines can be distinguished to reduce the risk of misoperation by operation and maintenance personnel.
[0112] above Figure 7 and Figure 8 The substation map generating device in the present application is described in detail from the perspective of modular functional entities, and the low-voltage power supply system in the present application is described in detail from the perspective of hardware processing.
[0113] See also Fig. 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-test method of the inverter circuit.
[0114] further, Fig. 9 The low-voltage power supply system shown further includes a bus 902 and a communication interface 903 , and the processor 900 , the communication interface 903 and the memory 901 are connected via the bus 902 .
[0115] The memory 901 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), for example, at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 903 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 902 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0116] The processor 900 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 900. The above 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 gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present disclosure can be implemented or executed. 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 conjunction with the embodiments of the present disclosure may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in a decoding processor. The software module may be located in a mature storage medium in the field 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. The storage medium is located in the memory 901 , and the processor 900 reads the information in the memory 901 and completes the method steps of the above-mentioned embodiment in combination with its hardware.
[0117] The present application also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the method for generating a station map.
[0118] 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 aforementioned method embodiments and will not be repeated here.
[0119] If the 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 the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.
[0120] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for generating a station area map, characterized in that: The station area map generation method comprises: Inputting target device data of a target area, wherein the target device data includes device attributes and topological connection relationships between devices; Based on the target device data, the target transformer is used as the root node as the first drawing layer, the child nodes of the target transformer are used as the second drawing layer, and so on, the devices of each node are traversed layer by layer to generate the target station area map, wherein: If a first target node and a second target node exist 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 that no node intersection occurs 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.
2. The method for generating a station area map according to claim 1, characterized in that: Based on the target device data, the target transformer is used as the root node as the first drawing layer, the child node of the target transformer is used as the second drawing layer, and so on, the devices of each node are traversed layer by layer to generate the target station area map, including: Based on the target device data, take the target transformer as the starting point, place it on the current canvas, mark it as the current layer, obtain all child nodes of the current layer, and move it to the next layer as the drawing layer; All child nodes of the drawing layer are stored in a first list, and an empty second list is created; if a first target node exists in the drawing layer, the child nodes belonging to the first target node are stored in the second list, and the child nodes belonging to the first target node are deleted from the first list until all nodes of the drawing layer are traversed; If the second list is not empty and the first list is not empty, the devices in the second list are used as the next layer nodes of the drawing layer; Traverse each device layer by layer to obtain the target area map.
3. The method for generating a station area map according to claim 1 or 2, characterized in that: The step of traversing each device layer by layer to generate a target area map also includes: Arranging the devices of the drawing layer at equal intervals; The position of the drawing layer is adjusted 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 station area map, characterized in that: The station area map generation method comprises: Input the original area map and target equipment change data; Add or subtract equipment from the original area map based on the target equipment change data to obtain a candidate area map; The candidate area map is hierarchically reconstructed to obtain a target area map, wherein: If a first target node and a second target node exist 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 that no node intersection occurs 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.
5. The method for generating a station area map according to claim 4, characterized in that: The step of hierarchically reconstructing the candidate area map to obtain a target area map includes: The number of child nodes of each drawing layer in the candidate platform map is detected, and when a first target node and a second target node exist in any drawing layer, the child nodes belonging to the first target node are used as nodes belonging to the new layer, and the new layer is inserted under any drawing layer until there is no next layer, thereby obtaining a target platform map.
6. The method for generating a station area map according to claim 1 or 4, characterized in that: Also includes: Performing topological coloring on the target area map to distinguish energized lines; and / or, Add measurement elements and flow identification arrows to the target area map.
7. A station area map generating device, characterized in that: The station area map generating device comprises: A first input module, used for inputting target device data of a target area, wherein the target device data includes device attributes and topological connection relationships between devices; A drawing module is used to generate a target area map based on the target device data, with the target transformer as the root node as the first drawing layer, the child node of the target transformer as the second drawing layer, and so on, traversing the devices of each node layer by layer, wherein: If a first target node and a second target node exist 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 that no node intersection occurs 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.
8. A station area map generating device, characterized in that: The station area map generating device comprises: The second input module is used to input the original area map and target equipment change data; An equipment adding module, used for adding or reducing equipment to the original station area map based on the target equipment change data to obtain a candidate station area map; The hierarchical reconstruction module is used to hierarchically reconstruct the candidate area map to obtain a target area map, wherein: If a first target node and a second target node exist 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 that no node intersection occurs 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.
9. A low voltage power supply system, characterized in that: The low-voltage power supply system comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instruction in the memory so that the low-voltage power supply system executes the station map generating method according to any one of claims 1 to 6.
10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instruction is read and executed, the method for generating a platform map according to any one of claims 1 to 6 is executed.
Citation Information
Patent Citations
Power restoration scheme generation algorithm based on multi-way tree search
CN105894173A
Transformer area topological relation graph automatic drawing method based on multi-way tree layered layout
CN111814281A
Distribution network topological graph generation method and device based on CIM model
CN117874984A
Power distribution network topology automatic identification method and system based on data analysis
CN118114019A
Method for automatically generating network diagram of power distribution network
CN119249663A