A distribution station logic diagram drawing system based on multi-source data

Through technologies such as the station building geographic edge layout and orthogonal processing module of the multi-source data processing system, the data islands and error problems in the data processing of the distribution station building are solved, the space utilization and aesthetics of the drawings are improved, and wiring is simplified. calculate.

CN116993862BActive Publication Date: 2024-12-31CHENGDU POWER SUPPLY COMPANY OF STATE GRID SICHUAN ELECTRIC POWER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310355206.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-06
Publication Date
2024-12-31
Estimated Expiration
2043-04-06

AI Technical Summary

Technical Problem

The existing diagramming system cannot effectively process the original geographical location discrete coordinate set of distribution station buildings, resulting in data islands and drawing display errors, reducing the space utilization and aesthetics of drawings.

Method used

The logical diagram of the distribution station building based on multi-source data is adopted, including multi-data acquisition end, multi-source data processing end, graph layout processing end and drawing data output end, through the station building geographic edge layout module and orthogonal processing Modules, image reduction blank area modules, wiring trajectory calculation unit and optimization adjustment unit to realize the compact arrangement of station building locations and the aesthetics of wiring.

Benefits of technology

It effectively avoids data islands, reduces the error in drawing generation, improves the space utilization and aesthetics of drawings, simplifies wiring calculations, and improves the clarity and intuitiveness of drawings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116993862B_ABST
    Figure CN116993862B_ABST
Patent Text Reader

Abstract

The present invention provides a distribution station building logic diagram drawing system based on multi-source data applied to the field of electrical digital data processing. The system involves each distribution station building in a region, and includes a multi-source data acquisition terminal, a multi-source data processing terminal, a drawing layout processing terminal and a drawing data output terminal which are sequentially connected by signals. Through the cooperation of an image blank area reduction module and an orthogonal processing module, not only can the blank area in the station building be reduced, but also the subsequent orthogonal operation is facilitated while retaining the geographical orientation similarity, and the calculation steps of the subsequent orthogonal processing module are simplified. Moreover, the orthogonal processing module can effectively arrange the differentiated station buildings orthogonally, realize the compactness of the station building location, avoid the occurrence of data islands, and reduce the error of drawing generation while ensuring that the drawing shows that each station building conforms to the actual geographical orientation, thereby improving the space utilization rate and aesthetics of the drawing and making the drawing data intuitive.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electrical digital data processing, and in particular to a distribution station logic diagram drawing system based on multi-source data. Background Art

[0002] As the "last 100 meters" of the high and low voltage power equipment carriers of the distribution network, the distribution station plays an important role in the voltage conversion and power supply of the power grid, and is the "heart" of the power supply of the residential area. With the continuous development of smart grids, power companies in the jurisdiction will use the mapping system to automatically generate thematic maps for each distribution room in the area, so as to achieve the purpose of real-time monitoring, coordinated maintenance and regional power construction of each distribution room.

[0003] The automatic mapping algorithm used in the existing mapping system can effectively map and display each distribution station, and the generated drawings can display the independent data of each distribution station in the area and the data of each coordination. However, when the current mapping system collects, processes and calculates the data of each distribution station in the area, it is unable to process the discrete coordinate set of the original geographical location of the distribution station. Not only will it form data islands in the distribution station, but it will also make the orthogonal data point set of each distribution station displayed in the drawings in accordance with the actual geographical orientation have large errors, reducing the space utilization and aesthetics of the drawings.

[0004] Therefore, the present invention provides a distribution station logic diagram drawing system based on multi-source data to solve the above technical problems. Summary of the invention

[0005] The purpose of this application is to solve the problem of how to process the discrete coordinate set of the original geographical location of each power distribution room by the mapping system. Compared with the prior art, a distribution room logic diagram mapping system based on multi-source data is provided, involving each distribution room in the area, including a multi-source data acquisition terminal, a multi-source data processing terminal, a mapping layout processing terminal and a drawing data output terminal with sequential signal connections;

[0006] The multi-data collection terminal includes a station building coordinate information collection unit, a line equipment attribute information collection unit, an equipment topology information collection unit and a multi-data collection unit;

[0007] The multi-source data processing end includes a data parsing unit and a model building unit;

[0008] The drawing layout processing end includes a station house arrangement unit, a wiring trajectory calculation unit, an optimization adjustment unit, and a switch, measuring point and marking arrangement unit with sequential signal connections;

[0009] The station building layout unit includes a station building geographic layout module, an image blank area reduction module, an orthogonal processing module, a geometric scaling module and a station building graphic element embedding module;

[0010] The orthogonal processing module includes an X-direction orthogonal module, a Y-direction orthogonal module and a data overlap shift module. The X-direction orthogonal module and the Y-direction orthogonal module are both connected to the data overlap shift module signal, and the data overlap shift module is independently connected to the X-direction orthogonal module and the Y-direction orthogonal module in an alternating manner.

[0011] The drawing data output end includes a graphic export unit and a drawing data output unit.

[0012] Optionally, the orthogonal processing module also includes a shift association processing module, the output end of the data overlap shift module is connected to the shift association processing module signal, and the output end of the shift association processing module is connected to the X-direction orthogonal module signal and the Y-direction orthogonal module signal in a one-way connection mode, that is, after the data overlap shift module receives the station house overlap data generated after the X-direction orthogonal module acts, and performs overlap shifting on it, the data is transmitted to the shift association processing module, the shift association processing module determines the association between the station house position after the movement and the station house position associated with it, and makes association adjustment on the station house position, and then outputs the data only to the Y-direction orthogonal module to perform orthogonal calculation in the Y direction, and vice versa.

