A topology model-based distribution network intelligent mapping modeling and analysis system and method

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 intelligence level and decision-making efficiency of distribution network management.

CN121145281BActive Publication Date: 2026-02-13上海柒志科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Traditional power distribution network mapping methods suffer from inaccurate equipment layout and unintuitive topology connections in complex terrain and high-density urban environments. They also suffer from inconsistent data quality, lack multi-source fusion and traceability mechanisms, resulting in low mapping accuracy. Furthermore, they are unable to dynamically optimize and quickly respond to emergency scenarios, and their scene rendering capabilities are insufficient, impacting repair efficiency and decision-making accuracy.

Method used

The system employs an intelligent mapping system based on topology models, 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 thematic maps of the distribution network, enabling the calculation of equipment element dimensions, identification of topology relationships, and layout optimization. It also supports the integration of map and model and the function of creating multiple maps from a single model.

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 CN121145281B_ABST
    Figure CN121145281B_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on topology model's distribution network intelligent mapping modeling and analysis system and method, it is related to distribution network mapping technical field, modeling and analysis system, including data source module, for obtaining distribution network basic data;Data processing module is used to convert equipment model data and topological relation data into mapping connection relationship structure data, calculate equipment graph element size, station building pixel size and mapping canvas size, assemble distribution network equipment interval data;Determine the arrangement coordinate of equipment in canvas using force-directed layout algorithm;According to equipment topological correlation, assemble distribution network equipment interval data, calculate the arrangement distance of equipment in each interval;Realize the whole process automation of distribution network thematic map from data to mapping, greatly improve drawing efficiency and accuracy;Through force-directed layout and multiple optimization algorithm, generate layout reasonable, clear and easy-to-read graphics;Ensure the consistency and linkage of graphics and data source.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of distribution network mapping, more particularly to a distribution network intelligent mapping modeling and analysis system and method based on a topology model. BACKGROUND

[0002] In the management of power distribution network, visual graphics are important tools for operation and maintenance, planning and emergency response. Traditional mapping methods are often based on fixed grids or simple geographic coordinate systems, which are difficult to adapt to complex terrain (such as mountainous areas, river areas) and high-density urban environments, resulting in inaccurate device layout and non-intuitive topology connection. Existing data collection relies on manual input or a single system, lacks multi-source fusion and traceability mechanism, and data quality is uneven, prone to duplication, loss or abnormal problems. The preprocessing link often ignores the dynamic adjustment of terrain factors and device density, resulting in unreasonable grid division and low mapping accuracy. Topology recognition algorithms usually use static weights and cannot dynamically optimize according to real-time fault risks of devices, resulting in slow response in emergency scenarios. In addition, the mapping engine lacks scene rendering capability and cannot quickly switch views to meet different needs such as normal operation and maintenance, emergency repair and fault troubleshooting, and the dynamic update mechanism is imperfect, affecting the efficiency of repair and the accuracy of decision-making. Therefore, an intelligent mapping method is urgently needed that can combine point array layout, multi-source data fusion and adaptive algorithms to improve the accuracy, real-time performance and scene adaptability of distribution network mapping. SUMMARY

[0003] The present application provides a distribution network intelligent mapping modeling and analysis system and method based on a topology model.

[0004] The present application provides a distribution network intelligent mapping modeling and analysis system based on a topology model, comprising:

[0005] A data source module is used to obtain distribution network basic data, including unified device model data of control and regulation cloud, distribution network topology relationship data and inventory graphic data.

[0006] A data processing module is used to convert device model data and topology relationship data into mapping connection relationship structure data, calculate device graphic element size, station house pixel size and mapping canvas size, and assemble distribution network station house device spacing data.

[0007] An intelligent mapping engine module is used to take power supply nodes as starting points, use breadth-first algorithm to traverse distribution network topology relationship and identify main lines and branch lines, use force-directed layout algorithm to determine the arrangement coordinates of devices in the canvas, and generate at least one distribution network thematic map.

[0008] An output module is used to output the distribution network thematic map, establish the association mapping of device models and graphic elements, and realize the functions of integrated mapping and modeling and one model and multiple maps.

[0009] Preferably, the data source module obtains the regulation cloud unified device model data including device identification, device type, device physical parameters and device electrical parameters;

[0010] The device physical parameters include actual length and actual width of the device, and the units of the actual length and the actual width are millimeters.

[0011] The device electrical parameters include voltage level and rated current of the device, and the unit of the voltage level is kilovolts and the unit of the rated current is amperes; the stock graphic data includes device position annotations, connection line trend annotations and graphic element style parameters manually drawn in history, and the graphic element style parameters include line thickness and color RGB value.

[0012] Preferably, the specific processing logic of the data processing module includes:

