Full-element modeling and graph-model conversion method for electric schematic diagram of electric power secondary screen cabinet

文档序号:8022 发布日期:2021-09-17 浏览:38次 中文

1. A full-element modeling method for an electrical schematic diagram of an electric power secondary screen cabinet is characterized by comprising the following steps: it includes:

step 1, extracting characteristic information capable of representing an electrical schematic diagram of a secondary screen cabinet according to the characteristics of the electrical schematic diagram of the secondary screen cabinet, and establishing a model structure;

and 2, building a secondary screen cabinet electrical principle graph symbol library according to the secondary screen cabinet electrical principle graph symbols.

2. The method for modeling the full elements of the electrical schematic diagram of the electric power secondary screen cabinet according to claim 1, wherein the method comprises the following steps: the main node of the model structure is a substation secondary screen cabinet electrical schematic diagram which contains drawing information of the whole substation; the secondary screen cabinet electrical principle drawing comprises a secondary screen cabinet electrical principle drawing volume and a secondary screen cabinet electrical principle drawing symbol library, wherein the secondary screen cabinet electrical principle drawing volume comprises more than one secondary screen cabinet electrical principle drawing volume which is distinguished according to intervals and loops and corresponds to the actually designed secondary screen cabinet electrical principle drawing volume; the secondary screen cabinet electrical principle drawing volume consists of more than one page, and each page is composed of three basic elements in principle; respectively, interrupt point (interrupt), function (function), Connection (Connection); "break point" represents the link between pages, including the starting point and the end point page information; the functions refer to symbols in a symbol library and are instantiated according to an actual secondary screen cabinet electrical schematic diagram; the connection represents all connections in the drawing and comprises starting point information, end point information and inflection point information.

3. The method for modeling the full elements of the electrical schematic diagram of the electric power secondary screen cabinet according to claim 1, wherein the method comprises the following steps: the symbol library is established according to the characteristics of the secondary screen cabinet electrical schematic diagram, and comprises various symbols required for describing the secondary screen cabinet electrical schematic diagram, and different symbols are distinguished through unique name identifiers.

4. The method for modeling the full elements of the electrical schematic diagram of the electric power secondary screen cabinet according to claim 3, wherein the method comprises the following steps: the establishment method of the symbol library comprises the following steps:

firstly, collecting electric secondary symbols, and establishing various types of symbol unified templates according to similar characteristics;

secondly, the establishment of symbols in the symbol library is divided into three parts, namely variable of the symbols, connection point code numbers and insertion points; the variable represents the graphic direction of the symbol and has 8 different variables A-H; the 'connection point code number' is the description of the connectable point of the symbol and is used for expressing the connection attribute of the symbol, and the symbol can have more than one connection point code number and represents the connection capacity of the symbol; the symbol inserting point is the upper left corner of the symbol, the position of the symbol on the drawing page is determined according to the coordinates of the inserting point, meanwhile, the coordinates of the symbol inserting point are determined, and each connecting point of the symbol obtains accurate coordinates through relative positions; this completes the establishment of the symbol library.

5. A graph-model conversion method for an electric schematic diagram of an electric power secondary screen cabinet is characterized by comprising the following steps of: it includes:

step 3, after the symbol library and the model structure are built, analyzing the secondary screen cabinet electrical schematic diagram, and obtaining all symbol types, connection information among all symbols and relative position information among all symbols in the drawing, which are utilized in the secondary screen cabinet electrical schematic diagram, through analysis;

step 4, selecting corresponding terminal, equipment and breakpoint symbols from the established symbol library according to the symbol characteristics of the secondary screen cabinet electrical principle diagram, wherein the symbols selected from the symbol library are symbol templates without specific attributes, the selected symbols are unique in the drawing through instantiation, and the finally instantiated symbols comprise various required data in the drawing;

step 5, instantiating the symbols on the basis of the analysis characteristics of the secondary screen cabinet electrical principle diagram and the selected symbols in the symbol library, brushing the connection point numbers and descriptions of the drawings, the variables of the diagrams, the equipment numbers, the graph coordinates and the data analyzed by the connection points in the step 3 onto the symbols selected in the step 4, and recording the symbols in a mode of model files to realize the instantiation of all the symbols;

step 6, instantiating all connection information in the secondary screen cabinet electrical schematic diagram according to the information of the secondary screen cabinet electrical schematic diagram to represent the connection information of the whole diagram; the connection comprises starting point information, end point information and inflection point information, and instantiation of the connection is stored through a connection node of a model structure, so that instantiation and storage of connection of all secondary screen cabinet electrical schematic diagrams are realized; and obtaining a secondary screen cabinet electrical principle graph model.

6. The method for converting the graph model of the electrical schematic diagram of the electric power secondary screen cabinet according to claim 5, characterized in that: it still includes: the method for converting the secondary screen cabinet electrical schematic diagram model into the secondary screen cabinet electrical schematic diagram comprises the following steps of storing modeled data of all symbols in a drawing in step 5, and reducing information stored in a graph library by graphs, coordinates, variables and connection points of corresponding symbols into graph information of the secondary screen cabinet electrical schematic diagram when the modeled data are converted into the secondary screen cabinet electrical schematic diagram; then, automatically drawing and displaying the connection between different symbols of the electrical schematic diagram of the secondary screen cabinet on the drawing according to the symbols and the coordinates through the connection information stored in the model in the step 6; the original secondary screen cabinet electrical schematic diagram is displayed according to a unified standard through the restoration of symbols and connection.

Background

The GBT37755-2019 intelligent substation optical fiber loop modeling and coding technical specification standard specifies the technical requirements of an optical fiber loop and station control layer twisted pair I force loop model configuration implementation process, a model file format, a loop coding rule, a loop identification and information in an intelligent substation secondary loop. The physical model of the SPCD transformer substation can represent all screen cabinet equipment information, screen cabinet and inter-cabinet connection information in the substation and can be used as a basis for secondary circuit design, construction, debugging, acceptance and operation maintenance.

On the other hand, the SPCD model provides powerful support for the development of subsequent advanced applications, so that intelligent design and intelligent operation and maintenance are possible. However, the SPCD only provides one-way conversion from drawings to models at present, designers can only design through data and description, and the traditional CAD graph is still essential data in the transfer process of design, operation and maintenance and the like. The development of advanced application is limited to a certain extent, and the model does not completely get rid of the constraint of drawings such as traditional CAD (computer-aided design) and the like, so that the subsequent development still depends on traditional graphs to a certain extent.

Disclosure of Invention

The technical problem to be solved by the invention is as follows: the method is used for solving the technical problems that an SPCD model in the prior art cannot represent a graphical electrical schematic diagram and cannot convert the model into a liked electrical schematic diagram, designers can only carry out data design and graphical design according to the SPCD, and data transfer of the model cannot be complete.

The technical scheme of the invention is as follows:

a full-element modeling method for an electric schematic diagram of an electric power secondary screen cabinet comprises the following steps:

step 1, extracting characteristic information capable of representing an electrical schematic diagram of a secondary screen cabinet according to the characteristics of the electrical schematic diagram of the secondary screen cabinet, and establishing a model structure;

and 2, building a secondary screen cabinet electrical principle graph symbol library according to the secondary screen cabinet electrical principle graph symbols.

The main node of the model structure is a substation secondary screen cabinet electrical schematic diagram which contains drawing information of the whole substation; the secondary screen cabinet electrical principle drawing comprises a secondary screen cabinet electrical principle drawing volume and a secondary screen cabinet electrical principle drawing symbol library, wherein the secondary screen cabinet electrical principle drawing volume comprises more than one secondary screen cabinet electrical principle drawing volume which is distinguished according to intervals and loops and corresponds to the actually designed secondary screen cabinet electrical principle drawing volume; the secondary screen cabinet electrical principle drawing volume consists of more than one page, and each page is composed of three basic elements in principle; respectively, interrupt point (interrupt), function (function), Connection (Connection); "break point" represents the link between pages, including the starting point and the end point page information; the functions refer to symbols in a symbol library and are instantiated according to an actual secondary screen cabinet electrical schematic diagram; the connection represents all connections in the drawing and comprises starting point information, end point information and inflection point information.

The symbol library is established according to the characteristics of the secondary screen cabinet electrical schematic diagram, and comprises various symbols required for describing the secondary screen cabinet electrical schematic diagram, and different symbols are distinguished through unique name identifiers.

The establishment method of the symbol library comprises the following steps:

firstly, collecting electric secondary symbols, and establishing various types of symbol unified templates according to similar characteristics;

secondly, the establishment of symbols in the symbol library is divided into three parts, namely variable of the symbols, connection point code numbers and insertion points; the variable represents the graphic direction of the symbol and has 8 different variables A-H; the 'connection point code number' is the description of the connectable point of the symbol and is used for expressing the connection attribute of the symbol, and the symbol can have more than one connection point code number and represents the connection capacity of the symbol; the symbol inserting point is the upper left corner of the symbol, the position of the symbol on the drawing page is determined according to the coordinates of the inserting point, meanwhile, the coordinates of the symbol inserting point are determined, and each connecting point of the symbol obtains accurate coordinates through relative positions; this completes the establishment of the symbol library.

A method for converting a graph model of an electrical schematic diagram of an electric power secondary screen cabinet comprises the following steps:

step 3, after the symbol library and the model structure are built, analyzing the secondary screen cabinet electrical schematic diagram, and obtaining all symbol types, connection information among all symbols and relative position information among all symbols in the drawing, which are utilized in the secondary screen cabinet electrical schematic diagram, through analysis;

