Distribution network intelligent mapping modeling and analysis system and method based on topology model

The intelligent mapping system based on topology models solves the problems of inaccurate equipment layout and data quality in complex environments of traditional distribution network mapping methods, and realizes efficient and accurate generation of distribution network thematic maps, thereby improving the level of intelligence in distribution network management.

CN121145281AActive Publication Date: 2025-12-16上海柒志科技有限公司

Patent Information

Application Number
CN202511667208.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-14
Publication Date
2025-12-16
Estimated Expiration
2045-11-14

AI Technical Summary

Technical Problem

Traditional power distribution network mapping methods are inaccurate in terms of equipment layout, lack intuitive topology connections, have inconsistent data quality, lack multi-source fusion and traceability mechanisms, and have low mapping accuracy. They also cannot dynamically optimize or quickly switch views, which affects emergency repair efficiency and decision-making accuracy.

Method used

The system employs a topology-based intelligent mapping system, comprising a data source module, a data processing module, an intelligent mapping engine module, and an output module. Through breadth-first search, force-oriented layout, and multiple optimization algorithms, it generates adaptive, clear, and easy-to-read distribution network thematic maps, achieving integrated map and model mapping and multi-map mapping functionality.

Benefits of technology

It has achieved full automation of the distribution network thematic map production process, improved drawing efficiency and accuracy, avoided equipment overlap and layout chaos, ensured real-time consistency between the graphics and the underlying data source, and significantly improved the intelligence level and decision-making efficiency of distribution network management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121145281A_ABST
    Figure CN121145281A_ABST
Patent Text Reader

Abstract

The invention discloses a distribution network intelligent mapping modeling and analysis system and method based on a topology model, and relates to the technical field of distribution network mapping, and the modeling and analysis system comprises a data source module which is used for obtaining distribution network basic data; the data processing module is used for converting the equipment model data and the topological relation data into graph-forming connecting line relation structure data, calculating the equipment graphic element size, the station building pixel size and the graph-forming canvas size, and assembling station building internal equipment interval data; determining arrangement coordinates of the equipment in the canvas by adopting a force-oriented layout algorithm; assembling interval data of equipment in the website room according to the equipment topology association relationship group, and calculating the arrangement spacing of the equipment in each interval; the whole process automation of the distribution network thematic map from data to map formation is realized, and the drawing efficiency and accuracy are greatly improved; through force-oriented layout and a multiple optimization algorithm, a graph which is reasonable in layout, clear and easy to read is generated; and the consistency and linkage of the graph and the data source are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of distribution network mapping technology, and more specifically, to a distribution network intelligent mapping modeling and analysis system and method based on a topology model. Background Technology

[0002] In power distribution network management, visualization graphics are crucial tools for operation and maintenance, planning, and emergency response. Traditional mapping methods, often based on fixed grids or simple geographic coordinate systems, struggle to adapt to complex terrains (such as mountainous and riverine areas) and high-density urban environments, leading to inaccurate equipment layout and unintuitive topology connections. Existing data acquisition relies heavily on manual input or single systems, lacking multi-source fusion and traceability mechanisms, resulting in inconsistent data quality and issues such as duplication, missing data, or anomalies. Preprocessing often ignores terrain factors and dynamic adjustments to equipment density, leading to unreasonable grid division and low mapping accuracy. Topology identification algorithms typically use static weights, failing to dynamically optimize based on real-time equipment failure risks, resulting in slow response in emergency scenarios. Furthermore, mapping engines lack scene-based rendering capabilities, hindering rapid view switching to meet different needs such as normal operation and maintenance, emergency repairs, and fault diagnosis; the imperfect dynamic update mechanism impacts repair efficiency and decision-making accuracy. Therefore, an intelligent mapping method is urgently needed, combining grid layout, multi-source data fusion, and adaptive algorithms to improve the accuracy, real-time performance, and scene adaptability of distribution network mapping. Summary of the Invention

[0003] This invention provides a distribution network intelligent mapping, modeling, and analysis system and method based on a topology model.

[0004] This invention provides a distribution network intelligent mapping, modeling, and analysis system based on a topology model, comprising: The data source module is used to acquire basic data of the distribution network, including unified equipment model data of the control cloud, distribution network topology data, and existing graphical data. The data processing module is used to convert equipment model data and topology relationship data into map connection relationship structure data, calculate equipment element size, station building pixel size and map canvas size, and assemble equipment interval data within the station building. The intelligent mapping engine module is used to start from the power node, traverse the distribution network topology relationship using the breadth-first algorithm and identify the trunk and branch lines, and use the force-directed layout algorithm to determine the layout coordinates of the equipment in the canvas, generating at least one thematic map of the distribution network. The output module is used to output thematic maps of the distribution network, establish the association mapping between equipment models and graphic elements, and realize the functions of integrating map and model and one model with multiple maps.

[0005] Preferably, the unified device model data of the control cloud acquired by the data source module includes device identifier, device type, device physical parameters and device electrical parameters; The physical parameters of the equipment include the actual length and actual width of the equipment, with the units for the actual length and actual width being millimeters; The electrical parameters of the equipment include the equipment voltage level and rated current. The unit of the equipment voltage level is kilovolts, and the unit of the rated current is amperes. The existing graphic data includes historically manually drawn equipment location markings, connection line trend markings, and graphic element style parameters. The graphic element style parameters include line thickness and color RGB values.

[0006] Preferably, the specific processing logic of the data processing module includes: Equipment element size calculation: The length of the equipment element is equal to the actual physical length of the equipment divided by a preset scaling factor, and the width of the equipment element is equal to the actual physical width of the equipment divided by a preset scaling factor. The preset scaling factor ranges from 1:200 to 1:300, where 10kV equipment uses a scaling factor of 1:200 and 0.4kV equipment uses a scaling factor of 1:300. Canvas size calculation: The horizontal canvas size is the larger of the horizontal element size of the station building and the total horizontal arrangement size of all equipment. The vertical canvas size is the larger of the vertical pixel size of the station building and the total vertical arrangement size of all equipment. The horizontal element size of the station building is the sum of the horizontal dimensions of all equipment areas within the station building. The vertical pixel size of the station building is the sum of the vertical dimensions of all equipment areas within the station building. The total horizontal arrangement size of the equipment is the sum of the widths of all equipment elements. The total vertical arrangement size of the equipment is the sum of the lengths of all equipment elements. Equipment spacing assembly: The equipment arrangement spacing is calculated according to the equipment topology relationship. The equipment topology relationship is preferentially based on the control cloud electrical connection data. When the control cloud electrical connection data is missing, the existing graphic annotation is used to supplement it. The equipment arrangement spacing is equal to the standard layout spacing of similar equipment multiplied by the equipment element size and then divided by the standard physical size of similar equipment.