[0013] Optionally, the orthogonal processing module also includes a preferential shift module, and the shift association processing module is connected to the preferential shift module signal. The station house associated data is transmitted to the preferential shift module through the shift association processing module. The preferential shift module calculates multiple associated positions of the station house, selects the shift position of the station house, and then feeds back the data to the shift association processing module to determine the station house position.

[0014] Furthermore, the station building geographic layout module and the orthogonal processing module are both connected with the image blank area reduction module signal, and the station building geographic layout module takes precedence over the orthogonal processing module in being connected with the image blank area reduction module signal. The image blank area reduction module is respectively connected with the orthogonal processing module and the geometric scaling module signal, and only after the image blank area reduction module receives the orthogonal processing module signal, does it start connecting with the geometric scaling unit signal. The geometric scaling module is connected with the station building graphic element embedding module signal.

[0015] Furthermore, the wiring trajectory calculation unit includes a station building center point direct connection module, a line orthogonal module, a line collision avoidance module, an exit orientation selection module, an exit line sorting module and a step inflection point value calculation module which are sequentially signal-connected.

[0016] Furthermore, the optimization and adjustment unit includes a single-connection station position adjustment module, a line crossing arc adding module and a station outlet line beautification module. The optimization and adjustment unit can further beautify the drawings through the coordinated setting of each module, thereby increasing the aesthetics of the drawing display.

[0017] Furthermore, the switch, measuring point and marking arrangement unit includes a switch arrangement module, a measuring point arrangement module and a marking arrangement module.

[0018] Furthermore, the station building coordinate information collection unit, the line equipment attribute information collection unit and the equipment topology information collection unit are all connected to the signals of each distribution station building in the area, and the input end of the multi-data collection unit is respectively connected to the signals of the station building coordinate information collection unit, the line equipment attribute information collection unit and the equipment topology information collection unit.

[0019] Furthermore, the input end of the data analysis unit is connected to the multiple data collection unit signal, and the input end of the model building unit is connected to the data analysis unit signal.

[0020] Furthermore, the model construction unit includes a station equipment set array, a line equipment set array, a switch equipment set array, a switch measurement point set array and a topological association array of the station and line equipment. By constructing a classified model of multi-source data, the correspondence of the reference data in the drawing calculation process is effectively achieved, the calculation difficulty is reduced, the calculation efficiency is improved, and the accuracy of the drawings is effectively guaranteed.

[0021] Compared with the prior art, the advantages of this application are:

[0022] (1) Through the cooperation of the image blank area reduction module and the orthogonal processing module, not only can the blank areas in the station rooms be reduced, but also the subsequent orthogonal operations can be carried out while retaining the geographical orientation similarity, simplifying the calculation steps of the subsequent orthogonal processing module. In addition, the orthogonal processing module can effectively arrange the differentiated station rooms orthogonally to achieve the compactness of the station room locations and avoid the occurrence of data islands. While ensuring that the drawings show that each station room conforms to the actual geographical orientation, the errors in drawing generation are reduced, the space utilization rate and aesthetics of the drawings are improved, and the drawing data is intuitive.

[0023] (2) When the orthogonal processing module adjusts the station building position, the displacement association processing module can effectively verify the data of the overlapping displacement station building position, and process the direction of its overlapping displacement according to its correlation with other station buildings. While streamlining and beautifying the drawings, it simplifies the calculation difficulty of the subsequent wiring trajectory calculation unit, reduces the complexity of the connection between the station buildings, improves the drawing efficiency, and improves the clarity of the drawing connection.

[0024] (3) The setting of the optimal shift module can further make optimal judgments on the shift-related processing modules, effectively promoting the rationalization of the station house shift. By preferentially selecting the positions that can be shifted, the complexity of the subsequent wiring trajectory is further reduced, the calculation difficulty is simplified, the aesthetics and intuitiveness of the drawing are improved, and the data display is effectively facilitated, which is convenient for relevant personnel to view and read the data.

[0025] (4) Through the two uses of the image blank area reduction module, first, the station building positions on the drawing can be preliminarily sorted out to reduce blank areas. Secondly, after orthogonal processing of each station building, the sorted drawing data can be post-processed to reduce blank areas. While reducing the calculation difficulty of the orthogonal processing unit and improving its processing efficiency, it can also fully ensure the compactness of the data of each station building displayed in the drawing, reduce the waste of drawing space, and improve the aesthetics of the drawing display.

[0026] (5) The wiring trajectory calculation unit effectively achieves the aesthetic and processing of the wiring between each station building through the setting of the line collision avoidance module and the ladder inflection point value calculation module. While avoiding the wiring crossing the station building icon and reducing the clarity of the drawing display, it can also effectively set the ladder inflection point for the intersecting wiring, distinguish the connection points, improve the clarity of the connection relationship between the station buildings, and effectively ensure the neatness of the drawing connection.

[0027] (6) The coordinated setting of the modules of the switch, measuring point and marking arrangement unit can effectively unify the positions of switches, measuring points and markings on the drawings, clarify the drawing annotations, and facilitate relevant personnel to consult the drawings and understand the data of each station. At the same time, it can also effectively standardize the drawings, so that the subsequent storage of data and drawing sets are standardized and traceable, which is convenient for the subsequent sustainable development and improvement of the smart grid.

[0028] (7) Through the multi-faceted collection of data sources from each station, the data basis for drawing processing is increased, the accuracy of drawing display is effectively improved, and the representativeness of the drawings is improved.

[0029] (8) The data analysis unit can effectively analyze and process multi-source data sets, reduce data complexity, simplify data processing, facilitate data extraction for subsequent drawing calculations, and improve the compatibility of data and drawing calculation processes. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 The data processing and mapping logic diagram of the mapping system of this application;

[0031] Figure 2 This is a flowchart of the drawing calculation of the drawing layout processing end of this application;

[0032] Figure 3 This is a diagram of the working process of the station layout unit of this application;