step 4, selecting corresponding terminal, equipment and breakpoint symbols from the established symbol library according to the symbol characteristics of the secondary screen cabinet electrical principle diagram, wherein the symbols selected from the symbol library are symbol templates without specific attributes, the selected symbols are unique in the drawing through instantiation, and the finally instantiated symbols comprise various required data in the drawing;

step 5, instantiating the symbols on the basis of the analysis characteristics of the secondary screen cabinet electrical principle diagram and the selected symbols in the symbol library, brushing the connection point numbers and descriptions of the drawings, the variables of the diagrams, the equipment numbers, the graph coordinates and the data analyzed by the connection points in the step 3 onto the symbols selected in the step 4, and recording the symbols in a mode of model files to realize the instantiation of all the symbols;

step 6, instantiating all connection information in the secondary screen cabinet electrical schematic diagram according to the information of the secondary screen cabinet electrical schematic diagram to represent the connection information of the whole diagram; the connection comprises starting point information, end point information and inflection point information, and instantiation of the connection is stored through a connection node of a model structure, so that instantiation and storage of connection of all secondary screen cabinet electrical schematic diagrams are realized; and obtaining a secondary screen cabinet electrical principle graph model.

The method for converting the secondary screen cabinet electrical schematic diagram model into the secondary screen cabinet electrical schematic diagram comprises the following steps of storing modeled data of all symbols in a drawing in step 5, and reducing information stored in a graph library by graphs, coordinates, variables and connection points of corresponding symbols into graph information of the secondary screen cabinet electrical schematic diagram when the modeled data are converted into the secondary screen cabinet electrical schematic diagram; then, automatically drawing and displaying the connection between different symbols of the electrical schematic diagram of the secondary screen cabinet on the drawing according to the symbols and the coordinates through the connection information stored in the model in the step 6; the original secondary screen cabinet electrical schematic diagram is displayed according to a unified standard through the restoration of symbols and connection.

The invention has the beneficial effects that:

the method comprises the steps of firstly modeling according to the structure of the electrical principle diagram of the secondary screen cabinet, and then establishing a symbol library according to the symbols of the electrical principle diagram of the typical secondary screen cabinet. On the basis of the secondary screen cabinet electrical schematic diagram model and the symbol library, symbols related to the secondary screen cabinet electrical schematic diagram are selected from the symbol library by analyzing the secondary screen cabinet electrical schematic diagram, instantiation is carried out according to drawing data, and finally instantiation of connection between the symbols is carried out, so that the secondary screen cabinet electrical schematic diagram is represented through the model. The electrical schematic diagram of the secondary screen cabinet is modeled and an electrical symbol library is established, the schematic diagram and the model are instantiated and matched, and the electrical schematic diagram can be represented through the model; the model and the symbol library can be easily converted into a corresponding schematic diagram, so that the defects of SPCD modeling are overcome, and the integrity of secondary system modeling is improved; the technical problems that an SPCD model in the prior art cannot represent a graphical electrical schematic diagram or convert the model into a liked electrical schematic diagram, a designer can only carry out data design according to the SPCD, the graphical design cannot be carried out, and the data transfer of the model cannot be complete are solved.

Drawings

FIG. 1 is a schematic view of the model structure of the present invention;

FIG. 2 is a flow chart of an embodiment of the present invention.

Detailed Description

The technical scheme of the invention is explained in detail in the following with the accompanying drawings.

The invention provides a full-element modeling and graph-model conversion method for an electrical schematic diagram of an electric power secondary screen cabinet.

Firstly, modeling is carried out according to the structure of the electrical principle diagram of the secondary screen cabinet, and then a symbol library is established according to the symbols of the electrical principle diagram of the typical secondary screen cabinet. On the basis of the secondary screen cabinet electrical schematic diagram model and the symbol library, symbols related to the secondary screen cabinet electrical schematic diagram are selected from the symbol library by analyzing the secondary screen cabinet electrical schematic diagram, instantiation is carried out according to drawing data, and finally instantiation of connection between the symbols is carried out, so that the secondary screen cabinet electrical schematic diagram is represented through the model.

The implementation steps of the invention are as follows:

step 1, extracting characteristic information capable of representing an electrical schematic diagram of a secondary screen cabinet according to the characteristics of the electrical schematic diagram of the secondary screen cabinet, and establishing a model structure as shown in figure 1; the main node is a substation secondary screen cabinet electrical schematic diagram which contains drawing information of the whole substation; the secondary screen cabinet electrical principle drawing comprises a secondary screen cabinet electrical principle drawing volume and a secondary screen cabinet electrical principle drawing symbol library, wherein the secondary screen cabinet electrical principle drawing volume comprises a plurality of secondary screen cabinet electrical principle drawing volume books which are distinguished according to intervals and loops and correspond to the secondary screen cabinet electrical principle drawing volume designed by an actual design institute; the secondary screen cabinet electrical principle drawing volume consists of a plurality of pages, and each page of principle consists of three basic elements, namely interrupt point (interrupt point), function (function) and Connection (Connection). "break point" represents the link between pages, including the starting point and the end point page information; the functions comprise various devices such as a protection device, a terminal, an air switch, a relay and the like in a drawing, the functions need to quote symbols in a symbol library, and then the functions are instantiated according to an actual secondary screen cabinet electrical schematic diagram; the connection represents all connections in the drawing and comprises starting point information, end point information and inflection point information. And finishing the model structure construction.

And 2, building a secondary screen cabinet electrical principle graph symbol library according to the common secondary screen cabinet electrical principle graph symbols.

The symbol library is established according to the characteristics of the secondary screen cabinet electrical schematic diagram, and comprises various symbols required for describing the secondary screen cabinet electrical schematic diagram, and different symbols are distinguished through unique name identifiers. The method comprises the steps of firstly collecting common electrical secondary symbols such as an air switch, a power supply, a handle, a device and the like, and establishing various types of symbol unified templates according to similar characteristics. Secondly, the establishment of the symbols in the symbol library is divided into three parts, namely variable of the symbols, connection point code numbers and insertion points. The variable represents the graphic direction of the symbol and has 8 different variables A-H. The connection point code number ConnectionPointCode is the description of the connectable point of the symbol and is used for expressing the connection attribute of the symbol, and the symbol can have a plurality of connection point codes and represents the connection capability of the symbol. The symbol inserting point is the upper left corner of the symbol, the position of the symbol on the drawing page is determined according to the inserting point coordinate, meanwhile, the accurate coordinate can be obtained through the relative position of each connecting point of the symbol due to the determination of the symbol inserting point coordinate. This completes the establishment of the symbol library.

And 3, implementing the flow chart according to the graph 2, after the symbol library and the model structure are built, analyzing the electrical schematic diagram of the secondary screen cabinet, and acquiring information such as all symbol types, connection information among all symbols, relative positions among all symbols in the graph and the like utilized in the schematic diagram through analysis. Taking the device power circuit as an example, the analysis item includes all information of the components such as terminals, equipment, break points, connections and the like;

step 4, selecting corresponding symbols such as terminals, equipment, break points and the like from the established symbol library according to the symbol characteristics of the electrical principle diagram of the secondary screen cabinet, wherein the selected symbols from the library are symbol templates without specific attributes, the selected symbols are unique in the drawing through instantiation, and the finally instantiated symbols contain various required data in the drawing;

and 5, instantiating the symbols on the basis of the features analyzed for the electrical schematic diagram of the secondary screen cabinet in the step 3 and the symbols in the symbol library selected in the step 4, brushing the connection point numbers and descriptions of the drawing, the variables of the graph, the numbers of the equipment, the graph coordinates, the connection points and the like on the symbols selected in the step 4 through the data analyzed in the step 3, and recording the data in a mode of a model file. Finally, instantiation of all symbols is achieved.

And 6, instantiating all the connection information in the drawing according to the information of the electrical schematic diagram of the secondary screen cabinet to represent the connection information of the whole diagram. The connection includes start point information, end point information, and inflection point information, and the number of inflection points may be plural. The instantiation of the connection needs to be stored through the connection nodes of the model file, and finally, the instantiation and storage of the connection of all secondary screen cabinet electrical schematic diagrams are realized.

And 7, converting one secondary screen cabinet electrical schematic diagram into a secondary screen cabinet electrical schematic diagram model, and converting the model file into the secondary screen cabinet electrical schematic diagram again if necessary, thereby realizing digital transfer of the drawing. In step 5, the modeling data of all symbols in the drawing are stored, and when the modeling data are converted into the graphs, the graph information of the secondary screen cabinet electrical schematic diagram can be restored by only putting the stored information of the corresponding symbols such as the graphs, the coordinates, the variables, the connection points and the like back to the schematic diagram in the symbol library. And then, automatically drawing on a drawing according to the symbol and the coordinate by the connection information stored in the model in the step 6, so that the connection between different symbols of the electrical schematic diagram of the secondary screen cabinet can be displayed. Through the restoration of the symbols and the connection, the original secondary screen cabinet electrical schematic diagram can be displayed according to a unified standard, and all information required by design, operation and maintenance can be provided.

The above embodiments are only for illustrating the technical idea of the present invention, and the protection scope of the present invention is not limited thereby, and any modifications made on the basis of the technical scheme according to the technical idea of the present invention fall within the protection scope of the present invention.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:一种机房网络拓扑及标签图形化管理平台

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类