CN110866320B - Automatic intelligent platform region graph generation method and system - Google Patents

Automatic intelligent platform region graph generation method and system Download PDF

Info

Publication number
CN110866320B
CN110866320B CN201910992125.XA CN201910992125A CN110866320B CN 110866320 B CN110866320 B CN 110866320B CN 201910992125 A CN201910992125 A CN 201910992125A CN 110866320 B CN110866320 B CN 110866320B
Authority
CN
China
Prior art keywords
nodes
node
user
wiring diagram
topological relation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910992125.XA
Other languages
Chinese (zh)
Other versions
CN110866320A (en
Inventor
刘胜兰
苏宏勋
秦卫东
于跃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai XJ Electric Co Ltd
Zhuhai Xujizhi Power System Automation Co Ltd
Original Assignee
Zhuhai XJ Electric Co Ltd
Zhuhai Xujizhi Power System Automation 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 Zhuhai XJ Electric Co Ltd, Zhuhai Xujizhi Power System Automation Co Ltd filed Critical Zhuhai XJ Electric Co Ltd
Priority to CN201910992125.XA priority Critical patent/CN110866320B/en
Publication of CN110866320A publication Critical patent/CN110866320A/en
Application granted granted Critical
Publication of CN110866320B publication Critical patent/CN110866320B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to an automatic generation method and system of an intelligent platform region graph, which belongs to the technical field of electric power and is used for realizing the following steps: generating identification signals through means such as current distortion and voltage distortion, automatically identifying topological relations and generating topological description files of the topological relations to report to a power distribution master station, and simultaneously, receiving topology data files sent by an intelligent transformer area terminal by a master station system to analyze and automatically generating and drawing a transformer area user relation wiring diagram by adopting a layout algorithm according to topology attention. The beneficial effects of the invention are as follows: the method can automatically draw the transformer substation area user change wiring diagram according to the transformer substation area user change relation, reduces the intermediate links of the low-voltage distribution network diagram maintenance, reduces the workload of manual maintenance, and ensures the topology and the graph accuracy of the transformer substation area user change relation of the low-voltage distribution network.

Description

Automatic intelligent platform region graph generation method and system
Technical Field
The invention relates to an intelligent platform region graph automatic generation method and system, and belongs to the technical field of electric power.
Background
The distribution transformer is main equipment of a low-voltage distribution network, is directly used for supplying power to users, and has the advantages of wide distribution, large quantity and relatively low automation degree. Along with the provision of the power supply capability, the power supply quality and the power supply requirement of a user, the intelligent sensing technology and the Internet of things technology are applied to the field of low-voltage power distribution and utilization, and a power supply enterprise gradually establishes an intelligent platform area to monitor and manage the intelligent platform area. Aiming at a huge number of intelligent areas accessing a power distribution main station or a low-voltage monitoring system, the user topology and the graph of the areas are frequent, and the requirements of site rapid equipment access and operation and maintenance workload cannot be met by manually drawing graphs and manually transmitting points.
At present, in a distribution and utilization master station system, two modes are generally adopted for graph model library modeling, one is to provide a graph model editing tool in distribution emphasis, and draw a platform region graph, a topology and a real-time ammeter through the graph model editing tool. The other is that the drawing template library is drawn through the GIS module and then is imported into the power distribution master station through the import module. A drawing process is required for drawing a graphic model setup, whether a graphic model editing tool or GIS import is used. The drawing of the pattern of the topological relation of the low-voltage distribution network is basically carried out by taking a transformer area as a unit, related operation personnel provide the topological relation (or change condition) of the power grid for maintenance personnel of a master station system, and the maintenance personnel of the master station system carry out manual maintenance (new construction or modification), configuration of three remote information and final release on the pattern according to the obtained data. For power supply enterprises (hundreds of thousands of areas) with a large number of areas, the maintenance workload of the pattern is large, and due to manual reasons, the pattern is often not updated timely and is easy to make mistakes.
Disclosure of Invention
The invention provides an automatic generation method and system of an intelligent transformer area graph, which are used for generating identification signals through means such as current distortion, voltage distortion and the like, automatically identifying topological relations and generating topological description files of the topological relations to report to a power distribution master station, and simultaneously, the master station system receives analysis of topological data files sent by an intelligent transformer area terminal and automatically generates and draws a transformer area user change relation wiring diagram by adopting a layout algorithm according to topological attention.
The technical scheme of the invention is that the method for automatically generating the intelligent platform region graph is characterized by comprising the following steps: s100, identifying a user-variable topological relation through distortion of current and voltage and generating a corresponding user-variable topological file; s200, drawing a region node and a region connecting line diagram according to a user-variable topological relation through a user-defined layout algorithm; the layout algorithm includes arranging node sequence numbers and calculating node coordinates.
Further, the S100 further includes: s101, collecting identification signals generated by distortion of current and voltage at a distribution transformer low-voltage outlet switch, at each branch switch and at a meter box of an end user, and used for identifying a user transformer topological relation and generating a platform region topological relation description file to be reported to a distribution master station.
Further, the S200 further includes: s201, a topology identification and generation module of the pattern system reads user variable topology file analysis from a specified directory, and sends analysis results to an automatic pattern forming module to generate a transformer area wiring diagram so as to finish pattern drawing.
Further, the method further comprises the following steps: s1, starting a scanning thread by a system, periodically scanning whether new and unprocessed user topological relation data files exist according to a certain period, judging whether corresponding wiring diagrams exist according to a platform area identification in the data files if the new and unprocessed user topological relation data files exist, executing a step S2 if the corresponding wiring diagrams exist, otherwise executing a step S3, and not executing operation if the data files do not exist; s2, opening an existing wiring diagram, and carrying out incremental mapping drawing on the basis of the existing wiring diagram according to the topological relation described by the data file; and S3, creating a wiring diagram, establishing a corresponding relation with the transformer area, and drawing a full-quantity diagram in the new wiring diagram according to the description of the data file.
Further, the station area connection diagram takes a station area monitoring range as a basic unit, and one station area is drawn in a corresponding wiring diagram mode; the user transformer topology file takes a platform area allocation as a starting point, takes a user table as an end point, and adopts an XML (extensive markup language) to describe the user transformer topology file by adopting a hierarchical structure, wherein the description information comprises: a zone ID, a zone name, a device ID of each node, a device type, a device name, and geographical location information.
Further, the user-variable topological relation is in a tree structure, namely members in the relation are composed of a plurality of homogeneous nodes, each node comprises 0 or 1 father node and 0 or more child nodes, the data structure of the user-variable topological relation is designed to describe the connection relation among all the single nodes through father nodes and child nodes of the nodes, namely a set, and traverse the user topological relation tree of the whole area through a traversing strategy, wherein the traversing strategy comprises a depth priority strategy and a breadth priority strategy.
Further, the node sequence number arrangement comprises the steps of uniformly numbering all the nodes, and using a numbering strategy from top to bottom and from left to right according to the hierarchical structure of the tree and the sequence of the peer nodes; the calculation of the node coordinates comprises the steps of grouping a father node and all direct child nodes thereof as reference object units according to the number sequence of the nodes, and calculating the coordinates of all the child nodes according to the coordinates of the father node.
Further, the calculating node coordinates further comprises judging whether the nodes overlap, if so, carrying out coordinate translation according to a translation principle, wherein the translation principle is to keep the coordinates of the child nodes of the current group unchanged, and translate the node coordinates of each group on the left side of the child nodes leftwards, otherwise, not executing operation; the method for judging whether the nodes overlap is that the 1 st child node of the current group is compared with the coordinate position of the last child node of the previous group, Y coordinates of the two nodes are compared, if the Y coordinates are consistent, the nodes are judged to be in the same level, and otherwise, the nodes are not in the same level.
Further, the step of drawing the nodes of the platform area comprises the steps of opening a wiring diagram and judging whether the nodes exist, drawing a new graphic instance at the calculated coordinate position if the nodes do not exist, otherwise, finding the graphic instance corresponding to the nodes, and moving the graphic instance to the new coordinate position; the drawing of the station area wiring diagram comprises grouping and carrying out wiring drawing by groups by taking a father node and all direct child nodes thereof as reference object units, wherein the drawing method of each group of internal wiring is that virtual nodes are generated and coordinates are calculated according to the number of the child nodes in the group, then wiring is drawn among the nodes, and connection relation between the nodes and the wiring is established.
Another aspect of the present invention is an intelligent platform graphic automatic generation system, which is characterized by comprising:
the distortion module is used for generating voltage and current distortion; the identification module is used for identifying a household variable topological relation through distortion of current and voltage; the topology file generation module is used for generating a corresponding household change topology file according to the identification result of the identification module; the platform region node drawing module draws platform region nodes according to the user-variable topological relation through a user-defined layout algorithm; the platform area wiring diagram drawing module draws a platform area wiring diagram according to the user-variable topological relation through a user-defined layout algorithm; the scanning module is used for starting a scanning thread and periodically scanning whether new and unprocessed user topological relation data files exist or not according to a certain period; the system comprises a platform area node drawing module, a platform area wiring diagram drawing module and a platform area node drawing module, wherein the platform area node drawing module and the platform area wiring diagram drawing module further comprise an incremental drawing module and a full-quantity drawing module, and the incremental drawing module is used for carrying out incremental drawing on the basis of the existing wiring diagram; and the full-quantity mapping drawing module is used for creating a wiring diagram and establishing a corresponding relation with the transformer area, and carrying out full-quantity mapping drawing in the new wiring diagram according to the description of the data file.
The beneficial effects of the invention are as follows: the method can automatically draw the transformer substation area user change wiring diagram according to the transformer substation area user change relation, reduces the intermediate links of the low-voltage distribution network diagram maintenance, reduces the workload of manual maintenance, and ensures the topology and the graph accuracy of the transformer substation area user change relation of the low-voltage distribution network.
Drawings
FIG. 1 is a flow chart of a method according to a preferred embodiment of the present invention;
FIG. 2 is a system block diagram according to a preferred embodiment of the present invention;
FIG. 3 is a schematic diagram of an architecture according to a preferred embodiment of the present invention;
FIG. 4 is a schematic diagram of a user-variable topology according to a preferred embodiment of the present invention;
FIG. 5 is a diagram illustrating a data structure of a single device node in accordance with a preferred embodiment of the present invention;
FIG. 6 is a schematic diagram of node coordinates in accordance with a preferred embodiment of the present invention;
FIG. 7 is a schematic diagram of node numbering according to the preferred embodiment of the present invention;
FIG. 8 is a schematic diagram of coordinate translation according to a preferred embodiment of the present invention;
FIG. 9 is a pictorial illustration of a preferred embodiment in accordance with the present invention;
FIG. 10 is a diagram illustrating a group-wise wiring drawing in accordance with a preferred embodiment of the present invention;
fig. 11 shows a final diagram according to a preferred embodiment of the present invention.
Detailed Description
The conception, specific structure, and technical effects produced by the present invention will be clearly and completely described below with reference to the embodiments and the drawings to fully understand the objects, aspects, and effects of the present invention.
It is noted that, as used in this disclosure, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Furthermore, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in the description presented herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used herein includes any combination of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various modules, these modules should not be limited by these terms. These terms are only used to distinguish one module of the same type from another. For example, a first module may also be referred to as a second module, and similarly, a second module may also be referred to as a first module, without departing from the scope of the present disclosure. The use of any and all examples, or exemplary language (e.g., "such as") provided herein, is intended merely to better illuminate embodiments of the invention and does not pose a limitation on the scope of the invention unless otherwise claimed.
Referring to FIG. 1, a flow chart of the method of the present invention is shown, comprising
S100, identifying a user-variable topological relation through distortion of current and voltage and generating a corresponding user-variable topological file;
s200, drawing a region node and a region connecting line diagram according to a user-variable topological relation through a user-defined layout algorithm; the layout algorithm includes arranging node sequence numbers and calculating node coordinates.
Referring to FIG. 2, a system architecture diagram of the present invention is shown, comprising
The distortion module is used for generating voltage and current distortion;
the identification module is used for identifying a household variable topological relation through distortion of current and voltage;
the topology file generation module is used for generating a corresponding household change topology file according to the identification result of the identification module;
the platform region node drawing module draws platform region nodes according to the user-variable topological relation through a user-defined layout algorithm;
the platform area wiring diagram drawing module draws a platform area wiring diagram according to the user-variable topological relation through a user-defined layout algorithm;
the scanning module is used for starting a scanning thread and periodically scanning whether new and unprocessed user topological relation data files exist or not according to a certain period;
wherein the platform region node drawing module and the platform region wiring diagram drawing module further comprise an incremental diagram drawing module and a full-quantity diagram drawing module,
the incremental mapping drawing module is used for incremental mapping drawing based on the existing wiring diagram;
and the full-quantity mapping drawing module is used for creating a wiring diagram and establishing a corresponding relation with the transformer area, and carrying out full-quantity mapping drawing in the new wiring diagram according to the description of the data file.
The invention is composed of two parts of an intelligent platform area monitoring device and a master station image model system, and respectively completes two main functions of making platform area topological relation data into an automatic image forming of a platform area wiring diagram and a platform area wiring diagram.
(1) Intelligent platform area monitoring equipment
The intelligent station area monitoring device comprises: distribution Transformer Terminals (TTU), branch identification modules, intelligent electric meters (including terminal identification modules) and the like, intelligent monitoring equipment communicate through a broadband carrier mechanism, identification signals are generated through means such as current distortion and voltage distortion, topological relations are automatically identified, topology description files of the topological relations are generated, and the topology description files are reported to a distribution master station.
(2) Master station pattern system
And the master station system receives the analysis of the topology data file sent by the intelligent platform region terminal and automatically generates and draws a platform region user change relation wiring diagram by adopting a layout algorithm according to the topology attention.
Referring to fig. 3, an overall architecture diagram is automatically formed based on intelligent zones,
the distribution transformer low-voltage outlet switch and each branch switch are provided with a branch identification module, the end user meter box is provided with an end identification module, and a user acquires related information to identify a user-to-user topological relation. And the distribution Transformer Terminal (TTU) is communicated with each identification module through a broadband carrier wave, generates a platform region topological relation description file (XML) after calculation according to the acquired information, and reports the distribution master station.
And after receiving a remote signaling event reported by the TTU, the power distribution master station front-end system reads the topological relation description data of the platform region from the TTU through 101/104 protocol, generates a platform region user change topology file, and stores the data file under a designated directory of the master station.
And the topology identification and generation module of the graph model system reads the user variable topology file from the appointed directory to analyze, and sends the analysis result to the automatic graph forming module to generate a transformer area wiring graph so as to finish graph model drawing.
(1) Automatic diagramming recognition
Starting a special scanning thread at the low-voltage master station system side, periodically scanning whether a new and unprocessed user topological relation data file arrives, judging whether a corresponding wiring diagram exists according to a station area identification in the data file, opening the existing wiring diagram if the corresponding wiring diagram exists, and carrying out incremental drawing on the basis of the existing wiring diagram according to the topological relation described by the data file; if not, a wiring diagram is newly established, a corresponding relation with the transformer area is established, and 'full-scale mapping' is carried out in the new wiring diagram according to the description of the data file.
(2) User topology description file description
The area wiring diagram takes an area monitoring range as a basic unit, and one area is drawn in a corresponding wiring diagram mode. The topology relation file of the platform region user change takes the platform region allocation as a starting point, takes a user table as an end point and adopts a hierarchical structure for description by using XML. The description information includes: the information such as the area ID, the area name, the equipment ID of each node, the equipment type, the equipment name, the geographic position and the like.
Referring to fig. 4, a schematic diagram of a user-variable topology is described in the XML file as follows:
< data > record file summary information, including: area ID, name, update time, etc.
< nodes > records all node information, each node containing attributes of node ID, name, device type, etc.
< links > records all connection relationships, each connection contains from and to attributes, pointing to the node ID of the connection, respectively, where from points to the power source side node and to points to the user side node.
(3) User topology data structure design
The main body of the topological relation of the users in the platform area is a Tree structure (Tree), namely, members in the relation are composed of a plurality of homogeneous nodes, each node comprises 0 or 1 father node and 0 or more child nodes, and the sequence among the child nodes does not influence the expression of the topological relation. The data structure of the topological relation of the users in the platform area is designed as follows: connection relations among all the single nodes are described through father nodes and child node (set) pointers of the nodes, and the topology relation tree of the whole platform region user is traversed through different traversing strategies such as 'depth priority' and 'breadth priority'. In combination with the basic equipment attributes, the data structure of a single equipment node in the topological relation tree of the designed area user is shown in figure 5, the data structure of the single equipment node,
the parent node pointer and the child node set pointer point to the memory address of the corresponding node object, the initial values of the node serial number and the node coordinate are null, and the assignment after calculation is needed according to a layout algorithm.
(4) Layout algorithm design
The topological relation wiring diagram of the users in the platform area adopts a horizontal, horizontal and vertical orthogonal drawing method, the nodes on the top layer are positioned at the top of the diagram, the nodes on each layer are unfolded downwards layer by layer according to the hierarchical sequence, the same row spacing is kept between the nodes on each layer, the same column spacing is kept between the nodes of brothers on the same layer, and the father node is positioned at the middle position of all the child nodes. The coordinate position of each node is calculated according to the layout requirement, the coordinate calculation adopts a standard coordinate system, namely the origin of the coordinates is positioned at the center of the drawing area, the X axis is forward to the right, the Y axis is forward to the upward, as shown in the node coordinate schematic diagram of figure 6,
the layout algorithm comprises: two key works of node serial number and node coordinate calculation are arranged.
Node sequence number arrangement
Before calculating the coordinates of the nodes, all the nodes are uniformly numbered, and the main purpose of the node numbering is to find the number of the node related to the current node according to the number of the current node in the process of calculating the coordinates, so that the node object is found, and meanwhile, the node number can reflect certain relations among the nodes. The calculation sequence of the coordinates of the nodes is consistent with the number sequence of the nodes, namely, the coordinates of the nodes with small sequence numbers are calculated first, so that the advantage is that the coordinates of which nodes are calculated at present can be easily known.
According to the hierarchical structure of the tree and the sequence of the peer nodes, a numbering method from top to bottom and from left to right is adopted, as shown in fig. 7, a node numbering schematic diagram,
it can be seen that in this numbering method, the number of the child node is larger than the number of the parent node, and in the same subtree, the number of the left sibling node (minus one) and the number of the right sibling node (plus one) can be conveniently obtained from the current node number, and it is particularly important that, when determining whether two child trees of the same level overlap, only the relationship between the magnitudes of the X coordinates of the rightmost child node of the left subtree and the leftmost child node of the right subtree needs to be determined, for example: in the above diagram, it can be determined whether the 2 and 3 subtrees overlap by determining whether the 5 and 6 nodes overlap or cross. The rightmost child node of the left subtree can be conveniently found from the leftmost child node of the right subtree, and the node numbers have a simple relation of minus one.
The order of node numbering is essentially a "breadth-first" node traversal method employed on a tree structure.
Calculating node coordinates
The calculation of the coordinates of the nodes is carried out according to the numbering sequence of the nodes, a father node and all the direct child nodes are used as reference object units for grouping, and the coordinates of all the child nodes are calculated according to the coordinates of the father node, and the algorithm is as follows: assuming that the coordinates of the root node are (X0, Y0), a layer height value (rowHeight) and a column width value (colWidth) are set, the coordinates of each child node can be conveniently calculated according to a layout algorithm as follows:
because the method only considers the two-layer structure of a father node and a direct child node thereof, when the layer 3 and more than layer 3 are calculated, the problem of node overlapping is inevitably generated, the method for solving the problem of node overlapping is to carry out coordinate translation, and the principle of translation is as follows: the coordinates of the child nodes of the current group are kept unchanged, and the coordinates of the nodes of each group on the left side are shifted leftwards.
Referring to fig. 8, a coordinate translation schematic,
taking fig. 8 as an example, the coordinates of node 1 are defined as (X0, Y0), and the coordinates of node 2 and node 3 in group 1 can be calculated at the time of the first calculation; in the 2 nd calculation, coordinates of the node 4 and the node 5 in the group 2 can be calculated according to the coordinates of the node 2; at the time of the 3 rd calculation, the coordinates of the node 6, the node 7 and the node 8 in the group 3 are calculated according to the coordinates of the node 3. It is apparent that there is an overlap between group 3 and group 2 at this time by shifting all nodes of group 2 to the left so that they do not overlap with group 3 and by shifting the position of node 2 so that node 1 is no longer located directly between node 2 and node 3, the position of node 1 is also adjusted. Meanwhile, as the nodes of group 2 are moved, it is also determined whether group 2 overlaps with the new node to the left, if so, the left translation is continued until there are no more nodes to the left.
The method for judging whether the overlapping exists is as follows: comparing the coordinate positions of the 1 st child node of the current group and the last child node of the last group (such as the positions of the node 6 and the node 5), and the number of the last child node of the last group can be obtained by subtracting one from the number of the first child node of the current group, comparing the Y coordinates of the two nodes, and judging whether the two nodes are on the same level (the same Y coordinate indicates on the same level), if the two nodes are not on the same level, the left translation is not needed.
Calculation of translation distance:
in translation, only the X-coordinate component of the node needs to be changed.
(5) Mapping algorithm design
After the node coordinates are calculated and assigned to the node attributes, the graph can be drawn. The mapping algorithm mainly comprises the following steps: drawing of "nodes" and drawing of "links". According to whether the original image exists or not, the method can be divided into 'full drawing' and 'incremental drawing'. Incremental rendering requires that the node's graphical instance cannot be regenerated, and the rendering of the join line is not limited.
The full-volume rendering is relatively simple, and the incremental rendering is complicated, because in the case of an increment (scene change), the number and position of nodes may change, and the connection relationship may also change.
For unified processing, the full-volume rendering can be regarded as a special case of the delta rendering (i.e., delta rendering with an initial state of null), and the delta rendering algorithm is applied in a unified manner:
for the node, if the node does not exist, drawing a new graphic instance at the calculated coordinate position, if the node exists, finding the graphic instance corresponding to the node, and moving the graphic instance to the new coordinate position; for the connection line, a mode of deleting all the connection lines and then redrawing the connection lines is adopted.
The node is simply drawn, and the connection line is complicated, because the connection diagram adopts a horizontal-vertical orthogonal drawing method, one connection line is divided into a plurality of line segments, and some middle virtual nodes need to be introduced, so that the final effect can be as shown in figure 9,
the blue dots in fig. 9 are segments of an independent connection line between the virtual nodes, between the virtual nodes and the real nodes, or between the real nodes, which need to be introduced.
When the line drawing between the nodes is performed, the line drawing is performed group by group, taking one parent node and all the direct child nodes thereof as reference object units as well, as shown in figure 10,
thus, the drawing algorithm only needs to consider "how the links within the group draw" and "how to traverse all groups".
The internal connection of the group is actually the connection from the father node to each child node in the group, when drawing, virtual nodes are generated and coordinates are calculated according to the number of the child nodes in the group, then the connection is drawn between the (virtual) nodes, and the connection relationship between the (virtual) nodes and the connection is established.
The traversal of the group may be performed in accordance with a "depth-first" traversal method of the tree.
Finally, deleting the equipment nodes (equipment possibly removed) which are in the original wiring diagram but are not in the current user topology description file, thus completing the automatic mapping processing of the user topology of the whole area. The final imaging effect may be as in fig. 11.
It should be appreciated that embodiments of the invention may be implemented or realized by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer readable memory. The methods may be implemented in a computer program using standard programming techniques, including a non-transitory computer readable storage medium configured with a computer program, where the storage medium so configured causes a computer to operate in a specific and predefined manner, in accordance with the methods and drawings described in the specific embodiments. Each program may be implemented in a high level procedural or object oriented programming language to communicate with a computer system. However, the program(s) can be implemented in assembly or machine language, if desired. In any case, the language may be a compiled or interpreted language. Furthermore, the program can be run on a programmed application specific integrated circuit for this purpose.
Furthermore, the operations of the processes described herein may be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context. The processes (or variations and/or combinations thereof) described herein may be performed under control of one or more computer systems configured with executable instructions, and may be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications), by hardware, or combinations thereof, collectively executing on one or more processors. The computer program includes a plurality of instructions executable by one or more processors.
Further, the method may be implemented in any type of computing platform operatively connected to a suitable computing platform, including, but not limited to, a personal computer, mini-computer, mainframe, workstation, network or distributed computing environment, separate or integrated computer platform, or in communication with a charged particle tool or other imaging device, and so forth. Aspects of the invention may be implemented in machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, optical read and/or write storage medium, RAM, ROM, etc., such that it is readable by a programmable computer, which when read by a computer, is operable to configure and operate the computer to perform the processes described herein. Further, the machine readable code, or portions thereof, may be transmitted over a wired or wireless network. When such media includes instructions or programs that, in conjunction with a microprocessor or other data processor, implement the steps described above, the invention described herein includes these and other different types of non-transitory computer-readable storage media. The invention also includes the computer itself when programmed according to the methods and techniques of the present invention.
The computer program can be applied to the input data to perform the functions described herein, thereby converting the input data to generate output data that is stored to the non-volatile memory. The output information may also be applied to one or more output devices such as a display. In a preferred embodiment of the invention, the transformed data represents physical and tangible objects, including specific visual depictions of physical and tangible objects produced on a display.
The present invention is not limited to the above embodiments, but can be modified, equivalent, improved, etc. by the same means to achieve the technical effects of the present invention, which are included in the spirit and principle of the present invention. Various modifications and variations are possible in the technical solution and/or in the embodiments within the scope of the invention.

