CN105046032A - Method and system for drawing power distribution network based on CAD - Google Patents

Method and system for drawing power distribution network based on CAD Download PDF

Info

Publication number
CN105046032A
CN105046032A CN201510575045.6A CN201510575045A CN105046032A CN 105046032 A CN105046032 A CN 105046032A CN 201510575045 A CN201510575045 A CN 201510575045A CN 105046032 A CN105046032 A CN 105046032A
Authority
CN
China
Prior art keywords
pel
wire
shaft tower
distribution network
metasymbol
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.)
Granted
Application number
CN201510575045.6A
Other languages
Chinese (zh)
Other versions
CN105046032B (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.)
Net Qingyun County Shandong Electric Co Of State
State Grid Corp of China SGCC
Original Assignee
Net Qingyun County Shandong Electric Co Of State
State Grid Corp of China SGCC
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 Net Qingyun County Shandong Electric Co Of State, State Grid Corp of China SGCC filed Critical Net Qingyun County Shandong Electric Co Of State
Priority to CN201510575045.6A priority Critical patent/CN105046032B/en
Publication of CN105046032A publication Critical patent/CN105046032A/en
Application granted granted Critical
Publication of CN105046032B publication Critical patent/CN105046032B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method and system for drawing a power distribution network based on CAD. The method comprises steps of decomposing an entity object in the power distribution network map into different types of pixel signs and straight lines, storing the pixel signs in a CAD file format in a background file and generating a pixel file, arranging the pixel file in a corresponding lead in a selected drawing layer, acquiring a lead type and storing the same into an attribute tag of the pixel entity, inserting the pixel entity into a lead end point position, and calculating and leading out drawing engineering statistic information based on the pixel file, the pixel attribute tag and the straight line length of the lead. In the drawing method, when the background pixel file is inserted into the drawing layer, the lead type can be automatically identified and stored into the attribute tag of the pixel entity object and a drawing method of one-rod-multi-heads is employed, so complicate pixel files storage due to various rod types and stay wires in the background can be simplified; and a method for optimizing drawing and calculation is provided.

Description

