CN116029069A - Substation secondary circuit design method based on equipment function area and template matching - Google Patents

Substation secondary circuit design method based on equipment function area and template matching Download PDF

Info

Publication number
CN116029069A
CN116029069A CN202211536596.8A CN202211536596A CN116029069A CN 116029069 A CN116029069 A CN 116029069A CN 202211536596 A CN202211536596 A CN 202211536596A CN 116029069 A CN116029069 A CN 116029069A
Authority
CN
China
Prior art keywords
equipment
connection
graph
template
matching
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
Application number
CN202211536596.8A
Other languages
Chinese (zh)
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.)
NR Electric Co Ltd
NR Engineering Co Ltd
Original Assignee
NR Electric Co Ltd
NR Engineering Co Ltd
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 NR Electric Co Ltd, NR Engineering Co Ltd filed Critical NR Electric Co Ltd
Priority to CN202211536596.8A priority Critical patent/CN116029069A/en
Publication of CN116029069A publication Critical patent/CN116029069A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

The invention discloses a transformer substation secondary circuit design method based on equipment function area and template matching, which comprises the steps of distributing descriptions for secondary equipment based on voltage level or interval; constructing a secondary loop data template; and (3) based on the connection relation matching data template library of the function areas of the interval local equipment, extracting the connection information of the function areas through a typical template information flow table, converting the connection information of the function areas into connection between terminals of actual equipment, and completing the design of a secondary circuit of the transformer substation. The invention carries out mutual conversion on the functional area of the secondary equipment and the design of the secondary circuit, and constructs a data template of the secondary circuit of the transformer substation; through improving the pattern matching algorithm VF2, the digital storage of the data template and the rapid matching of the interval complete information through the local information of the data template are realized, the functional area connection of the matched data template is reversely converted into the connection between the connecting terminals of the equipment, the automatic design of a secondary loop is realized, and the digital design level of a secondary system is improved.

Description