[0013] Device graphic element size calculation: the device graphic element length is equal to the actual physical length of the device divided by a preset scale factor, and the device graphic element width is equal to the actual physical width of the device divided by a preset scale factor, and the preset scale factor has a value range of 1 to 200 to 1 to 300, wherein the 10kV device adopts a scale factor of 1 to 200, and the 0.4kV device adopts a scale factor of 1 to 300;

[0014] Canvas size calculation: the horizontal size of the canvas is the larger value of the horizontal graphic element size of the station house and the total size of all devices arranged along the horizontal direction, and the vertical size of the canvas is the larger value of the vertical graphic element size of the station house and the total size of all devices arranged along the vertical direction; the horizontal graphic element size of the station house is the sum of the horizontal sizes of all device arrangement areas in the station house, and the vertical graphic element size of the station house is the sum of the vertical sizes of all device arrangement areas in the station house; the total size of all devices arranged along the horizontal direction is the sum of the graphic element widths of all devices, and the total size of all devices arranged along the vertical direction is the sum of the graphic element lengths of all devices;

[0015] Device spacing assembly: calculate the device arrangement spacing according to the device topology correlation relationship, and the device topology correlation relationship is preferentially adopted to the regulation cloud electrical connection data, and the stock graphic annotation is supplemented when the regulation cloud electrical connection data is missing; the device arrangement spacing is equal to the standard arrangement spacing of the same type of device multiplied by the device graphic element size and then divided by the standard physical size of the same type of device.

[0016] Preferably, the specific logic of the intelligent mapping engine module for identifying the main line and the branch line is:

[0017] Statistically calculate the total number of topological nodes in the distribution network: Screen all power consumption devices in the distribution network that are in the operating state, exclude devices in the out-of-service or scrapped state, and statistically calculate the total number of nodes of these power consumption devices in the operating state. This total number is the total number of topological nodes in the distribution network. The operating state of the device is determined through the operating state field in the device model;

[0018] Statistically calculate the number of topological nodes in a single line: Traverse a single line, screen all power consumption devices in the line that are in the operating state, and statistically calculate the total number of nodes of these power consumption devices in the operating state. This total number is the number of topological nodes in this line;

[0019] Calculate the line topology weight ratio and identify the line type: The line topology weight ratio is equal to the number of topological nodes in a single line divided by the total number of topological nodes in the distribution network.

[0020] Preferably, the force-directed layout algorithm of the intelligent mapping engine module specifically includes:

[0021] Gravitational calculation: Consider the device as a node and the connection between devices as an edge. The magnitude of the gravitational force is equal to the device association strength multiplied by a preset gravitational coefficient;

[0022] Repulsive force calculation: The magnitude of the repulsive force is equal to the device graphic element size multiplied by a preset repulsive coefficient;

[0023] Iteration termination determination: Repeatedly iterate to calculate the force condition of the device nodes. The total force on the nodes is calculated using the vector synthesis logic. The specific formula is: The total force on the node F = √(Fgx 2 + Fgy 2 - Fex 2 - Fey 2 ), where Fgx and Fgy are the horizontal and vertical components of the gravitational force respectively, and Fex and Fey 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;

[0024] 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.

[0025] Preferably, the single feeder diagram generated by the intelligent mapping engine module supports two modes: self-adaptive layout and adaptive layout:

[0026] Adaptive layout: extract the relative position proportion of the devices in the inventory graphics, the ratio of the horizontal distance between devices to the total horizontal size of the inventory graphics is the horizontal relative position proportion, the ratio of the vertical distance between devices to the total vertical size of the inventory graphics is the vertical relative position proportion, both the horizontal relative position proportion and the vertical relative position proportion are kept to two decimal places; calculate the device arrangement coordinates combined with the current canvas size, the horizontal coordinate of the current device is equal to the horizontal relative position proportion multiplied by the horizontal size of the current canvas, and the vertical coordinate of the current device is equal to the vertical relative position proportion multiplied by the vertical size of the current canvas;

[0027] Adaptive layout: determine the average distance of the main line devices along the horizontal direction of the canvas, the average distance of the main line devices is equal to the horizontal size of the canvas divided by the total number of main line devices; distribute the horizontal coordinates of each main line device according to the average distance, and the vertical coordinates of each main line device remain the same to arrange along the horizontal direction of the canvas; the branch line devices extend from the preset connection points of the main line, the extension direction forms an angle of 45 degrees or 90 degrees with the main line, and the horizontal coordinate and the vertical coordinate of the branch line device are calculated according to the extension direction and the connection point coordinate of the main line.

[0028] Preferably, it further comprises a layout optimization module for performing optimization calculation on the device arrangement result, specifically including:

[0029] Local stretching algorithm: calculate the overlapping area and the center coordinates of the device, the overlapping area 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 device overlapping area in the horizontal direction, and the vertical length of the overlapping part is the maximum length of the device overlapping area in the vertical direction;