[0007] Preferably, the specific logic for the intelligent mapping engine module to identify the main line and branch lines is as follows: Count the total number of nodes in the distribution network topology: Filter all electrical equipment in operation within the distribution network, exclude equipment that is out of service or scrapped, and count the total number of nodes of these operating electrical equipment. This total number is the total number of nodes in the distribution network topology. The operating status of the equipment is determined by the operating status field in the equipment model. To count the number of topology nodes for a single line: Traverse a single line, filter all electrical devices that are in operation within that line, and count the total number of nodes for these operating electrical devices. This total number is the number of topology nodes for that line. Calculate the proportion of line topology weight and identify the line type: The proportion of line topology weight is equal to the number of topology nodes of a single line divided by the total number of topology nodes of the distribution network.

[0008] Preferably, the force-directed layout algorithm of the intelligent mapping engine module specifically includes: Gravitational calculation: Treat the devices as nodes and the connections between devices as edges. The magnitude of the gravitational force is equal to the device association strength multiplied by a preset gravitational coefficient; Repulsive force calculation: The magnitude of the repulsive force is equal to the device primitive size multiplied by a preset repulsive coefficient; Iteration termination determination: Repeatedly calculate the force on the device nodes. The total force on the nodes is calculated using vector synthesis logic. The specific formula is: The total force on the node F = √(Fgravitational x 2 + Fgravitational y 2 - Frepulsive x 2 - Frepulsive y 2 ), where Fgravitational x and Fgravitational y are the horizontal and vertical components of the gravitational force respectively, and Frepulsive x and Frepulsive y are the horizontal and vertical components of the repulsive force respectively; After each iteration, adjust the node coordinates (coordinate adjustment amount = total force on the node × 0.1 mm / N) until the stop condition is met; Stop the iteration when any of the following conditions is met: The first condition is that the force difference of all device nodes does not exceed 0.1 N, and a force of 1 N corresponds to a displacement of 1 mm of the primitive; The second condition is that the number of iterations reaches 50 times.

[0009] Preferably, the single feeder diagram generated by the intelligent mapping engine module supports two modes: self-adaptive layout and adaptive layout: Self-adaptive layout: Extract the relative position ratio of the devices in the existing graphics. The ratio of the horizontal spacing between devices to the total horizontal size of the existing graphics is the horizontal relative position ratio, and the ratio of the vertical spacing between devices to the total vertical size of the existing graphics is the vertical relative position ratio. Both the horizontal relative position ratio and the vertical relative position ratio are reserved to two decimal places; Calculate the device arrangement coordinates in combination with the current canvas size. The horizontal coordinate of the current device is equal to the horizontal relative position ratio multiplied by the horizontal size of the current canvas, and the vertical coordinate of the current device is equal to the vertical relative position ratio multiplied by the vertical size of the current canvas; Adaptive layout: Determine the average spacing of the main line devices along the horizontal direction of the canvas. The average spacing of the main line devices is equal to the horizontal size of the canvas divided by the total number of main line devices; Allocate the horizontal coordinates of each main line device in sequence according to the average spacing, and the vertical coordinates of each main line device are kept the same to be arranged along the horizontal direction of the canvas; The branch line devices extend from the preset connection points of the main line, and the extension direction forms an angle of 45 degrees or 90 degrees with the main line. Calculate the horizontal and vertical coordinates of the branch line devices according to the extension direction and the coordinates of the main line connection points.

[0010] Preferably, it also includes a layout optimization module, used to perform optimization calculations on the equipment layout results, specifically including: Local stretching algorithm: Calculate the area of ​​the overlapping region of the equipment and the center coordinates. The area of ​​the overlapping region of the equipment is equal to the horizontal length of the overlapping part multiplied by the vertical length of the overlapping part. The horizontal length of the overlapping part is the maximum length of the overlapping region of the equipment in the horizontal direction, and the vertical length of the overlapping part is the maximum length of the overlapping region of the equipment in the vertical direction. The center coordinates of the overlapping area are the geometric center of the overlapping part. The calculation method is as follows: horizontal center coordinates = (horizontal coordinates of the left boundary of the overlapping part + horizontal coordinates of the right boundary of the overlapping part) ÷ 2, vertical center coordinates = (vertical coordinates of the lower boundary of the overlapping part + vertical coordinates of the upper boundary of the overlapping part) ÷ 2. The center coordinates are used as the reference point for the stretching direction. The stretching direction is along the diagonal of the smallest bounding rectangle of the overlapping area (from the center to the direction with the lowest degree of overlap). The stretching range is equal to the ratio of the overlapping area to the total area of ​​the equipment multiplied by the preset stretching coefficient. The ratio of the overlapping area to the total area of ​​the equipment is equal to the overlapping area divided by the total area of ​​the equipment. The total area of ​​the equipment is equal to the length of the equipment element multiplied by the width of the equipment element. Local reduction algorithm: Calculate the average value of all device intervals. The average value of device intervals is equal to the sum of the values ​​of all device intervals and divided by the total number of device intervals. Optimization trigger conditions: Optimization calculation is triggered when the equipment overlap rate is greater than 2% or the interval deviation rate is greater than 15%; the equipment overlap rate is equal to the area of ​​the overlapping area divided by the total area of ​​the equipment, and the interval deviation rate is equal to the absolute value of the difference between the interval of a single equipment and the average interval of the equipment divided by the average interval of the equipment.

[0011] Preferably, the layout optimization module further includes a missing device completion algorithm, the specific logic of which is as follows: Calculation of missing device coordinates: The horizontal coordinate of the missing device is equal to the sum of the horizontal coordinates of the associated devices before and after the missing device, divided by 2; the vertical coordinate of the missing device is equal to the sum of the vertical coordinates of the associated devices before and after the missing device, divided by 2. Electrical parameter verification: After completing the equipment layout, verify the electrical parameters of the missing equipment to ensure that the rated current of the switch is not less than the rated current of the line, and that the voltage level of the equipment is consistent with the voltage level of the line, so as to avoid topology logic errors.

[0012] Preferably, it also includes a data governance module for performing distribution network data governance calculations, specifically including: Topology consistency verification: Calculate the coordinate deviation value. First, extract the horizontal and vertical coordinates of the device elements in the distribution network thematic map. Then, extract the horizontal and vertical coordinates of the corresponding device nodes in the topology relationship data. Calculate the difference between the horizontal coordinate of the element and the horizontal coordinate of the node and square the difference. Calculate the difference between the vertical coordinate of the element and the vertical coordinate of the node and square the difference. Add the two squared results and take the square root of the sum. The resulting value is the coordinate deviation value. Incremental editing verification: Calculate the differences between newly added and existing graphic elements in four dimensions: style, color, label position, and size. The differences in each dimension must meet preset standards. The style difference is determined by calculating the proportion of outline matching pixels between newly added and existing graphic elements. The color difference value is calculated based on the RGB color model. First, the difference between the new primitive and the existing primitive in the red, green and blue channels is calculated separately. The difference of each channel is squared and then added together. The square root of the sum is used to obtain the RGB difference value. The RGB difference value must not exceed 50. The difference in the label position is determined by calculating the distance between the center of the newly added graphic element label text and the center of the graphic element. First, calculate the difference in the horizontal and vertical coordinates between the label center and the graphic element center. Then, square the difference and add them together. Take the square root of the sum to get the distance, which must not exceed 3 pixels. The size difference value is determined by calculating the size deviation percentage. First, calculate the difference between the size of the newly added graphic element and the size of the existing graphic element. Divide the difference by the size of the existing graphic element and then multiply by 100% to get the size deviation percentage. The size deviation percentage must be within ±10%. When the difference value in any dimension exceeds the corresponding preset standard, a correction prompt is triggered. The correction prompt includes the dimension that exceeds the standard, the current value, and the standard value.

