CN103077496B - The automatic cross-over connection graphic processing method of circuit on power system - Google Patents

The automatic cross-over connection graphic processing method of circuit on power system Download PDF

Info

Publication number
CN103077496B
CN103077496B CN201310051548.4A CN201310051548A CN103077496B CN 103077496 B CN103077496 B CN 103077496B CN 201310051548 A CN201310051548 A CN 201310051548A CN 103077496 B CN103077496 B CN 103077496B
Authority
CN
China
Prior art keywords
pel
cross
over connection
display
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310051548.4A
Other languages
Chinese (zh)
Other versions
CN103077496A (en
Inventor
魏珍
李炳志
高圣源
邓子泥
周骥飞
谢霁峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
Tianjin Electric Power Corp
Original Assignee
State Grid Corp of China SGCC
Tianjin Electric Power Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, Tianjin Electric Power Corp filed Critical State Grid Corp of China SGCC
Priority to CN201310051548.4A priority Critical patent/CN103077496B/en
Publication of CN103077496A publication Critical patent/CN103077496A/en
Application granted granted Critical
Publication of CN103077496B publication Critical patent/CN103077496B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention relates to the automatic cross-over connection graphic processing method of a kind of circuit on power system, the step of the method includes whole drawing and carries out Region dividing: primitives classification, whole pel is defined as pel and transregional pel in region; Primitive intersection judges, to the judgement whether pel in each region intersects, successively carries out intersecting judging again to transregional pel with whole pel; Dynamic intersection refreshes: cross-over connection point of crossing is drawn, and calculates cross-over connection cross-point locations, draws cross-over connection display effect in the window; The refreshing display of pel, when graphical window moves operation, recalculates point of crossing, and the cross-over connection display that intersects is followed viewing area pel and refreshed display together, until whole drawing refreshing display is complete.The present invention effectively avoids the misoperation fault caused because missing identification point of crossing, possess very high practicality, use this method, safeguard that figure is easier, figure point of crossing is clearly clear, for all important in inhibitings such as fast processing electric power accident and training.

Description

The automatic cross-over connection graphic processing method of circuit on power system
Technical field
The invention belongs to electric power networks graphic plotting processing technology field, the automatic cross-over connection graphic processing method of especially a kind of circuit on power system.
Background technology
Along with electrical network scale expands gradually, electric power networks figure quantity is increased sharply, and user improves constantly for the requirement of the quality of power supply, causes the complexity of management and running more and more higher.A large amount of crossing circuits is there is in grid graph, dispatcher and power supply station operations staff must correctly identify for line alignment, thus know the present situation method of operation of electrical network, otherwise just mistuning degree, maloperation can occur, light then cause power grid accident, heavy then human casualty accident occurs.
At present, for crossing circuit, the grid graph adopting traditional drafting instrument to draw adopts the mode of right-angled intersection process, does not obviously indicate, easily obscures.This processing mode familiarity of operations staff to grid graph that place one's entire reliance upon comes each point of crossing of identification, very high request is proposed to individual quality and technical ability, and the mistake identification can not stopping completely to cause thus, maloperation event, bring hidden danger to the safe and stable operation of distribution system.If adopt computer self to judge, due to electrical network more complicated, it is all very large that electrical network figure often often opens figure, even several ten thousand pels had, and each pel has again a not only terminal, each terminal also not necessarily line segment, judge that crossing elimination is very large for the calculated amount of program, must judge whether each pel has intersection simultaneously, need each pel all to carry out intersecting with up to ten thousand pels and judge, just can obtain complete crossing instances, now judge that number of times needs several hundred million times.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, provide a kind of circuit on power system automatic cross-over connection graphic processing method.
The present invention solves its technical matters and takes following technical scheme to realize:
The automatic cross-over connection graphic processing method of a kind of circuit on power system, step is as follows:
(1) whole drawing carries out Region dividing;
(2) primitives classification: whole pel is defined as pel and transregional pel in region;
(3) primitive intersection judges: first to the judgement whether pel in each region intersects, then successively carry out intersecting judging with whole pel again to transregional pel;
(4) dynamically intersect refreshing;
(5) cross-over connection point of crossing is drawn: calculating cross-over connection cross-point locations, in viewing area, is that 10 pixels draw cross-over connection display effect in the window with radius;
(6) the refreshing display of pel: after point of crossing is drawn, when graphical window moves operation, recalculate point of crossing, pel dynamic mobile is together followed in the cross-over connection display that intersects, the cross-over connection display that intersects is followed viewing area pel and is refreshed display together, until whole drawing refreshing display is complete.
And (1) described step specifically according to the xy coordinate of drawing, is on average divided into 10000 regions to the whole figure of magnifying.
And the described step concrete steps that (3) primitive intersection judges are:
1. judge that whether every two line segment angles of pel are identical;
2. judge whether two end points of every bar line segment drop on the both sides of another line segment;
If 3. above-mentioned 1., 2. the judged result of step be yes, final judge that two line segments intersect.
And, described step (4) dynamically intersect refresh concrete grammar be:
1. when dynamic refresh figure, only refresh the region of display, and only above-mentioned intersection judgement is carried out to the region refreshing display;
2., when pattern reduction shows, when pattern reduction is less than 10 pixels to the line segment length shown, cross-over connection design sketch is not shown for raising display speed.
And the described step intersection calculations formula that (5) cross-over connection point of crossing is drawn is: the coordinate of Article 1 line segment is x1, y1; X2, y2, the coordinate of Article 2 line segment is x3, y3; X4, y4, point of crossing coordinate is x, y, then:
x=((x2-x1)×(x3-x4)×(y3-y1)-x3×(x2-x1)×(y3-y4)+x1×(y2-y1)×(x3-x4))/((y2-y1)×(x3-x4)-(x2-x1)×(y3-y4));
y=((y2-y1)×(y3-y4)×(x3-x1)-y3×(y2-y1)×(x3-x4)+y1×(x2-x1)×(y3-y4))/((y2-y1)×(y3-y4)-(y2-y1)×(x3-x4))。
Advantage of the present invention and good effect are:
This technology solves cross link in distribution network figure and is difficult to the difficult problem clearly indicated, and effectively can avoid the misoperation fault caused because missing identification point of crossing.This technology, for electric power network graphics system feature, from user's actual need angle, possesses very high practicality.Use this technology, safeguard that figure is easier, figure point of crossing is clearly clear, contributes to operations staff and judges connections form fast, and this is for determining all important in inhibitings such as the method for operation, fast processing electric power accident and training.
Accompanying drawing explanation
Fig. 1 for utilize in current grid graph typical graphics instrument paint the schematic diagram of cross link;
Fig. 2 for the present invention to circuit intersection point with bridge shape paint the schematic diagram of cross link.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of the present invention is further described:
It is emphasized that; embodiment of the present invention is illustrative; instead of it is determinate; therefore the present invention is not limited to the embodiment described in embodiment; every other embodiments drawn by those skilled in the art's technical scheme according to the present invention, belong to the scope of protection of the invention equally.
The automatic cross-over connection graphic processing method of a kind of circuit on power system, as shown in Figure 2, step is as follows:
(1) whole drawing carries out Region dividing:
According to the xy coordinate of drawing, 10000 regions are on average divided into the whole figure of magnifying;
(2) primitives classification:
Travel through whole pel, the xy coordinate finding out each point of pel whether in the region divided, if all point all at an intra-zone, is then defined as pel in region; If not a little all in a region, be defined as transregional pel;
(3) primitive intersection judges:
According to step primitives classification (2), first to the judgement whether pel in each region intersects, then successively carry out intersecting judging with whole pel again to transregional pel; Wherein, pel whether intersect judge particular content comprise:
1. judge that whether every two line segment angles of pel are identical;
2. judge whether two end points of every bar line segment drop on the both sides of another line segment;
If 3. above-mentioned 1., 2. the judged result of step be yes, final judge that two line segments intersect;
(4) dynamically intersect refreshing:
When pattern visual evoked potentials shows, because amplify display pel, so display window can not all show whole pel, when dynamic refresh figure, only refresh the region of display, and only above-mentioned intersection judgement is carried out to the region refreshing display; When pattern reduction shows, when pattern reduction is less than 10 pixels to the line segment length shown, do not show cross-over connection design sketch for raising display speed;
(5) cross-over connection point of crossing is drawn:
Intersection calculations formula: the coordinate of Article 1 line segment is x1, y1; X2, y2, the coordinate of Article 2 line segment is x3, y3; X4, y4, point of crossing coordinate is x, y;
x=((x2-x1)×(x3-x4)×(y3-y1)-x3×(x2-x1)×(y3-y4)+x1×(y2-y1)×(x3-x4))/((y2-y1)×(x3-x4)-(x2-x1)×(y3-y4));
y=((y2-y1)×(y3-y4)×(x3-x1)-y3×(y2-y1)×(x3-x4)+y1×(x2-x1)×(y3-y4))/((y2-y1)×(y3-y4)-(y2-y1)×(x3-x4));
After calculating the position of cross-over connection point of crossing, in viewing area, be that 10 pixels draw cross-over connection display effect in the window with radius;
(6) the refreshing display of pel:
After the drafting of point of crossing, when graphical window moves operation, need to recalculate point of crossing, pel dynamic mobile is together followed in the cross-over connection display that intersects, and the cross-over connection display that intersects is followed viewing area pel and refreshed display together, until whole drawing refreshing display is complete.

Claims (2)

1. the automatic cross-over connection graphic processing method of circuit on power system, is characterized in that: step is as follows:
(1) whole drawing carries out Region dividing;
(2) primitives classification: whole pel is defined as pel and transregional pel in region;
(3) primitive intersection judges: first to the judgement whether pel in each region intersects, then successively carry out intersecting judging with whole pel again to transregional pel; Concrete steps are:
1. judge that whether every two line segment angles of pel are identical;
2. judge whether two end points of every bar line segment drop on the both sides of another line segment;
If 3. above-mentioned 1., 2. the judged result of step be yes, final judge that two line segments intersect;
(4) dynamically intersect refreshing; Concrete grammar is:
1. when dynamic refresh figure, only refresh the region of display, and only above-mentioned intersection judgement is carried out to the region refreshing display;
2., when pattern reduction shows, when pattern reduction is less than 10 pixels to the line segment length shown, cross-over connection design sketch is not shown for raising display speed;
(5) cross-over connection point of crossing is drawn: calculating cross-over connection cross-point locations, in viewing area, is that 10 pixels draw cross-over connection display effect in the window with radius, and the cross-point locations computing formula that described cross-over connection point of crossing is drawn is: the coordinate of Article 1 line segment is x1, y1; X2, y2, the coordinate of Article 2 line segment is x3, y3; X4, y4, point of crossing coordinate is x, y, then:
x=((x2-x1)×(x3-x4)×(y3-y1)-x3×(x2-x1)×(y3-y4)+x1×(y2-y1)×(x3-x4))/((y2-y1)×(x3-x4)-(x2-x1)×(y3-y4));
y=((y2-y1)×(y3-y4)×(x3-x1)-y3×(y2-y1)×(x3-x4)+y1×(x2-x1)×(y3-y4))/((y2-y1)×(y3-y4)-(y2-y1)×(x3-x4));
(6) the refreshing display of pel: after point of crossing is drawn, when graphical window moves operation, recalculate point of crossing, pel dynamic mobile is together followed in the cross-over connection display that intersects, the cross-over connection display that intersects is followed viewing area pel and is refreshed display together, until whole drawing refreshing display is complete.
2. the automatic cross-over connection graphic processing method of circuit on power system according to claim 1, is characterized in that: (1) described step specifically according to the xy coordinate of drawing, is on average divided into 10000 regions to the whole figure of magnifying.
CN201310051548.4A 2013-02-18 2013-02-18 The automatic cross-over connection graphic processing method of circuit on power system Active CN103077496B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310051548.4A CN103077496B (en) 2013-02-18 2013-02-18 The automatic cross-over connection graphic processing method of circuit on power system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310051548.4A CN103077496B (en) 2013-02-18 2013-02-18 The automatic cross-over connection graphic processing method of circuit on power system

Publications (2)

Publication Number Publication Date
CN103077496A CN103077496A (en) 2013-05-01
CN103077496B true CN103077496B (en) 2015-08-05

Family

ID=48154015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310051548.4A Active CN103077496B (en) 2013-02-18 2013-02-18 The automatic cross-over connection graphic processing method of circuit on power system

Country Status (1)

Country Link
CN (1) CN103077496B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530483B (en) * 2013-11-04 2015-09-23 中国电力科学研究院 The method for drafting of power grid earthquake fortification partition map
CN110209630B (en) * 2019-04-25 2021-06-22 广东联城住工装备信息科技有限公司 DXF file information processing method and device, computer equipment and storage medium
CN112861382A (en) * 2021-03-17 2021-05-28 广东电网有限责任公司 Method and device for drawing power line diagram in power system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1243638A (en) * 1997-01-06 2000-02-02 德国电信股份有限公司 Method of producing network
CN101799837A (en) * 2009-12-31 2010-08-11 杭州电子科技大学 Automatic wiring method of single-line diagram for transmission network on large screen for dispatching after layout in station

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1243638A (en) * 1997-01-06 2000-02-02 德国电信股份有限公司 Method of producing network
CN101799837A (en) * 2009-12-31 2010-08-11 杭州电子科技大学 Automatic wiring method of single-line diagram for transmission network on large screen for dispatching after layout in station

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
基于交叉点提取的工程图矢量化方法研究;叶邦彦 等;《华南理工大学学报(自然科学版)》;20080830;第28卷(第8期);77-81 *
基于图形模型的配电网短路计算拓扑分析及数据生成;卢洵 等;《电力自动化设备》;20050331;第25卷(第3期);67-71 *
陈明星.基于交叉点提取的工程图表图像识别系统研究.《中国优秀硕士学位论文全文数据库(电子期刊)信息科级辑》.2004,I138-928. *

Also Published As

Publication number Publication date
CN103077496A (en) 2013-05-01

Similar Documents

Publication Publication Date Title
CN103077496B (en) The automatic cross-over connection graphic processing method of circuit on power system
CN104462473B (en) A kind of method that the inscribed line chart of CIM G forms plant stand is automatically generated based on CIM E electric network models
CN105117518A (en) Automatic drawing method and system for power distribution feeder single-line diagram of radiation connection mode
CN103021262A (en) Method and system for processing drawing of map labels
CN112560862B (en) Text recognition method and device and electronic equipment
CN105635848A (en) Bullet-screen display method and terminal
CN104477215B (en) Vehicle operating drawing drawing method and system
CN103149713B (en) array panel detection circuit structure
US20140343840A1 (en) Method and System for Selectively Blending Buildings to Improve Route Visibility in a 3D Navigation System
CN101590865B (en) Method for displaying transport facility and running position thereof
CN103617282A (en) Interest point attribute displaying method based on regular polygon tessellation
CN103995370B (en) A kind of routing device of detection terminal and liquid crystal display
CN103412741B (en) The transformer SVG graphic joining method and system of association CIM
CN106815410A (en) Cable method for drafting and device
US20120306871A1 (en) Method and apparatus for redrawing widget
CN101799735B (en) Primary handwriting hand input display method
CN108537151A (en) A kind of non-maxima suppression arithmetic unit and system
CN116620168A (en) Barrier early warning method and device, electronic equipment and storage medium
CN106445208B (en) A method of the mark figure based on serial ports follows display
CN104090719A (en) Method and system for display content translation according to acceleration variation for mobile terminal
CN104731547A (en) Method for drawing dynamic tendency chart
CN109816752A (en) Yard drawing drawing method
CN202548897U (en) Three-dimensional visual management system
CN105049799A (en) Video electronic map based on signal microcomputer monitoring system
CN112905861A (en) Power grid multi-dimensional space-time thematic display method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant