A method and device for distribution network diagram model management
Through deep machine learning and image recognition technology, intelligently identify and verify the equipment and connections in the distribution grid diagram model, and generate structured wiring diagrams, solving the problems of high labor costs and data in the diagram model management, improving management efficiency and security.
Patent Information
- Application Number
- CN202210131729.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-14
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2042-02-14
AI Technical Summary
In the distribution network, the lack of intelligent auxiliary technology for graph model management leads to high labor costs, inconsistent graph maintenance standards, and untimely data updates, resulting in inconsistent graph counts and inconsistent graph realities, affecting the safety and efficiency of the scheduling control system.
Using deep machine learning and image recognition technology, intelligently recognize devices, connections and text in CAD diagrams, generate structured picture description files, realize graph model consistency verification, automatically generate wiring diagrams, and reduce manual repetition work.
It improves the efficiency and accuracy of network diagram model management, reduces the working pressure of automation personnel, and improves the intelligence level of diagram model operation and maintenance.
Smart Images

Figure CN114676959B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power systems, and particularly relates to a method and device for managing distribution network diagram models. Background Art
[0002] In recent years, power companies in each network province have been vigorously promoting the construction of distribution automation. During this process, the transformation of the distribution network and the frequent adjustment of line operation modes are involved. The wiring diagram used to describe electrical equipment and its network topology structure is the core part of the dispatching control system. Without intelligent auxiliary technology, it is inevitable to spend a large amount of labor costs to deal with diagram model change events and continuously adjust and modify the diagram model information in the distribution network main station system. In most regions of the country, the high-voltage diagram models and medium-voltage diagram models of the distribution network are derived from different platforms such as the dispatching automation system and the production management system. There are no standardized online means for the change update and model splicing of the high-voltage and medium-voltage, that is, the main distribution network diagram models. There are still many on-site single-line diagrams, connection diagrams, and loop network diagrams that are manually drawn and entered by dispatching operation and maintenance personnel with reference to the original CAD design drawings. Problems such as inconsistent diagram numbers and discrepancies between diagrams and actual situations caused by inconsistent graphic maintenance standards and untimely data updates will interfere with the judgment of dispatchers during daily fault handling and monitoring, bringing potential safety hazards. Therefore, it is urgent to design a set of management methods for distribution network diagram models, on the one hand, to improve the effectiveness of data quality control, and on the other hand, to reduce the repetitive work pressure of grass-roots personnel. Summary of the Invention
[0003] The purpose of the present invention is to provide a method and device for managing distribution network diagram models, which process and analyze CAD drawings and CIM / G files, and realize the intelligent identification and arrangement of elements such as equipment, connections, and text by combining graphic recognition technology and deep learning algorithms, verify the consistency of multi-source diagram models, automatically generate structured picture description files for various wiring diagrams, realize the connection from static pictures to online monitoring entity objects, improve the efficiency and accuracy of distribution network diagram model management, and assist in reducing the repetitive work pressure of automation personnel.
[0004] To achieve the above object, the technical solution adopted by the present invention is as follows:
[0005] A method for managing distribution network diagram models includes:
[0006] Create a data set containing graphic elements and text;
[0007] Extract typical graphic elements from the data set for equipment model mapping;
[0008] Configure mapping parameters, and establish mapping relationships between typical graphic elements of the same equipment and between texts based on the mapping parameters;
[0009] Obtain the topological information of the device model based on the undirected graph, and perform graphic conversion on the topological information of the device model based on the mapping relationship to generate a specification layout file CIM / G;
[0010] Combined with the differences between the generated specification layout file CIM / G and the original SVG / XML file in the distribution network production management system, the differential layout method is used to operate on the differences, and the original SVG / XML file is optimized into a graph.
[0011] Furthermore, the creation of a dataset containing graphic elements and text includes:
[0012] Import the existing CAD drawings and the published drawings of CIM / G files, and parse the graphic elements to obtain basic graphic elements, annotation graphic elements, device attributes, symbols, layers, drawing frames and annotation information;
[0013] Perform data enhancement on each graphic element through machine generation to obtain new graphic element samples, which together with the parsed graphic elements form a graphic element dataset;
[0014] Import commercial library model data, construct a corpus corresponding to the distribution network device model, and form a text recognition dataset.
[0015] Furthermore, the data enhancement of each graphic element through machine generation includes at least one of the following operations: flipping, translation, rotation, adding noise, and blurring.
[0016] Furthermore, the extraction of typical graphic elements from the dataset for device model mapping includes:
[0017] The extracted typical graphic elements include area graphic elements, line graphic elements, block symbols and device annotation text;
[0018] The area graphic elements include substations, switch stations, distribution rooms, cable branch boxes, ring main units and box-type substations;
[0019] The line graphic elements include cables, overhead lines and connecting lines;
[0020] The block symbols include switches, disconnecting switches, pole transformers and towers;
[0021] Adopt graphic element drawing rules to establish the mapping between each device object and its corresponding typical graphic element set.
[0022] Furthermore, the configuration of mapping parameters, based on the mapping parameters, establish the mapping relationship between the same device's typical graphic elements and between texts, including:
[0023] Use at least one of the following parameters as mapping parameters to establish the mapping relationship and save it as a mapping template;
[0024] The parameters include the ratio of text to the size of typical graphic elements, the inclination angle of text lines, the text color and background color, and the text spacing.
[0025] Furthermore, the generation of the standardized layout file CIM / G includes:
[0026] Obtaining the topological information of the device model based on the undirected graph, including the device annotation name and topological nodes;
[0027] Performing sequential traversal on the topological nodes, starting from the substation busbar, constructing the regional topological relationship, and mapping the device model information corresponding to the typical graphic elements according to the device annotation name;
[0028] Establishing an object index for each device virtual ID, and recording the topological node numbers and parent-child topological relationships associated with each device;
[0029] Based on the mapping relationships between typical graphic elements and between texts, performing graphic conversion to generate the standardized layout file CIM / G, and the CIM / G file contains the topological structure of the single-line diagram and device model information.
[0030] Furthermore, the operation on the differences by using the differential layout method includes:
[0031] Defining model verification rules, comparing the original SVG / XML file in the distribution network production management system and the generated topological structure of the single-line diagram, and finding the differential topological points and topological lines;
[0032] According to the differences, performing addition, deletion or relocation, and optimizing the original SVG / XML file to generate a CIM / G file integrating resource and asset information.
[0033] Furthermore, the addition, deletion or relocation according to the differences includes:
[0034] A. For the newly added content, find the new access point on the original topological structure of the single-line diagram, and place the newly added content in a compliant area;
[0035] B. For the content with topological position changes, re-place it in combination with the changed topological points and the changed positions.
[0036] Furthermore, it also includes:
[0037] After generating the CIM / G file integrating resource and asset information, verifying the topological connectivity and performing consistency verification on the graph-model data, and identifying the missing attributes, associated errors and virtual connections of the graph-model data;
[0038] And,
[0039] After the verification passes, record the version information, and generate the connection diagram and ring network diagram according to the topological relationship.
[0040] Furthermore, it further includes:
[0041] When equipment changes occur due to line cutover, line renovation, grid optimization, or new user access, the differential layout method is used again to operate on the differences, update the CIM / G file, and record the version information.
[0042] The present invention also provides a distribution network diagram model management device, including:
[0043] A data acquisition module, used to create a data set including graphic elements and text;
[0044] An extraction module, used to extract typical graphic elements from the data set for equipment model mapping;
[0045] A mapping module, used to configure mapping parameters and establish mapping relationships between typical graphic elements of the same equipment and between texts based on the mapping parameters;
[0046] A conversion module, used to obtain equipment model topology information based on an undirected graph, and perform graphic conversion on the equipment model topology information based on the mapping relationship to generate a standard layout file CIM / G;
[0047] And,
[0048] A layout module, used to combine the differences between the generated standard layout file CIM / G and the original SVG / XML file in the distribution network production management system, and use the differential layout method to operate on the differences to optimize the original SVG / XML file into a diagram.
[0049] Furthermore, the mapping module is specifically used for,
[0050] Using at least one of the following parameters as mapping parameters to establish a mapping relationship and save it as a mapping template;
[0051] The parameters include the size ratio of text to typical graphic elements, the inclination angle of the text line, the text color and the background color, and the text spacing.
[0052] Furthermore, the conversion module is specifically used for,
[0053] Obtaining equipment model topology information based on an undirected graph, including equipment annotation names and topological nodes;
[0054] Performing sequential traversal on the topological nodes, using the substation bus as the starting point to construct a regional topological relationship, and mapping the equipment model information corresponding to the typical graphic elements according to the equipment annotation names;
[0055] Establishing an object index for each equipment virtual ID, and recording the topological node numbers and parent-child topological relationships associated with each equipment;
[0056] Based on the mapping relationships between typical graphic elements and between texts, perform graphic conversion to generate a standardized layout file CIM / G, and the CIM / G file contains the single-line diagram topological structure and device model information.
[0057] Furthermore, the layout module is specifically used for,
[0058] Define model verification rules, compare the original SVG / XML file in the distribution network production management system and the generated single-line diagram topological structure, and find out the different topological points and topological lines;
[0059] According to the differences, perform addition, deletion or relocation, and optimize the original SVG / XML file to generate a CIM / G file integrating resource and asset information;
[0060] The performing addition, deletion or relocation according to the differences includes:
[0061] A. For the newly added content, find the newly added access point on the original single-line diagram topological structure, and place the newly added content in a compliant area;
[0062] B. For the content with changed topological positions, re-place it in combination with the changed topological points and the changed positions.
[0063] The present invention has at least the following beneficial effects:
[0064] The method for distribution network diagram model management using artificial intelligence technologies such as deep machine learning and image recognition in the field of power systems realizes the intelligent identification and arrangement of elements such as devices, connection lines, and texts in the original CAD design drawing, automatically generates a structured picture description file of the distribution network wiring diagram, and on this basis, connects the diagram model import and change update processes of the distribution network production management system, intelligently extracts the graphic layout of the CAD drawings used in daily work, and based on the syntax and semantic verification and consistency verification of CIM / SVG graphics, automatically identifies problems such as missing attributes, incorrect associations, and loose connection lines of diagram model data, improves the online maintenance efficiency and accuracy of the wiring diagram, solves the business pain points of distribution network diagram model management, and improves the intelligent level of distribution network diagram model operation and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 is a flowchart of a method for distribution network diagram model management provided by the present invention;
[0066] Figure 2 is a flowchart of a differential layout algorithm provided by the present invention;
[0067] Figure 3 is an example of line topological structure change in the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0068] The present invention will be further described below. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.
[0069] A distribution network graph model management method provided by the present invention includes:
[0070] Create a data set containing graphic elements and text;
[0071] Extract typical graphic elements from the data set for device model mapping;
[0072] Configure mapping parameters, and establish mapping relationships between typical graphic elements of the same device and between texts based on the mapping parameters;
[0073] Obtain device model topology information based on an undirected graph, and perform graphic conversion on the device model topology information based on the mapping relationships between typical graphic elements and between texts to generate a specification layout file CIM / G;
[0074] Combine the differences between the specification layout file CIM / G and the original SVG / XML file in the distribution network production management system, draw the original SVG / XML file into a graph, and generate a connection diagram and a ring network diagram according to the topological relationship.
[0075] As a preferred implementation manner, a data set for graphic element and text recognition is created through machine learning, specifically as follows:
[0076] (1) Import the existing CAD drawings and the released drawings of CIM / G files, parse the graphic elements and create drawing organizations, including information such as basic graphic elements, annotation graphic elements, device attributes, symbols, layers, drawing frames, and comments;
[0077] (2) Perform data enhancement on each device graphic element through machine generation, covering basic operations such as flipping, translation, rotation, adding noise, and blurring, and combine these operations to generate new samples;
[0078] (3) Import commercial library model data and construct a corpus corresponding to the distribution network device model, that is, a text recognition data set.
[0079] As a preferred implementation, extracting typical graphic elements includes surface graphic elements such as substations, switch stations, distribution rooms, cable branch boxes, ring main units, box-type substations, etc.; line graphic elements such as cables, overhead lines, connecting lines, etc.; block symbols such as switches, disconnecting switches, pole transformers, poles, etc. and equipment labeling text. For the wiring diagrams drawn by CAD, there are some differences between the graphic elements and the online production operation diagrams of the power system. The same equipment may have different graphic element styles. There will also be corresponding deviations in the equipment naming text. The intelligent word segmentation technology is used to implement the mapping relationship. For example, the combination of switch number + branch line name. The same equipment can be inferred on both sides through the switch number. Each type of object matches several common graphic element drawing rules. For example, there are three types of drawing graphic elements corresponding to substations, and two types corresponding to switch stations, etc. Establish the mapping between each equipment object and its corresponding graphic element set. In addition to the usual graphic element drawing rules of the electrical wiring diagram, the mapping rules can also be expanded.
[0080] As a preferred implementation, based on the technologies of image segmentation and image depth of field, mapping parameters are configured. Mapping relationships are established for details such as the size ratio between text and typical graphic elements, the inclination angle of text lines, text color and background color, text spacing, etc., and saved as templates for subsequent direct calls to improve the text detection and recognition ability and generalization performance of the end-to-end model.
[0081] As a preferred implementation, the topological information of the equipment model is obtained based on an undirected graph, including equipment labeling names and topological nodes;
[0082] Perform a sequential traversal of the topological nodes and access them layer by layer. Starting from the substation bus, construct the regional topological relationship. Map the graphic element corresponding equipment model information according to the equipment labeling name (the model information includes the name, type, topological node number, parent node information, etc. of the equipment), establish an object index for each virtual ID of the equipment, and record the topological node numbers associated with each equipment and the parent-child topological relationship;
[0083] Based on the mapping relationships between typical graphic elements and between texts, generate a standardized layout file CIM / G. The CIM / G file contains the topological structure of the single-line diagram and equipment model information.
[0084] As a preferred implementation, define model verification rules, compare the original SVG / XML files in the distribution network production management system and the topological structure of the single-line diagram generated in the previous step, and find out the topological points and topological lines of the different parts; perform addition, deletion, or relocation of the content of the different parts.
[0085] Specifically, according to the text mapping relationship and graphic element mapping relationship, compare the quantities of various equipment models, the quantities of labeling texts, and the quantities of topological nodes, and find out the topological points and topological lines of the different parts.
[0086] In this embodiment, the differential layout method is used to operate on the differential part. For details, please refer to Figure 2 ,
[0087] Compare the topological structures of the single-line diagrams before and after the change, find the topological points and topological lines of the differential part, and on the basis of maintaining the layout before the change, add, delete or relocate the content of the differential part in the following ways:
[0088] A. For the newly added content, find the newly added access points on the original single-line diagram topological structure and place the newly added content in a suitable area;
[0089] B. For the content with changed topological positions, the diagram model needs to be updated in combination with the changed topological points and the changed positions.
[0090] After all the differential content update operations are completed, the diagram is optimized based on the original SVG / XML file, and a CIM / G file integrating resource and asset information is generated;
[0091] Then, verify the topological connectivity and the consistency of the diagram count, record the version information, and generate the connection diagram and the ring network diagram based on the topological relationship on this basis.
[0092] It should be noted that based on the syntax and semantic verification and consistency verification of CIM / SVG graphics, problems such as missing attributes, incorrect associations, and loose connection lines of the diagram model data can also be automatically identified.
[0093] It should be noted that the diagram layout meets the requirements that the device diagram elements and annotations do not collide or overlap, the lines have few intersections, the substations are horizontally divided into multiple layers as close as possible and aligned as much as possible, and the placement of the newly added access points is based on but not limited to the following rules:
[0094] (1) The graphics maintain a certain aspect ratio, and the graphics fill the entire screen when displayed full screen;
[0095] (2) When the whole diagram is displayed, the electrical topological relationship of the main trunk layer and the states of the main switches can be clearly viewed, the bending and intersection of the lines are minimized as much as possible, and the graphic symbols conform to the dispatching usage specifications;
[0096] (3) In the connection diagram, the substations at the same level are preferably in the same horizontal or vertical direction. In principle, there are no more than 4 - 5 substations at the same level. Layout according to actual needs, keep the busbars between substations aligned, and keep the spacing as consistent as possible to ensure the layering of the layout;
[0097] (4) Adjust the device annotations to an appropriate size to ensure clarity, easy recognition, and clear identification of the devices to which the annotations belong;
[0098] (5) Reasonably arrange the switch numbers and measurement information;
[0099] The situation of line crossing is reflected by the jumper arc;
[0100] (7) If there are multiple backup supply lines for important users, and more than 2 or 2 or more switches of the backup supply lines are in the open state, then the backup supply lines are not mapped;
[0101] (8) The main network equipment is required to be arranged from left to right above, and the overhead lines and pole-mounted switches are vertically arranged from top to bottom;
[0102] (9) Telemetry information is generated automatically for mapping (to be verified), and only the telemetry information of the switches in the substation and the pole-mounted switches is generated, and the rest of the switches are not generated.
[0103] It should be noted that due to reasons such as line cutover, line transformation, grid optimization, and new user access, the distribution network lines will change frequently, resulting in equipment changes, with equipment added or removed, and the topological structure of the lines will change accordingly. Due to equipment changes in the lines, the topological structure of the generated single-line diagram is different from the actual topological structure of the lines. It is necessary to use the above differential layout method again, find the changed topological points and the positions after the change for the content with changed topological positions, and optimize the mapping again to generate the latest CIM / G file, record the version information, and support the one-diagram multi-state management service.
[0104] There are three situations of differences in the line topological structure. One is topological addition, the second is topological reduction, and the third is topological position change. For example, see Figure 3 , according to the topological connection relationship, delete the branch line between node 2 and node 4, or add a branch line between nodes 2 and 3, or replace the connection line between 3 and 3-1 with the connection line between 2 and 3-1.
[0105] The present invention also provides a distribution network diagram model management device, including:
[0106] A data acquisition module for creating a data set including graphic elements and text;
[0107] An extraction module for extracting typical graphic elements from the data set for device model mapping;
[0108] A mapping module for configuring mapping parameters and establishing mapping relationships between typical graphic elements of the same device and between texts based on the mapping parameters;
[0109] A conversion module for obtaining device model topological information based on an undirected graph, and performing graphic conversion on the device model topological information based on the mapping relationship to generate a specification layout file CIM / G;
[0110] And,
[0111] A layout module, which is used to combine the differences between the generated standard layout file CIM / G and the native SVG / XML file in the distribution network production management system, operate on the differences using the differential layout method, and optimize the native SVG / XML file into a diagram.
[0112] Specifically, the mapping module is used to
[0113] Establish a mapping relationship using at least one of the following parameters as mapping parameters, and save it as a mapping template;
[0114] Among them, the parameters include the size ratio of text to typical graphic elements, the inclination angle of text lines, the text color and background color, and the text spacing.
[0115] Specifically, the conversion module is used to
[0116] Obtain the topological information of the device model based on the undirected graph, including the device label name and topological nodes;
[0117] Perform a sequential traversal of the topological nodes, starting from the substation bus, construct the regional topological relationship, and map the device model information corresponding to the typical graphic elements according to the device label name;
[0118] Establish an object index for each device virtual ID, and record the topological node numbers and parent-child topological relationships associated with each device;
[0119] Based on the mapping relationships between typical graphic elements and between texts, perform graphic conversion to generate the standard layout file CIM / G, and the CIM / G file contains the topological structure of the single-line diagram and device model information.
[0120] Specifically, the layout module is used to
[0121] Define model verification rules, compare the native SVG / XML file in the distribution network production management system and the generated topological structure of the single-line diagram, and find the differential topological points and topological lines;
[0122] According to the differences, perform addition, deletion, or relocation, and optimize the native SVG / XML file to generate a CIM / G file integrating resource and asset information;
[0123] Among them, performing addition, deletion, or relocation according to the differences includes:
[0124] A. For newly added content, find the new access point on the original single-line diagram topological structure, and place the newly added content in a compliant area;
[0125] B. For the content with changed topological positions, combine the changed topological points and the changed positions, and re-place them.
[0126] It should be noted that the device embodiments correspond to the above method embodiments, and the implementation manners of the above method embodiments are all applicable to the device embodiments and can achieve the same or similar technical effects, so they will not be elaborated here.
[0127] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0128] The present application is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, and the combination of the flows and / or blocks in the flowchart and / or block diagram can also be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the specified functions in Figure 1 one or more of the flows Figure 1 or blocks.
[0129] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the specified functions in Figure 1 one or more of the flows Figure 1 or blocks.
[0130] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the specified functions in Figure 1 one or more of the flows Figure 1 or blocks.
[0131] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications or equivalent replacements can still be made to the specific implementation manners of the present invention, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the protection scope of the claims of the present invention.
Claims
1. A distribution network diagram model management method, characterized in that, Including: Create a dataset containing graphic elements and text, including: import existing CAD drawings and CIM / G file release drawings, parse the graphic elements to obtain basic graphic elements, annotation graphic elements, device attributes, symbols, layers, drawing frames, and annotation information; perform data augmentation on each graphic element through machine generation to obtain new graphic element samples, which together with the parsed graphic elements form a graphic element dataset; import commercial library model data, construct a corpus corresponding to the distribution network equipment model, and form a text recognition dataset; Extract typical graphic elements from the dataset for device model mapping; Configure mapping parameters, and based on the mapping parameters, establish mapping relationships between typical graphic elements of the same device and between texts; Obtain device model topological information based on an undirected graph, and based on the mapping relationship, perform graphic conversion on the device model topological information to generate a standardized layout file CIM / G, including: obtain device model topological information based on an undirected graph, including device annotation names and topological nodes; perform sequential traversal on the topological nodes, starting from the substation busbar, construct regional topological relationships, and map the device model information corresponding to the typical graphic elements according to the device annotation names; establish an object index for each device virtual ID, record the topological node numbers and parent-child topological relationships associated with each device; based on the mapping relationships between typical graphic elements and between texts, perform graphic conversion to generate a standardized layout file CIM / G, and the CIM / G file contains the single-line diagram topological structure and device model information; Combine the differences between the generated standardized layout file CIM / G and the original SVG / XML file in the distribution network production management system, and use the differential layout method to operate on the differences to optimize the original SVG / XML file into a drawing, including: define model verification rules, compare the original SVG / XML file in the distribution network production management system and the generated single-line diagram topological structure, and find the differential topological points and topological lines; perform addition, deletion, or relocation according to the differences to optimize the original SVG / XML file to generate a CIM / G file integrating resource and asset information; where performing addition, deletion, or relocation according to the differences includes: A. For newly added content, find the new access point on the original single-line diagram topological structure and place the newly added content in a compliant area; B. For content with changed topological positions, re-place it in combination with the changed topological points and the changed positions.
2. The power distribution network diagram model management method according to claim 1, characterized in that The data augmentation of each graphic element through machine generation includes at least one of the following operations: flipping, translation, rotation, adding noise, blurring.
3. The power distribution network diagram model management method according to claim 1, characterized in that The extracting typical graphic elements from the dataset for device model mapping includes: The extracted typical graphic elements include surface graphic elements, line graphic elements, block symbols, and device annotation texts; The surface graphic elements include substations, switch stations, distribution rooms, cable branch boxes, ring main units, and box-type substations; The line graphic elements include cables, overhead lines, and connecting lines; The block symbols include switches, disconnecting switches, pole transformers, and poles; Adopt graphic element drawing rules to establish the mapping between each device object and its corresponding set of typical graphic elements.
4. A distribution network diagram model management method according to claim 1, characterized in that, The configuration mapping parameters are used to establish mapping relationships between typical graphic elements and between texts of the same device based on the mapping parameters, including: Using at least one of the following parameters as mapping parameters to establish a mapping relationship and save it as a mapping template; The parameters include the size ratio of text to typical graphic elements, the inclination angle of text lines, the text color and background color, and the text spacing.
5. A distribution network diagram model management method according to claim 1, characterized in that The method further includes: After generating the CIM / G file integrating resource and asset information, verifying the topological connectivity and performing consistency verification of graphic model data to identify missing attributes, associated errors, and virtual connections of connection lines in the graphic model data; And, After the verification passes, recording the version information and generating a connection diagram and a ring network diagram according to the topological relationship.
6. The power distribution network diagram model management method according to claim 1, characterized in that The method further includes: When device changes occur due to line cutover, line transformation, grid optimization, or new user access, the differential layout method is used again to operate on the differences, update the CIM / G file, and record the version information.
7. A distribution network diagram and model management device, characterized in that, For implementing the distribution network graphic model management method described in any one of claims 1 to 6, the device includes: A data acquisition module for creating a data set containing graphic elements and texts. The specific implementation process is as follows: Importing the existing CAD drawings and the published drawings of the CIM / G file, parsing the graphic elements to obtain basic graphic elements, annotation graphic elements, device attributes, symbols, layers, drawing frames, and annotation information; Performing data enhancement on each graphic element through machine generation to obtain new graphic element samples, which together with the parsed graphic elements form a graphic element data set; Importing commercial library model data and constructing a corpus corresponding to the distribution network device model to form a text recognition data set; An extraction module for extracting typical graphic elements from the data set for device model mapping; A mapping module for configuring mapping parameters and establishing mapping relationships between typical graphic elements and between texts of the same device based on the mapping parameters; A conversion module for obtaining device model topological information based on an undirected graph and performing graphic conversion on the device model topological information based on the mapping relationship to generate a standard layout file CIM / G. The specific implementation process is as follows: Obtaining device model topological information based on an undirected graph, including device annotation names and topological nodes; Sequentially traversing the topological nodes, starting from the substation bus, constructing a regional topological relationship, and mapping the device model information corresponding to the typical graphic elements according to the device annotation names; Creating an object index for each device virtual ID, recording the topological node numbers and parent-child topological relationships associated with each device; Performing graphic conversion based on the mapping relationships between typical graphic elements and between texts to generate a standard layout file CIM / G, and the CIM / G file contains the single-line diagram topological structure and device model information; And, The layout module is used to combine the differences between the generated specification layout file CIM / G and the native SVG / XML file in the distribution network production management system, and operate on the differences using the differential layout method to optimize the native SVG / XML file into a graph. The specific implementation process is as follows: Define model verification rules, compare the native SVG / XML file in the distribution network production management system and the generated single-line diagram topological structure, and find out the differential topological points and topological lines; According to the differences, add, delete or relocate positions to optimize the native SVG / XML file to generate a CIM / G file integrating resources and asset information; The adding, deleting or relocating positions according to the differences includes: A. For the newly added content, find the newly added access point on the original single-line diagram topological structure and place the newly added content in a compliant area; B. For the content with changed topological positions, relocate it in combination with the changed topological points and the changed positions.
8. The distribution network diagram model management device according to claim 7, characterized in that, The mapping module is specifically used for establishing a mapping relationship with at least one of the following parameters as mapping parameters and saving it as a mapping template; The parameters include the size ratio of text to typical graphic elements, the inclination angle of text lines, the text color and background color, and the text spacing.
Citation Information
Patent Citations
Method for importing PMS 2.0 graph model file
CN112328538A
Power distribution network graph and model two-way no-difference verification method
CN113870051A