[0030] The center coordinates of the overlapping area are the geometric center of the overlapping part, and the calculation method is: the horizontal center coordinate = (the left boundary horizontal coordinate of the overlapping part + the right boundary horizontal coordinate of the overlapping part) ÷ 2, and the vertical center coordinate = (the lower boundary vertical coordinate of the overlapping part + the upper boundary vertical coordinate of the overlapping part) ÷ 2, the center coordinates are taken as the reference point of the stretching direction, and the stretching direction is along the diagonal direction of the minimum circumscribed rectangle of the overlapping area (from the center to the direction with the lowest overlapping degree);

[0031] The stretching amplitude is equal to the proportion of the overlapping area to the total area of the device multiplied by a preset stretching coefficient, and the proportion of the overlapping area to the total area of the device is equal to the overlapping area divided by the total area of the device, and the total area of the device is equal to the length of the device graphics multiplied by the width of the device graphics;

[0032] Local shrinkage algorithm: calculate the average value of all device intervals, and the average value of the device intervals is equal to the sum of all device intervals divided by the total number of device intervals;

[0033] Optimization trigger condition: trigger optimization calculation when device overlap rate is greater than 2% or interval deviation rate is greater than 15%; device overlap rate is equal to the area of overlapping region divided by the total area of the device, and interval deviation rate is equal to the absolute value of the difference between the interval of a single device and the average value of the device interval divided by the average value of the device interval.

[0034] Preferably, the layout optimization module further comprises a missing device completion algorithm, and the specific logic is:

[0035] Missing device coordinate calculation: 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;

[0036] Electrical parameter verification: after completing the device layout, verify the electrical parameters of the missing device to ensure that the rated current of the switch is not less than the rated current of the line, and the device voltage level is consistent with the line voltage level, avoiding topology logic errors.

[0037] Preferably, it further comprises a data management module for performing distribution network data management calculation, specifically including:

[0038] Topology consistency verification: calculate the coordinate deviation value, first extract the horizontal and vertical coordinates of the device graph element in the distribution network thematic map, and then extract the horizontal and vertical coordinates of the corresponding device node in the topology relationship data; calculate the difference between the horizontal coordinates of the graph element and the node and square the difference; calculate the difference between the vertical coordinates of the graph element and the node and square the difference; square the sum of the two square results to get the coordinate deviation value;

[0039] Incremental editing verification: calculate the difference value of the newly added graph element and the existing graph element in four dimensions of style, color, label position and size, and each dimension difference value needs to meet the preset standard; the style difference value is determined by calculating the contour matching pixel ratio of the newly added graph element and the existing graph element;

[0040] Color difference value is calculated based on RGB color model, first calculate the difference value of red, green and blue channels of the newly added graph element and the existing graph element, square each channel difference value and add them up, and square the added result to get the RGB difference value, which should not exceed 50;

[0041] The label position difference value is determined by calculating the distance between the center of the label text and the center of the graph element, first calculate the coordinate difference between the label center and the graph center in horizontal and vertical directions, square the difference and add them up, square the added result to get the distance, which should not exceed 3 pixels;

[0042] The size difference value is determined by calculating the size deviation percentage, the difference value between the newly added graphic element size and the inventory graphic element size is calculated, the difference value is divided by the inventory graphic element size and multiplied by 100% to obtain the size deviation percentage, and the size deviation percentage needs to be within the range of plus or minus 10%;

[0043] When the difference value of any dimension exceeds the corresponding preset standard, a correction prompt is triggered, and the correction prompt includes the exceeding dimension, the current value and the standard value.

[0044] The application also provides a topology model-based distribution network intelligent mapping modeling and analysis method, which comprises the following steps:

[0045] S1: data acquisition, collecting unified device model data, distribution network topology relationship data and inventory graphic data of the regulation and control cloud; after the collection is completed, the repeated data and obvious error data are removed, the repeated data is data with a repetition rate of not less than 95%, and the obvious error data includes data with a device length of less than 0 millimeters;

[0046] S2: data preprocessing, performing device graphic element size calculation, canvas size calculation and device spacing assembly; the device graphic element size is calculated according to a ratio of 1:200 to 1:300; the canvas size is the larger value between the station house size and the total arrangement size of the device; and the device spacing is classified and assembled according to the topology correlation;

[0047] S3: topology calculation and device arrangement, the power supply node is taken as the starting point, the breadth-first algorithm is used to traverse the distribution network topology relationship, the line topology weight proportion is calculated and the main line and branch line are identified; the device arrangement coordinates are determined by the force-directed layout algorithm, the value range of the gravitational coefficient in the force-directed layout algorithm is 0.8 to 1.2, and the value of the main line device in the repulsive coefficient is 0.85 and the value of the ordinary device is 1.0;