Substation secondary circuit design method based on equipment function area and template matching
Technical Field
The invention relates to a transformer substation secondary circuit design method based on equipment function area and template matching, and belongs to the technical field of transformer substation design.
Background
The design of a secondary system loop of a current transformer substation is mainly that engineering drawings such as an electric secondary loop schematic diagram, a wiring diagram and the like are drawn according to a screen cabinet electric CAD schematic diagram provided by a secondary equipment manufacturer. However, compared with the primary system, the secondary system of the transformer substation has a plurality of loops and complex functional loops, and at present, no unified standard guiding secondary loop design exists, so that a designer needs to complete various loop function realization, cable laying and the like of the whole secondary system by using own experience. The design process mainly adopts a manual drawing mode, so that the problems of low design efficiency, high error rate, time and labor waste in drawing verification and the like exist in the design process.
The secondary circuit is designed in special places, such as complex circuits, numerous signal devices and the like; however, the secondary circuit design has a common feature such as a space design for different works, a design area difference between different functions in a space, and the like, and therefore, the secondary circuit design has a condition of using a template. At present, some applications based on graphic template sleeve are adopted, and most of the applications and modifications are carried out in other projects by taking CAD typical interval drawings in the projects as templates. However, the templates are stored through CAD drawings, firstly, the internal specific connection relation cannot be represented through structural data, so that the difference between the templates cannot be represented, secondly, the matching of the graphic templates is realized through manual matching, the accurate matching and the application cannot be realized after the time is long, thirdly, the connection data are not structured due to the fact that the drawing templates stay on the graphics, and the follow-up automatic design connection and other advanced application development are limited.
Therefore, at present, the digital level of the power system is continuously improved, and according to the design characteristics of the secondary circuit and the current application situation, a new secondary circuit design template and a template matching design method are very necessary to be provided, so that a foundation is laid for automatic design of the secondary circuit, and the digital design level of secondary equipment is improved.
Disclosure of Invention
The technical problem to be solved by the invention is to overcome the defects of the prior art, provide a transformer substation secondary circuit design method based on equipment function area and template matching, quickly match a complete data template through local design information, finally extract interval connection information through a typical template information flow table to complete automatic design, solve the problem of digitalization of a secondary design template, and promote the level of digitalization design of secondary equipment.
In order to achieve the above purpose, the invention provides a transformer substation secondary circuit design method based on equipment function area and data template matching, comprising the following steps:
assigning a description to the secondary device based on the voltage level or interval;
distinguishing secondary equipment according to the secondary equipment distribution description, constructing a secondary loop data template based on the distinguished secondary equipment, and establishing a data template library;
and (3) based on the connection relation matching data template library of the interval local equipment functional areas, extracting connection information through a typical template information flow table, and completing the design of a secondary circuit of the transformer substation.
Further, the constructing a secondary loop data template based on the differentiated secondary devices includes:
dividing the device logic function of the secondary device into a plurality of functional areas and marking the functional areas respectively;
extracting functional areas related to interval design based on the loop connection relation of the interval secondary loop design, and converting the loop connection relation in the secondary loop design into the connection relation of the functional areas;
converting the connection relation of the functional areas into topology graphs, calculating and storing topology graph information, and constructing a secondary loop data template;
the functional area is divided according to the position name, the voltage class and the main line form.
Further, the functional area involved in the interval design includes:
the equipment involved in the secondary circuit design template and the functional areas used by all the equipment in the secondary circuit design template.
Further, when the circuit connection relation in the secondary circuit design is converted into the connection relation of the functional areas, at least one connection between the functional areas of different secondary equipment is recorded as one functional area connection.
Further, the converting the connection relation of the functional area into a topology graph includes:
the secondary equipment is used as a node, the functional areas of the secondary equipment are used as ports of the node, and the connection between the functional areas of the secondary equipment is used as a boundary;
and according to the connection relation of the functional areas, the ports of the nodes are connected through boundaries, so that the construction of the topological graph is completed.
Further, calculating and storing topology graphic information, constructing a secondary loop data template, including:
instantiating according to the names of the secondary devices at actual intervals, and constructing a slave table 1 based on the information of the instantiated secondary devices, wherein the slave table 1 comprises the names of the secondary devices, the descriptions of the secondary devices and the attributes of the secondary devices;
constructing a main table, which is used for storing information of a current secondary circuit data template, wherein the information comprises a secondary equipment list, a connection list among secondary equipment functional areas, descriptions of secondary equipment and unique Hash values of the current secondary circuit data template, and the Hash values are acquired by adopting a pattern matching algorithm VF 2;
abstracting the connection relation of the functional area into a node and a port based on the marking information of the functional area and the description information of the secondary equipment, wherein the functional area is characterized as the port, the node is the secondary equipment, and the connection information of the port and the node is stored to construct a slave table 2; the node connection information comprises a starting point node and an end point node which are connected by the node, and a node connection port;
extracting loop connection relation of interval secondary loop design to construct an information flow library; the information flow library comprises a starting point function area code, a starting point secondary equipment code, an ending point function area code, an ending point secondary equipment code, an information type and an information requirement.
Further, the connection relation matching data template base based on the interval local device function area comprises:
after the data template library is established, matching of the subgraph of the secondary loop data template with the data template library is achieved through an improved pattern matching algorithm VF 2.
Further, the matching of the sub-graph of the secondary loop data template with the data template library through the improved pattern matching algorithm VF2 comprises the following steps:
when the same node is adopted, if the boundary of the father graph exists and the boundary of the child graph does not exist, attributing the father graph and the child graph as the same graph, and when the father graph and the child graph are matched, cleaning the boundary of the father graph and then matching;
if two nodes with multiple edges exist, after traversing and matching, if the boundary node of the father graph can accommodate the child, the boundary corresponding to the node is considered to be replaced by the boundary of the child;
and inputting the topological graph into an improved graph matching algorithm, judging whether the connection relation of the interval local equipment functional areas is isomorphic with the father graph, and if so, matching with a data template library.
Further, the extracting connection information through the typical template information flow table, completing the design of the secondary circuit of the transformer substation, includes:
after the matching of the actual interval data templates is completed, the functional areas of the equipment are matched with the data templates, and the connection of the functional areas is converted into the connection between the terminals of the equipment again, so that the design of a secondary circuit is completed.
Further, the functional area connection is reconverted into a connection between terminals of the device, comprising:
according to the logic for converting different functional modules of the equipment into functional areas, the reverse conversion functional area connection is the connection between the wiring terminals of the equipment, and the functional area connection is mapped to the connection between the actual wiring terminals.
The invention has the beneficial effects that:
the invention provides a transformer substation secondary circuit design method based on equipment functional area and template matching, which constructs a data template of a transformer substation secondary circuit by mutually converting the design of the functional area and the secondary circuit of secondary equipment, and realizes the digital storage of the data template and the rapid matching of interval complete information through the local information of the data template by improving a pattern matching algorithm VF 2.
The functional area connection through the data template after matching is reversely converted into the connection between the equipment wiring terminals, so that the automatic design of a secondary circuit is realized, the problems of low design efficiency and high error rate of the conventional secondary system of the transformer substation are solved from the source when the secondary screen cabinet is designed, and the digital design level of the secondary system is improved.
Drawings
Fig. 1 is a flow chart of a transformer substation secondary circuit design method based on equipment function area and template matching provided by an embodiment of the invention;
fig. 2 is a diagram of connection examples of functional areas in a secondary circuit design method of a transformer substation based on equipment functional areas and template matching according to an embodiment of the present invention;
fig. 3 is an exemplary diagram of an abstract topology graph in a secondary circuit design method of a transformer substation based on equipment function area and template matching according to an embodiment of the present invention;
fig. 4 is an exemplary diagram of interval local connection in a transformer substation secondary circuit design method based on equipment function area and template matching provided by an embodiment of the invention;
fig. 5 is a topological graph example diagram of interval local information in a transformer substation secondary circuit design method based on equipment function area and template matching according to an embodiment of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for more clearly illustrating the technical aspects of the present invention, and are not intended to limit the scope of the present invention.
The embodiment of the invention provides a transformer substation secondary circuit design method based on equipment functional area and template matching, which constructs a data template of a transformer substation secondary circuit by mutually converting the design of the functional area and the secondary circuit of secondary equipment, and realizes the digital storage of the data template and the rapid matching of interval complete information through the local information of the data template by improving a pattern matching algorithm VF 2; the functional area connection through the data template after matching is reversely converted into the connection between the equipment wiring terminals, so that the automatic design of a secondary circuit is realized, the problems of low design efficiency and high error rate of the conventional secondary system of the transformer substation are solved from the source when the secondary screen cabinet is designed, and the digital design level of the secondary system is improved.
The invention provides a transformer substation secondary circuit design method based on equipment function area and template matching, which is shown in fig. 1 to 5 and specifically comprises the following steps:
step 1, describing secondary equipment by adopting element codes according to the functional characteristics of the secondary equipment and the design requirements of a secondary loop, dividing the equipment logic function of the secondary equipment into a plurality of functional areas, and identifying by adopting unique codes;
firstly, according to the logic functions and the design characteristics of a secondary circuit, the logic circuit of the secondary device is divided into a trip outlet-220 kV-double bus, a remote signaling, a current circuit, a control circuit, a voltage circuit, a direct current power supply, an on-circuit, a breaker knife switch position-220 kV-double bus, a voltage transformer output, a current transformer output and the like according to the functional areas by adopting a naming rule of 'position name + voltage grade (defaultable) +main wiring form (defaable)', and a unique code is designated for each functional area to mark, wherein the functional area is stored in a database, the port number of the device, and the functional area codes are shown in table 1. In order to improve the diversity of templates, the functional area supports to set custom areas, such as' Jiangsu region: the trip outlet-220 kV-double bus is a self-defined area, the corresponding connection mode is different from that of the trip outlet, and the self-defined functional area needs to be provided with a unique functional area code.
Table 1 functional area code:
Figure BDA0003977943190000061
next, a unique description is assigned to secondary devices of different voltage levels or intervals as a basis for distinguishing the secondary devices, as shown in table 2. The "element code" of the secondary device is unique within the library, named with the device code + sequence number + description (nullable) structure. Wherein the element description names may not be repeated, and the device names may have different instance names. Secondary equipment including, but not limited to, protection equipment, switch cabinets, terminal boxes, etc. are also suitable for this approach.
Table 2 secondary device codes
Figure BDA0003977943190000062
Step 2, extracting functional areas related to interval design according to the loop connection relation of the interval secondary loop design, and converting the loop connection relation of the secondary loop design into connection of the functional areas;
according to the loop connection relation of the secondary loop design, the connection relation between the secondary devices is converted into the connection relation between different functional areas, and a typical 110kV line interval functional area connection schematic diagram is shown in the following figure 2. In fig. 2, from "line protection: current loop "to" current transformer terminal box: the current loop' indicates that the corresponding functional areas between the secondary devices have a connection relationship, and the line measurement and control are as follows: and (4) switching in AND line protection: remote signaling "," breaker mechanism box: the remote signaling has two connection relations, and represents that the remote signaling of two secondary devices is connected with the switching-in of the line measurement and control. When at least one connection exists between the functional areas of different secondary devices, the connection is marked as one functional area connection, and a plurality of connections of the same functional area between the secondary devices are marked only once. The functional area connection relationship of the line interval shown in fig. 2 corresponds to the connection relationship at the time of actual secondary circuit design.
And step 3, abstracting connection of the functional area into a topological graph with boundaries and nodes, calculating a Hash value through a graph matching algorithm VF2, storing topological graph information, and establishing a secondary loop data template.
After determining the connection relationship of the function areas at intervals in step 1, as shown in table 3, instantiation is first performed according to the names of the secondary devices at actual intervals. The information of the instantiated secondary equipment is stored in the secondary table 1, and the instantiation code and the component code of the equipment are stored in the secondary table 1 in the data, wherein the instantiation code and the component code of the secondary equipment comprise the name of the secondary equipment, the component code of the secondary equipment and the remark attribute of the secondary equipment.
Table 3 device code (database slave Table 1)
Figure BDA0003977943190000071
And secondly, as shown in table 4, a main table is established, the information of the current data template is stored, and the main table comprises a secondary equipment list, a connection list of secondary equipment function areas, descriptions of secondary equipment and unique Hash values of the current secondary loop data template. The secondary equipment list comprises all secondary equipment contained in the interval secondary circuit design, the connection list of the secondary equipment functional areas only represents the connection relation between the equipment, and the Hash value is a unique value in the library and can be used as a mark for judging whether the two intervals are consistent.
Table 4 database master table
Figure BDA0003977943190000081
Then, according to the function area codes shown in table 1 and the device codes of table 3, the connection information of the function areas of the secondary devices is abstracted into nodes and ports, wherein the function areas are characterized as ports, the nodes are secondary devices, when two secondary devices are connected with a plurality of function areas, the connection between the secondary devices contains two or more function areas, the connection is characterized by { X1, X2, & gt } and { F1, F2, & gt}, the X1, X2, F1, F2 represent specific function area codes, the connection between the two function areas is represented by X1 to F1, X2 to F2, and the like. As shown in table 5, the port No. 3 and the port No. 2 of A2 have connection relations with the port No. 3 and the port No. 6 of N2, respectively.
Table 5 node and Port information (database slave Table 2)
Node Port (port) Node Port (port)
A1 4 N1 4
A1 2 N3 2
A1 0 N4 0
A1 1 N2 6
A2 {3,1} N2 {3,6}
A2 0 N4 0
DC1 5 A1 5
DC1 5 N2 5
N2 3 N4 3
After the connection and port information of table 5 are obtained, the ports of the same device are drawn on a node, the two ports are directly connected by a connecting line, and finally the drawing graph is shown in fig. 3. Each circular node represents a secondary device, each edge corresponds to the functional area information in fig. 2, and the port corresponds to the functional area code.
After determining the topology graph, a unique Hash value of the topology graph may be calculated using a graph matching algorithm VF2, as illustrated below. And finally, the calculated Hash value is used as the Hash attribute of the main table to be stored in a database, and when the Hash values of the topological graph formed by the abstraction of the two interval information are identical, the two graphs are identical, and the two graphs can be regarded as the same secondary loop data template.
Calculating a Hash value example:
firstly, drawing a new graph, adding boundaries, nodes and node attributes of the graph, adding relations among all nodes, node types and node edges into the graph, and calculating a hash value of the graph based on a weisfeiler_lehman_graph_hash method according to the constructed boundary attributes and node attributes, wherein the specific code implementation comprises the following steps:
g12 Graph () #5x5 grid// first draws a new graph, then adds the boundaries and nodes of the graph, and node attributes;
G12.add_node('A1',type='XL_01_110')
G12.add_node('A2',type='DL_01_110')
G12.add_node('N1',type='PT_01_110')
G12.add_node('N2',type='CK_01_110')
G12.add_node('N3',type='CT_01_110')
G12.add_node('N4',type='CZX_110')
g12.add_node ('DC 1', type= 'dc_01')/(add all nodes and node types to the graph);
g12_edge_from ([ ("A1", "N1", "Area1": 4"," Area2": 4)", ("A1", "N3", "Ar Area1": 2"," Area2": 2)", ("A1", "N4", { "Area1": 0"," Area2": 0)", ("A1", "N2", { "Area1": 1"," Area2": 6" }), ("A2", "N2", { "Area1": 3","1"," Area 2"}, {"3","6 "}), (" A2"," N4", {" Area1": 0", "Area2": 0"}, (" DC1"," A1"," Area1", { 1", "Area1", "5": 2"," Area1"," N1"," Area1"," 5 ": 2" ("1", "Area1": 5 "(" 1"," Area1"," 5 ": 2" ("1" "and" are added to the graph of the graph);
hash=weisfeiler_lehman_graph_hash (G12, edge_attr= "Area1, area2", node_attr= 'type'); and finally, calculating the hash value of the graph according to the constructed boundary attribute Area1, area2 and node type attribute and the weisfeiler_lehman_graph_hash method;
and extracting interval connection information of the secondary equipment as an information flow table and storing the information flow table into a database, wherein the information flow attribute of the information flow table comprises a start point function region code StartCode, a start point equipment code StartDevice, an end point function region code EndCode, an end point equipment code StartDevice, an information type InfoType and an information requirement InfoRequirement. As shown in table 6 below. The StartCode, startDevice, endCode and EndDevice are the starting point and the ending point of the information flow and the equipment where the functional area is located, the InfoType is a certain information type, and different enumeration values are provided in different functional area groups; the functional partitions of the same signal between different devices may be different, for example, a device is locked (line protection) and is signaled out in a line protection device, and an on-off signal is needed in a measurement and control device; infoRequirements are filling attributes of information, M is necessary, and O is optional filling.
TABLE 6 information flow Table
Figure BDA0003977943190000101
The data of the main table, the slave table 1, the slave table 2 and the information flow table are stored in the database as a complete secondary loop data template, and a typical design template is built.
And 4, after the data template library is established, matching the sub-graph of the secondary circuit data template and the data template is realized by improving a graph matching algorithm VF2, namely, the connection relation of the function areas of the interval local equipment is quickly matched to the data template library, and finally, the interval connection information is extracted through a typical template information flow table, and the connection of the function areas is reversely converted into the connection between the connecting terminals of the equipment, so that the automatic design is completed.
At present, the VF2 isomorphic pattern matching algorithm of the subgraph cannot solve two problems: one is matching with a child when the number of boundaries between the child graph nodes is smaller than the parent graph as in the case of multiple boundaries A2 to N2 in fig. 3, the algorithm considers the different structure, but the problem studied by the method considers the child graph as the child graph belonging to the template interval. And secondly, when the child is a part of the parent diagram and the parent diagram forms a ring, the diagram matched with the main diagram, such as the diagram of the N1, the diagram of the N1A 2 cannot be matched with the diagram after the nodes of the N1, the diagram of the A2 and the diagram of the N4 in the figure 3 form a ring.
For the problem, two methods are introduced into the original pattern matching algorithm VF2 to improve, and for the problem 1, if the same node is adopted, if the boundary of the father graph exists and the boundary of the child graph does not exist, the father graph still belongs to the same graph, and the boundary of the father graph is actively cleared for matching during matching.
Pattern matching algorithm VF2 boundary matching optimization example:
for all the father graphs and the child graphs to be processed, matching the boundary in the child graph with the boundary in the father graph according to the node types of the starting point and the ending point of the boundary, and eliminating the matching item of the boundary of the child graph, which is not in the father graph, so as to avoid judging different graphs when the father graph is matched because the child graph does not contain the boundary of the father graph, the specific code implementation comprises:
Figure BDA0003977943190000111
Figure BDA0003977943190000121
the individual nodes reject boundaries existing in all father graphs and boundaries not existing in the subgraph;
return G11
aiming at the problem 2, if two nodes with multiple edges exist, after traversing matching, if the boundary node of the father graph can accommodate the child, the boundary corresponding to the node is considered to be replaced by the boundary of the child, and the matching result is not affected. The method code is as follows.
Graph matching algorithm VF2 subgraph loop matching optimization example:
based on the node type matching the boundary of the father graph and the child graph, if the node exists in the ring, which does not appear in the child graph but appears in the father graph, judging that the node has no influence on the matching of the child graph and the father graph, deleting the node, unlocking the ring of the father graph, and completing the matching of the child graph when the father graph forms a ring, wherein the specific codes comprise:
Figure BDA0003977943190000122
/>
Figure BDA0003977943190000131
after the algorithm is improved, in practical application, a designer only needs to use the connection information of the interval functional areas of the secondary devices with less configuration, as shown in fig. 4. The connection of the functional areas is then converted into a new topology according to the method shown in step 3, as shown in fig. 5.
And finally, matching the graph in the data template base with the local interval information according to an improved graph matching algorithm VF 2. It is noted that there may be multiple data templates containing the local interval connection information, and the more local interval information is configured, the more accurate the matching result. The final matching result is as follows, confirming the feasibility of the matching algorithm.
Whether the subgraph isomorphism results are: true
Matching results: { 'A1': Q1',' N4': Q2', 'N2': Q3',' N3': Q4' }
Examples: improving the VF2 algorithm matching code:
a template graph is first constructed from typical secondary intervals, and nodes, node types, boundaries, and boundary attributes for the graph are created. And then constructing a sub-graph through a small amount of connection information according to the actual application condition, and creating nodes, node types, boundaries and boundary attributes of the sub-graph. Finally judging whether the graph and the subgraph in the template are matched, if so, outputting a matching result, wherein the specific codes comprise:
g12 =nx.graph () #5x5 grid// create a template graph;
G12.add_node('A1',type='XL_01_110')
G12.add_node('A2',type='DL_01_110')
G12.add_node('N1',type='PT_01_110')
G12.add_node('N2',type='CK_01_110')
G12.add_node('N3',type='CT_01_110')
G12.add_node('N4',type='CZX_110')
g12.add_node ('DC 1', type= 'dc_01')/(all nodes and node types of the graph created respectively;
g12.add_edges_from ([ ("A1", "N1", { "Area 1"): "4", "Area2": "4" }), ("A1", "N3", { "Ar Area1": "2", "Area2": "2", ("A1", "N4", { "Area1": "0", "Area2": "0", ("A1", "N2", { "Area1": "1", "Area2": "6" }), ("A2", "N2", { "Area1": 3","1"}," Area2": {"3","6 "}), (" A2"," N4", {" Area1": 0", "Area2": 0 "}), (" DC1"," A1", {" Area1", {" 5"," Area2": 5" }), ("DC 1", "N2", { Area1"," 5"," Area2"," Area1"," 5"," Area1 "(" and "3". Create all the graphic properties of "and" respectively, "A1";
g13 Graph () #5x5 grid// create a subgraph;
G13.add_node('Q1',type='XL_01_110')
G13.add_node('Q2',type='CZX_110')
G13.add_node('Q3',type='CK_01_110')
G13.add_node('Q4',type='CT_01_110')
g13.add_node ('Q5', type= 'dl_01_110')/(all nodes and node types of the sub-graph created respectively;
g13.add_edges_from ([ ("Q1", "Q4", { "Area1": 2"," Area2": 2" }), ("Q1", "Q3", { "Ar ea1": 1"," Area2": 6" }), ("Q2", "Q1", { "Area1": 0"," Area2": 0" }), ("Q5", "Q3", { "Area1": 1"," Area2": 6" }))// creates all the boundaries and boundary properties of the subgraph, respectively;
GM1 = isomorphism.graphmate (G12, G13, node_match = lambda n1, n2: n1[ 'type' ] = n2[ 'type' ], edge_match = lambda e1, e2: e1[ 'Area1' ] = e2[ 'Area1' ] and e1[ 'Area2' ] = e2[ 'Area2' ]; the result of the isomorphism of the// sub-graph is True
Results of the// matching: { 'A1': Q1',' N4': Q2', 'N2': Q3',' N3': Q4' }
And (3) calculating whether the two graphs are isomorphic or not according to an isomorphism.graphmatch method provided by the VF2 algorithm, and displaying a matching result as subgraph isomorphism. And gives the node match result// { 'A1': Q1',' N4': Q2', 'N2': Q3',' N3': Q4' }, between the two graphs.
After the matching is completed, extracting all information flow table data of the data template, wherein the information flow table stores specific connection relations among specific functional areas, reversely converting the connection of the functional areas into the connection between the equipment wiring terminals, and then calculating according to the connectable points of the actual secondary equipment terminals, so that the automatic design of the secondary circuit can be realized.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing is merely a preferred embodiment of the present invention, and it should be noted that modifications and variations could be made by those skilled in the art without departing from the technical principles of the present invention, and such modifications and variations should also be regarded as being within the scope of the invention.

Claims (10)

1. The transformer substation secondary circuit design method based on equipment function area and template matching is characterized by comprising the following steps of: the method comprises the following steps:
assigning a description to the secondary device based on the voltage level or interval;
distinguishing secondary equipment according to the secondary equipment distribution description, constructing a secondary loop data template based on the distinguished secondary equipment, and establishing a data template library;
and (3) based on the connection relation matching data template library of the interval local equipment functional areas, extracting connection information through a typical template information flow table, and completing the design of a secondary circuit of the transformer substation.
2. The substation secondary circuit design method based on equipment function area and template matching according to claim 1, wherein the method comprises the following steps:
the construction of the secondary loop data template based on the distinguished secondary equipment comprises the following steps:
dividing the device logic function of the secondary device into a plurality of functional areas and marking the functional areas respectively;
extracting functional areas related to interval design based on the loop connection relation of the interval secondary loop design, and converting the loop connection relation in the secondary loop design into the connection relation of the functional areas;
converting the connection relation of the functional areas into topology graphs, calculating and storing topology graph information, and constructing a secondary loop data template;
the functional area is divided according to the position name, the voltage class and the main line form.
3. The substation secondary circuit design method based on equipment function area and template matching according to claim 2, wherein the method is characterized in that:
functional areas involved in the interval design include:
the equipment involved in the secondary circuit design template and the functional areas used by all the equipment in the secondary circuit design template.
4. The substation secondary circuit design method based on equipment function area and template matching according to claim 2, wherein the method is characterized in that:
when the circuit connection relation in the secondary circuit design is converted into the connection relation of the functional areas, the connection of at least one functional area is recorded as the connection of one functional area when at least one connection exists between the functional areas of different secondary equipment.
5. The substation secondary circuit design method based on equipment function area and template matching according to claim 2, wherein the method is characterized in that:
the converting the connection relation of the functional areas into the topological graph comprises the following steps:
the secondary equipment is used as a node, the functional areas of the secondary equipment are used as ports of the node, and the connection between the functional areas of the secondary equipment is used as a boundary;
and according to the connection relation of the functional areas, the ports of the nodes are connected through boundaries, so that the construction of the topological graph is completed.
6. The substation secondary circuit design method based on equipment function area and template matching according to claim 5, wherein the method is characterized in that:
calculating and storing topological graph information, and constructing a secondary loop data template, wherein the method comprises the following steps of:
instantiating according to the names of the secondary devices at actual intervals, and constructing a slave table 1 based on the information of the instantiated secondary devices, wherein the slave table 1 comprises the names of the secondary devices, the descriptions of the secondary devices and the attributes of the secondary devices;
constructing a main table, which is used for storing information of a current secondary circuit data template, wherein the information comprises a secondary equipment list, a connection list among secondary equipment functional areas, descriptions of secondary equipment and unique Hash values of the current secondary circuit data template, and the Hash values are acquired by adopting a pattern matching algorithm VF 2;
abstracting the connection relation of the functional area into a node and a port based on the marking information of the functional area and the description information of the secondary equipment, wherein the functional area is characterized as the port, the node is the secondary equipment, and the connection information of the port and the node is stored to construct a slave table 2; the node connection information comprises a starting point node and an end point node which are connected by the node, and a node connection port;
extracting loop connection relation of interval secondary loop design to construct an information flow library; the information flow library comprises a starting point function area code, a starting point secondary equipment code, an ending point function area code, an ending point secondary equipment code, an information type and an information requirement.
7. The substation secondary circuit design method based on equipment function area and template matching according to claim 2, wherein the method is characterized in that:
the connection relation matching data template base based on the interval local equipment functional area comprises the following components:
after the data template library is established, matching of the subgraph of the secondary loop data template with the data template library is achieved through an improved pattern matching algorithm VF 2.
8. The substation secondary circuit design method based on equipment function area and template matching according to claim 7, wherein:
the method for matching the sub-graph of the secondary loop data template with the data template library through the improved graph matching algorithm VF2 comprises the following steps:
when the same node is adopted, if the boundary of the father graph exists and the boundary of the child graph does not exist, attributing the father graph and the child graph as the same graph, and when the father graph and the child graph are matched, cleaning the boundary of the father graph and then matching;
if two nodes with multiple edges exist, after traversing and matching, if the boundary node of the father graph can accommodate the child, the boundary corresponding to the node is considered to be replaced by the boundary of the child;
and inputting the topological graph into an improved graph matching algorithm, judging whether the connection relation of the interval local equipment functional areas is isomorphic with the father graph, and if so, matching with a data template library.
9. The substation secondary circuit design method based on equipment function area and template matching according to claim 7, wherein:
extracting connection information through a typical template information flow table to complete the design of a secondary circuit of a transformer substation, comprising:
after the matching of the actual interval data templates is completed, the functional areas of the equipment are matched with the data templates, and the connection of the functional areas is converted into the connection between the terminals of the equipment again, so that the design of a secondary circuit is completed.
10. The substation secondary circuit design method based on equipment function area and template matching according to claim 9, wherein:
the conversion of the functional area connection into a connection between terminals of the device comprises:
according to the logic for converting different functional modules of the equipment into functional areas, the reverse conversion functional area connection is the connection between the wiring terminals of the equipment, and the functional area connection is mapped to the connection between the actual wiring terminals.
CN202211536596.8A 2022-12-02 2022-12-02 Substation secondary circuit design method based on equipment function area and template matching Pending CN116029069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211536596.8A CN116029069A (en) 2022-12-02 2022-12-02 Substation secondary circuit design method based on equipment function area and template matching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211536596.8A CN116029069A (en) 2022-12-02 2022-12-02 Substation secondary circuit design method based on equipment function area and template matching

Publications (1)

Publication Number Publication Date
CN116029069A true CN116029069A (en) 2023-04-28

Family

ID=86071731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211536596.8A Pending CN116029069A (en) 2022-12-02 2022-12-02 Substation secondary circuit design method based on equipment function area and template matching

Country Status (1)

Country Link
CN (1) CN116029069A (en)

Similar Documents

Publication Publication Date Title
CN104133953B (en) Intelligent substation secondary design system
CN102403718B (en) Generating method for power grid topological relationship based on Arcgis
US11580272B2 (en) 3D model creation support system and 3D model creation support method
US9836573B2 (en) Method and system for multilateral validation of wire harness design outputs
CN105204458A (en) Intelligent configuration method
CN111625964B (en) Method, system and equipment for constructing transformer substation graph model based on logical relationship
CN105302954A (en) Multiplayer online intelligent transformer substation design system
CN112580178B (en) Graph-model bidirectional verification method and device for energy management system
CN111027746A (en) Intelligent distribution network system ring network diagram automatic generation method and device
US10776313B2 (en) Converting source objects to target objects
CN112287423A (en) Power distribution network visual planning method and terminal based on graph-model integration
CN109740223B (en) Auxiliary drawing method for direct-current power supply system of transformer substation
CN109165865B (en) Main distribution integrated model checking method and system based on boundary switch connectivity analysis
CN117057078A (en) Electrical wiring diagram generation method, device, equipment and medium
CN112966315A (en) Three-dimensional design system and method for secondary automation system of intelligent substation
CN116029069A (en) Substation secondary circuit design method based on equipment function area and template matching
CN111914376A (en) Method and device for automatically constructing power grid bus mode diagram and storage medium
CN111814292A (en) BIM technology-based automatic drawing method for electrical panel cabinet
CN112632650B (en) Intelligent design system and method for nonstandard explosion-proof electric appliance product
CN107357900A (en) A kind of control method and device of electric power system model versions of data
CN113868809A (en) Electric drawing method and device, computer equipment and storage medium
CN110737980B (en) Electrical design system and electrical design method
CN106651142A (en) Transformer station main equipment type selection method based on three-dimensional design platform
CN109923564A (en) Method for Computer-aided Design Technology system
CN106557616B (en) Low-voltage drawing system

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