[0013] This invention also proposes a method for intelligent mapping, modeling, and analysis of distribution networks based on topology models, comprising the following steps: S1: Data acquisition, collecting unified equipment model data, distribution network topology data, and existing graphical data of the control cloud; after collection, remove duplicate data and obviously erroneous data. Duplicate data is data with a duplication rate of not less than 95%, and obviously erroneous data includes data with equipment length less than 0 mm. S2: Data preprocessing, performing equipment element size calculation, canvas size calculation, and equipment interval assembly; equipment element size is calculated at a scale of 1:200 to 1:300; canvas size is taken as the larger value between the station building size and the total equipment layout size; equipment intervals are assembled according to topological relationships. S3: Topology calculation and equipment layout. Starting from the power node, the breadth-first search algorithm is used to traverse the distribution network topology, calculate the topology weight of the lines, and identify the trunk lines and branch lines. The equipment layout coordinates are determined by the force-directed layout algorithm. In the force-directed layout algorithm, the value range of the attraction coefficient is 0.8 to 1.2, and the repulsion coefficient is 0.85 for trunk line equipment and 1.0 for ordinary equipment. S4: Layout optimization. If the system includes a layout optimization module, then the layout optimization operation is performed. When the equipment overlap rate is greater than 2%, local stretching is performed. When the interval deviation rate is greater than 15%, local shrinking is performed. When there are missing devices, the missing devices are filled by averaging the coordinates of the related devices before and after. S5: Graphic output, calculates the compression ratio between the actual size of the graphic and the canvas size. The horizontal compression ratio is equal to the actual horizontal size of the graphic divided by the horizontal size of the canvas, and the vertical compression ratio is equal to the actual vertical size of the graphic divided by the vertical size of the canvas; reduces the coordinates of graphic elements according to the compression ratio while maintaining the relative positions between elements; outputs distribution network thematic maps, which support PNG and SVG formats; establishes a one-to-one correspondence between device model IDs and graphic element IDs. S6: Data governance. If the system includes a data governance module, perform data governance operations. A topology problem report is generated when the coordinate deviation exceeds 5 pixels. A correction prompt is triggered when the difference value of any dimension exceeds the standard during incremental editing.

[0014] Beneficial effects: This system automates the entire process of generating distribution network thematic maps, from data to finished map, significantly improving drawing efficiency and accuracy and freeing manual labor from tedious drawing tasks. Through force-guided layout and multiple optimization algorithms, it can automatically generate well-structured, clear, and easy-to-read graphics, effectively avoiding equipment overlap and layout chaos. Based on integrated map and model technology and one-model-multiple-map technology, it ensures real-time consistency and linkage between graphics and underlying data sources, completely solving the pain point of map-model inconsistency in traditional methods. Its achievements can be directly applied to various business scenarios such as operation and maintenance, control, and power supply protection, significantly improving the intelligence level and decision-making efficiency of distribution network management. Attached Figure Description

[0015] Figure 1 This is a flowchart of the intelligent mapping, modeling, and analysis method for distribution networks according to the present invention. Detailed Implementation

[0016] This invention provides a distribution network intelligent mapping, modeling, and analysis system based on a topology model, comprising: The data source module is used to acquire basic data of the distribution network, including unified equipment model data of the control cloud, distribution network topology data, and existing graphical data. The data processing module is used to convert equipment model data and topology relationship data into map connection relationship structure data, calculate equipment element size, station building pixel size and map canvas size, and assemble equipment interval data within the station building. The intelligent mapping engine module is used to start from the power node, traverse the distribution network topology relationship using the breadth-first algorithm and identify the trunk and branch lines, and use the force-directed layout algorithm to determine the layout coordinates of the equipment in the canvas, generating at least one thematic map of the distribution network. The intelligent mapping engine module makes structural improvements to existing algorithms specifically for distribution network scenarios: the breadth-first search algorithm adds load weight priority (prioritizes traversing lines with load density ≥ 50kW / km during traversal, which conforms to the concentrated load characteristics of distribution network backbone lines); the force-oriented layout algorithm adds electrical hierarchy constraints (bus nodes are fixed within ±10% of the canvas visual center to avoid core equipment offset), solving the problem of lagging backbone line identification and chaotic core equipment layout in distribution network scenarios in existing general algorithms. The output module is used to output thematic maps of the distribution network, establish the association mapping between equipment models and graphic elements, and realize the functions of integrating map and model and one model with multiple maps.

[0017] As an optional embodiment: the unified device model data of the control cloud obtained by the data source module includes device identifier, device type, device physical parameters and device electrical parameters; The physical parameters of the equipment include the actual length and actual width of the equipment, with the units for the actual length and actual width being millimeters; The electrical parameters of the equipment include the equipment voltage level and rated current. The unit of the equipment voltage level is kilovolts, and the unit of the rated current is amperes. The existing graphic data includes historically manually drawn equipment location markings, connection line trend markings, and graphic element style parameters. The graphic element style parameters include line thickness and color RGB values.

[0018] As an optional embodiment: the specific processing logic of the data processing module includes: Equipment element size calculation: The length of the equipment element is equal to the actual physical length of the equipment divided by a preset scaling factor, and the width of the equipment element is equal to the actual physical width of the equipment divided by a preset scaling factor. The preset scaling factor ranges from 1:200 to 1:300, where 10kV equipment uses a scaling factor of 1:200 and 0.4kV equipment uses a scaling factor of 1:300. Canvas size calculation: The horizontal canvas size is the larger of the horizontal element size of the station building and the total horizontal arrangement size of all equipment. The vertical canvas size is the larger of the vertical pixel size of the station building and the total vertical arrangement size of all equipment. The horizontal element size of the station building is the sum of the horizontal dimensions of all equipment areas within the station building. The vertical pixel size of the station building is the sum of the vertical dimensions of all equipment areas within the station building. The total horizontal arrangement size of the equipment is the sum of the widths of all equipment elements. The total vertical arrangement size of the equipment is the sum of the lengths of all equipment elements. Equipment spacing assembly: The equipment arrangement spacing is calculated according to the equipment topology relationship. The equipment topology relationship is preferentially based on the control cloud electrical connection data. When the control cloud electrical connection data is missing, the existing graphic annotation is used to supplement it. The equipment arrangement spacing is equal to the standard layout spacing of similar equipment multiplied by the equipment element size and then divided by the standard physical size of similar equipment.