[0033] Figure 4 This is a diagram of the cooperation process of the X-direction orthogonal module and the data overlapping shift module of the present application;

[0034] Figure 5 This is a diagram of the cooperation process of the Y-direction orthogonal module and the data overlapping shift module of the present application;

[0035] Figure 6 This is a working process diagram of the wiring trajectory calculation unit of the present application;

[0036] Figure 7 This is a diagram of an orthogonal operation process of a single line of the line orthogonal module of the present application;

[0037] Figure 8 This is a working process diagram of the line collision avoidance module of this application;

[0038] Fig. 9 It is a process diagram for selecting the station building positions on different sides in the exit position selection module of this application;

[0039] Fig.10 This is a diagram of the processing process of a single station room of the outgoing line sorting module of this application;

[0040] Fig.11 This is a diagram of the process of the optimization and adjustment unit of this application;

[0041] Fig.12 This is a diagram showing the working process of the switch arrangement module of the present application;

[0042] Fig.13 This is a working process diagram of the measuring point arrangement module of this application;

[0043] Fig.14 This is a diagram of the function process of the label arrangement module of this application;

[0044] Fig.15 This is a data drawing display diagram of the mapping system of this application. DETAILED DESCRIPTION

[0045] The embodiments will be combined with the drawings in the specification to clearly and completely describe the technical solution of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making any creative work shall fall within the scope of protection of the present application.

[0046] Embodiment 1:

[0047] The present invention provides a distribution station room logic diagram drawing system based on multi-source data, please refer to Figure 1-15 , involving each power distribution station in the area, including a multi-source data acquisition terminal, a multi-source data processing terminal, a drawing layout processing terminal and a drawing data output terminal with sequential signal connections;

[0048] The multi-data collection terminal includes a station building coordinate information collection unit, a line equipment attribute information collection unit, an equipment topology information collection unit and a multi-data collection unit;

[0049] The multi-source data processing end includes a data parsing unit and a model building unit;

[0050] The drawing layout processing end includes a station house arrangement unit, a wiring trajectory calculation unit, an optimization adjustment unit, and a switch, measuring point and marking arrangement unit with sequential signal connections;

[0051] The station building layout unit includes a station building geographic layout module, an image blank area reduction module, an orthogonal processing module, a geometric scaling module and a station building graphic element embedding module;

[0052] The orthogonal processing module includes an X-direction orthogonal module, a Y-direction orthogonal module and a data overlap shift module. The X-direction orthogonal module and the Y-direction orthogonal module are both connected to the data overlap shift module signal, and the data overlap shift module is independently connected to the X-direction orthogonal module and the Y-direction orthogonal module in an alternating manner.

[0053] The drawing data output end includes a graphic export unit and a drawing data output unit. Through the cooperation of the image blank area reduction module and the orthogonal processing module, not only can the blank area between the station rooms be reduced, while retaining the geographical orientation similarity, it is also convenient for subsequent orthogonal operations and simplifies the calculation steps of the subsequent orthogonal processing module. The orthogonal processing module can effectively arrange the differentiated station buildings orthogonally to achieve the compactness of the station building location and avoid the occurrence of data islands. While ensuring that the drawings show that each station building is in line with the actual geographical orientation, it reduces the error in drawing generation, improves the space utilization and aesthetics of the drawings, and makes the drawing data intuitive.

[0054] It is worth mentioning that the graphic export unit converts the equipment information in the drawing into various equipment sets, performs SVG data conversion based on these equipment sets in the components of the mapping module, and finally outputs it in the form of SVG drawings; the drawing data output unit outputs the geometric information of all equipment such as station buildings, lines, switches, switch measuring points, etc. on the drawing to the local MapInfo.txt, where the geometric information includes equipment name, voltage level, equipment ID, equipment type, coordinate information, equipment location and other information.

[0055] See also Figure 1-5, the station building geographic layout module and the orthogonal processing module are both connected with the image blank area reduction module signal, and the station building geographic layout module takes precedence over the orthogonal processing module in being connected with the image blank area reduction module signal, the image blank area reduction module is respectively connected with the orthogonal processing module and the geometric scaling module signal, and only after the image blank area reduction module receives the orthogonal processing module signal, it starts to connect with the geometric scaling unit signal, the geometric scaling module is connected with the station building graphic element embedding module signal, through the two uses of the image blank area reduction module, firstly, the station building position on the drawing can be preliminarily sorted out to reduce the blank area, and secondly, after the orthogonal processing of each station building, the sorted drawing data can be post-processed to reduce the blank area, while reducing the calculation difficulty of the orthogonal processing unit and improving its processing efficiency, it can also fully ensure the compactness of the data of each station building displayed in the drawing, reduce the waste of drawing space, and improve the aesthetics of the drawing display.

[0056] See also Figure 1 , Figure 2 and Figure 6-10 The wiring trajectory calculation unit includes a station center point direct connection module, a line orthogonal module, a line collision avoidance module, an exit orientation selection module, an exit line sorting module and a step inflection point value calculation module that are sequentially connected by signals. The wiring trajectory calculation unit effectively realizes the aesthetic and pending treatment of the wiring between the station houses through the setting of the line collision avoidance module and the step inflection point value calculation module. While avoiding the wiring crossing the station house icon and reducing the clarity of the drawing display, it can also effectively set the step inflection point for the intersecting wiring, distinguish the connection points, improve the clarity of the connection relationship between the station houses, and effectively ensure the neatness of the drawing connection.

[0057] See also Figure 1 , Figure 2 and Fig.11 The optimization and adjustment unit includes a single-connection station position adjustment module, a line crossing arc adding module and a station outlet beautification module. The optimization and adjustment unit can further beautify the drawings through the coordinated setting of each module, thereby increasing the aesthetics of the drawing display.