Claims (6)

1. An automatic intelligent platform region graph generation method is characterized by comprising the following steps:
s100, identifying a user-variable topological relation through distortion of current and voltage and generating a corresponding user-variable topological file;
s101, collecting identification signals generated by distortion of current and voltage at a distribution transformer low-voltage outlet switch, at each branch switch and at a meter box of an end user, and used for identifying a user transformer topological relation and generating a platform topological relation description file to be reported to a distribution master;
s200, drawing a region node and a region connecting line diagram according to a user-variable topological relation through a user-defined layout algorithm; the layout algorithm comprises node sequence number arrangement and node coordinate calculation;
s201, a topology identification and generation module of the pattern system reads user variable topology file analysis from a specified directory, and sends an analysis result to an automatic pattern forming module to generate a land wiring diagram so as to finish pattern drawing;
the user-variable topological relation is in a tree structure, namely members in the relation are composed of a plurality of homogeneous nodes, each node comprises 0 or 1 father node and 0 or more child nodes, the data structure of the user-variable topological relation is designed to describe the connection relation among all the single nodes through the father node and the child nodes of the node, namely a set, and traverse the user topological relation tree of the whole area through a traversing strategy, wherein the traversing strategy comprises a depth priority strategy and a breadth priority strategy;
s1, starting a scanning thread by a system, periodically scanning whether new and unprocessed user topological relation data files exist according to a certain period, judging whether corresponding wiring diagrams exist according to a platform area identification in the data files if the new and unprocessed user topological relation data files exist, executing a step S2 if the corresponding wiring diagrams exist, otherwise executing a step S3, and not executing operation if the data files do not exist;
s2, opening an existing wiring diagram, and carrying out incremental mapping drawing on the basis of the existing wiring diagram according to the topological relation described by the data file;
and S3, creating a wiring diagram, establishing a corresponding relation with the transformer area, and drawing a full-quantity diagram in the new wiring diagram according to the description of the data file.
2. The method for automatically generating intelligent site graphics as recited in claim 1, wherein,
the station area wiring diagram takes a station area monitoring range as a basic unit, and one station area is drawn in a corresponding wiring diagram mode;
the user transformer topology file takes a platform area allocation as a starting point, takes a user table as an end point, and adopts an XML (extensive markup language) to describe the user transformer topology file by adopting a hierarchical structure, wherein the description information comprises: a zone ID, a zone name, a device ID of each node, a device type, a device name, and geographical location information.
3. The method for automatically generating intelligent site graphics as recited in claim 1, wherein,
the node sequence number arrangement comprises the steps of uniformly numbering all nodes, and using a numbering strategy from top to bottom and from left to right according to the hierarchical structure of the tree and the sequence of the same-level nodes;
the calculation of the node coordinates comprises the steps of grouping a father node and all direct child nodes thereof as reference object units according to the number sequence of the nodes, and calculating the coordinates of all the child nodes according to the coordinates of the father node.
4. The method for automatically generating intelligent site graphics as recited in claim 1, wherein,
the node coordinate calculation method comprises the steps of calculating node coordinates, judging whether the nodes overlap, if so, carrying out coordinate translation according to a translation principle, wherein the translation principle is to keep the coordinates of child nodes of a current group unchanged, and translating the node coordinates of each group on the left side of the child nodes leftwards, otherwise, not executing operation;
the method for judging whether the nodes overlap is that the 1 st child node of the current group is compared with the coordinate position of the last child node of the previous group, Y coordinates of the two nodes are compared, if the Y coordinates are consistent, the nodes are judged to be in the same level, and otherwise, the nodes are not in the same level.
5. The method for automatically generating intelligent site graphics as recited in claim 1, wherein,
the step of drawing the nodes of the platform area comprises the steps of opening a wiring diagram and judging whether the nodes exist, drawing a new graphic instance at the calculated coordinate position if the nodes do not exist, otherwise, finding the graphic instance corresponding to the nodes, and moving the graphic instance to the new coordinate position;
the drawing of the station area wiring diagram comprises grouping and carrying out wiring drawing by groups by taking a father node and all direct child nodes thereof as reference object units, wherein the drawing method of each group of internal wiring is that virtual nodes are generated and coordinates are calculated according to the number of the child nodes in the group, then wiring is drawn among the nodes, and connection relation between the nodes and the wiring is established.
6. An intelligent site graphic automatic generation system, comprising:
the distortion module is used for generating voltage and current distortion;
the identification module is used for identifying a household variable topological relation through distortion of current and voltage;
the topology file generation module is used for generating a corresponding household change topology file according to the identification result of the identification module;
the platform region node drawing module draws platform region nodes according to the user-variable topological relation through a user-defined layout algorithm;
the platform area wiring diagram drawing module draws a platform area wiring diagram according to the user-variable topological relation through a user-defined layout algorithm;
the scanning module is used for starting a scanning thread and periodically scanning whether new and unprocessed user topological relation data files exist or not according to a certain period;
wherein the platform region node drawing module and the platform region wiring diagram drawing module further comprise an incremental diagram drawing module and a full-quantity diagram drawing module,
the incremental mapping drawing module is used for opening the existing wiring diagram and carrying out incremental mapping drawing on the basis of the existing wiring diagram according to the topological relation described by the data file;
and the full-quantity mapping drawing module is used for creating a wiring diagram and establishing a corresponding relation with the transformer area, and carrying out full-quantity mapping drawing in the new wiring diagram according to the description of the data file.
CN201910992125.XA 2019-10-18 2019-10-18 Automatic intelligent platform region graph generation method and system Active CN110866320B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910992125.XA CN110866320B (en) 2019-10-18 2019-10-18 Automatic intelligent platform region graph generation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910992125.XA CN110866320B (en) 2019-10-18 2019-10-18 Automatic intelligent platform region graph generation method and system

