CN111539085A - Automatic chart generation system and method - Google Patents
Automatic chart generation system and method Download PDFInfo
- Publication number
- CN111539085A CN111539085A CN202010053035.7A CN202010053035A CN111539085A CN 111539085 A CN111539085 A CN 111539085A CN 202010053035 A CN202010053035 A CN 202010053035A CN 111539085 A CN111539085 A CN 111539085A
- Authority
- CN
- China
- Prior art keywords
- model
- module
- objects
- wiring
- node
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 13
- 238000010586 diagram Methods 0.000 claims abstract description 43
- 238000000605 extraction Methods 0.000 claims abstract description 30
- 230000008676 import Effects 0.000 claims abstract description 14
- 239000000284 extract Substances 0.000 claims description 2
- 230000010354 integration Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/18—Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/39—Circuit design at the physical level
- G06F30/392—Floor-planning or layout, e.g. partitioning or placement
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/04—Power grid distribution networks
Abstract
The invention discloses a system and a method for automatically generating a chart, which have the technical scheme key points that: the method comprises a model import module, a model extraction and identification module and a chart generation module, and is characterized in that: the model extraction and identification module utilizes topology to extract a required sub-model object from the model import module for identification, and the diagram generation module automatically generates and generates a primary wiring diagram after the identification is completed.
Description
Technical Field
The invention relates to the field of electric power, in particular to a chart automatic generation system and a chart automatic generation method.
Background
With the rapid development of national economy, the power consumption demand rises year by year, the scale of a power system is continuously enlarged, and a power grid wiring diagram is more and more complex. Therefore, on one hand, the power grid wiring diagram is very difficult to draw only manually, and the workload is huge; on the other hand, the information integration requirement between service systems independently constructed by the current power department is continuously increased, but the current different systems lack a uniform definition standard for the same electrical equipment primitives, so that the graph interaction capacity between the different systems is relatively insufficient.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a chart automatic generation system and a chart automatic generation method which are convenient and fast to operate.
In order to achieve the purpose, the invention provides the following technical scheme:
the automatic diagram generation system comprises a model import module, a model extraction and identification module and a diagram generation module, wherein a plurality of model files are imported into the model import module, the model extraction and identification module and the diagram generation module are electrically connected in sequence, the model extraction and identification module utilizes topology to extract a required sub-model object from the model import module for identification, and a primary wiring diagram is automatically generated and generated through the diagram generation module after the identification is completed.
Furthermore, the model importing module allocates an integrated model engine, the model files are imported into the allocated integrated model engine through a file uploading interface, the allocated integrated model engine performs boundary processing on the uploaded model files, the processed model files are stored in a middle library mode, and the allocated integrated model engine is electrically connected with the model extraction and identification module.
Furthermore, the model extraction and identification module comprises a model extraction module and an object identification module, the model extraction module is electrically connected with the allocation integrated model engine and the object identification module respectively, the model file processed by the allocation integrated model engine is extracted out through the model extraction module and transmitted to the object identification module, the object identification module constructs a combined equipment object according to the bus information, and the object identification module is electrically connected with the chart generation module.
Furthermore, the diagram generating module comprises a primitive layout module and a graph wiring module, the primitive layout module is electrically connected with the object identification module and the graph wiring module respectively, the primitive layout module completes the layering work of the graph objects by adopting a depth algorithm and calculates the attribute of each graph object, and the graph wiring module completes the wiring by adopting a circuit channel wiring algorithm.
The automatic generating system and method of the chart comprise the following processes:
model import: importing a plurality of model files, and importing the model files through a file uploading interface to form a plurality of sub-model objects;
(II) boundary processing: the system carries out boundary processing on a plurality of sub-model objects by allocating an integrated model engine;
(III) model extraction: extracting sub-model objects which accord with rules from a model engine based on the requirements of the single line diagram, the contact diagram and the power supply path diagram 3, and automatically storing the sub-models which are formed into the diagrams in an intermediate format file;
(IV) object recognition: traversing each bus node object from the model set, pressing a human queue, popping out a first node, pressing the non-visited node associated with the first node through a switch and a disconnecting link, and stopping once combined identification when the queue is empty, or turning to the previous step;
(V) primitive layout: an improved hierarchical layout mode is adopted, the hierarchical work of graphic objects (switches, disconnecting links, feeder lines, combination equipment and the like) is completed by analyzing the basic characteristics of a common single line diagram, a contact diagram and a power supply path diagram and adopting a depth algorithm, and meanwhile, the attributes of the graphic objects are calculated;
(VI) pattern wiring: and (3) setting related track objects according to the types of corresponding primitives in each channel by adopting a circuit channel wiring algorithm, wherein one channel comprises a plurality of track objects, and after object identification and primitive layout, a primitive node can be placed at each position (i, j) in a logic background grid, and the node can be a topological node or a combination device. After the graphic primitives are subjected to specific layout, the adjacent nodes or combination equipment are ensured to be placed on adjacent layers, channel grids are arranged in 4 directions of the upper side, the lower side, the left side and the right side of each logic position for convenient wiring, each channel can contain a series of track objects, and the connection between the nodes or the combination equipment and the nodes or the combination equipment is completed through specific track combination.
The invention has the beneficial effects that:
the automatic generation of the primary wiring diagram is realized by arranging the model import module, the model extraction and identification module and the diagram generation module, and compared with manual drawing, the automatic generation of the primary wiring diagram is more accurate and faster, and the diagram interaction capacity among different systems is enhanced by the model identification module.
Drawings
FIG. 1 is a structural frame diagram of the present invention;
FIG. 2 is a flow chart of the operation of the object recognition module of the present invention;
FIG. 3 is a flow chart of the operation of the graphic wiring module of the present invention.
Reference numerals: 1. allocating an integrated model engine; 2. a model extraction module; 3. an object recognition module; 4. a primitive layout module; 5. and a graphic wiring module.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. In which like parts are designated by like reference numerals. It should be noted that the terms "front," "back," "left," "right," "upper" and "lower" used in the following description refer to directions in the drawings, and the terms "bottom" and "top," "inner" and "outer" refer to directions toward and away from, respectively, the geometric center of a particular component.
Referring to fig. 1 to 3, the working principle of the present invention is: model files are imported, the model files are imported through a file uploading interface, boundary processing is carried out through a model engine, after the model processing is finished, the model is extracted, a combined equipment object is established through object identification, meanwhile, the position of a relevant model node is preliminarily determined through width searching in the primitive layout process, then the node position is moved according to the node information of the graph object, the symmetry of the whole graph is achieved, the wiring trend among the primitives is calculated according to the channel information among the primitives in the graph layout, and the connection between the node or the combined equipment and the node or the combined equipment is finished through specific track combination.
In order to achieve the purpose, the invention provides the following technical scheme:
the automatic diagram generation system comprises a model import module, a model extraction identification module and a diagram generation module, wherein a plurality of model files are imported into the model import module, the model extraction identification module and the diagram generation module are electrically connected in sequence, the model extraction identification module utilizes topology to extract a required sub-model object from the model import module for identification, and a primary wiring diagram is automatically generated and generated through the diagram generation module after the identification is completed.
As an improved specific embodiment, the model importing module allocates the integrated model engine 1, a plurality of model files are imported into the allocation integrated model engine 1 through the file uploading interface, the allocation integrated model engine 1 performs boundary processing on the uploaded model files, the processed model files are stored in a middle library form, and the allocation integrated model engine 1 and the model extraction and identification module are electrically connected with each other.
The allocation integrated model engine 1 adopts standard CIM to complete the unified modeling work of the power grid, and realizes the boundary splicing processing of the allocation model.
As an improved specific implementation mode, the model extraction and identification module comprises a model extraction module 2 and an object identification module 3, the model extraction module 2 is electrically connected with the deployment integration model engine 1 and the object identification module 3 respectively, the model file processed by the deployment integration model engine 1 extracts the model through the model extraction module 2 and transmits the model to the object identification module 3, the object identification module 3 constructs a combined equipment object according to bus information, and the object identification module 3 is electrically connected with the chart generation module.
As an improved specific embodiment, the graph generating module includes a primitive layout module 4 and a graph routing module 5, the primitive layout module 4 is electrically connected to the object identifying module 3 and the graph routing module 5, the primitive layout module 4 uses a depth algorithm to complete the layering of the graph objects, and calculates the attributes of the graph objects, and the graph routing module 5 uses a circuit channel routing algorithm to complete the routing.
In order to ensure loose coupling of application, shield difference of different system platforms, and automatically store sub-models of image forming in intermediate format files
The automatic generating system and method of the chart comprise the following processes:
model import: importing a plurality of model files, and importing the model files through a file uploading interface to form a plurality of sub-model objects;
(II) boundary processing: the system carries out boundary processing on a plurality of sub-model objects by allocating an integrated model engine 1;
(III) model extraction: extracting sub-model objects which accord with rules from a model engine based on the requirements of the single line diagram, the contact diagram and the power supply path diagram 3, and automatically storing the sub-models which are formed into the diagrams in an intermediate format file;
(IV) object recognition: traversing each bus node object from the model set, pressing a human queue, popping out a first node, pressing the non-visited node associated with the first node through a switch and a disconnecting link, and stopping once combined identification when the queue is empty, or turning to the previous step;
(V) primitive layout: an improved hierarchical layout mode is adopted, the hierarchical work of graphic objects (switches, disconnecting links, feeder lines, combination equipment and the like) is completed by analyzing the basic characteristics of a common single line diagram, a contact diagram and a power supply path diagram and adopting a depth algorithm, and meanwhile, the attributes of the graphic objects are calculated;
(VI) pattern wiring: and (3) setting related track objects according to the types of corresponding primitives in each channel by adopting a circuit channel wiring algorithm, wherein one channel comprises a plurality of track objects, and after object identification and primitive layout, a primitive node can be placed at each position (i, j) in a logic background grid, and the node can be a topological node or a combination device. After the graphic primitives are subjected to specific layout, the adjacent nodes or combination equipment are ensured to be placed on adjacent layers, channel grids are arranged in 4 directions of the upper side, the lower side, the left side and the right side of each logic position for convenient wiring, each channel can contain a series of track objects, and the connection between the nodes or the combination equipment and the nodes or the combination equipment is completed through specific track combination.
The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments, and all technical solutions belonging to the idea of the present invention belong to the protection scope of the present invention. It should be noted that modifications and embellishments within the scope of the invention may occur to those skilled in the art without departing from the principle of the invention, and are considered to be within the scope of the invention.
Claims (5)
1. The automatic chart generation system comprises a model import module, a model extraction and identification module and a chart generation module, and is characterized in that: the model extraction and identification module utilizes topology to extract a required sub-model object from the model import module for identification, and the diagram generation module automatically generates and generates a primary wiring diagram after the identification is completed.
2. An automatic chart generation system according to claim 1, wherein: the model importing module allocates an integrated model engine (1), the model files are imported into the allocated integrated model engine (1) through a file uploading interface, the allocated integrated model engine (1) carries out boundary processing on the uploaded model files, the processed model files are stored in a middle library mode, and the allocated integrated model engine (1) is electrically connected with the model extraction and identification module.
3. An automatic chart generation system according to claim 2, wherein: the model extraction and identification module comprises a model extraction module (2) and an object identification module (3), the model extraction module (2) is respectively and electrically connected with the allocation integrated model engine (1) and the object identification module (3), a model file processed by the allocation integrated model engine (1) extracts the model through the model extraction module (2) and transmits the model to the object identification module (3), the object identification module (3) constructs a combined equipment object according to bus information, and the object identification module (3) is electrically connected with the chart generation module.
4. An automatic chart generation system according to claim 2, wherein: the chart generation module comprises a primitive layout module (4) and a graph wiring module (5), the primitive layout module (4) is electrically connected with the object identification module (3) and the graph wiring module (5) respectively, the primitive layout module (4) completes the layering work of the graph objects by adopting a depth algorithm and calculates the attributes of the graph objects at the same time, and the graph wiring module (5) completes the wiring by adopting a circuit channel wiring algorithm.
5. An automatic chart generation system and method are characterized in that: the method comprises the following steps:
model import: importing a plurality of model files, and importing the model files through a file uploading interface to form a plurality of sub-model objects;
(II) boundary processing: the system carries out boundary processing on a plurality of sub-model objects by allocating an integrated model engine (1);
(III) model extraction: extracting sub-model objects which accord with rules from a model engine based on the requirements of the single line diagram, the contact diagram and the power supply path diagram 3, and automatically storing the sub-models which are formed into the diagrams in an intermediate format file;
(IV) object recognition: traversing each bus node object from the model set, pressing a human queue, popping out a first node, pressing the human queue by the node which is not visited and is associated with the first node through a switch and a disconnecting link, and stopping once combined identification when the queue is empty, or turning to the previous step;
(V) primitive layout: an improved hierarchical layout mode is adopted, the hierarchical work of graphic objects (switches, disconnecting links, feeder lines, combination equipment and the like) is completed by analyzing the basic characteristics of a common single line diagram, a contact diagram and a power supply path diagram and adopting a depth algorithm, and meanwhile, the attributes of the graphic objects are calculated;
(VI) pattern wiring: and (3) setting related track objects according to the types of corresponding primitives in each channel by adopting a circuit channel wiring algorithm, wherein one channel comprises a plurality of track objects, and after object identification and primitive layout, a primitive node can be placed at each position (i, j) in a logic background grid, and the node can be a topological node or a combination device. After the graphic primitives are subjected to specific layout, the adjacent nodes or combination equipment are ensured to be placed on adjacent layers, channel grids are arranged in 4 directions of the upper side, the lower side, the left side and the right side of each logic position for convenient wiring, each channel can contain a series of track objects, and the connection between the nodes or the combination equipment and the nodes or the combination equipment is completed through specific track combination.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010053035.7A CN111539085A (en) | 2020-01-17 | 2020-01-17 | Automatic chart generation system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010053035.7A CN111539085A (en) | 2020-01-17 | 2020-01-17 | Automatic chart generation system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111539085A true CN111539085A (en) | 2020-08-14 |
Family
ID=71976667
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010053035.7A Pending CN111539085A (en) | 2020-01-17 | 2020-01-17 | Automatic chart generation system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111539085A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101436790A (en) * | 2008-12-26 | 2009-05-20 | 北京市电力公司调度通信中心 | On-line splicing and coalition method for electric network model containing complex T connection line |
CN101976248A (en) * | 2010-10-15 | 2011-02-16 | 陕西电力科学研究院 | Method for rapidly identifying environmental risk of power transmission and transformation project |
CN104133943A (en) * | 2014-07-08 | 2014-11-05 | 国家电网公司 | Distribution network pattern automatic generating method based on target guide |
CN105488269A (en) * | 2015-11-29 | 2016-04-13 | 国家电网公司 | CIM based automatic graph-forming system for power transmission and distribution network |
CN108126209A (en) * | 2017-11-21 | 2018-06-08 | 中山大学 | Nanoscale medicine delivery system and its application of a kind of sequential release curcumin and chemotherapeutics |
CN108988315A (en) * | 2018-06-15 | 2018-12-11 | 国电南瑞科技股份有限公司 | A kind of automatic mapping method based on unit style electricity distribution network model |
-
2020
- 2020-01-17 CN CN202010053035.7A patent/CN111539085A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101436790A (en) * | 2008-12-26 | 2009-05-20 | 北京市电力公司调度通信中心 | On-line splicing and coalition method for electric network model containing complex T connection line |
CN101976248A (en) * | 2010-10-15 | 2011-02-16 | 陕西电力科学研究院 | Method for rapidly identifying environmental risk of power transmission and transformation project |
CN104133943A (en) * | 2014-07-08 | 2014-11-05 | 国家电网公司 | Distribution network pattern automatic generating method based on target guide |
CN105488269A (en) * | 2015-11-29 | 2016-04-13 | 国家电网公司 | CIM based automatic graph-forming system for power transmission and distribution network |
CN108126209A (en) * | 2017-11-21 | 2018-06-08 | 中山大学 | Nanoscale medicine delivery system and its application of a kind of sequential release curcumin and chemotherapeutics |
CN108988315A (en) * | 2018-06-15 | 2018-12-11 | 国电南瑞科技股份有限公司 | A kind of automatic mapping method based on unit style electricity distribution network model |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104133943B (en) | Based on goal-oriented distribution figure automatic generation method | |
CN102403718B (en) | Generating method for power grid topological relationship based on Arcgis | |
CN102622463A (en) | Drawing-model uniformity based method for automatic check of design drawings | |
CN113378011B (en) | Construction method and system of complex product assembly digital twin body | |
CN105701289B (en) | A kind of integrated solution of full-automatic wiring harness processing device | |
CN108988315B (en) | Automatic mapping method based on unit-based power grid model | |
CN106910140B (en) | SVG format-based power system wiring diagram network topology analysis method | |
CN103020786A (en) | Subblock topology generating method and entire-network topology information acquisition control method for power system | |
CN105787142B (en) | A kind of three-dimensional automatic design method and system of aircraft cable | |
CN111695174A (en) | BIM-based equipment layout space planning method in railway four-electricity professional cabinet | |
CN111711677A (en) | Virtual and real loop visualization method, system and medium for process layer switch of intelligent substation | |
CN103942345A (en) | Method for automatically generating IED network graph | |
CN106815392B (en) | Intelligent reading method for manufacturer terminal strip | |
CN103441988B (en) | Across GIS platform data migration method | |
CN109830954B (en) | Topology hierarchical identification method suitable for automatic generation of power grid visual simulation model | |
CN117390810A (en) | Terminal wiring automatic drawing method and terminal equipment | |
CN111476885B (en) | Archaeological multisource data fusion method, device, equipment and storage medium | |
CN111539085A (en) | Automatic chart generation system and method | |
CN111914376A (en) | Method and device for automatically constructing power grid bus mode diagram and storage medium | |
CN117057078A (en) | Electrical wiring diagram generation method, device, equipment and medium | |
CN108563898B (en) | Man-machine interactive single-line digital modeling method for power grid | |
CN116484558A (en) | Multi-source model automatic mapping method, equipment and medium based on source end model | |
CN106503298A (en) | A kind of Topology connection drawing generating method of intelligent substation and device | |
CN112532432B (en) | Automatic mapping method and system based on LTU terminal | |
CN114676959A (en) | Distribution network graph model management method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200814 |
|
RJ01 | Rejection of invention patent application after publication |