[0058] See also Figure 1 , Figure 2 and Figure 12-14 The switch, measuring point and annotation arrangement unit includes a switch arrangement module, a measuring point arrangement module and a annotation arrangement module. The coordinated setting of the switch, measuring point and annotation arrangement units can effectively unify the switch, measuring point and annotation positions on the drawings, clarify the drawing annotations, and facilitate relevant personnel to consult the drawings and understand the data of each station room. At the same time, it can also effectively standardize the drawings, so that the subsequent storage data and drawing sets are standardized and traceable, which is convenient for the subsequent sustainable development and improvement of the smart grid.

[0059] See also Figure 1 , Figure 2 and Fig.15 The station house coordinate information collection unit, line equipment attribute information collection unit and equipment topology information collection unit are all connected to the signals of each distribution station in the area. The input end of the multi-data collection unit is respectively connected to the station house coordinate information collection unit, the line equipment attribute information collection unit and the equipment topology information collection unit. Through the multi-directional collection of the data sources of each station house, the data basis for drawing processing is increased, the accuracy of drawing display is effectively improved, and the representativeness of the drawings is improved. Among them, the data in the station house coordinate information collection unit only includes the station house name and the coordinates corresponding to the station house. The approximate location of each station house can be determined based on this coordinate file; the data in the line equipment attribute information collection unit includes the line name, line ID, line voltage level, station house name at both ends of the line connection, station house ID, name of the switch at both ends, switch ID and other information. According to this file, not only the line attribute information can be obtained, but also the equipment attributes of the station house and switch associated with the line can be obtained; the data in the equipment topology information collection unit is the basic topological relationship. It mainly includes the line name, the names of the station buildings at both ends of the line, etc. It is mainly to show the topological relationship between the station buildings. In addition, the detailed equipment properties of the station buildings and lines can be obtained through the associated line equipment property information collection unit.

[0060] See also Figure 1 , Figure 2 and Fig.15 The input end of the data analysis unit is connected to the multi-data set unit signal, and the input end of the model building unit is connected to the data analysis unit signal. The data analysis unit can effectively analyze and process multi-source data sets, reduce data complexity, simplify data processing, facilitate data extraction for subsequent drawing calculations, and improve the adaptability of data and drawing calculation processes. After parsing the three files of the multi-source data acquisition end, the data analysis unit constructs a map array with station buildings and station building coordinates as key-value pairs, a map array with lines and line attributes as key-value pairs, and vector data with simple topological associations between station buildings.

[0061] See also Figure 1 , Figure 2 and Fig.15The model construction unit includes station equipment set array, line equipment set array, switch equipment set array, switch measurement point set array and topological association array of station equipment and line equipment. Through the classification model construction of multi-source data, the correspondence of reference data in the drawing calculation process is effectively realized, the calculation difficulty is reduced, the calculation efficiency is improved, and the accuracy of the drawing is effectively guaranteed. The model construction unit constructs the station equipment set array, line equipment set array, switch equipment set array, switch measurement point set array and topological association array of line equipment through the line equipment attribute map array parsed from the line equipment attribute file.

[0062] The station equipment set array contains information such as the station name, station ID, station center coordinates, station frame coordinate sequence, adjacent station set, connected line equipment set, station voltage level, station level, station height, station width, etc. The center point of each station is calculated from the starting station with the largest number of connected lines;

[0063] The line equipment set array contains information such as the line equipment name, line equipment ID, line start coordinates, line end coordinates, line inflection point coordinates, line equipment start station, line equipment end station, voltage level, etc. The inflection point coordinates are needed to avoid the station when drawing.

[0064] The topological association array of station buildings and line equipment is used to construct a map array of station buildings and associated line equipment as key-value pairs through the station building equipment set array, and a map array of lines and associated station building equipment as key-value pairs is constructed through the line equipment set array. These two arrays facilitate the change and sorting of the positions of station buildings and lines in subsequent mapping.

[0065] See also Figure 1-15 After the graphics layout processing end receives the processed data transmitted by the multi-source data processing end, it produces the following calculation and processing effects:

[0066] S1. Station layout unit (see Figure 3-5 ), the discrete coordinate set of the original geographical location is processed through a series of processes to obtain an orthogonalized data point set that is highly consistent with the actual geographical location;

[0067] S11. The station building geographic layout module arranges all the station buildings according to their actual geographical locations based on the station building location model building results (the relationship mapping between station building names and coordinate points) of the model building unit, determines the center point location coordinates of each station building, and obtains a series of discrete point set data;

[0068] S12. Image blank area reduction module. According to the actual geographical location of the station buildings, there are station buildings in remote areas that are far away from the densely populated areas, forming isolated islands, which do not meet the space utilization and aesthetic requirements of the subsequent drawings. At this time, the redundant blank areas are reduced. Each row (column) of the drawing is scanned with a minimum unit of 1, and the blank rows (columns) without station buildings are removed, while the rows (columns) with station buildings are retained, that is, a high degree of geographical orientation similarity is retained, and it is convenient for the subsequent orthogonal operation;

[0069] S13. Orthogonal processing module (see Figure 3-5 ), set the orthogonal parameter RANGE (its value directly affects the strength of the orthogonality), and perform orthogonal adsorption on the station based on RANGE to obtain a series of orthogonal position point sets (stations may overlap at this time). For example, if RANGE is 2, the station is adsorbed from XMin to XmaX and YMin to YMaX with a strength of two columns each time. If there is overlap after adsorption, it will be placed nearby around the overlapping coordinate points;