[0048] S4: layout optimization, if the system comprises a layout optimization module, the layout optimization operation is performed; when the device overlap rate is greater than 2%, local stretching is performed; when the interval deviation rate is greater than 15%, local shrinkage is performed; and when there is a missing device, the missing device is completed by averaging the coordinates of the front and rear associated devices;

[0049] S5: graphic output, the compression ratio of the actual occupied size of the graphic to the canvas size is calculated, 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; the coordinates of the graphic elements are reduced according to the compression ratio, and the relative positions between the elements are kept unchanged; the distribution network thematic map is output, the distribution network thematic map supports PNG format and SVG format; and a one-to-one correspondence between the device model ID and the graphic element ID is established;

[0050] S6: data governance, if the system contains a data governance module, perform data governance operations; generate a topology problem report when the coordinate deviation value exceeds 5 pixels, and trigger a correction prompt when any dimension difference value in the incremental editing exceeds the standard.

[0051] Advantages:

[0052] The full-process automation from data to mapping of the distribution network special topic map is realized, the drawing efficiency and accuracy are greatly improved, and the manual work is liberated from tedious drawing; through force-directed layout and multiple optimization algorithms, a layout reasonable, clear and readable graph can be automatically generated, effectively avoiding the problems of device overlap and layout disorder; based on the integration of graph and model and the one-model-multiple-graph technology, the real-time consistency and linkage of the graph and the underlying data source are ensured, and the pain points of inconsistent graph and model in the traditional way are completely solved; the results can be directly applied to various business scenarios such as operation inspection, dispatching and control and power protection, and the intelligent level and decision efficiency of the distribution network management are significantly improved. BRIEF DESCRIPTION OF DRAWINGS

[0053] Figure 1 It is the flow chart of the intelligent mapping modeling and analysis method of the distribution network of the application. DETAILED DESCRIPTION

[0054] The application provides an intelligent mapping modeling and analysis system of a distribution network based on a topology model, comprising:

[0055] A data source module is used to acquire basic data of the distribution network, wherein the basic data comprises unified device model data of the dispatching and control cloud, topology relationship data of the distribution network and stock graphic data;

[0056] A data processing module is used to convert the device model data and the topology relationship data into mapping connection relationship structure data, calculate device graph element size, station house pixel size and mapping canvas size, and assemble the interval data between devices in the distribution network station house;

[0057] An intelligent mapping engine module is used to take the power supply node as a starting point, adopt a breadth-first algorithm to traverse the topology relationship of the distribution network and identify the main line and the branch line, adopt a force-directed layout algorithm to determine the arrangement coordinates of the devices in the canvas, and generate at least one distribution network special topic map;

[0058] The intelligent mapping engine module makes structural improvements on the existing algorithm for the distribution network scene: the breadth-first algorithm increases the priority of the load weight (in the traversal process, the line with a load density greater than or equal to 50kW / km is preferentially traversed, which meets the load concentration characteristics of the main line of the distribution network); the force-directed layout algorithm increases the electrical level constraint (the bus node is fixed in the visual center of the canvas within a range of ±10%, avoiding the deviation of the core device), solving the problem of lagging identification of the main line and disorder of the arrangement of the core device in the existing general algorithm in the distribution network scene;

[0059] An output module is configured to output the power distribution theme map, establish an association mapping between the device model and the graphic primitive, and realize the functions of graphic model integration and one model with multiple graphics.

[0060] As an optional embodiment, the device identification, device type, device physical parameter, and device electrical parameter are included in the unified device model data acquired by the data source module.

[0061] The device physical parameter includes the actual length and the actual width of the device, and the unit of the actual length and the actual width is millimeter.

[0062] The device electrical parameter includes the voltage level and the rated current of the device, and the unit of the voltage level is kilovolt and the unit of the rated current is ampere. The stock graphic data includes the device position annotation, the connection line trend annotation, and the graphic primitive style parameter, and the graphic primitive style parameter includes the line thickness and the color RGB value.

[0063] As an optional embodiment, the specific processing logic of the data processing module includes:

[0064] The device graphic primitive size calculation includes that the device graphic primitive length is equal to the actual physical length of the device divided by the preset proportion coefficient, and the device graphic primitive width is equal to the actual physical width of the device divided by the preset proportion coefficient. The preset proportion coefficient is in the range of 1:200 to 1:300, wherein the proportion coefficient of 1:200 is used for the 10kV device, and the proportion coefficient of 1:300 is used for the 0.4kV device.