The method and system of distribution network line are drawn based on CAD
Technical field
The present invention relates to distribution network technology field, particularly relate to a kind of method and system of the drafting distribution network line based on CAD.
Background technology
Power distribution network refers to from power transmission network and accepts electric energy and after being assigned to distribution substation, by the network of distribution line to customer power supply.The principal voltage grade of China's distribution network line is 10kV and 0.4kV.Electrical network is the network be made up of many distribution lines, and distribution line is made up of equipment such as electric pole, on-pole switch, disconnecting link, ring main unit, switchyard, switching stations.
At present, distribution network line map generalization method is all that the component symbol of the said equipment is placed on figure according to actual annexation by use graphical authoring tools (GIS, CAD or other special power distribution network graphic editor), connects between element with line segment or connecting line.Backstage definition element, element is called on foreground, and for complicated bar head, also will define on backstage; But, usually there is the special bar head be of little use in the diversity of distribution network line, and regional disunity; Therefore be stored in the data in power distribution network background data base, utilization factor is low, is not easy to background maintenance.
In electrical engineering drawing course, existing software is drawn Distribution system design often, function integration of getting the raw materials ready, and as shown in Figure 1, Fig. 1 is existing distribution network line drawing practice operational mode figure; For tension-resistant rod each bar head and shaft tower done on backstage and store one by one; Backstage stores each detailed rod-type, and with Database direct correlation of getting the raw materials ready, as foreground plot space needs to call 1KVJKLYG-70 tension-resistant rod, this tension-resistant rod is stored in pel storehouse, back, select corresponding tension-resistant rod, in like manner 10KVJKLYG-95 tension-resistant rod and 10KVJKLYG-240 tension-resistant rod etc. getting the raw materials ready in database.This pattern back-end data amount is large, difficulty when foreground plot space is selected, and often increases a kind of new wire type newly, and the maintenance in pel storehouse, backstage is also multiplied.Simultaneously again due to distribution network line complex structure, zones of different design proposal disunity, the material disunity that rod-type different conductor model of the same race is corresponding, and shaft tower adjunct complexity is various; Therefore need to safeguard a large amount of background data bases.The quantitative change of rod-type bar head data is large, and draw and select also just to become loaded down with trivial details, the practicality of software will be deteriorated.
Therefore a kind of method and system that can meet the power distribution network drawing that work requirements can be increased work efficiency again are needed.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of method and system of drawing distribution network line based on CAD, can complete drawing protract and realize detailed data statistics output function with a small amount of back-end data.
For achieving the above object and other relevant objects, the invention provides a kind of method of drawing distribution network line based on CAD, described drawing optimization method comprises the following steps:
Step 1, obtains the entity object in distribution network line figure, and described entity object is resolved into shaft tower, shaft tower adjunct and wire;
Step 2, generates corresponding metafile by the figure metasymbol corresponding to described shaft tower, shaft tower adjunct, is stored in background folder with cad file form;
Step 3, in the drawing layer corresponding to CAD drawing area, calls described metafile and the example is turned to pel entity;
Step 4, obtain the respective wire model in the drawing layer selected, and by described pel entity setting up on this wire;
Step 5, the attribute tags corresponding according to pel solid generation, wherein, described pel entity and described attribute tags are one-to-one relationship, and are stored in by described wire type in corresponding pel entity attributes label;
Step 6, the pel entity in acquisition drawing layer and the straight length information of attribute tags and wire thereof, add up and derive corresponding information.
The present invention also aims to provide a kind of system of drawing distribution network line based on CAD, it comprises metafile storehouse, backstage, graphics module and statistics output module;
Metafile storehouse, described backstage, is applicable to store distribution network line figure king-rod head and adjunct figure metasymbol, and described shaft tower is generated corresponding metafile to the figure metasymbol corresponding to described shaft tower adjunct, is stored in background folder with cad file form; And be also applicable to the original document of storage creation drawing init state;
Described graphics module, is applicable to read the information recorded in this original document, and to draw accordingly layer according to the described information creating read; In the drawing layer corresponding to drawing area, call described metafile and the example is turned to pel entity; Obtain the respective wire model in the drawing layer selected, and by described pel entity setting up on this wire end points; The attribute tags corresponding according to pel solid generation, and wire type is stored into this pel entity attributes label;
Described statistics output module, is applicable to obtain the pel entity in drawing layer and the attribute tags corresponding to pel entity, and the straight length information of wire, adds up and derives corresponding information.
As mentioned above, method of drawing distribution network line based on CAD of the present invention, has following beneficial effect:
Method of drawing distribution network line based on CAD provided by the invention, is divided into different types of pel by the entity object in distribution network line figure; And make independently metafile respectively, metafile is stored in background folder with DWG file form; In drawing layer, call corresponding metafile and be converted into pel entity, according to the corresponding attribute tags of pel solid generation, wherein, attribute tags can be expressed as different pel entities for same pel entity, stored in the type of wire in attribute tags, with a small amount of backstage metafile, the distribution network line completing various complexity is drawn; Avoid to each rod-type, bar head, bracing wire all in the loaded down with trivial details problem storing corresponding figure metasymbol, whole drawing course automatically can identify wire end points and automatically identify wire type; Introduce a bar bull, the mode of mobile jib head and time bar head is set at shaft tower, calculating drawing engineering statistics information, by adopting the difference of total shaft tower quantity and total bar head quantity, obtaining straight line pole head quantity, save the time of drawing straight line pole head, promote drawing efficiency.
Accompanying drawing explanation
Fig. 1 is shown as existing distribution network line drawing practice operational mode figure;
Fig. 2 is shown as the method flow diagram drawing distribution network line based on CAD that the embodiment of the present invention provides;
Fig. 3 be shown as that the embodiment of the present invention provides the structural framing figure drawing distribution network line based on CAD;
Fig. 4 be shown as that the embodiment of the present invention provides based on CAD to distribution network line drawing practice operational mode figure;
Fig. 5 is shown as the method overall architecture instance graph drawing distribution network line based on CAD that the embodiment of the present invention provides.
Element numbers explanation
1,10KV terminal pole head
2, tension-resistant rod head
3, straight line T extension bar
4,10KV straight line pole head
5,10KV stiffener head
6, auxiliary rod labeling head point
7, T extension bar labeling head point
31, backstage metafile storehouse
32, graphics module
33, output module is added up
S1-S5 is step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this instructions can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this instructions also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.
It should be noted that, the diagram provided in the present embodiment only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
Embodiment 1
Refer to Fig. 2, Fig. 2 is shown as the method flow diagram drawing distribution network line based on CAD provided by the invention; The method of drawing distribution network line based on CAD that the present embodiment provides, said method comprising the steps of:
In step S101, obtain the entity object in distribution network line figure, and described entity object is resolved into shaft tower, shaft tower adjunct and wire;
Wherein, The wire of described connection shaft tower adopts straight line to represent at drawing area.
In step S102, the figure metasymbol corresponding to described shaft tower, shaft tower adjunct is generated corresponding metafile, be stored in background folder with cad file form;
Wherein, described metafile calls in the Graphics Mode on foreground, represents with the form scheming metasymbol.In the present embodiment, described metafile comprises shaft tower pel and adjunct pel, and described shaft tower pel is for storing the figure metasymbol corresponding to the shaft tower entity in entity object; Described adjunct pel is for storing corresponding to the appendicular figure metasymbol of the shaft tower in entity object; Described shaft tower adjunct comprises mobile jib head and other adjuncts, and other adjuncts described comprise: secondary bar head, bracing wire and equipment, and equipment is mainly and is arranged on controller switching equipment on bar head, such as, and isolating switch, disconnector, lightning arrester, transformer etc.
The attribute information that in described pel entity attributes label, storage information and described metafile store matches; Described attribute information comprises model attribute information, numeric class attribute information and character string generic attribute label.
Described metafile makes the step of attribute tags, is specially:
According to the distribution network line actual demand of input, judge that metafile is the need of arranging primitive attribute label;
If, then to set a property label according to the actual needs of distribution network line, wherein said attribute tags comprises the model attribute tags for storing wire type, for the numeric class attribute tags of memory length and the character string generic attribute label for storing primitive attribute bookmark name;
If not, then the attribute tags of metafile is not set.
In step S103, in the drawing layer corresponding to CAD drawing area, call described metafile and the example is turned to pel entity;
Described step S103, details are as follows:
Step a1, create layer initialization document, and described layer original document is stored in background folder, and the storage of wherein said layer original document comprises entity object map data mining platform, mark map data mining platform and self-defined map data mining platform;
Described entity object map data mining platform comprises pel map data mining platform and wire map data mining platform, and wherein said wire layer comprises multiple layer, names for representing different wire types respectively with wire type;
Described pel map data mining platform, for storing the information set up and draw metafile region, backstage;
Described wire map data mining platform, for storing the wire kind of information of drafting;
Described mark map data mining platform, for storing the information of drawing and marking in engineering drawing;
Described self-defined layer, for storing the newly-built map data mining platform of user;
Step a2, when receiving newly-built drawing for order, reads in original document the information recorded, and to draw accordingly layer according to the information creating read.
In the present embodiment, by reading corresponding map data mining platform in layer initialization document, automatically create pel layer, wire layer, mark layer, self-defined layer.This layer is the necessary basis that this method realizes, and belongs to the necessary basis condition of drawing process and engineering statistics.
In step S104, obtain the respective wire model in the drawing layer selected, and by described pel entity setting up on this wire;
Wherein, select respective wire by mouse, by wire place layer, obtain the model of this wire, and by pel entity setting up on this wire;
In step S105, described wire type is stored in this pel entity attributes label;
In step S106, the pel entity in acquisition drawing layer and the straight length information of attribute tags and wire thereof, add up and derive corresponding information.
Wherein, step 6.1, obtains the straight line information in different conductor layer and sues for peace respectively, obtaining the total length of often kind of wire, and stored in table;
Step 6.2, gather the attribute tags information that all pel entities in pel layer store, judge whether store wire type in pel entity, if had, the mode of pel name+wire type is then adopted to be labeled as new pel name, if do not store the attribute tags of wire type in pel entity, then former pel name is labeled as new pel name;
Step 6.3, carries out accumulated counts to the quantity of the identical pel of new pel name, if there is number attribute label or word attribute label in pel, carries out collection and stores; And with the form of new pel name by the collection result of pel stored in table in;
Step 6.4, calculates by following formula, the pel of statistics same wire model attribute tags, and the straight line pole head quantity counting often kind of wire type is stored in table;
Straight line pole head quantity=with the shaft tower Shuo Liang – of wire type is with the mobile jib head quantity of wire type;
Step 6.5, derives the data be stored in table in a tabular form.
And whole drawing practice should follow following drawing principle, according to preferential principle, realize the setting successively of shaft tower, mobile jib head:
Step b1, judges the figure metasymbol whether wire end points inserting shaft tower, if so, then forbids inserting shaft tower pel symbol, if not, then inserts corresponding shaft tower figure metasymbol according to distribution network line actual demand;
Step b2, after described wire end points inserting corresponding shaft tower figure metasymbol, judges the figure metasymbol whether every root shaft tower comprising mobile jib head, if when comprising the figure metasymbol of mobile jib head, then forbids the figure metasymbol inserting mobile jib head;
In an embodiment, prevent from, on the same end points on same section lead, being inserted beyond more than one mobile jib head and shaft tower, affecting later stage statistical information; According to distribution network line actual demand on each end points, mobile jib head can not be inserted.
Step b3, when shaft tower not comprising mobile jib head figure metasymbol, then inserts corresponding figure metasymbol according to power distribution network actual demand or is used as straight line pole head wherein, this shaft tower also can comprise other adjuncts such as time bar head, equipment or bracing wire.
As shown in Figure 2, be a kind of system of drawing distribution network line based on CAD that the embodiment of the present invention provides, described system comprises metafile storehouse, backstage, graphics module and statistics output module;
Metafile storehouse, described backstage 31, is applicable to store shaft tower and adjunct figure metasymbol in distribution network line figure, described shaft tower is generated corresponding metafile to the figure metasymbol corresponding to described shaft tower adjunct, is stored in background folder with cad file form; And go back the layer initialization document of storage creation drawing layer;
Described graphics module 32, is applicable to read the information recorded in layer original document, and to draw accordingly layer according to the described information creating read; In the drawing layer corresponding to drawing area, call described metafile and the example is turned to pel entity; According to the wire layer at selected wire place, obtain respective wire model, and by described pel entity setting up on this wire; By the capture function of CAD, automatically can catch the end points of wire, and wire type is stored into this pel entity attributes label;
Described statistics output module 33, is applicable to obtain the pel entity in drawing layer and the attribute tags corresponding to pel entity, and the straight length information of wire, adds up and derives corresponding information.
Described graphics module 32 comprises a bar bull drafting module, and a described bar bull drafting module is used for, when calling in metafile from background folder, realizing the instantiation process of metafile according to following steps:
First operating unit, is applicable to the figure metasymbol judging whether wire end points inserts shaft tower, if so, then forbids inserting shaft tower pel symbol, if not, inserts corresponding shaft tower figure metasymbol according to distribution network line actual demand;
Second operating unit, after described wire end points inserting corresponding shaft tower figure metasymbol, judges the figure metasymbol whether every root shaft tower comprising mobile jib head, if when comprising the figure metasymbol of mobile jib head, then forbids the figure metasymbol inserting mobile jib head;
3rd operating unit, when shaft tower not comprising mobile jib head figure metasymbol, then inserts corresponding figure metasymbol according to power distribution network actual demand or is used as straight line pole head.
Described statistics output module 33 specifically comprises:
Wire statistic unit, is applicable to the straight length information obtained in different conductor layer and also sues for peace respectively, obtain the total length of the wire of often kind of specifications and models, and stored in table;
Primitive generating unit, be applicable to the attribute tags information gathering all pel entity storages in pel layer, judge whether store wire type in pel entity, if had, the mode of pel name+wire type is then adopted to be labeled as new pel name, if do not store the attribute tags of wire type in pel entity, then former pel name is labeled as new pel name;
Pel statistic unit, is applicable to carry out accumulated counts to the quantity of the identical pel of new pel name, if there is number attribute label or word attribute label in pel, carries out collection and stores; And with the form of new pel name by the collection result of pel stored in table in;
Computing unit, is applicable to calculate by following formula, the pel of statistics same wire model attribute tags, and the straight line pole head quantity counting often kind of wire type is stored in table;
Straight line pole head quantity=with the shaft tower Shuo Liang – of wire type is with the mobile jib head quantity of wire type;
Lead-out unit, is applicable to derive stored in the data in table in table form.
Embodiment 2
Refer to Fig. 4, Fig. 4 be shown as provided by the invention based on CAD to distribution network line drawing practice operational mode figure; This method introduces the backstage metafile of band attribute, and the drawing practice definition of a bar bull; With a small amount of backstage metafile, the distribution network line completing various complexity is drawn, and can carry out detailed engineering information statistics; The present embodiment adopts a small amount of backstage metafile to set up to be stored in the pel symbol database in background folder, and this metafile is provided with attribute tags, and draw at drawing area to be also subject to the restriction of the drawing rule of a bar bull simultaneously.
Wherein, the backstage metafile of band attribute tags comprises five kinds of basic rod-type in distribution network line, is respectively straight line pole, stiffener, tension-resistant rod, angle pole, terminal pole.Different or wire type is different according to electrical network grade, the material that it uses is different.As tension-resistant rod because its place environment is different, be divided into again 1KVJKLJYG-70 tension-resistant rod, 10KVJKLGYJ-95 tension-resistant rod, 10KVJKLGYJ-240 tension-resistant rod etc.Therefore, may there is different bar heads in same rod-type title, and the material of correspondence is different.
The Graphics Mode that the present embodiment provides only represents with a pel symbol on backstage with corresponding metafile for similar figure metasymbol, and add ATT attribute tags as required.When on the wire being called to plot space, the wire type of placement location can be stored in the attribute tags of pel entity object.Same pel, when plot space generates different attribute according to the lead location of placing, achieves the polynary instantiation of metafile; As foreground plot space needs to call 1KVJKLYG-70 tension-resistant rod, backstage stores only a tension-resistant rod head being with attribute tags, when being inserted on 1KVJKLYG-70 wire, then can generate the tension-resistant rod head of band 1KVJKLYG-70 attribute; Again by pel entity diversified in the drawing area of foreground and database matching of getting the raw materials ready, can realize standby go out material function, in like manner 10KVJKLYG-95 tension-resistant rod and 10KVJKLYG-240 tension-resistant rod etc. are also by the tension-resistant rod head Element generation of a band attribute in backstage.
The metafile that the present embodiment provides is definable three types attribute tags in the metafile on backstage, for meeting the diversified demand of Distribution system design.Wherein, model attribute tags is for storing wire type;
Number attribute label is used for storage of digital information, and in distribution network line drafting, wire is with physical length scale, but some situation cannot be drawn in proportion, as the length of entrance line, the bracing wire length etc. of passageway bracing wire.For meeting this kind of specific demand, under making when family table case metafile and passageway bracing wire metafile, number attribute label can be added wherein, for storage of digital information.
Word attribute label is for storing Word message, and in order to use a small amount of backstage metafile as far as possible, some identical pel represents different entities in drawing.Have holes, four holes, six holes, nine holes etc. as shown case, its expression way is made up of a square, then represents the feature of its different hole count by text description.If each table case is all based upon backstage, eight metafiles at least to be set up, set up too much metafile and be unfavorable for Fast Drawing principle, therefore, set up unique corresponding table case pel, to add word attribute label to store Word message in the attribute tags of this table case pel, when being invoked into plot space, input hole count.The function of drawing with statistics is completed to realize less backstage metafile.
The drawing rule of one bar bull is as described below:
Often can occur diversity bar head in distribution network line, modal as joint used, and for example, namely likely there is some adjuncts in same shaft tower in straight line T extension bar, strain insulator T extension bar etc.If establish employing one bar one head mould formula, so above-mentioned band T extension bar head, to joint use and how complicated bar head all needs to define on backstage, increase the capacity of background data base; If adopt the Graphics Mode of a bar bull, then can at the metafile reducing background maintenance.
One bar bull drawing practice is as follows:
Shaft tower metafile or other metafiles are all inserted on wire end points and realize that a shaft tower has multiple bar head; But same position does not allow insertion two shaft tower class metafiles.
Bar head is divided into mobile jib head and time bar head simultaneously, and do to give a definition to mobile jib head: same bar head only allows interpolation mobile jib head, or does not add, but multiple bar heads and other adjuncts can be added, therefore, the quantity of straight line pole head is calculated in the following manner;
Straight line pole head quantity=with the shaft tower Shuo Liang – of wire type is with the mobile jib head quantity of wire type.
Embodiment 3
The manufacturing process of the metafile during the present embodiment provides background to press from both sides, first user determines according to actual conditions the metafile needing foundation; Described in each metafile process of establishing is specific as follows:
1, newly-built dwg file in CAD.
2, newly-built layer, called after yin.It is hiding, shows, then, during New anyAttribute label, be placed in this layer if the attribute tags of adding is not done.
3, in acquiescence layer 0, draw corresponding pel.
4, add att attribute tags.Attribute tags has three kinds, is respectively model attribute tags, number attribute label and word attribute label, such as, according to the order of att attribute tags, inputs corresponding information in label.
Model attribute tags, for gathering wire type;
Number attribute label, for storage of digital information;
Word attribute label, for storing Word message.
5, according to arranging demand, display properties label, when described attribute tags needs display, then attribute tags is placed on 0 layer, when described attribute tags is without the need to showing, then attribute tags is placed in yin layer.
6, DWG file is kept in background folder.
7, metafile naming rule is determined because of program, and the naming rule of this program is " type _ index number _ pel name dwg ".
Embodiment 4
The distribution network line that the present embodiment provides is drawn and is comprised initialization module, graphics module and statistics output module;
Initialization module carries out according to the following steps:
First, read backstage layer initialization document, read inner map data mining platform, in the drafting interface that foreground is corresponding, set up corresponding layer.
Wherein, this layer specifically comprises:
Pel layer: place pel entity object during for drawing.
Yin layer: for hiding the primitive attribute label not needing to show and print, and and the foundation correspondence of backstage metafile.
Mark layer: for filling in markup information, as bar number, line length, legend etc.
Leads layer: dissimilar wire is drawn in different layer, program is also identify dissimilar wire according to the difference of layer.Leads layer is multiple layer, and how many and add by user's wire type according to demand, its layer naming method is wire type
Secondly, after layer initialization, generate wire layer table with wire layer title, wire layer table is stored in internal memory for subsequent use.
Finally, read the title of dwg files all in background folder, it is classified, generate chained list, this chained list is stored in internal memory for subsequent use.
In the corresponding layer that graphic plotting completes at initialization module by graphics module, e.g., wire is plotted in wire layer, and pel is plotted in pel layer; By being stored in wire layer table in internal memory and chained list in initialization, ensureing that wire is plotted in corresponding wire layer, making backstage metafile call foreground and use.
The quantities information of the pel entity of completing added up by statistics output module, and export corresponding result.
Also comprise and arrange DCL panel module, this panel is used for user interactive.
Embodiment 5
Referring to Fig. 5, is the distribution network line embodiment that the method adopting CAD to draw distribution network line completes;
In figure, two circle is 15 meters of non-prestressed electric poles, and individual pen is 15 meters of prestressed electric wire poles, and heavy line is 10kv240 wire, and fine line is 0.4KV240 wire, and dotted line is 10kv95 wire;
10KV terminal pole head 1 is provided with bracing wire, tension-resistant rod head 2 is also provided with bracing wire.
Straight line T extension bar 3 is provided with bracing wire, and this shaft tower does not arrange mobile jib head, namely other bar head is defaulted as straight line pole head, but is provided with T extension bar head 7, belongs to the shaft tower circuit of a bar bull; Not only there is straight line pole head but also there is T extension bar head in this shaft tower.
In like manner, 4 is 10kV straight line pole head.Meanwhile, be also the terminal pole head of 0.4KV wire;
10KV stiffener head 5 is provided with bracing wire;
Tension-resistant rod head 2, straight line T extension bar 3 and 10KV straight line pole head 4 are also provided with 0.4KV wire, for joint using shaft tower simultaneously;
Auxiliary rod labeling head point 6 is added with in tension-resistant rod head 2, straight line T extension bar 3 and 10KV straight line pole head 4 lower right; Its content for storing the auxiliary rod header of place shaft tower, and when drawing prints, is not presented on the drawing of printing by this auxiliary rod labeling head point 6, time only for adding up shaft tower information, carries out analyzing and processing to this shaft tower auxiliary rod header.
The present embodiment provides the derivation process of drawing engineering statistics information, and detailed process is as follows:
Straight line in different conductor layer is sued for peace respectively, obtains the total length of often kind of wire, and stored in table;
Can draw:
Title Quantity (rice)
|10kV150 63
|10kV240 153
|1kV70 83
Gather the adjunct such as shaft tower, bar head, bracing wire of all pel entities in pel layer.
Adopt the mode of pel name+wire type to be labeled as new pel name, if there is no the attribute tags of wire type in pel, then former pel name is labeled as new pel name;
Name new in must publishing picture is called: L single stay | 10kV150, L single stay | and 10kV240, D terminal | 10kV150, D terminal | 10kV240, D corner | 10kV150, D strengthen | and 10kV150, FT meet master | and 10kV150, G15 are non-, G12 is non-, F terminal 1kV70, F straight line | 1kV70.Totally 11 kinds dissimilar.
Accumulated counts is carried out to the quantity of the identical pel of new pel name, if there is number attribute label or word attribute label in pel, carries out collection and store; Finally, with the form of new pel name by the collection result of pel stored in table in;
Title Quantity
D_ corner | 10kV150 1
D strengthens | 10kV150 1
D terminal | 10kV150 1
D terminal | 10kV240 2
FT meets master | 10kV150 1
L single stay | 10kV150 4
L single stay | 10kV240 2
G12 is non- 3
G15 is non- 4
F straight line | 1kV70 1
F terminal | 1kV70 2
To the pel with same wire model attribute tags, calculate as follows:
Wire of the same type: straight line pole head quantity=with the shaft tower Shuo Liang – of wire type is with the mobile jib head quantity of wire type
Straight line pole head quantity under often kind of wire type is stored in table;
Title Quantity
D straight line pole | 10kV150 0
D straight line pole | 10kV240 2
Derive stored in the data in table in table form.
Title Quantity
D_ corner | 10kV150 1
D strengthens | 10kV150 1
D terminal | 10kV150 1
D terminal | 10kV240 2
FT meets master | 10kV150 1
L single stay | 10kV150 4
L single stay | 10kV240 2
G12 is non- 3
G15 is non- 4
F straight line | 1kV70 1
F terminal | 1kV70 2
D straight line pole | 10kV150 0
D straight line pole | 10kV240 2
|10kV150 63
|10kV240 153
|1kV70 83
In sum, a kind of method of drawing distribution network line based on CAD provided by the invention, entity object in distribution network line figure is divided into different types of figure metasymbol, be made into the metafile of band attribute respectively, and metafile is classified, introduce the drafting mode of a bar bull, can with a small amount of backstage metafile, the distribution network line completing various complexity is drawn; Avoid each rod-type, bar head, bracing wire all in the loaded down with trivial details problem storing corresponding figure metasymbol.During statistics, form new pel name with metafile and model attribute thereof, calculate the difference of shaft tower and mobile jib head, draw straight line pole head quantity.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (10)

