Summary of the invention
For solving the problem, the invention provides one and drawing information is combined effectively, user is clearly seen under the prerequisite that need not switch drawing, and the figure of the power distribution network of complete drawing information is across figure automatic connection method.
For achieving the above object, the invention provides following technical scheme: a kind of figure for power distribution network is across figure automatic connection method, described method carries out certainly being dynamically connected across figure to the figure of power distribution network by the computing machine containing load module, Network topology module and output module, said method comprising the steps of:
(1) read graph data, read the line chart that will carry out in the graphic data base of power distribution network connecting across figure by load module;
(2) search of figure tie point, carry out the following step by Network topology module:
There is connectionless point in line chart described in a, automatic search, if do not had, then terminate search; If had, then record the property value of described tie point, and enter next step;
B, the adjacent line chart of adjacent attachment points and described adjacent attachment points place matched with it according to the property value search of described tie point, and record the property value of described adjacent attachment points;
(3) connection of figure tie point, forms a new line chart by line chart described in Network topology module automatic Mosaic and adjacent line chart;
(4) export new graph data, read described new line chart by output module.
Preferably, the coordinate figure recording described tie point and the coordinate figure recording described adjacent attachment points is also comprised respectively in step a, the b of described step (2).
Preferably, described step (3) comprises the following steps:
Whether tie point described in c, automatic decision is identical with the coordinate figure of adjacent attachment points, if identical, then line chart described in automatic Mosaic and adjacent line chart form a new line chart; If not identical, then enter next step;
The coordinate figure of d, the figure paper size according to described line chart and adjacent line chart, described tie point and adjacent attachment points cuts described line chart and/or adjacent line chart, and line chart after cutting described in automatic Mosaic and adjacent line chart form a new line chart.
Preferably, described load module and output module are dispatching simulation screen system.
Preferably, described tie point comprises front end tie point and rear end tie point; Described adjacent attachment points comprises the front end adjacent attachment points matched with described front end tie point and the rear end adjacent attachment points matched with described rear end tie point; Described adjacent line chart comprises front end line chart and rear end line chart; Described front end adjacent attachment points is located on the line chart of described front end; Described rear end adjacent attachment points is located on the line chart of described rear end.
Adopt the beneficial effect of above technical scheme to be: the present invention can effectively realize being certainly dynamically connected between drawing, and the drawing of zones of different is shown on same drawing, and yardman seems very clear, reduce the problem that yardman switches drawing.Substantially increase the work efficiency of yardman.
Embodiment
The preferred embodiment of the present invention is described in detail below in conjunction with accompanying drawing.
Embodiment 1
See Fig. 1, Fig. 2 and Fig. 3, as shown in legend wherein, a kind of figure for power distribution network, across figure automatic connection method, comprises the following steps:
(1) entered in the graphic data base of power distribution network by mapping software, and enter in the single line Figure 11 that will carry out connecting across figure;
(2) search in single line Figure 11 and have rear end tie point 111;
(3) information of rear end tie point 111 is recorded, and according to the rear end adjacent attachment points 121 in information searching rear end single line Figure 12 of rear end tie point 111, and record the information of rear end adjacent attachment points 121;
(4) judge that rear end tie point 111 and rear end adjacent attachment points 121 can dock, splice single line Figure 11 and adjacent single line Figure 12 thus form a new line chart 2;
(6) information of rear end tie point 111 and rear end adjacent attachment points 121 docking point 21 is recorded.
Network Topology Discovery algorithm is adopted automatically to search respectively in described single line Figure 11 with or without rear end tie point 111 and the rear end adjacent attachment points 121 automatically searched in the single line Figure 12 of rear end in step (2) and step (3).
Network topology method automatic Mosaic single line Figure 11 and adjacent single line Figure 12 is adopted in described step (4).
In step (3), the information of rear end tie point 111 comprises coordinate figure and the property value of rear end tie point 111; In step (3), the information of rear end adjacent attachment points 121 comprises coordinate figure and the property value of rear end adjacent attachment points 12.
In described step (1), the graphic data base of power distribution network comprises the information of the information of described single line Figure 11, the information of rear end single line Figure 12 and new line chart 2.
Figure for power distribution network is as follows across figure automatic connection method detailed process:
1. first log in paint program, navigate to the position will carrying out connecting across figure;
2. use in the position will carrying out connecting across figure line tail symbol pel to connect, and name (so-and-so and so-and-so get in touch with);
3. navigate to the position will carrying out another point connected across figure, use line tail symbol pel to connect, and name (consistent with the title of another tie point);
4. double-click the setting that line tail symbol carries out same connection;
5. start intelligent dispatch management system and carry out drawing renewal.
Embodiment 2
See Fig. 1, Fig. 4, Fig. 5 and Fig. 6, as shown in legend wherein, a kind of figure for power distribution network, across figure automatic connection method, comprises the following steps:
(1) entered in the graphic data base of power distribution network by mapping software, and enter in the single line Figure 11 that will carry out connecting across figure;
(2) the rear end tie point 111 in single line Figure 11 is found;
(3) information of rear end tie point 111 is recorded, and according to the rear end adjacent attachment points 121 in information searching rear end single line Figure 12 of rear end tie point 111, and record the information of rear end adjacent attachment points 121;
(4) judge that rear end tie point 111 and rear end adjacent attachment points 121 can not dock;
(5) single line Figure 11 and rear end single line Figure 12 is cut according to the information of the figure paper size of single line Figure 11 and adjacent single line Figure 12, rear end tie point 111 and rear end adjacent attachment points 121, and single line Figure 11 after cutting described in splicing and rear end single line Figure 12 thus the new line chart 2 of composition one, and record the information of institute's rear end tie point 111 and rear end adjacent attachment points 121 docking point 21.
Network Topology Discovery algorithm is adopted automatically to search respectively in single line Figure 11 with or without rear end tie point 111 and the rear end adjacent attachment points 121 automatically searched in the single line Figure 12 of rear end in step (2) and step (3).
Network topology method automatic Mosaic single line Figure 11 and rear end single line Figure 12 is adopted in step (4).
Adopt in step (5) Network topology method automatically to cut line chart 11 and rear end single line Figure 12, and automatic Mosaic cut after single line Figure 11 and rear end single line Figure 12.
In step (3), the information of rear end tie point 111 comprises coordinate figure and the property value of rear end tie point 111; In step (3), the information of rear end adjacent attachment points 121 comprises coordinate figure and the property value of described rear end adjacent attachment points 121.
In step (1), the graphic data base of power distribution network comprises the information of the information of single line Figure 11, the information of rear end single line Figure 12 and new line chart 2.
Figure for power distribution network is as follows across figure automatic connection method detailed process:
1. first log in paint program, navigate to the position will carrying out connecting across figure;
2. use in the position will carrying out connecting across figure line tail symbol pel to connect, and name (so-and-so and so-and-so get in touch with);
3. navigate to the position will carrying out another point connected across figure, use line tail symbol pel to connect, and name (consistent with the title of another tie point);
4. double-click the setting that line tail symbol carries out same connection;
5. start intelligent dispatch management system and carry out drawing renewal;
6. navigate to across drawing connect more how, double-click this circuit, system can carry out splicing and the cutting of figure automatically according to algorithm.
Embodiment 3
See Fig. 1, Fig. 7 and Fig. 8, as shown in legend wherein, a kind of figure for power distribution network, across figure automatic connection method, comprises the following steps:
(1) entered in the graphic data base of power distribution network by mapping software, and enter in the single line Figure 11 that will carry out connecting across figure;
(2) find in single line Figure 11 and have rear end tie point 111 and front end tie point 112;
(3) information of rear end tie point 111 and front end tie point 112 is recorded, and according to the rear end adjacent attachment points 121 in information searching rear end single line Figure 12 of rear end tie point 111, and record the information of rear end adjacent attachment points 121; Simultaneously according to the front end adjacent attachment points 131 in information searching front end single line Figure 13 of front end tie point 112, and record the information of front end adjacent attachment points 131;
(4) judge that rear end tie point 111 and rear end adjacent attachment points 121 can dock; Front end tie point 112 and front end adjacent attachment points 131 can dock; Respectively rear end single line Figure 12 and front end single line Figure 13 is spliced to the rear end of single line Figure 11 and front end thus the new line chart 2 of composition one, and records the information of rear end adjacent attachment points 121 and rear end tie point 111 docking point 21; The information of record front end adjacent attachment points 131 and front end tie point 112 docking point 22.
Network Topology Discovery algorithm is adopted automatically to search respectively with or without rear end tie point 111 and front end tie point 112 in single line Figure 11 in step (2) and step (3), and the front end adjacent attachment points 131 in the rear end adjacent attachment points 121 automatically searched in the single line Figure 12 of rear end and front end single line Figure 13.
Network topology method is adopted automatically rear end single line Figure 12 and front end single line Figure 13 to be spliced to rear end and the front end of single line Figure 11 in step (4).
In step (3), the information of rear end tie point 111 comprises coordinate figure and the property value of rear end tie point 111, and the information of front end tie point 112 comprises coordinate figure and the property value of front end tie point 112;
In step (3), the information of rear end adjacent attachment points 121 comprises coordinate figure and the property value of rear end adjacent attachment points 121; The information of front end adjacent attachment points 131 comprises coordinate figure and the property value of front end adjacent attachment points 131.
The graphic data base of power distribution network comprises the information of the information of single line Figure 11, the information of rear end single line Figure 12, the information of front end single line Figure 13 and new line chart 2 in step (1).
Figure for power distribution network is as follows across figure automatic connection method detailed process:
1. first log in paint program, navigate to the position will carrying out connecting across figure;
2. use in the position will carrying out connecting across figure line tail symbol pel to connect, and name (so-and-so and so-and-so get in touch with);
3. navigate to the position will carrying out another point connected across figure, use line tail symbol pel to connect, and name (consistent with the title of another tie point);
4. double-click the setting that line tail symbol carries out same connection;
5. start intelligent dispatch management system and carry out drawing renewal.
Adopt the beneficial effect of above technical scheme to be: the present invention can effectively realize being certainly dynamically connected between drawing, and the drawing of zones of different is shown on same drawing, and yardman seems very clear, reduce the problem that yardman switches drawing.Substantially increase the work efficiency of yardman.
Above-described is only the preferred embodiment of the present invention, it should be pointed out that for the person of ordinary skill of the art, and without departing from the concept of the premise of the invention, can also make some distortion and improvement, these all belong to protection scope of the present invention.