[0065] The canvas size calculation includes that the horizontal canvas size is the larger one of the station house horizontal graphic primitive size and the total size of all devices arranged along the horizontal direction, and the vertical canvas size is the larger one of the station house vertical graphic primitive size and the total size of all devices arranged along the vertical direction. The station house horizontal graphic primitive size is the sum of the horizontal sizes of all device arrangement areas in the station house, and the station house vertical graphic primitive size is the sum of the vertical sizes of all device arrangement areas in the station house. The total size of all devices arranged along the horizontal direction is the sum of the graphic primitive widths of all devices, and the total size of all devices arranged along the vertical direction is the sum of the graphic primitive lengths of all devices.

[0066] The device spacing assembly includes that the device arrangement spacing is calculated according to the device topology association relationship. The device topology association relationship is preferentially used for the electrical connection data of the control cloud, and the stock graphic annotation is used for supplement when the electrical connection data of the control cloud is missing. The device arrangement spacing is equal to the standard arrangement spacing of the same type of device multiplied by the device graphic primitive size and then divided by the standard physical size of the same type of device.

[0067] It should be noted that the topology association relationship classification dimension includes two layers: one is the electrical level classification according to the busbar-switch-line (to ensure that the interval meets the current transmission path), and the other is the classification according to the device function type (divided into incoming line unit, metering unit, protection unit, outgoing line unit, to ensure that the interval matches the physical function partition of the station building);

[0068] It should be noted that the calculation logic of the arrangement distance of the 10kV switch is that when the standard arrangement distance of the 10kV switch is 500mm, the standard physical length is 2000mm, and the graphic element length is 10mm, the arrangement distance is 500mm multiplied by 10mm and then divided by 2000mm, and the result is 2.5mm.

[0069] The specific values and acquisition methods of the standard physical dimensions and standard arrangement distances of the same type of devices are as follows: the standard physical length of the 10kV busbar is 3000mm, and the width is 500mm; the standard physical length of the 10kV switch is 1200mm, and the width is 600mm; the standard physical length of the 10kV mutual inductor is 800mm, and the width is 400mm; the standard arrangement distance of the same type of devices is: the distance between the busbar and the switch is 500mm, the distance between the switch and the mutual inductor is 300mm, and the distance between the mutual inductor and the outgoing line switch is 400mm; the above parameters can be directly obtained from industry standard documents.

[0070] As an optional embodiment, the specific logic of the intelligent mapping engine module to identify the main line and the branch line is as follows:

[0071] Statistical distribution network total topology node number: screen all power equipment in the distribution network in the running state, exclude devices in the shutdown or scrap state, and count the total number of nodes of these power equipment in the running state. The total number is the total number of topology nodes of the distribution network, and the running state of the device is determined by the running state field in the device model;

[0072] Statistical topology node number of a single line: traverse a single line, screen all power equipment in the line in the running state, and count the total number of nodes of these power equipment in the running state. The total number is the topology node number of the line;

[0073] Calculate the line topology weight proportion and identify the line type: the line topology weight proportion is equal to the topology node number of a single line divided by the total topology node number of the distribution network.

[0074] 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%.

[0075] As an optional embodiment: the force-guided layout algorithm of the intelligent mapping engine module specifically includes:

[0076] 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.

[0077] 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.

[0078] 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.

[0079] 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.

[0080] 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;

[0081] It should be noted that the base value of the preset repulsive coefficient is 1.0, and the preset repulsive coefficient of the main line equipment is 0.85. This value is reduced by 15% compared to the base value to avoid excessive dispersion of the main line;

[0082] Iteration termination determination: Repeatedly iterate and calculate the force on the device nodes. The total force on the nodes is calculated using vector synthesis logic. The specific formula is: Total force on the node F = √(F_attraction_x 2 + F_attraction_y 2 - F_repulsion_x 2 - F_repulsion_y 2 ), where F_attraction_x and F_attraction_y are the horizontal and vertical components of the attraction force respectively, and F_repulsion_x and F_repulsion_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;

[0083] 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 displacement of 1 mm of the graphic element; The second condition is that the number of iterations reaches 50 times.

[0084] As an optional embodiment: The single feeder diagram generated by the intelligent mapping engine module supports two modes: self-adaptive layout and adaptive layout:

[0085] 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;

[0086] 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 remain 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.

[0087] As an optional embodiment: It further includes a layout optimization module for performing optimization calculations on the device arrangement results, specifically including:

[0088] Local stretching algorithm: calculate the area and center coordinates of the device overlapping area, the area of the device overlapping area 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 device overlapping area in the horizontal direction, and the vertical length of the overlapping part is the maximum length of the device overlapping area in the vertical direction;

[0089] The center coordinates of the overlapping area are the geometric center of the overlapping part, and the calculation method is: the horizontal center coordinates = (the left boundary horizontal coordinates of the overlapping part + the right boundary horizontal coordinates of the overlapping part) ÷ 2, and the vertical center coordinates = (the lower boundary vertical coordinates of the overlapping part + the upper boundary vertical coordinates of the overlapping part) ÷ 2. The center coordinates are used as the reference point of the stretching direction, and the stretching direction is along the diagonal direction of the minimum circumscribed rectangle of the overlapping area (from the center to the direction with the lowest overlapping degree);