[0070] See also Figure 4 and Figure 5 If the X-direction orthogonal is used as the starting point, the X-direction orthogonal module will be activated to adsorb each station in the X-direction. After the adsorption orthogonal is completed, the data will be output to the data overlap shift module. The data overlap shift module will check the X-direction orthogonal data, and then shift the position of the station that overlaps in the X-direction. If RANGE is 2 at this time, the station is adsorbed with the force of two columns each time, and the overlapping shift will shift the station with the force of one column each time (the shift direction can be either the positive or negative direction of X), and then the data overlap shift module will transmit the overlapped shifted data to the Y-direction orthogonal module. The Y-direction orthogonal module performs Y-direction orthogonal operation on the data. After the adsorption is completed, the data is output to the data overlap shift module. The data overlap shift module checks the Y-direction orthogonal data, and then shifts the position of the station house overlapped in the Y direction. If RANGE is 2 at this time, the station house is adsorbed with the force of two columns each time, and the station house is shifted with the force of one column each time in the overlap shift (the direction of the shift can be either the positive or negative direction of the Y direction), and then the data overlap shift module outputs the data completed with the orthogonal processing; here, if the Y direction is used as the starting point, the data processing direction can be obtained in the same way as above;

[0071] It is worth noting that in Figure 1 The symbol "①" in the figure indicates the first data receiving and first data transmission channel when only the data overlap displacement module is in effect, and the symbol "②" indicates the second data receiving and second data transmission channel when only the data overlap displacement module is in effect;

[0072] S14. An image blank area reduction module performs a blank area reduction operation on the orthogonal processed data again to remove blank rows (columns) generated after orthogonal processing;

[0073] S15. geometric scaling module, after orthogonal and blank reduction operations, the station building coordinate points are arranged in a maximally compact orthogonal arrangement to reserve space for subsequent station building graphic elements and line layouts, and finally geometric scaling is performed to proportionally enlarge the distance between station buildings without changing the relative orientation and relative distance between each station building (HDISTANCE and VDISTANCE coefficients are defined here to control the scaling ratio in the horizontal and vertical directions);

[0074] S16. A station building primitive embedding module, based on the station building coordinate point set obtained above, takes each coordinate point as the geometric center point of the station building primitive, and places the rectangular station building primitive;

[0075] S2. Wiring trajectory calculation unit (see Figure 6-10 ), connect and associate the station building block diagram formed by the station building arrangement unit;

[0076] S21. The station center point direct connection module connects the station center points in pairs according to the topological relationship after data analysis, and initially forms a complete station-line topological network;

[0077] S22. Line orthogonal module (see Figure 7 ), traverse all the station buildings to obtain all the outgoing lines of the initially formed station building-line topology network, calculate the turning point position and add it according to the relative position of the starting station building and the terminal station building to make the lines orthogonal. A line will only be orthogonalized once, and the turning point calculation rule is: X = Xa, Y = Yb;

[0078] S23. Line collision avoidance module (see Figure 8 ), the orthogonal connecting line is composed of horizontal and vertical line segments, and the line tracks are all on the horizontal and vertical connecting lines at the center of the station building; when one of the connecting lines passes through the station building (not the starting station building or the terminal station building of the connecting line), the station avoidance mechanism will be triggered, and the line segment passing through the station will be translated along the X-axis (or Y-axis) by 1 / 2 of the horizontal spacing HDISTANCE (or vertical spacing VDISTANCE) of the station building;

[0079] Specifically, when the starting station building of the connecting line is station building A and the terminal station building is station building C, and it crosses station building B after orthogonal intersection, the first segment of the connecting line (i.e. segment 1) is detected to cross other station buildings except the starting station building and the terminal station building. The analysis shows that the direction of segment 1 is horizontal, so segment 1 is translated along the Y axis toward the terminal station building by 1 / 2 of the vertical station room distance (i.e. 1 / 2VDISTANCE), and segment 3 is added to keep the track of the connecting line intact. Based on the result of translating segment 1, segment 2 is continued to be detected, which crosses station building C. Since station building C is the terminal station building, it is not processed. Please refer to Figure 8 Figure a in the figure;

[0080] When the connecting line starts at building C and ends at building A, it crosses building B after orthogonal intersection. The first segment of the connecting line (i.e., segment 1) is detected to cross other buildings besides the starting and ending buildings. If segment 1 is vertical, segment 1 is translated along the X axis toward the ending building by 1 / 2 of the horizontal distance between the two buildings (i.e., 1 / 2 HDISTANCE), and segment 3 is added to keep the track of the connecting line intact. Based on the result of translating segment 1, segment 2 is detected, which crosses building A. Since building A is the ending building, no processing is performed. Please refer to Figure 8 Figure b in ;

[0081] The above detection and translation operations are performed on multiple line segments within the same connecting line, and finally it is ensured that all line segments do not cross other station buildings;

[0082] S24. Outbound direction selection module (see Fig. 9 ), the exit direction selection refers to selecting the appropriate side for exiting the line according to the position relationship between the station building and the opposite station building (the optional sides are: top, bottom, left, right);

[0083] Top: The opposite station building is in the same vertical position as the own station building. The center coordinate Yto of the opposite station building is greater than the center coordinate Yfrom of the own station building, and they must be adjacent. Please refer to Fig. 9 Figure a in the figure;

[0084] Below: The opposite station building is at the same level as the own station building. The center coordinate Yto of the opposite station building is smaller than the center coordinate Yfrom of the own station building, and they must be adjacent. Please refer to Fig. 9 Figure b in ;

[0085] Left: The coordinates of the center point of the opposite station building Xto are smaller than the coordinates of the center point of the own station building Xfrom. Please refer to Fig. 9 Figure c in the figure;

[0086] Right: The coordinates of the center point of the opposite station building, Xto, are greater than the coordinates of the center point of the own station building, Xfrom. Fig. 9 Figure d in the figure;

[0087] In this way, each station building is traversed one by one in the above manner, and the outgoing direction of all outgoing lines of the station building is adjusted;