[0019] It should be noted that the topology relationship classification dimension includes two levels: one is the classification according to the electrical hierarchy of busbar-switch-line (to ensure that the bay conforms to the current transmission path), and the other is the classification according to the equipment function type (divided into incoming line unit, metering unit, protection unit, and outgoing line unit, to ensure that the bay matches the physical functional zoning of the station building). It should be noted that the calculation logic for the arrangement spacing of 10kV switches is as follows: when the standard arrangement spacing of 10kV switches is 500 mm, the standard physical length is 2000 mm, and the element length is 10 mm, the arrangement spacing is 500 mm multiplied by 10 mm and then divided by 2000 mm, resulting in 2.5 mm.

[0020] The specific values ​​and acquisition methods for the standard physical dimensions and standard layout spacing of similar equipment are as follows: The standard physical length of a 10kV busbar is 3000mm and the width is 500mm; the standard physical length of a 10kV switch is 1200mm and the width is 600mm; the standard physical length of a 10kV instrument transformer is 800mm and the width is 400mm. The standard layout spacing of similar equipment is as follows: 500mm between busbar and switch, 300mm between switch and instrument transformer, and 400mm between instrument transformer and outgoing switch. The above parameters can be obtained directly from industry standard documents.

[0021] As an optional embodiment: the specific logic of the intelligent mapping engine module in identifying the main line and branch lines is as follows: Count the total number of nodes in the distribution network topology: Filter all electrical equipment in operation within the distribution network, exclude equipment that is out of service or scrapped, and count the total number of nodes of these operating electrical equipment. This total number is the total number of nodes in the distribution network topology. The operating status of the equipment is determined by the operating status field in the equipment model. To count the number of topology nodes for a single line: Traverse a single line, filter all electrical devices that are in operation within that line, and count the total number of nodes for these operating electrical devices. This total number is the number of topology nodes for that line. Calculate the line topology weight ratio and identify the line type: The line topology weight ratio is equal to the number of topology nodes of a single line divided by the total number of topology nodes of the distribution network.

[0022] Lines with a topology weight ratio of not less than 20% are identified as trunk lines, while lines with a topology weight ratio of less than 20% are identified as branch lines. The 20% threshold is set based on the typical topology characteristics of 10kV distribution networks and industry operation and maintenance experience. The trunk lines of 10kV distribution networks need to carry the main power supply loads in the area, and the number of associated electrical equipment nodes usually accounts for more than 20% of the total number of nodes in the distribution network. This threshold has been verified by actual testing on 500 10kV distribution network lines in 10 municipal power supply bureaus, and the trunk line identification accuracy rate is over 92%.

[0023] As an optional embodiment: the force-guided layout algorithm of the intelligent mapping engine module specifically includes: Gravity calculation: Treat devices as nodes and connections between devices as edges. The magnitude of gravity is equal to the device association strength multiplied by a preset gravity coefficient. It should be noted that the preset gravity coefficient ranges from 0.8 to 1.2, where the equipment correlation strength between the busbar and the switch and transformer corresponds to a preset gravity coefficient of 1.2, and the equipment correlation strength between ordinary branch line equipment corresponds to a preset gravity coefficient of 0.8. The criteria for determining the correlation strength of equipment are based on two core indicators: first, the amount of current transmitted between equipment (the greater the transmitted current, the higher the correlation strength); and second, the irreplaceability of the electrical connection (the absence of a core connection node will lead to a power outage, and the higher the correlation strength). The connection between the busbar and the switch and transformer is the core power supply link of the 10kV distribution network, and the transmitted current accounts for more than 80% of the total current of the line. Moreover, the absence of this connection will lead to a power outage of downstream equipment. Therefore, the correlation strength is the highest, corresponding to a preset attraction coefficient of 1.2. Ordinary branch line equipment only carries local loads, and the transmitted current accounts for less than 30%. The absence of the connection only affects a small number of users. Therefore, the correlation strength is low, corresponding to a preset attraction coefficient of 0.8. The force-directed layout algorithm adds dynamic optimization logic for fault status: when a fault signal (such as switch tripping or line short circuit) is detected in the control cloud data, the attraction coefficient of the main line associated with the faulty equipment is automatically increased (from 1.2 to 1.5) and the repulsion coefficient of the faulty branch line is reduced (from 1.0 to 0.7), so that the equipment in the faulty area is automatically aggregated and displayed in the canvas, which makes it easier for maintenance personnel to quickly locate the faulty link. This improvement is designed for distribution network fault repair scenarios, and the existing general force-directed layout algorithm does not have this dynamic adjustment function. Repulsion calculation: The magnitude of the repulsion is equal to the size of the device graphic element multiplied by the preset repulsion coefficient; It should be noted that the base value of the preset repulsion coefficient is 1.0, and the preset repulsion coefficient for the backbone line device is 0.85, which is 15% lower than the base value to avoid excessive dispersion of the backbone line; Iteration termination determination: Repeatedly iterate and calculate the force conditions of the device nodes. The total force of the nodes is calculated using the vector synthesis logic. The specific formula is: The total force of the node F = √(Fgravitational x 2 + Fgravitational y 2 - Frepulsion x 2 - Frepulsion y 2 ), where Fgravitational x and Fgravitational y are the horizontal and vertical components of the gravitational force respectively, and Frepulsion x and Frepulsion y are the horizontal and vertical components of the repulsion force respectively; After each iteration, adjust the node coordinates (coordinate adjustment amount = total force of the node × 0.1 mm / N) until the stop condition is met; Stop iterating when any of the following conditions is met: The first condition is that the force difference of all device nodes does not exceed 0.1 N, and a force of 1 N corresponds to a graphic element displacement of 1 mm; The second condition is that the number of iterations reaches 50 times.

[0024] As an optional embodiment: The single feeder diagram generated by the intelligent mapping engine module supports two modes: self-adaptive layout and adaptive layout: Self-adaptive layout: Extract the relative position ratio of the devices in the existing graphics. The ratio of the horizontal distance between devices to the total horizontal size of the existing graphics is the horizontal relative position ratio, and the ratio of the vertical distance between devices to the total vertical size of the existing graphics is the vertical relative position ratio. Both the horizontal relative position ratio and the vertical relative position ratio are retained to two decimal places; Combine the current canvas size to calculate the device arrangement coordinates. The horizontal coordinate of the current device is equal to the horizontal relative position ratio multiplied by the horizontal size of the current canvas, and the vertical coordinate of the current device is equal to the vertical relative position ratio multiplied by the vertical size of the current canvas; Adaptive layout: Determine the average spacing of the backbone line devices along the horizontal direction of the canvas. The average spacing of the backbone line devices is equal to the horizontal size of the canvas divided by the total number of backbone line devices; Allocate the horizontal coordinates of each backbone line device in sequence according to the average spacing, and the vertical coordinates of each backbone line device are kept consistent to be arranged along the horizontal direction of the canvas; The branch line devices extend from the preset connection points of the backbone line, and the extension direction forms an angle of 45 degrees or 90 degrees with the backbone line. Calculate the horizontal and vertical coordinates of the branch line devices according to the extension direction and the coordinates of the backbone line connection points.

[0025] As an optional embodiment: It further includes a layout optimization module for performing optimization calculations on the device arrangement results, specifically including: Local stretching algorithm: Calculate the area of ​​the overlapping region of the equipment and the center coordinates. The area of ​​the overlapping region of the equipment is equal to the horizontal length of the overlapping part multiplied by the vertical length of the overlapping part. The horizontal length of the overlapping part is the maximum length of the overlapping region of the equipment in the horizontal direction, and the vertical length of the overlapping part is the maximum length of the overlapping region of the equipment in the vertical direction. The center coordinates of the overlapping area are the geometric center of the overlapping part. The calculation method is as follows: horizontal center coordinates = (horizontal coordinates of the left boundary of the overlapping part + horizontal coordinates of the right boundary of the overlapping part) ÷ 2, vertical center coordinates = (vertical coordinates of the lower boundary of the overlapping part + vertical coordinates of the upper boundary of the overlapping part) ÷ 2. The center coordinates are used as the reference point for the stretching direction. The stretching direction is along the diagonal of the smallest bounding rectangle of the overlapping area (from the center to the direction with the lowest degree of overlap). The stretching range is equal to the ratio of the overlapping area to the total area of ​​the equipment multiplied by the preset stretching coefficient. The ratio of the overlapping area to the total area of ​​the equipment is equal to the overlapping area divided by the total area of ​​the equipment. The total area of ​​the equipment is equal to the length of the equipment element multiplied by the width of the equipment element. The preset stretching coefficient ranges from 1.0 to 1.5; the stretching amplitude of each stretching step does not exceed 0.3 times the size of the equipment element. The stretching coefficient is selected according to the equipment overlap rate: 1.5 is selected when the overlap rate is >5%, 1.2 is selected when the overlap rate is 2% to 5%, and 1.0 is selected when the overlap rate is ≤2%. This grading rule is set based on the equipment element size error control requirements, which can avoid excessive stretching in a single stretching step leading to interval deviation; the stretching amplitude of each stretching step does not exceed 0.3 times the size of the equipment element. Local reduction algorithm: Calculate the average value of all device intervals. The average value of device intervals is equal to the sum of the values ​​of all device intervals and divided by the total number of device intervals. Select equipment intervals that are more than or equal to ±15% of the average equipment interval. Adjust these equipment intervals to be close to the average equipment interval. The adjustment amount is equal to the difference between the equipment interval value that is more than or equal to the average equipment interval value and then divided by 2. For intervals that are more than the average equipment interval value, subtract the adjustment amount. For intervals that are less than the average equipment interval value, add the adjustment amount. Optimization trigger conditions: Optimization calculation is triggered when the equipment overlap rate is greater than 2% or the interval deviation rate is greater than 15%; the equipment overlap rate is equal to the area of ​​the overlapping area divided by the total area of ​​the equipment, and the interval deviation rate is equal to the absolute value of the difference between the interval of a single equipment and the average interval of the equipment divided by the average interval of the equipment.

[0026] As an optional embodiment: the layout optimization module further includes a missing device completion algorithm, the specific logic of which is as follows: Calculation of missing device coordinates: The horizontal coordinate of the missing device is equal to the sum of the horizontal coordinates of the associated devices before and after the missing device, divided by 2; the vertical coordinate of the missing device is equal to the sum of the vertical coordinates of the associated devices before and after the missing device, divided by 2. Electrical parameter verification: After completing the equipment layout, verify the electrical parameters of the missing equipment to ensure that the rated current of the switch is not less than the rated current of the line, and that the voltage level of the equipment is consistent with the voltage level of the line, so as to avoid topology logic errors.

[0027] As an optional embodiment: it also includes a data governance module for performing distribution network data governance calculations, specifically including: Topology consistency verification: Calculate the coordinate deviation value. First, extract the horizontal and vertical coordinates of the device elements in the distribution network thematic map. Then, extract the horizontal and vertical coordinates of the corresponding device nodes in the topology relationship data. Calculate the difference between the horizontal coordinate of the element and the horizontal coordinate of the node and square the difference. Calculate the difference between the vertical coordinate of the element and the vertical coordinate of the node and square the difference. Add the two squared results and take the square root of the sum. The resulting value is the coordinate deviation value. When the coordinate deviation exceeds 5 pixels, a topology association problem is identified and a topology problem report is generated. 5 pixels corresponds to an actual size of 2 millimeters. The topology problem report includes the problem device ID, element coordinates, node coordinates, and error type. Incremental editing verification: Calculate the differences between newly added and existing graphic elements in four dimensions: style, color, label position, and size. The differences in each dimension must meet preset standards. The style difference is determined by calculating the proportion of outline matching pixels between newly added and existing graphic elements. It should be noted that the acceptable standard for the proportion of pixels matching the outline is ≥90%, that is, the proportion of overlapping outline pixels between newly added primitives and existing primitives to the total outline pixels of existing primitives is not less than 90%. The color difference value is calculated based on the RGB color model. First, the difference between the new primitive and the existing primitive in the red, green and blue channels is calculated separately. The difference of each channel is squared and then added together. The square root of the sum is used to obtain the RGB difference value. The RGB difference value must not exceed 50. The difference in the label position is determined by calculating the distance between the center of the newly added graphic element label text and the center of the graphic element. First, calculate the difference in the horizontal and vertical coordinates between the label center and the graphic element center. Then, square the difference and add them together. Take the square root of the sum to get the distance, which must not exceed 3 pixels. The size difference value is determined by calculating the size deviation percentage. First, calculate the difference between the size of the newly added graphic element and the size of the existing graphic element. Divide the difference by the size of the existing graphic element and then multiply by 100% to get the size deviation percentage. The size deviation percentage must be within ±10%. When the difference value in any dimension exceeds the corresponding preset standard, a correction prompt is triggered. The correction prompt includes the dimension that exceeds the standard, the current value, and the standard value.

[0028] The specific contents of the standard values ​​are as follows: the color standard value is blue RGB(0,0,255) for 10kV equipment elements and green RGB(0,255,0) for 0.4kV equipment elements; the style standard value is based on the distribution network element style in Appendix A of DL / T5352-2018; the annotation position standard value is the distance between the center of the annotation text and the center of the element ≤ 3 pixels; and the size standard value is the size deviation of the same type of equipment element ≤ ±10%. The incremental editing verification adds electrical parameter cross-verification logic: on the basis of four-dimensional verification, the matching of the electrical parameters (voltage level, rated current) of the newly added graphic elements with the associated equipment is verified simultaneously (e.g., the rated current of the newly added switch must be ≥ the rated current of the associated line). If the electrical parameters do not match, a correction prompt will still be triggered even if the four-dimensional difference value meets the standard. This improvement solves the defect of the existing data governance that only verifies graphic consistency and ignores electrical logic.