[0090] The stretching amplitude is equal to the proportion of the overlapping area to the total area of the device multiplied by the preset stretching coefficient, and the proportion of the overlapping area to the total area of the device is equal to the area of the overlapping area divided by the total area of the device, and the total area of the device is equal to the length of the device primitive multiplied by the width of the device primitive;

[0091] The value range of the preset stretching coefficient is 1.0 to 1.5; the amplitude of each stretching does not exceed 0.3 times the size of the device primitive, and the stretching coefficient is selected according to the device overlapping rate: 1.5 is selected when the overlapping rate is greater than 5%, 1.2 is selected when the overlapping rate is between 2% and 5%, and 1.0 is selected when the overlapping rate is less than or equal to 2%. This grading rule is based on the device primitive size error control requirement and can avoid excessive single stretching leading to interval deviation; the amplitude of each stretching does not exceed 0.3 times the size of the device primitive;

[0092] Local shrinkage algorithm: calculate the average value of all device intervals, and the average value of the device intervals is equal to the sum of the values of all device intervals divided by the total number of device intervals;

[0093] Filter out the device intervals that exceed the average value of the device intervals by 15%, and adjust these out-of-range device intervals to the vicinity of the average value of the device intervals, and the adjustment amplitude is equal to the difference between the out-of-range device interval value and the average value of the device intervals divided by 2. The interval of the super device interval average value is reduced by the adjustment amplitude, and the interval below the average value of the device intervals is increased by the adjustment amplitude;

[0094] Optimization trigger condition: the optimization calculation is triggered when the device overlapping rate is greater than 2% or the interval deviation rate is greater than 15%; the device overlapping rate is equal to the area of the overlapping area divided by the total area of the device, and the interval deviation rate is equal to the absolute value of the difference between the single device interval and the average value of the device intervals divided by the average value of the device intervals.

[0095] As an optional embodiment: the layout optimization module further includes a missing device completion algorithm, and the specific logic is:

[0096] Missing device coordinate calculation: the transverse coordinate of the missing device is equal to the sum of the transverse coordinates of the associated devices in front of and behind the missing device divided by 2; the longitudinal coordinate of the missing device is equal to the sum of the longitudinal coordinates of the associated devices in front of and behind the missing device divided by 2;

[0097] Electric parameter verification: after completing the device layout, verify the electric parameters of the missing device to ensure that the rated current of the switch is not less than the rated current of the line, and the device voltage level is consistent with the line voltage level, avoiding topology logical errors.

[0098] As an optional embodiment: further comprising a data governance module for performing distribution network data governance calculation, specifically including:

[0099] Topology consistency verification: calculate the coordinate deviation value, first extract the transverse and longitudinal coordinates of the device graph element in the distribution network thematic map, and then extract the transverse and longitudinal coordinates of the corresponding device node in the topology relationship data; calculate the difference between the graph element transverse coordinate and the node transverse coordinate and square the difference; calculate the difference between the graph element longitudinal coordinate and the node longitudinal coordinate and square the difference; square the sum of the two square results to obtain the coordinate deviation value;

[0100] When the coordinate deviation value exceeds 5 pixels, it is determined that there is a topology correlation problem and a topology problem report is generated, 5 pixels correspond to an actual size of 2 millimeters, and the topology problem report includes the problem device ID, graph element coordinate, node coordinate, and error type;

[0101] Incremental editing verification: calculate the difference value of the newly added graph element and the existing graph element in four dimensions of style, color, label position, and size, and each dimension difference value needs to meet the preset standard; the style difference value is determined by calculating the contour matching pixel ratio of the newly added graph element and the existing graph element;

[0102] It should be noted that the qualified standard of contour matching pixel ratio is ≥ 90%, that is, the proportion of the number of overlapping contour pixels of the newly added graph element and the existing graph element to the total contour pixel number of the existing graph element is not less than 90%;

[0103] The color difference value is calculated based on the RGB color model, first calculate the difference value of the newly added graph element and the existing graph element in the red, green, and blue channels, square each channel difference value, add them, and square the sum to obtain the RGB difference value, which needs to be no more than 50;

[0104] The label position difference value is determined by calculating the distance between the center of the label text and the center of the graph element, first calculate the coordinate difference between the label center and the graph element center in the transverse and longitudinal directions, square the difference, add them, and square the sum to obtain the distance, which needs to be no more than 3 pixels;

[0105] The size difference value is determined by calculating the size deviation percentage. First, the difference between the newly added graphic element size and the inventory graphic element size is calculated. The difference is divided by the inventory graphic element size and multiplied by 100% to obtain the size deviation percentage. The size deviation percentage should be within the range of plus or minus 10%;