1. draw a method for distribution network line based on CAD, it is characterized in that, said method comprising the steps of:
Step 1, obtains the entity object in distribution network line figure, and described entity object is resolved into shaft tower, shaft tower adjunct and wire;
Step 2, generates corresponding metafile by the figure metasymbol corresponding to described shaft tower, shaft tower adjunct, is stored in background folder with cad file form;
Step 3, in the drawing layer corresponding to CAD drawing area, calls described metafile and the example is turned to pel entity;
Step 4, obtain the respective wire model in the drawing layer selected, and by described pel entity setting up on this wire;
Step 5, is stored in this pel entity attributes label by described wire type;
Step 6, the pel entity in acquisition drawing layer and the straight length information of attribute tags and wire thereof, add up and derive corresponding information.
2. method of drawing distribution network line based on CAD according to claim 1, it is characterized in that, described metafile comprises shaft tower pel and adjunct pel, and described shaft tower pel is for storing the figure metasymbol corresponding to the shaft tower entity in entity object; Described adjunct pel is for storing corresponding to the appendicular figure metasymbol of the shaft tower in entity object; Described shaft tower adjunct comprises mobile jib head and other adjuncts, and other adjuncts described comprise time bar head, bracing wire and equipment.
3. method of drawing distribution network line based on CAD according to claim 1, is characterized in that, described metafile generates the step of attribute tags, is specially:
According to the distribution network line actual demand of input, judge that metafile is the need of arranging primitive attribute label;
If, then to set a property label according to the actual needs of distribution network line, wherein said attribute tags comprises the model attribute tags for storing wire type, for the numeric class attribute tags of memory length and the character string generic attribute label for storing primitive attribute bookmark name;
If not, then the attribute tags of metafile is not set.
4. method of drawing distribution network line based on CAD according to claim 3, it is characterized in that, the attribute information that in described pel entity attributes label, storage information and described metafile store matches; Described attribute information comprises model attribute information, numeric class attribute information and character string generic attribute label.
5. method of drawing distribution network line based on CAD according to claim 1, it is characterized in that, described step 3 specifically comprises:
Step a1, create layer initialization document, and described layer original document is stored in background folder, and the storage of wherein said layer original document comprises entity object map data mining platform, mark map data mining platform and self-defined map data mining platform;
Described entity object map data mining platform comprises pel map data mining platform and wire map data mining platform, and wherein said wire layer comprises multiple layer, respectively with wire type name, for representing different wire types;
Described pel map data mining platform, for storing the information set up and draw metafile region, backstage;
Described wire map data mining platform, for storing the wire kind of information of drafting;
Described mark map data mining platform, for storing the information of drawing and marking in engineering drawing;
Described self-defined layer, for storing the newly-built map data mining platform of user;
Step a2, when receiving newly-built drawing for order, reads in original document the information recorded, and to draw accordingly layer according to the information creating read.
6. method of drawing distribution network line based on CAD according to claim 1, is characterized in that, also comprise:
Step b1, judges the figure metasymbol whether wire end points inserting shaft tower, if so, then forbids inserting shaft tower metafile, if not, then inserts corresponding shaft tower figure metasymbol according to distribution network line actual demand;
Step b2, when described wire end points being inserted with corresponding shaft tower figure metasymbol, judges the figure metasymbol whether every root shaft tower comprising mobile jib head, if when comprising the figure metasymbol of mobile jib head, then forbids the figure metasymbol inserting mobile jib head;
Step b3, when shaft tower not comprising mobile jib head figure metasymbol, then inserts corresponding figure metasymbol according to power distribution network actual demand or is used as straight line pole head.
7. method of drawing distribution network line based on CAD according to claim 1, it is characterized in that, described step 6 specifically comprises:
Step 6.1, obtains the straight line information in different conductor layer and sues for peace respectively, obtaining the total length of often kind of wire, and stored in table;
Step 6.2, gather the attribute tags information that all pel entities in pel layer store, judge whether store wire type in pel entity, if had, the mode of pel name+wire type is then adopted to be labeled as new pel name, if do not store the attribute tags of wire type in pel entity, then former pel name is labeled as new pel name;
Step 6.3, carries out accumulated counts to the quantity of the identical pel of new pel name, if there is number attribute label or word attribute label in pel, carries out collection and stores; And with the form of new pel name by the collection result of pel stored in table in;
Step 6.4, calculates by following formula, the pel of statistics same wire model attribute tags, and the straight line pole head quantity counting often kind of wire type is stored in table;
Straight line pole head quantity=with the shaft tower Shuo Liang – of wire type is with the mobile jib head quantity of wire type;
Step 6.5, derives the data be stored in table in a tabular form.
8. draw a system for distribution network line based on CAD, it is characterized in that, described system comprises metafile storehouse, backstage, graphics module and statistics output module;
Metafile storehouse, described backstage, is applicable to store shaft tower and adjunct figure metasymbol in distribution network line figure, and described shaft tower is generated corresponding metafile to the figure metasymbol corresponding to described shaft tower adjunct, is stored in background folder with cad file form; And be also applicable to the original document of storage creation drawing init state;
Described graphics module, is applicable to read the information recorded in this original document, and to draw accordingly layer according to the described information creating read; In the drawing layer corresponding to drawing area, call described metafile and the example is turned to pel entity; Obtain the respective wire model in the drawing layer selected, and by described pel entity setting up on this wire end points; The attribute tags corresponding according to pel solid generation, and wire type is stored into this pel entity attributes label;
Described statistics output module, is applicable to obtain the pel entity in drawing layer and the attribute tags corresponding to pel entity, and the straight length information of wire, adds up and derives corresponding information.
9. system of drawing distribution network line based on CAD according to claim 8, it is characterized in that, described graphics module comprises a bar bull drafting module, a described bar bull drafting module is used for, when calling in metafile from background folder, realizing the instantiation process of metafile according to following steps:
First operating unit, is applicable to the figure metasymbol judging whether wire end points inserts shaft tower, if so, then forbids inserting shaft tower pel symbol, if not, inserts corresponding shaft tower figure metasymbol according to distribution network line actual demand;
Second operating unit, when described wire end points being inserted with corresponding shaft tower figure metasymbol, judges the figure metasymbol whether every root shaft tower comprising mobile jib head, if when comprising the figure metasymbol of mobile jib head, then forbids the figure metasymbol inserting mobile jib head;
3rd operating unit, when shaft tower not comprising mobile jib head figure metasymbol, then inserts corresponding figure metasymbol according to power distribution network actual demand or is used as straight line pole head.
10. the system of distribution network line drawn by base according to claim 8 based on CAD, and it is characterized in that, described statistics output module specifically comprises:
Wire statistic unit, is applicable to the straight line information obtained in different conductor layer and also sues for peace respectively, obtain the total length of often kind of wire, and stored in table;
Primitive generating unit, be applicable to the attribute tags information gathering all pel entity storages in pel layer, judge whether store wire type in pel entity, if had, the mode of pel name+wire type is then adopted to be labeled as new pel name, if do not store the attribute tags of wire type in pel entity, then former pel name is labeled as new pel name;
Pel statistic unit, is applicable to carry out accumulated counts to the quantity of the identical pel of new pel name, if there is number attribute label or word attribute label in pel, carries out collection and stores; And with the form of new pel name by the collection result of pel stored in table in; Wherein, when the pel of same wire model attribute tags is added up, calculate as follows:
Straight line pole head quantity=with the shaft tower Shuo Liang – of wire type is with the mobile jib head quantity of wire type;
The straight line pole head quantity of often kind of wire type is stored in table;
Lead-out unit, is applicable to derive stored in the data in table in table form.
CN201510575045.6A 2015-09-11 2015-09-11 The method and system of distribution network line are drawn based on CAD Active CN105046032B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510575045.6A CN105046032B (en) 2015-09-11 2015-09-11 The method and system of distribution network line are drawn based on CAD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510575045.6A CN105046032B (en) 2015-09-11 2015-09-11 The method and system of distribution network line are drawn based on CAD