[0088] S25. Outgoing line sorting module (see Fig.10 ), the outgoing line sorting operation will sort the outgoing lines on the same side of a station building up and down (or left and right) according to the position relationship between the station building on the opposite side and the station building itself, so as to achieve the effect of non-overlapping outgoing lines;

[0089] Assuming that station house A is connected to station houses B, C, D, and E, and station houses B, C, D, and E are all connected to station house A through the left outgoing line, first sort them from large to small according to the Y value of the center point of the opposite station house, and the sorting result is: station house B, station house C, station house D, station house E, and then compare the X values ​​of the station houses with the same Y value. At this time, there are two cases. One is when the Y value of the center point of the opposite station house is greater than the Y value of the center point of the own station house, the X value of the center point of the opposite station house is arranged in descending order; the other is when the Y value of the center point of the opposite station house is less than the Y value of the center point of the own station house, the X value of the center point of the opposite station house is arranged in ascending order, and the secondary sorting result is: station house C, station house B, station house D, station house E. Finally, all outgoing lines on this side are evenly spaced according to the sorting result;

[0090] S26. Step inflection point value calculation module: This step is based on the result of the outgoing line sorting, and the outgoing lines on the same side are adjusted in an orderly manner, so that all the outgoing lines on one side of a station building are arranged in a stepped manner, effectively avoiding the situation where the outgoing line trajectories overlap;

[0091] The adjustment rule is to set an initial value for the first inflection point of all outgoing lines on the same side. For outgoing lines whose Y value of the center point of the opposite station house is greater than the Y value of the center point of the own station house, if the outgoing line is on the left, the inflection point X value is decreased from top to bottom according to the sorting order of the outgoing lines; if the outgoing line is on the right, the inflection point X value is accumulated according to the sorting order of the outgoing lines. For outgoing lines whose Y value of the center point of the opposite station house is less than the Y value of the center point of the own station house, on top of the accumulated result of the inflection point X of the upper half of the outgoing lines, if the outgoing line is on the left, the inflection point X value is accumulated according to the sorting order of the outgoing lines; if the outgoing line is on the right, the inflection point X value is decreased according to the sorting order of the outgoing lines;

[0092] S3. Optimization and adjustment unit (see Figure 1 ), optimization and adjustment stage, the algorithm will adjust the local station layout, line crossings and beautify the station outgoing lines;

[0093] S31. Single-connection station building position adjustment module, which will adjust the position of the terminal station building with only one opposite-side connection station building, and move it to the appropriate position closest to its opposite-side station building. This step will sacrifice a little relative geographical location accuracy as a price, shorten the span length of the connection line, and enhance the overall fullness of the drawing;

[0094] S32. Line crossing arc adding module: for the inevitable crossing of line tracks in some cases, the algorithm will add a crossing arc to one of the connecting lines of the crossing line at the intersection of the lines to improve the readability of the line direction of the drawing;

[0095] S33. Station house outgoing wire beautification module, which cuts the outgoing wires extending into the station house so that their endpoints fall on the outer frame of the station house, improving the aesthetics of the station house;

[0096] S4. Switch, measuring point and marking arrangement unit (see Figure 12-14 ), switches, measuring points and annotations are arranged in the order of switches>measuring points>annotations;

[0097] S41. Switch layout module (see Fig.12 ), the switches are arranged along the lines. The starting point and end point of each line are determined during the line layout stage. The position of the switch can be determined based on the starting point and end point of the line. If the line connects the station buildings on the left and right sides, the switches are on the left and right sides;

[0098] S42. Measurement point arrangement module (see Fig.13 ), after the switches are arranged, the switch measuring points are bound, and the position of the measuring points is determined according to the orientation of the switches (including a. the switch is on the left side of the station house, the measuring point is at the lower left of the switch, b. the switch is on the right side, the measuring point is at the lower right of the switch, c. the switch is on the top, the measuring point is at the upper right of the switch, and d. the switch is on the bottom, then the measuring point is at the lower right of the switch);

[0099] S43. Labeling Arrangement Module (see Fig.14 ), the position of the annotation is determined according to the orientation of the switch and the position of the measuring point, and the offset between the annotation and the switch is calculated by the length of the annotation (the corresponding ones include a. the switch is on the left, the annotation is on the upper left of the switch, opposite to the position of the measuring point, b. the switch is on the right, the annotation is on the upper right of the switch, opposite to the position of the measuring point, c. the switch is on the upper side, the annotation is on the upper left of the switch, opposite to the position of the measuring point, and d. the switch is on the bottom, the annotation is on the lower left of the switch, opposite to the position of the measuring point).

[0100] Embodiment 2:

[0101] The present invention provides a distribution substation logic diagram drawing system based on multi-source data. The present invention provides a distribution substation logic diagram drawing system based on multi-source data. The components that are the same or corresponding to those in Example 1 are marked with the same reference numerals as those in Example 1. For the sake of simplicity, only the differences from Example 1 are described below. The difference between Example 2 and Example 1 is as follows: Figure 1-15The orthogonal processing module also includes a shift association processing module. The output end of the data overlap shift module is connected to the shift association processing module signal, and the output end of the shift association processing module is connected to the X-direction orthogonal module and the Y-direction orthogonal module signal in a one-way connection mode, that is, after the data overlap shift module receives the station house overlap data generated by the X-direction orthogonal module action, and performs overlap shifting on it, the data is transmitted to the shift association processing module, and the shift association processing module determines and associates the station house position after the movement with the station house position associated with it. , and make associated adjustments to the station house position, and then only output the data to the Y-direction orthogonal module to perform orthogonal calculation in the Y direction, and vice versa. When the orthogonal processing module adjusts the station house position, the shift association processing module can effectively verify the data of the overlapping and shifted station house position, and process the direction of its overlapping and shifting according to its correlation with other station houses. While streamlining and beautifying the drawings, it simplifies the calculation difficulty of the subsequent wiring trajectory calculation unit, reduces the complexity of the connections between the station houses, improves the drawing efficiency, and improves the clarity of the drawing connections.