[0106] When the difference value of any dimension exceeds the corresponding preset standard, a correction prompt is triggered. The correction prompt includes the exceeding dimension, the current value and the standard value.

[0107] The specific content of the standard value: the color standard value is 10kV equipment graphic element blue RGB(0,0,255), 0.4kV equipment graphic element green RGB(0,255,0), the style standard value is according to the network graphic element style of DL / T5352-2018 Appendix A, the label position standard value is the distance between the center of the label text and the center of the graphic element ≤3 pixels, and the size standard value is the size deviation of the same type of equipment graphic element ≤±10%;

[0108] The incremental editing verification increases the cross verification logic of electrical parameters: on the basis of four-dimensional verification, the electrical parameters (voltage level, rated current) of the newly added graphic element are verified synchronously with the matching of the associated equipment (such as the rated current of the newly added switch should be ≥ the rated current of the associated line), if the electrical parameters are not matched, even if the four-dimensional difference value meets the standard, a correction prompt is still triggered; this improvement solves the defect that the existing data management only checks the consistency of the graphics and ignores the electrical logic.

[0109] As shown in Figure 1 The present application also proposes a power distribution network intelligent mapping modeling and analysis method based on a topology model, comprising the following steps:

[0110] S1: data acquisition, collecting unified device model data, power distribution network topology relationship data and inventory graphic data of the dispatching and control cloud; after the collection is completed, the repeated data and obvious error data are removed, the repeated data are data with a repetition rate not less than 95%, and the obvious error data include data with a device length less than 0 millimeters;

[0111] S2: data preprocessing, performing device graphic element size calculation, canvas size calculation and device spacing assembly; the device graphic element size is calculated according to a ratio of 1 to 200 to 1 to 300; the canvas size takes the larger value between the station house size and the total arrangement size of the device; the device spacing is classified and assembled according to the topological correlation;

[0112] The assembly sequence follows the station house power supply logic: first, the incoming line unit is assembled, then the metering unit, the protection unit are assembled in turn, and finally the outgoing line unit is assembled. The sequence is consistent with the transmission direction of the power distribution network current from the incoming line to the outgoing line, which ensures that the interval assembly conforms to the actual electrical structure of the station house;

[0113] S3: Topology calculation and device arrangement, using breadth-first algorithm to traverse the distribution network topology relationship from the power node as the starting point, calculating the line topology weight proportion and identifying the main line and branch line; determining the device arrangement coordinates by force-directed layout algorithm, the value range of the gravitational coefficient in the force-directed layout algorithm is 0.8 to 1.2, and the value of the repulsive coefficient of the main line device is 0.85 and the value of the repulsive coefficient of the ordinary device is 1.0;

[0114] S4: Layout optimization, if the system contains a layout optimization module, perform layout optimization operation; perform local stretching when the device overlap rate is greater than 2%, perform local shrinkage when the interval deviation rate is greater than 15%, and complete the missing device by averaging the coordinates of the front and rear associated devices when there is a missing device;

[0115] S5: Graph output, calculate the compression ratio of the actual occupied size of the graph and the canvas size, the horizontal compression ratio is equal to the actual horizontal size of the graph divided by the horizontal size of the canvas, and the vertical compression ratio is equal to the actual vertical size of the graph divided by the vertical size of the canvas; reduce the coordinates of the graph elements according to the compression ratio, and keep the relative positions between the elements unchanged; output the distribution network thematic map, which supports PNG format and SVG format; establish a one-to-one correspondence between the device model ID and the graph element ID;

[0116] S6: Data governance, if the system contains a data governance module, perform data governance operation; generate a topology problem report when the coordinate deviation value exceeds 5 pixels, and trigger a correction prompt when any dimension difference value in the incremental editing exceeds the standard.

[0117] Taking the station building graph generation of a certain 10kV urban distribution station (SF-01) as an example, the implementation process of the present application is described in detail to ensure that the skilled person in the art can reproduce it:

[0118] S1: Data acquisition and verification

[0119] Collect the basic data of SF-01 station building:

[0120] The unified device model data of the control cloud: including 1 10kV bus (ID: BM-01, actual length 3000mm, width 500mm, voltage grade 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), 4 outgoing line switches (ID: KG-04~07, actual length 1200mm, width 600mm, rated current 630A);

[0121] Network topology relationship data: BM-01→KG-01~03→HG-01~02→KG-04~07 (loop number: HL-101~104);

[0122] Inventory graphic data: 2023 manually drawn station building map, 28 graphic elements of effective equipment, total equipment number 30 (integrity 93.3%), 1 coordinate error equipment (error rate 3.3%);

[0123] Preliminary verification: no duplicate data, no obvious error data, qualified data retention rate 100%.