Publications (2)

Publication Number Publication Date
CN105046032A true CN105046032A (en) 2015-11-11
CN105046032B CN105046032B (en) 2018-08-31

Family

ID=54452573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510575045.6A Active CN105046032B (en) 2015-09-11 2015-09-11 The method and system of distribution network line are drawn based on CAD

Country Status (1)

Country Link
CN (1) CN105046032B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106168997A (en) * 2016-07-04 2016-11-30 朱桂永 The method of dispensing in the design of a kind of distribution network line
CN107239459A (en) * 2016-03-28 2017-10-10 阿里巴巴集团控股有限公司 Entity contact map methods of exhibiting and device
CN108563898A (en) * 2018-04-26 2018-09-21 福建积微科技有限公司 A kind of man-machine interactive power grid single wire digital modeling method
CN109711032A (en) * 2018-12-21 2019-05-03 中铁第四勘察设计院集团有限公司 A kind of railway signal circuit combined bay side terminal wiring method
CN110096782A (en) * 2019-04-24 2019-08-06 中国石油天然气集团有限公司 A kind of oil-gas pipeline engineering power cable minute design method
CN110188434A (en) * 2019-05-21 2019-08-30 国网山东省电力公司德州供电公司 A kind of framework method of Distribution system design platform
CN110427142A (en) * 2019-07-29 2019-11-08 成都科鸿智信科技有限公司 A kind of special equipment supervising platform drawing tools based on Html5 canvas forming label
CN111967114A (en) * 2020-08-17 2020-11-20 深圳市安冠科技有限公司 Drawing method of equipment wiring diagram
CN112529541A (en) * 2020-12-25 2021-03-19 山东鲁能软件技术有限公司 Method and system for generating equipment measurement label in distribution network line diagram
CN112560206A (en) * 2020-11-23 2021-03-26 国网山东省电力公司青岛供电公司 Method and system for automatically drawing power transmission line edge layout by CAD
CN113626900A (en) * 2021-08-05 2021-11-09 复旦大学 Facility asset icon generation method and system for road comprehensive rod system
CN114021415A (en) * 2021-12-28 2022-02-08 国网江苏省电力有限公司南京供电分公司 Site selection method for power distribution network switching station in planned area
CN114547743A (en) * 2022-02-21 2022-05-27 阳光新能源开发股份有限公司 Method and device for processing road data of CAD (computer-aided design) drawing and nonvolatile storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202374041U (en) * 2011-08-18 2012-08-08 武汉武新电气科技有限公司 Design apparatus for intelligent distribution room of power distribution network
CN103150425A (en) * 2013-02-06 2013-06-12 上海交通大学 Automatic generation method used for single line diagram of distribution network and based on topological hierarchy
CN103235838A (en) * 2012-09-25 2013-08-07 苏州瑞盈科技有限公司 Automatic graph crossing connection method used for power distribution network
CN103646116A (en) * 2013-12-26 2014-03-19 杭州国电电气设备有限公司 Method and device for creating graphical interface of equipment in distribution network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202374041U (en) * 2011-08-18 2012-08-08 武汉武新电气科技有限公司 Design apparatus for intelligent distribution room of power distribution network
CN103235838A (en) * 2012-09-25 2013-08-07 苏州瑞盈科技有限公司 Automatic graph crossing connection method used for power distribution network
CN103150425A (en) * 2013-02-06 2013-06-12 上海交通大学 Automatic generation method used for single line diagram of distribution network and based on topological hierarchy
CN103646116A (en) * 2013-12-26 2014-03-19 杭州国电电气设备有限公司 Method and device for creating graphical interface of equipment in distribution network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
傅月龙等: ""利用CAD制作线路走向图"", 《农村电工》 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107239459A (en) * 2016-03-28 2017-10-10 阿里巴巴集团控股有限公司 Entity contact map methods of exhibiting and device
CN106168997B (en) * 2016-07-04 2019-04-19 朱桂永 The method of ingredient in a kind of design of distribution network line
CN106168997A (en) * 2016-07-04 2016-11-30 朱桂永 The method of dispensing in the design of a kind of distribution network line
CN108563898B (en) * 2018-04-26 2021-10-26 福建永福信息科技有限公司 Man-machine interactive single-line digital modeling method for power grid
CN108563898A (en) * 2018-04-26 2018-09-21 福建积微科技有限公司 A kind of man-machine interactive power grid single wire digital modeling method
CN109711032A (en) * 2018-12-21 2019-05-03 中铁第四勘察设计院集团有限公司 A kind of railway signal circuit combined bay side terminal wiring method
CN109711032B (en) * 2018-12-21 2022-04-12 中铁第四勘察设计院集团有限公司 Railway signal circuit combined frame side terminal wiring method
CN110096782A (en) * 2019-04-24 2019-08-06 中国石油天然气集团有限公司 A kind of oil-gas pipeline engineering power cable minute design method
CN110188434A (en) * 2019-05-21 2019-08-30 国网山东省电力公司德州供电公司 A kind of framework method of Distribution system design platform
CN110188434B (en) * 2019-05-21 2020-01-21 国网山东省电力公司德州供电公司 Architecture method of power distribution network design platform
CN110427142A (en) * 2019-07-29 2019-11-08 成都科鸿智信科技有限公司 A kind of special equipment supervising platform drawing tools based on Html5 canvas forming label
CN111967114A (en) * 2020-08-17 2020-11-20 深圳市安冠科技有限公司 Drawing method of equipment wiring diagram
CN111967114B (en) * 2020-08-17 2024-02-02 深圳市安冠科技有限公司 Drawing method of equipment wiring diagram
CN112560206A (en) * 2020-11-23 2021-03-26 国网山东省电力公司青岛供电公司 Method and system for automatically drawing power transmission line edge layout by CAD
CN112529541A (en) * 2020-12-25 2021-03-19 山东鲁能软件技术有限公司 Method and system for generating equipment measurement label in distribution network line diagram
CN113626900A (en) * 2021-08-05 2021-11-09 复旦大学 Facility asset icon generation method and system for road comprehensive rod system
CN114021415A (en) * 2021-12-28 2022-02-08 国网江苏省电力有限公司南京供电分公司 Site selection method for power distribution network switching station in planned area
CN114547743A (en) * 2022-02-21 2022-05-27 阳光新能源开发股份有限公司 Method and device for processing road data of CAD (computer-aided design) drawing and nonvolatile storage medium