[0102] During the execution of the orthogonal processing module in step S13 described in Example 1, if overlap occurs after adsorption, the overlapping coordinate points are relocated according to the deployment of the shift association processing module;

[0103] When the data overlap shift module checks the orthogonal data in the X direction and then shifts the position of the station house overlapped in the X direction, the station house data of the overlapping position is first transmitted to the shift association processing module. The shift association processing module first determines the wiring relationship between the station house and the surrounding station houses according to the station house equipment set array and the blank grid data in the X direction given by the data overlap shift module, and then places the station house at a side position in the X direction where the wiring is more complicated or the number of wiring is larger according to the blank grid data;

[0104] When the data overlapping shift module checks the orthogonal data in the Y direction and then shifts the overlapping station house position in the Y direction, the station house data in the overlapping position is first transmitted to the shift association processing module. The shift association processing module first determines the wiring relationship between the station house and the surrounding station houses based on the station house equipment set array and the blank grid data in the Y direction given by the data overlapping shift module, and then places the station house on the side of the Y direction where the wiring is more complicated or the number of wiring is larger according to the blank grid data.

[0105] It is worth noting that in Figure 1 The symbol "①+" marked in the figure indicates the first data reception and the first data transmission channel when the data overlapping displacement module and the shift association processing module are both acting at the same time. The symbol "②+" indicates the second data reception and the second data transmission channel when the data overlapping displacement module and the shift association processing module are both acting at the same time.

[0106] Embodiment 3:

[0107] The present invention provides a distribution substation logic diagram drawing system based on multi-source data, wherein the components identical or corresponding to those in Embodiment 2 are marked with the same reference numerals as those in Embodiment 2. For the sake of simplicity, only the differences from Embodiment 2 are described below. The difference between Embodiment 3 and Embodiment 2 is as follows: Figure 1-15 The orthogonal processing module also includes a preferred shift module, and the shift association processing module is connected to the preferred shift module signal. The station house related data is transmitted to the preferred shift module through the shift association processing module. The preferred shift module calculates multiple associated positions of the station house, selects the shift position of the station house by preference, and then feeds back the data to the shift association processing module to determine the station house position. The setting of the preferred shift module can further make preferential judgments on the shift association processing module, effectively promote the rationalization of the station house shift, and further reduce the complexity of the subsequent wiring trajectory by preferentially selecting the selectable shift position, simplifying the calculation difficulty, improving the aesthetics and intuitiveness of the drawing, and effectively facilitating data display and facilitating relevant personnel to view and read data.

[0108] During the execution of the orthogonal processing module in step S13 described in Example 2, if overlap occurs after adsorption, preferential placement is performed around the overlapping coordinate point according to the deployment of the shift association processing module;

[0109] When the data overlap shift module checks the orthogonal data in the X direction and then shifts the station house position that overlaps in the X direction, the station house data in the overlapping position is first transmitted to the shift association processing module. The shift association processing module first determines the wiring relationship between the station house and the surrounding station houses according to the station house equipment set array and the blank grid data in the X direction given by the data overlap shift module, and then transmits both the wiring relationship data and the blank grid data in the X direction to the optimal shift module. The optimal shift module preferentially selects the data of the blank grids set in the specific X direction of the station house, and then feeds back the optimal data to the shift association processing module. The shift association processing module controls the displacement of the station house according to the optimal data.

[0110] When the data overlapping shift module checks the orthogonal data in the Y direction and then shifts the overlapping station house position in the Y direction, the station house data in the overlapping position is first transmitted to the shift association processing module. The shift association processing module first determines the wiring relationship between the station house and the surrounding station houses based on the station house equipment set array and the blank grid data in the Y direction given by the data overlapping shift module. Then, the wiring relationship data and the blank grid data in the Y direction are transmitted to the optimal shift module. The optimal shift module preferentially selects the data of the blank grids of the station house in the specific Y direction, and then feeds back the preferential data to the shift association processing module. The shift association processing module controls the shift of the station house according to the preferential data.

[0111] It is worth noting that in Figure 1 The symbol "①++" marked in the figure indicates the first data reception and the first data transmission channel when the data overlapping displacement module, the shift association processing module and the preferential shift module act at the same time. The symbol "②++" indicates the second data reception and the second data transmission channel when the overlapping displacement module, the shift association processing module and the preferential shift module act at the same time.

[0112] The above is only the best implementation method adopted by this application in combination with current actual needs, but the protection scope of this application is not limited to this.

Claims