[0124] S2: Data preprocessing

[0125] Convert the connection relationship: generate connection structure data with the core fields of start point ID (BM-01), end point ID (KG-01), connection type (copper bar), and line diameter specification (240mm 2 );

[0126] Calculate the graphic element size: using 1:200 scale, BM-01 graphic element length = 3000 ÷ 200 = 15mm, width = 500 ÷ 200 = 2.5mm; KG-01 graphic element length = 1200 ÷ 200 = 6mm, width = 600 ÷ 200 = 3mm;

[0127] Calculate the canvas size: station building horizontal size 800mm, total equipment arrangement size along the horizontal direction = 15+ (3×6) + (2×4) + (4×6) + (total interval) = 15+18+8+24+30=95mm (graphic element size) → canvas horizontal size take 800mm (station building size is larger); station building vertical size 400mm, total equipment arrangement size in the vertical direction 380mm → canvas vertical size take 400mm;

[0128] Assemble the station room interval: divide into incoming line unit (KG-01~03, total width = 3×6 = 18mm), metering unit (HG-01~02, total width = 2×4 = 8mm), outgoing line unit (KG-04~07, total width = 4×6 = 24mm); adjacent unit interval = max(18,8)×0.2 = 3.6mm (incoming line-metering), max(8,24)×0.2 = 4.8mm (metering-outgoing line).

[0129] S3: Topology calculation and equipment arrangement

[0130] Topology traversal: take BM-01 as the power node, the total number of nodes after traversal is 30 (excluding 0 off-line equipment), the number of nodes connected by KG-01 is 8, the weight proportion = 8 ÷ 30 ≈ 26.7% (≥20%, main trunk line);

[0131] Force-directed layout: the gravitational coefficient of BM-01 and KG-01 = 1.2, the repulsive coefficient = 0.85; after 35 iterations, BM-01 is arranged on the horizontal center line (y=200mm) of the canvas, and KG-01-03 is arranged horizontally along BM-01 with a spacing of (800-15)÷3≈261.7mm.

[0132] S4: layout optimization

[0133] Overlap rate calculation: initial overlap rate 1.2% (meets the standard), interval deviation rate 12% (meets the standard), no need to stretch / shrink; no missing equipment, skip completion.

[0134] S5: connection line and label layout

[0135] Connection line planning: BM-01 (100, 200) to KG-01 (361.7, 200), planning horizontal path with 1mm step length, length 261.7mm, distance from equipment edge 3mm (meets the standard);

[0136] Label layout: within 1.5 times the range of KG-01 graphic element periphery (9mm×4.5mm), maximum blank area center (361.7, 205), place label KG-01 (630A).

[0137] S6: graphic compression and output

[0138] Compression ratio calculation: actual horizontal size of graphic 780mm, canvas horizontal 800mm, horizontal compression ratio=780÷800=0.975; vertical actual size 390mm, vertical compression ratio=390÷400=0.975; after scaling according to compression ratio, BM-01 coordinates (97.5, 195), relative position unchanged;

[0139] Output: generate SVG format station building graph, establish BM-01-graph element ID001 association mapping, support subsequent model update synchronization.

[0140] S7: data governance application

[0141] Topology verification: BM-01 graphic element coordinates (97.5, 195), node coordinates (98, 196), deviation value=√[(0.5) 2 +(1) 2 ]≈1.12 pixels (≤5, meets the standard);

[0142] No incremental editing, no inventory no graph area, process ends.

[0143] The above are only preferred embodiments of the present application, and the protection scope of the present application is not limited to the above-mentioned embodiments, and any technical scheme falling within the concept of the present application shall fall within the protection scope of the present application; it should be noted that, for ordinary technicians in the technical field, some improvements and refinements without departing from the principle of the present application shall also be considered as the protection scope of the present 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 map-model integration and one model with multiple maps. 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 dimension of the canvas is the larger of the horizontal element size of the station building and the total horizontal arrangement size of all equipment; the vertical dimension of the canvas is the larger of the vertical pixel size of the station building and the total vertical arrangement size of all equipment. The horizontal dimension of the station building is the sum of the horizontal dimensions of all equipment layout areas within the station building; the vertical dimension of the station building is the sum of the vertical dimensions of all equipment layout areas within the station building; the total dimension of the equipment along the horizontal layout is the sum of the widths of all equipment elements; the total dimension of the equipment along the vertical layout 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.

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 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.

4. The intelligent mapping, modeling, and analysis system for distribution networks 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.

5. The distribution network intelligent mapping, modeling, and analysis system 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.

6. 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.

7. The distribution network intelligent mapping, modeling, and analysis system based on a topology model according to claim 6, 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.

8. 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 the 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 taken 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.

9. 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 8, 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

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

    CN118036224A