[0029] like Figure 1 As shown: This invention also proposes a method for intelligent mapping, modeling, and analysis of distribution networks based on topology models, including the following steps: S1: Data acquisition, collecting unified equipment model data, distribution network topology data, and existing graphical data of the control cloud; after collection, remove duplicate data and obviously erroneous data. Duplicate data is data with a duplication rate of not less than 95%, and obviously erroneous data includes data with equipment length less than 0 mm. S2: Data preprocessing, performing equipment element size calculation, canvas size calculation, and equipment interval assembly; equipment element size is calculated at a scale of 1:200 to 1:300; canvas size is taken as the larger value between the station building size and the total equipment layout size; equipment intervals are assembled according to topological relationships. The assembly sequence follows the power supply logic of the station building: first assemble the incoming line unit, then assemble the metering unit and protection unit in sequence, and finally assemble the outgoing line unit. This sequence is consistent with the transmission direction of the distribution network current from the incoming line to the outgoing line, ensuring that the bay assembly conforms to the actual electrical structure of the station building. S3: Topology calculation and equipment layout. Starting from the power node, the breadth-first search algorithm is used to traverse the distribution network topology, calculate the topology weight of the lines, and identify the trunk lines and branch lines. The equipment layout coordinates are determined by the force-directed layout algorithm. In the force-directed layout algorithm, the value range of the attraction coefficient is 0.8 to 1.2, and the repulsion coefficient is 0.85 for trunk line equipment and 1.0 for ordinary equipment. S4: Layout optimization. If the system includes a layout optimization module, then the layout optimization operation is performed. When the equipment overlap rate is greater than 2%, local stretching is performed. When the interval deviation rate is greater than 15%, local shrinking is performed. When there are missing devices, the missing devices are filled by averaging the coordinates of the related devices before and after. S5: Graphic output, calculates the compression ratio between the actual size of the graphic and the canvas size. The horizontal compression ratio is equal to the actual horizontal size of the graphic divided by the horizontal size of the canvas, and the vertical compression ratio is equal to the actual vertical size of the graphic divided by the vertical size of the canvas; reduces the coordinates of graphic elements according to the compression ratio while maintaining the relative positions between elements; outputs distribution network thematic maps, which support PNG and SVG formats; establishes a one-to-one correspondence between device model IDs and graphic element IDs. S6: Data governance. If the system includes a data governance module, perform data governance operations. A topology problem report is generated when the coordinate deviation exceeds 5 pixels. A correction prompt is triggered when the difference value of any dimension exceeds the standard during incremental editing.

[0030] Taking the generation of a substation diagram for a 10kV urban power distribution station (SF-01) as an example, the implementation process of this invention is described in detail to ensure that those skilled in the art can reproduce it: S1: Data Acquisition and Verification Collect basic data for SF-01 station building: Unified equipment model data for the control cloud: includes 1 10kV busbar (ID: BM-01, actual length 3000mm, width 500mm, voltage level 10kV, rated current 1250A), 3 incoming line switches (ID: KG-01~03, each actual length 1200mm, width 600mm, rated current 630A), 2 metering transformers (ID: HG-01~02, actual length 800mm, width 400mm, rated current 600A), and 4 outgoing line switches (ID: KG-04~07, actual length 1200mm, width 600mm, rated current 630A). Distribution network topology data: BM-01→KG-01~03→HG-01~02→KG-04~07 (Circuit number: HL-101~104). Existing graphic data: The station building map was manually drawn in 2023, with 28 valid equipment elements and a total of 30 equipment elements (completeness 93.3%), and 1 equipment with coordinate errors (error rate 3.3%). Preliminary verification: No duplicate data, no obvious erroneous data, and 100% retention rate of qualified data.

[0031] S2: Data Preprocessing Convert connection relationships: Generate core fields including start point ID (BM-01), end point ID (KG-01), connection type (copper busbar), and wire diameter specification (240mm). 2 The connection structure data; Calculate the dimensions of the graphic elements: using a 1:200 scale, the length of the BM-01 graphic element is 3000 ÷ 200 = 15 mm, and the width is 500 ÷ 200 = 2.5 mm; the length of the KG-01 graphic element is 1200 ÷ 200 = 6 mm, and the width is 600 ÷ 200 = 3 mm. Calculate the canvas size: The horizontal dimension of the station building is 800mm, and the total horizontal arrangement size of the equipment is 15 + (3×6) + (2×4) + (4×6) + (total intervals) = 15 + 18 + 8 + 24 + 30 = 95mm (graphic element size) → Take the horizontal canvas size as 800mm (the station building size is larger); The vertical dimension of the station building is 400mm, and the total vertical arrangement size of the equipment is 380mm → Take the vertical canvas size as 400mm; Assembly room spacing: Divide into incoming line units (KG-01~03, total width = 3×6=18mm), metering units (HG-01~02, total width = 2×4=8mm), and outgoing line units (KG-04~07, total width = 4×6=24mm); adjacent unit spacing = max(18,8)×0.2=3.6mm (incoming line - metering), max(8,24)×0.2=4.8mm (metering - outgoing line).

[0032] S3: Topology Computation and Device Layout Topology traversal: With BM-01 as the power node, the total number of nodes in the line after traversal is 30 (excluding 0 out-of-service devices). The number of nodes in the line where KG-01 is located is 8, and the weight ratio is 8÷30≈26.7% (≥20%, as it is the main trunk line). Force-oriented layout: The attraction coefficient of BM-01 and KG-01 is 1.2, and the repulsion coefficient is 0.85. After 35 iterations, BM-01 is arranged on the horizontal center line of the canvas (y=200mm), and KG-01~03 are arranged horizontally along BM-01 with a spacing of (800-15)÷3≈261.7mm.

[0033] S4: Layout Optimization Overlap rate calculation: initial overlap rate 1.2% (meets standard), interval deviation rate 12% (meets standard), no stretching / shrinkage required; no defective equipment, skip completion.

[0034] S5: Connector Lines and Label Layout Connection line planning: From BM-01 (100, 200) to KG-01 (361.7, 200), plan the horizontal path in 1mm increments, with a length of 261.7mm and a distance of 3mm from the edge of the equipment (meets the standard). Label layout: Within a 1.5 times radius (9mm×4.5mm) around the KG-01 graphic element, place the label KG-01 (630A) at the center of the largest blank area (361.7,205).

[0035] S6: Graphics Compression and Output Compression ratio calculation: The actual horizontal size of the graphic is 780mm, the horizontal size of the canvas is 800mm, the horizontal compression ratio = 780 ÷ 800 = 0.975; the actual vertical size is 390mm, the vertical compression ratio = 390 ÷ 400 = 0.975; after being reduced according to the compression ratio, the BM-01 coordinates are (97.5, 195), keeping the relative position unchanged; Output: Generate SVG format station building map, establish BM-01-element ID001 association mapping, and support subsequent model update synchronization.

[0036] S7: Data Governance Applications Topology verification: BM-01 element coordinates (97.5, 195), node coordinates (98, 196), deviation value = √[(0.5)] 2 +(1) 2 ]≈1.12 pixels (≤5, meets the standard); No incremental editing, no existing areas without images, process complete.