1. A distribution substation logic diagram drawing system based on multi-source data, involving each distribution substation in the area, characterized in that: It includes a multi-source data acquisition terminal, a multi-source data processing terminal, a drawing layout processing terminal and a drawing data output terminal which are sequentially signal-connected; The multi-source data acquisition terminal includes a station building coordinate information acquisition unit, a line equipment attribute information acquisition unit, an equipment topology information acquisition unit and a multi-data collection unit; The multi-source data processing end includes a data parsing unit and a model building unit; The mapping layout processing end includes a station house arrangement unit, a wiring trajectory calculation unit, an optimization adjustment unit, and a switch, measurement point and annotation arrangement unit that are sequentially signal-connected; The station building arrangement unit includes a station building geographic layout module, an image blank area reduction module, an orthogonal processing module, a geometric scaling module and a station building graphic element embedding module; The orthogonal processing module includes an X-direction orthogonal module, a Y-direction orthogonal module and a data overlap shift module, the X-direction orthogonal module and the Y-direction orthogonal module are both connected to the data overlap shift module signal, and the data overlap shift module is independently connected to the X-direction orthogonal module and the Y-direction orthogonal module in an alternating manner; The drawing data output terminal includes a drawing export unit and a drawing data output unit; Image blank area reduction module, according to the actual geographical location of the station buildings, there are remote areas where the station buildings are far away from the densely populated areas, forming isolated islands. At this time, the redundant blank areas are reduced, and each row or column of the drawing is scanned with the minimum unit 1, and the blank rows or columns where there are no station buildings are removed, and the rows or columns where there are station buildings are retained, that is, the high degree of geographical orientation similarity is retained, and it is convenient for the subsequent orthogonal operation; Orthogonal processing module, set the orthogonal parameter RANGE, the value of which directly affects the strength of the orthogonal. Based on RANGE, the station is orthogonally adsorbed to obtain a series of orthogonal position point sets. At this time, there may be overlap of station houses. If RANGE is 2, the station is adsorbed from XMin to XmaX and YMin to YMaX with a strength of two columns each time. If there is overlap after adsorption, it will be placed nearby around the overlapping coordinate points; If the X direction is orthogonal at this time, the X direction orthogonal module will be activated to adsorb each station in the X direction. After the adsorption orthogonal is completed, the data will be output to the data overlap shift module. The data overlap shift module will check the X direction orthogonal data, and then shift the position of the station that overlaps in the X direction. If RANGE is 2 at this time, the station is adsorbed with the force of two columns each time, and the overlapping shift will shift the station with the force of one column each time. The shift direction is either the positive or negative direction of X. Then the data overlap shift module will transmit the overlapped shifted data to the Y direction orthogonal module. Y The direction orthogonal module performs Y-direction orthogonal operation on the data. After the adsorption is completed, the data is output to the data overlap shift module. The data overlap shift module checks the Y-direction orthogonal data and then shifts the position of the station house that overlaps in the Y direction. If RANGE is 2 at this time, the station house is adsorbed with the force of two columns each time, and the station house is shifted with the force of one column each time in the overlap shift. The shift direction is any one of the positive and negative directions of the Y direction. Then the data overlap shift module outputs the data that has been orthogonally processed. Here, if the Y direction is used as the starting point, the direction of the data processing can be obtained in the same way as above. The image blank area reduction module performs blank area reduction operation on the data after orthogonal processing again, and removes the blank rows or columns generated after orthogonal processing.

2. A distribution station logic diagram drawing system based on multi-source data according to claim 1, characterized in that: The orthogonal processing module also includes a shift association processing module, the output end of the data overlap shift module is connected to the shift association processing module signal, and the output end of the shift association processing module is connected to the X-direction orthogonal module and the Y-direction orthogonal module signal in a one-way connection mode, that is, after the data overlap shift module receives the station house overlap data generated after the X-direction orthogonal module acts, and performs overlap shifting on it, the data is transmitted to the shift association processing module, the shift association processing module determines the association between the station house position after the movement and the station house position associated with it, and performs association adjustment on the station house position, and then outputs the data only to the Y-direction orthogonal module to perform orthogonal calculation in the Y direction, and vice versa.

3. A distribution station logic diagram drawing system based on multi-source data according to claim 2, characterized in that: The orthogonal processing module also includes a preferred shift module, and the shift association processing module is connected to the preferred shift module signal. The station house associated data is transmitted to the preferred shift module through the shift association processing module. The preferred shift module calculates multiple associated positions of the station house, selects the shift position of the station house, and then feeds back the data to the shift association processing module to determine the station house position.

4. A distribution station logic diagram drawing system based on multi-source data according to claim 1, characterized in that: The station building geographic layout module and the orthogonal processing module are both connected with the image blank area reduction module signal, and the station building geographic layout module takes precedence over the orthogonal processing module in being connected with the image blank area reduction module signal. The image blank area reduction module is respectively connected with the orthogonal processing module and the geometric scaling module signal, and only after the image blank area reduction module receives the orthogonal processing module signal does it start to connect with the geometric scaling unit signal. The geometric scaling module is connected with the station building graphic element embedding module signal.

5. The system for drawing logic diagrams of power distribution stations based on multi-source data according to claim 1 is characterized in that: The wiring trajectory calculation unit includes a station building center point direct connection module, a line orthogonal module, a line collision avoidance module, an exit orientation selection module, an exit line sorting module and a step inflection point value calculation module that are sequentially signal-connected.

6. A distribution station logic diagram drawing system based on multi-source data according to claim 1, characterized in that: The optimization and adjustment unit includes a single-connection station building position adjustment module, a line crossing arc adding module and a station building outlet line beautification module.

7. The system for drawing logic diagrams of power distribution stations based on multi-source data according to claim 1 is characterized in that: The switch, measuring point and label arrangement unit includes a switch arrangement module, a measuring point arrangement module and a label arrangement module.

8. The system for drawing logic diagrams of power distribution stations based on multi-source data according to claim 1 is characterized in that: The station building coordinate information collection unit, line equipment attribute information collection unit and equipment topology information collection unit are all connected to the signals of each distribution station building in the area, and the input end of the multi-data collection unit is respectively connected to the station building coordinate information collection unit, the line equipment attribute information collection unit and the equipment topology information collection unit.

9. A distribution station logic diagram drawing system based on multi-source data according to claim 8, characterized in that: The input end of the data analysis unit is connected to the multiple data collection unit signal, and the input end of the model building unit is connected to the data analysis unit signal.

10. A distribution station logic diagram drawing system based on multi-source data according to claim 9, characterized in that: The model building unit includes a station equipment set array, a line equipment set array, a switch equipment set array, a switch measurement point set array and a topological association array of the station equipment and the line equipment.