Publications (2)

Publication Number Publication Date
CN110866320A CN110866320A (en) 2020-03-06
CN110866320B true CN110866320B (en) 2023-10-03

Family

ID=69652664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910992125.XA Active CN110866320B (en) 2019-10-18 2019-10-18 Automatic intelligent platform region graph generation method and system

Country Status (1)

Country Link
CN (1) CN110866320B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111814281B (en) * 2020-06-22 2024-01-26 积成电子股份有限公司 Automatic drawing method for topological relation diagram of transformer area based on multi-tree hierarchical layout
CN112039197A (en) * 2020-07-21 2020-12-04 厦门亿力吉奥信息科技有限公司 Automatic mapping method of distribution room topological graph and computer readable storage medium
CN112202245A (en) * 2020-09-29 2021-01-08 国网北京市电力公司 Automatic mapping system for low-voltage transformer area wiring diagram
CN112583119A (en) * 2020-11-25 2021-03-30 国网福建省电力有限公司 Low-voltage intelligent platform area simulation platform system based on intelligent fusion terminal
CN112734876A (en) * 2021-01-08 2021-04-30 卓望数码技术(深圳)有限公司 Graph drawing method, graph drawing device, electronic equipment and storage medium
CN112886574B (en) * 2021-01-26 2023-06-30 国网甘肃省电力公司武威供电公司 Power grid operation control method and system based on graphic database
CN114915560B (en) * 2021-02-07 2023-05-30 国网浙江省电力有限公司营销服务中心 Low-voltage distribution network topology identification method, device and system based on current fingerprint
CN112818568A (en) * 2021-03-03 2021-05-18 广东电网有限责任公司 Method, device, equipment and storage medium for determining topological relation of low-voltage transformer area
CN113189472A (en) * 2021-04-15 2021-07-30 国网福建省电力有限公司福州供电公司 Low-voltage network circuit topology structure detection method and system
CN113312734B (en) * 2021-05-12 2023-07-04 广东顺畅科技有限公司 Ammeter network topology generation method and device and computer readable storage medium
CN113315233B (en) * 2021-06-17 2022-12-16 上海山源电子科技股份有限公司 Automatic drawing method and system for power grid topological graph
CN114362177B (en) * 2022-03-16 2022-06-28 深圳友讯达科技股份有限公司 Multi-frequency characteristic current signal-based household variable topology relation identification method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102254256A (en) * 2011-07-21 2011-11-23 福建省电力有限公司福州电业局 Transmission and distribution network integration comprehensive line loss management analysis system and processing flow thereof
CN103150425A (en) * 2013-02-06 2013-06-12 上海交通大学 Automatic generation method used for single line diagram of distribution network and based on topological hierarchy
CN106960103A (en) * 2017-03-30 2017-07-18 国网福建省电力有限公司 The automatic generation method and device of a kind of grid graph
CN107483082A (en) * 2017-08-17 2017-12-15 杭州昊美科技有限公司 A kind of low-voltage distribution network topology automatic identification method and system based on the work frequency carrier communication technology
CN108427823A (en) * 2018-01-26 2018-08-21 国网江苏省电力有限公司扬州供电分公司 A kind of low-voltage platform area Auto based on pattern layout and Topology service
CN108832626A (en) * 2018-07-06 2018-11-16 北京中电普华信息技术有限公司 A kind of low-voltage power distribution station area topology identification method and system
CN109217478A (en) * 2018-11-19 2019-01-15 深圳市均方根科技有限公司 Low-voltage platform area topological relation recognition methods, concentrator and storage medium
CN109857885A (en) * 2019-01-21 2019-06-07 王星宇 Intelligent substation main wiring diagram automatic generation method based on SCD file
CN110350528A (en) * 2019-07-22 2019-10-18 石家庄科林电气股份有限公司 A kind of low-voltage platform area topology automatic identification method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102254256A (en) * 2011-07-21 2011-11-23 福建省电力有限公司福州电业局 Transmission and distribution network integration comprehensive line loss management analysis system and processing flow thereof
CN103150425A (en) * 2013-02-06 2013-06-12 上海交通大学 Automatic generation method used for single line diagram of distribution network and based on topological hierarchy
CN106960103A (en) * 2017-03-30 2017-07-18 国网福建省电力有限公司 The automatic generation method and device of a kind of grid graph
CN107483082A (en) * 2017-08-17 2017-12-15 杭州昊美科技有限公司 A kind of low-voltage distribution network topology automatic identification method and system based on the work frequency carrier communication technology
CN108427823A (en) * 2018-01-26 2018-08-21 国网江苏省电力有限公司扬州供电分公司 A kind of low-voltage platform area Auto based on pattern layout and Topology service
CN108832626A (en) * 2018-07-06 2018-11-16 北京中电普华信息技术有限公司 A kind of low-voltage power distribution station area topology identification method and system
CN109217478A (en) * 2018-11-19 2019-01-15 深圳市均方根科技有限公司 Low-voltage platform area topological relation recognition methods, concentrator and storage medium
CN109857885A (en) * 2019-01-21 2019-06-07 王星宇 Intelligent substation main wiring diagram automatic generation method based on SCD file
CN110350528A (en) * 2019-07-22 2019-10-18 石家庄科林电气股份有限公司 A kind of low-voltage platform area topology automatic identification method

Also Published As

Publication number Publication date
CN110866320A (en) 2020-03-06

Similar Documents

Publication Publication Date Title
CN110866320B (en) Automatic intelligent platform region graph generation method and system
CN107402976B (en) Power grid multi-source data fusion method and system based on multi-element heterogeneous model
CN105488269A (en) CIM based automatic graph-forming system for power transmission and distribution network
US20150012902A1 (en) Automatic mapping method for a distribution network based on logical layout
CN107545085B (en) Automatic generation method for process level network connection diagram of intelligent substation
CN107679276B (en) Generation method and device of power system tide wiring diagram and electronic equipment
CN103020335A (en) Method for automatically converting distribution network geographic wiring diagram into region orthogonal diagram
CN111814281B (en) Automatic drawing method for topological relation diagram of transformer area based on multi-tree hierarchical layout
CN112202245A (en) Automatic mapping system for low-voltage transformer area wiring diagram
CN102867091B (en) The quantitation modification method of a kind of electric network current diagram
CN107948008B (en) Modeling method for low-voltage distribution network monitoring system
CN111711677A (en) Virtual and real loop visualization method, system and medium for process layer switch of intelligent substation
CN109447466B (en) Overall process visual management and control system based on power distribution network communication network construction
CN103942345A (en) Method for automatically generating IED network graph
CN112070261A (en) Method for automatically generating plant station internal wiring diagram based on CIME power grid model
CN112448829A (en) Network topology display method and device, readable storage medium and intelligent terminal
CN201820263U (en) Field pipeline data acquisition and update system based on topological relation
CN111914376A (en) Method and device for automatically constructing power grid bus mode diagram and storage medium
CN108563898B (en) Man-machine interactive single-line digital modeling method for power grid
CN104731051A (en) Method for achieving sensor point position objectification
Li et al. Distribution feeder one-line diagrams automatic generation from geographic diagrams based on GIS
CN216014298U (en) Building supervisory systems based on BIM
CN113407172B (en) Distribution cloud master station-based automatic platform area graph display system and method
CN112532432B (en) Automatic mapping method and system based on LTU terminal
CN110991158B (en) Bidirectional modeling method and system based on graph and model integration

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
GR01 Patent grant
GR01 Patent grant