[0037] The above are merely preferred embodiments of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions that fall within the scope of the present invention are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principle of the present invention should also be considered within the scope of protection of this template.

Claims

1. A distribution network intelligent mapping, modeling, and analysis system based on a topology model, characterized in that, include: The data source module is used to acquire basic data of the distribution network, including unified equipment model data of the control cloud, distribution network topology data, and existing graphical data. The data processing module is used to convert equipment model data and topology relationship data into map connection relationship structure data, calculate equipment element size, station building pixel size and map canvas size, and assemble equipment interval data within the station building. The intelligent mapping engine module is used to start from the power node, traverse the distribution network topology relationship using the breadth-first algorithm and identify the trunk and branch lines, and use the force-directed layout algorithm to determine the layout coordinates of the equipment in the canvas, generating at least one thematic map of the distribution network. The output module is used to output thematic maps of the distribution network, establish the association mapping between equipment models and graphic elements, and realize the functions of integrating map and model and one model with multiple maps.

2. The intelligent mapping, modeling, and analysis system for distribution networks based on a topology model according to claim 1, characterized in that, The unified equipment model data of the control cloud obtained by the data source module includes equipment identifier, equipment type, equipment physical parameters and equipment electrical parameters; The physical parameters of the equipment include the actual length and actual width of the equipment, with the units for the actual length and actual width being millimeters; The electrical parameters of the equipment include the equipment voltage level and rated current. The unit of the equipment voltage level is kilovolts, and the unit of the rated current is amperes. The existing graphic data includes historically manually drawn equipment location markings, connection line trend markings, and graphic element style parameters. The graphic element style parameters include line thickness and color RGB values.

3. The distribution network intelligent mapping, modeling, and analysis system based on a topology model according to claim 1, characterized in that, The specific processing logic of the data processing module includes: Equipment element size calculation: The length of the equipment element is equal to the actual physical length of the equipment divided by a preset scaling factor, and the width of the equipment element is equal to the actual physical width of the equipment divided by a preset scaling factor. The preset scaling factor ranges from 1:200 to 1:300, where 10kV equipment uses a scaling factor of 1:200 and 0.4kV equipment uses a scaling factor of 1:

300. Canvas size calculation: The horizontal canvas size is the larger of the horizontal element size of the station building and the total horizontal arrangement size of all equipment. The vertical canvas size is the larger of the vertical pixel size of the station building and the total vertical arrangement size of all equipment. The horizontal element size of the station building is the sum of the horizontal dimensions of all equipment areas within the station building. The vertical pixel size of the station building is the sum of the vertical dimensions of all equipment areas within the station building. The total horizontal arrangement size of the equipment is the sum of the widths of all equipment elements. The total vertical arrangement size of the equipment is the sum of the lengths of all equipment elements. Equipment spacing assembly: The equipment arrangement spacing is calculated according to the equipment topology relationship. The equipment topology relationship is preferentially based on the control cloud electrical connection data. When the control cloud electrical connection data is missing, the existing graphic annotation is used to supplement it. The equipment arrangement spacing is equal to the standard layout spacing of similar equipment multiplied by the equipment element size and then divided by the standard physical size of similar equipment.

4. The intelligent mapping, modeling, and analysis system for distribution networks based on a topology model according to claim 1, characterized in that, The specific logic of the intelligent mapping engine module in identifying the main line and branch lines is as follows: Count the total number of nodes in the distribution network topology: Filter all electrical equipment in operation within the distribution network, exclude equipment that is out of service or scrapped, and count the total number of nodes of these operating electrical equipment. This total number is the total number of nodes in the distribution network topology. The operating status of the equipment is determined by the operating status field in the equipment model. To count the number of topology nodes for a single line: Traverse a single line, filter all electrical devices that are in operation within that line, and count the total number of nodes for these operating electrical devices. This total number is the number of topology nodes for that line. Calculate the line topology weight ratio and identify the line type: The line topology weight ratio is equal to the number of topology nodes of a single line divided by the total number of topology nodes of the distribution network.

5. The distribution network intelligent mapping, modeling, and analysis system based on a topology model according to claim 1, characterized in that, The force-directed layout algorithm of the intelligent mapping engine module specifically includes: Gravity calculation: Treat devices as nodes and connections between devices as edges. The magnitude of gravity is equal to the device association strength multiplied by a preset gravity coefficient. Repulsion force calculation: The magnitude of the repulsion force is equal to the size of the equipment element multiplied by the preset repulsion force coefficient; Iteration termination determination: The stress on the device nodes is calculated iteratively, and the total stress on the nodes is calculated using vector synthesis logic. The iteration stops when any of the following conditions are met: the first condition is that the force difference between all device nodes does not exceed 0.1 Newtons, where 1 Newton corresponds to a primitive displacement of 1 millimeter; the second condition is that the number of iterations reaches 50.

6. The intelligent mapping, modeling, and analysis system for distribution networks based on a topology model according to claim 1, characterized in that, The intelligent mapping engine module generates single feeder graphs that support both self-adaptive and adaptive layout modes. Self-adaptive layout: Extract the relative position ratios of devices in the existing graphic. The ratio of the horizontal spacing between devices to the total horizontal size of the existing graphic is the horizontal relative position ratio, and the ratio of the vertical spacing between devices to the total vertical size of the existing graphic is the vertical relative position ratio. Both the horizontal and vertical relative position ratios are rounded to two decimal places. Combine the current canvas size to calculate the device layout coordinates. The horizontal coordinate of the current device is equal to the horizontal relative position ratio multiplied by the horizontal size of the current canvas, and the vertical coordinate of the current device is equal to the vertical relative position ratio multiplied by the vertical size of the current canvas. Adaptive Layout: Determine the average spacing of the backbone devices along the horizontal direction of the canvas. The average spacing of the backbone devices is equal to the horizontal dimension of the canvas divided by the total number of backbone devices. Assign the horizontal coordinates of each backbone device according to the average spacing, and keep the vertical coordinates of each backbone device consistent to arrange them along the horizontal direction of the canvas. Branch devices extend from the preset connection points of the backbones, with the extension direction forming a 45-degree or 90-degree angle with the backbone. Calculate the horizontal and vertical coordinates of the branch devices based on the extension direction and the coordinates of the backbone connection points.

7. The intelligent mapping, modeling, and analysis system for distribution networks based on a topology model according to claim 1, characterized in that, It also includes a layout optimization module, which performs optimization calculations on the equipment layout results, specifically including: Local stretching algorithm: Calculate the area of ​​the overlapping region of the equipment and the center coordinates. The area of ​​the overlapping region of the equipment is equal to the horizontal length of the overlapping part multiplied by the vertical length of the overlapping part. The horizontal length of the overlapping part is the maximum length of the overlapping region of the equipment in the horizontal direction, and the vertical length of the overlapping part is the maximum length of the overlapping region of the equipment in the vertical direction. The center coordinates of the overlapping area are the geometric center of the overlapping part. The calculation method is as follows: horizontal center coordinates = (horizontal coordinates of the left boundary of the overlapping part + horizontal coordinates of the right boundary of the overlapping part) ÷ 2, vertical center coordinates = (vertical coordinates of the lower boundary of the overlapping part + vertical coordinates of the upper boundary of the overlapping part) ÷ 2. The center coordinates are used as the reference point for the stretching direction. The stretching direction is along the diagonal of the smallest bounding rectangle of the overlapping area (from the center to the direction with the lowest degree of overlap). The stretching range is equal to the ratio of the overlapping area to the total area of ​​the equipment multiplied by the preset stretching coefficient. The ratio of the overlapping area to the total area of ​​the equipment is equal to the overlapping area divided by the total area of ​​the equipment. The total area of ​​the equipment is equal to the length of the equipment element multiplied by the width of the equipment element. Local reduction algorithm: Calculate the average value of all device intervals. The average value of device intervals is equal to the sum of the values ​​of all device intervals and divided by the total number of device intervals. Optimization trigger conditions: Optimization calculation is triggered when the equipment overlap rate is greater than 2% or the interval deviation rate is greater than 15%; the equipment overlap rate is equal to the area of ​​the overlapping area divided by the total area of ​​the equipment, and the interval deviation rate is equal to the absolute value of the difference between the interval of a single equipment and the average interval of the equipment divided by the average interval of the equipment.

8. The distribution network intelligent mapping, modeling, and analysis system based on a topology model according to claim 7, characterized in that, The layout optimization module also includes a missing device completion algorithm, the specific logic of which is as follows: Calculation of missing device coordinates: The horizontal coordinate of the missing device is equal to the sum of the horizontal coordinates of the associated devices before and after the missing device, divided by 2; the vertical coordinate of the missing device is equal to the sum of the vertical coordinates of the associated devices before and after the missing device, divided by 2. Electrical parameter verification: After completing the equipment layout, verify the electrical parameters of the missing equipment to ensure that the rated current of the switch is not less than the rated current of the line, and that the voltage level of the equipment is consistent with the voltage level of the line, so as to avoid topology logic errors.

9. The intelligent mapping, modeling, and analysis system for distribution networks based on a topology model according to claim 1, characterized in that, It also includes a data governance module, used to perform distribution network data governance calculations, specifically including: Topology consistency verification: Calculate the coordinate deviation value. First, extract the horizontal and vertical coordinates of the device elements in the distribution network thematic map. Then, extract the horizontal and vertical coordinates of the corresponding device nodes in the topology relationship data. Calculate the difference between the horizontal coordinate of the element and the horizontal coordinate of the node and square the difference. Calculate the difference between the vertical coordinate of the element and the vertical coordinate of the node and square the difference. Add the two squared results and take the square root of the sum. The resulting value is the coordinate deviation value. Incremental editing verification: Calculate the differences between newly added and existing graphic elements in four dimensions: style, color, label position, and size. The differences in each dimension must meet preset standards. The style difference is determined by calculating the proportion of outline matching pixels between newly added and existing graphic elements. The color difference value is calculated based on the RGB color model. First, the difference between the new primitive and the existing primitive in the red, green and blue channels is calculated separately. The difference of each channel is squared and then added together. The square root of the sum is used to obtain the RGB difference value. The RGB difference value must not exceed 50. The difference in the label position is determined by calculating the distance between the center of the newly added graphic element label text and the center of the graphic element. First, calculate the difference in the horizontal and vertical coordinates between the label center and the graphic element center. Then, square the difference and add them together. Take the square root of the sum to get the distance, which must not exceed 3 pixels. The size difference value is determined by calculating the size deviation percentage. First, calculate the difference between the size of the newly added graphic element and the size of the existing graphic element. Divide the difference by the size of the existing graphic element and then multiply by 100% to get the size deviation percentage. The size deviation percentage must be within ±10%. When the difference value in any dimension exceeds the corresponding preset standard, a correction prompt is triggered. The correction prompt includes the dimension that exceeds the standard, the current value, and the standard value.

10. A distribution network intelligent mapping, modeling, and analysis method based on a topology model, applicable to the distribution network intelligent mapping, modeling, and analysis system based on a topology model as described in any one of claims 1 to 9, characterized in that, Includes the following steps: S1: Data acquisition, collecting unified equipment model data, distribution network topology data, and existing graphical data of the control cloud; After data collection, duplicate data and obviously erroneous data are removed. Duplicate data are those with a duplication rate of not less than 95%, and obviously erroneous data include data with a device length of less than 0 mm. S2: Data preprocessing, performing equipment element size calculation, canvas size calculation, and equipment interval assembly; equipment element size is calculated at a scale of 1:200 to 1:300; canvas size is taken as the larger value between the station building size and the total equipment layout size; equipment intervals are assembled according to topological relationships. S3: Topology calculation and equipment layout. Starting from the power node, the breadth-first search algorithm is used to traverse the distribution network topology, calculate the topology weight of the lines, and identify the trunk lines and branch lines. The equipment layout coordinates are determined by the force-directed layout algorithm. In the force-directed layout algorithm, the value range of the attraction coefficient is 0.8 to 1.2, and the repulsion coefficient is 0.85 for trunk line equipment and 1.0 for ordinary equipment. S4: Layout optimization. If the system includes a layout optimization module, then the layout optimization operation is performed. When the equipment overlap rate is greater than 2%, local stretching is performed. When the interval deviation rate is greater than 15%, local shrinking is performed. When there are missing devices, the missing devices are filled by averaging the coordinates of the related devices before and after. S5: Graphic output, calculates the compression ratio between the actual size of the graphic and the canvas size. The horizontal compression ratio is equal to the actual horizontal size of the graphic divided by the horizontal size of the canvas, and the vertical compression ratio is equal to the actual vertical size of the graphic divided by the vertical size of the canvas; reduces the coordinates of graphic elements according to the compression ratio while maintaining the relative positions between elements; outputs distribution network thematic maps, which support PNG and SVG formats; establishes a one-to-one correspondence between device model IDs and graphic element IDs. S6: Data governance. If the system includes a data governance module, perform data governance operations. A topology problem report is generated when the coordinate deviation exceeds 5 pixels. A correction prompt is triggered when the difference value of any dimension exceeds the standard during incremental editing.

Citation Information

Patent Citations

  • Power grid topological visualization system and power grid topological visualization method

    CN104616207A

  • CIM based automatic graph-forming system for power transmission and distribution network

    CN105488269A

  • Method for realizing automatic drawing processing of secondary circuit of transformer substation based on SPCD model

    CN110222320A

  • Automatic topology coloring method and device for power system and electronic equipment

    CN116756897A

  • Method and system for automatically forming simple diagram of distribution network single line diagram based on visual model

    CN118036224A

Cited By

  • Power distribution network intelligent mapping method based on dot matrix layout and dynamic weight

    CN121615299A

  • A Smart Mapping Method for Distribution Networks Based on Matrix Layout and Dynamic Weights

    CN121615299B