Also Published As

Publication number Publication date
CN105046032B (en) 2018-08-31

Similar Documents

Publication Publication Date Title
CN105046032A (en) Method and system for drawing power distribution network based on CAD
WO2023029388A1 (en) Cim model-based auxiliary power distribution network planning method and system
CN104376416B (en) Production Managementsystem For Electricpower Network and dispatch automated system graphic interaction method
CN103970887B (en) A kind of information flow display system and method based on GIS power distribution network figures
CN105138793A (en) Rapid distribution line drawing method
CN102377246B (en) Graphic instantiation method based on IEC61850 fault analysis system
CN103559355A (en) SVG (Scalable Vector Graphics) technology-based distribution network modeling system
CN103927332A (en) IEC (international electrotechnical commission) 61850-based visual graphics configuration method and IEC61850-based visual graphics configuration system
CN112507499A (en) GIS-based power distribution network line loss data acquisition method and related device
CN108153965B (en) Method for automatically generating interval chart based on SCD file
CN106201645B (en) A kind of data file transition method
CN106294562A (en) A kind of electric network information methods of exhibiting and device
CN103336873A (en) Method for intelligent and batch KKS encoding of three-dimension design of transformer substation
CN105512235A (en) GIS and AutoCAD data exchange method and intermediate file
CN105184011A (en) Automatic transformer substation WEB primary connection diagram forming method and device
CN104168138A (en) Electric power communication network system centralized topology generation and display method
CN101916269B (en) The generation method of power grid SVG graphic file, described graphic file and generation system
CN104881739B (en) Data consistency verification method is matched somebody with somebody by a kind of battalion based on IEC61970/61968 CIM standards
CN108509689A (en) A kind of electrical figure dynamic creation method towards intelligent substation
CN103412741B (en) The transformer SVG graphic joining method and system of association CIM
CN104240142A (en) Version difference highly-visualized exhibition method for intelligent substation secondary system configuration
CN105095599A (en) DWG format drawing automatic generation method
CN109086515A (en) The modeling method of primary equipment pictorial information in intelligent substation SSD based on SVG
CN104573208A (en) GIS (Geographic Information System)-based distribution network wiring diagram mapping method
CN104391965A (en) Method for graphically displaying ICD [IED (intelligent electronic device) capability description] virtual terminals of intelligent substations

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Feng Xiaolin

Inventor after: Yang Xiaoling

Inventor after: Cui Hongfeng

Inventor after: Wang Bo

Inventor after: Chen Jianhui

Inventor after: Ji Xiaobin

Inventor after: Bian Chunyan

Inventor after: Wang Haibing

Inventor after: Sun Weifang

Inventor after: Zhang Xiuhua

Inventor after: Zheng Shengzhu

Inventor after: Guo Qifeng

Inventor before: Feng Xiaolin

Inventor before: Yang Xiaoling

Inventor before: Cui Hongfeng

Inventor before: Wang Bo

Inventor before: Chen Jianhui

Inventor before: Ji Xiaobin

Inventor before: Bian Chunyan

Inventor before: Wang Haibing

Inventor before: Sun Wenfang

Inventor before: Zhang Xianghua

Inventor before: Zheng Shengzhu

Inventor before: Guo Qifeng

GR01 Patent grant
GR01 Patent grant