Intelligent relation sample library system based on regional main network data and establishment method
The static CIM model of the power grid is processed through the intelligent relational sample library system to achieve association with power equipment information, solving the problem that power grid wiring diagrams and equipment information cannot be displayed intuitively, and improving the efficiency of power grid management and maintenance.
Patent Information
- Application Number
- CN202410823329.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-10-01
AI Technical Summary
The existing static CIM model of the power grid cannot effectively interact with external systems, cannot achieve resource sharing, and cannot visually display the basic information and status of the power grid wiring diagram and power equipment, making it difficult for staff to understand the grid wiring diagram and equipment during the preliminary maintenance work. information.
Design an intelligent relationship sample library system based on regional main network data, connect to the OCS system through the data acquisition module, collect and store original data, and convert it into a graphical power grid wiring diagram through the CIM data model module, combined with SVG diagrams The modeling building module creates graphical electrical equipment primitives, uses the data fusion and correlation module to perform binding or plug-in correlation, and displays the power data information on the power grid wiring diagram.
It realizes the correlation between static CIM model data and power equipment information and status, improves the visual display of power grid wiring diagrams, facilitates staff to understand grid wiring diagrams and equipment information, and supports more intuitive power system management and maintenance.
Smart Images

Figure CN118733857A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power system automation, and in particular to an intelligent relationship sample library system based on regional main grid data and a construction method thereof. Background Art
[0002] With the development of Internet technology, in order to quickly and accurately establish accurate power information, intelligent identification technology has begun to be introduced into the process of power grid construction. The power grid wiring diagram can reflect the topology between the plant and the line. It is a common reference for the dispatching, production, planning and other departments of the power grid. It has many applications in real-time dispatching and production management. At present, the main wiring diagram of the power grid plant is still drawn by manpower, which is a tedious task for the staff and is time-consuming and laborious. With the continuous expansion of the scale of the power grid, the number of plant and station lines is getting larger and larger, and the workload of producing the corresponding automation and digital power grid graphics has also increased significantly. In addition, during the power grid maintenance process, it is necessary to determine the maintenance scope based on the power grid wiring diagram, and then generate documents such as maintenance application forms. In this process, it is necessary to refer to the power grid wiring diagram and the information and status of the power equipment. For this, intuitive power grid wiring diagrams and power equipment status are particularly important.
[0003] At present, although most regional power grids have established their own static CIM models, the CIM models rarely interact with external systems and do not truly achieve resource sharing. At the same time, the static CIM model of the power grid cannot be well visualized, nor is it associated with the basic information of the power equipment. Therefore, when the staff are doing the preliminary work of maintenance, they cannot intuitively understand the power grid wiring diagram and the basic information and status of the power equipment. Therefore, when applying it, it is necessary to process the original static CIM model data to associate it with the information and status of the power equipment and display it more intuitively.
[0004] In view of this, an intelligent relationship sample library system and construction method based on regional main network data is needed. Summary of the invention
[0005] In view of the problem in the prior art that the staff cannot intuitively understand the power grid wiring diagram and the basic information and status of the power equipment when performing the preliminary maintenance work, the present invention provides an intelligent relationship sample library system and construction method based on regional main network data, which can process the original static CIM model data to associate it with the power equipment information and status, and display it more intuitively. The specific technical solution is as follows:
[0006] An intelligent relationship sample library system based on regional main network data, comprising:
[0007] A data acquisition module, the data acquisition module is used to connect to the OCS system, obtain original data about the regional main network from the system and store it in the first storage module;
[0008] A CIM data model module, which is connected to the data acquisition module, collects data from the first storage module, including the CIM model, and converts it into a graphical form of a power grid wiring diagram including a topology diagram and a connection diagram, and stores it in a second storage module;
[0009] A document reading module, which is connected to the data acquisition module, collects data from the first storage module, including CIM / E files, converts the CIM / E files into structured data in memory, and then stores them in the third storage module;
[0010] The database includes a first storage module, a second storage module and a third storage module, and the first storage module, the second storage module and the third storage module are independent storage modules, and can be independently stored and retrieved.
[0011] Preferably, it also includes an SVG graphic model construction module, which is connected to the database. The SVG graphic model construction module creates SVG basic graphic elements based on the equipment type of the regional main network and stores them in a fourth storage module. The fourth storage module is arranged in the database and is independent of the first storage module, the second storage module and the third storage module. In addition, the SVG graphic model construction module is connected to the CIM data model module to represent each electrical equipment in the power grid with a graphical electrical graphic element.
[0012] Preferably, it also includes a data fusion and association module, which is connected to the database. The data fusion and association module reads the data output by the CIM data model module and the SVG graphic model construction module and performs integrated association operations on them, so that the power grid wiring diagram displays relevant power data information, including equipment status, telemetry value and telesignal value.
[0013] Preferably, the data fusion and association module implements binding association, specifically associating SVG basic graphic elements with data information, and the associated data information includes device attribute information and remote signaling values.
[0014] Preferably, the data fusion and association module implements plug-in association, specifically, the data information is directly rendered onto the canvas without being bound to the actual device primitives.
[0015] Preferably, the plug-in association is performed only on the telemetry values.
[0016] A method for building an intelligent relationship sample library based on regional main network data includes the following steps:
[0017] Obtain files containing regional main network information from the OCS system, including CIM / E files. The equipment ledger and topological relationship in the OCS system are described using the CIM model.
[0018] Convert the CIM model into a graphical form of a power grid wiring diagram including a topology diagram and a connection diagram as a CIM data model;
[0019] Parse the CIM / E file into structured data in memory and store the data in the database to prevent parsing again the next time it is used, and verify it with the actual power grid model CIM / E file;
[0020] Create SVG basic graphics elements as SVG graphics element models based on the equipment types of the regional main network, and represent each electrical equipment in the power grid with graphical electrical graphics elements;
[0021] After the SVG primitive model and the CIM data model are established, an integrated association operation is performed to enable the power grid wiring diagram to display relevant power data information, including equipment status, telemetry values, and telesignaling values. The association operations mainly include binding association and insertion association. The binding association associates the SVG basic primitives with the data information, which includes equipment attribute information and telesignaling values; the insertion association renders the data information directly onto the canvas without binding it to the actual equipment primitives.
[0022] Preferably, the CIM / E file parsing process is as follows:
[0023] Read a CIM / E file and analyze its structure. While analyzing the document, use an event-based method to construct a corresponding custom document type object in memory, and then operate on the document object to extract the different information of each class element in the document and store it in different data structures in the elements of the collection object.
[0024] A computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the method for building an intelligent relationship sample library based on regional main network data as described above.
[0025] A processor is used to run a program, wherein when the program is run, the method for building an intelligent relationship sample library based on regional main network data as described above is executed.
[0026] Compared with the prior art, the present invention has the following beneficial effects:
[0027] The present invention is connected to the OCS system through a data acquisition module, and the original data about the regional main network is obtained from the system and stored in the first storage module; through the CIM data model module, the data of the first storage module, including the CIM model, is collected, and converted into a graphical form of a power grid wiring diagram including a topology diagram and a connection diagram and stored in the second storage module; through the document reading module, the data of the first storage module, including the CIM / E file, is collected, and the CIM / E file is converted into structured data in the memory and stored in the third storage module; through the SVG graphic model construction module, an SVG basic graphic element is created and stored in the fourth storage module; through the data fusion and association module, the data output by the CIM data model module and the SVG graphic model construction module are read and integrated and associated, so that the power grid wiring diagram displays relevant power data information, including equipment status, telemetry value and telesignal value. Based on this, the present invention can perform certain processing on the original static CIM model data, associate it with the power equipment information and status, and display it more intuitively. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.
[0029] Figure 1 It is the overall flow chart of the analysis based on CIM model;
[0030] Figure 2 This is a flowchart of document reading operation in CIM / E file parsing;
[0031] Figure 3 This is a schematic diagram of the graph model structure. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0034] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0035] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0036] Combine the following Figure 1-Figure 2 , the implementation modes of the present invention are further described.
[0037] At present, although most regional power grids have established their own static CIM models, the CIM models rarely interact with external systems and do not truly achieve resource sharing. At the same time, the static CIM model of the power grid cannot be well visualized, nor is it associated with the basic information of the power equipment. Therefore, when the staff are doing the preliminary work of maintenance, they cannot intuitively understand the power grid wiring diagram and the basic information and status of the power equipment.
[0038] Therefore, based on the above problems, the implementation scheme of the present invention is introduced, and then the original static CIM model data needs to be processed to a certain extent when applied, so that it is associated with the power equipment information and status, and displayed more intuitively.
[0039] In one embodiment of the present invention, an intelligent relationship sample library system based on regional main network data is provided, comprising:
[0040] A data acquisition module, the data acquisition module is used to connect to the OCS system, obtain original data about the regional main network from the system and store it in the first storage module;
[0041] A CIM data model module, which is connected to the data acquisition module, collects data from the first storage module, including the CIM model, and converts it into a graphical form of a power grid wiring diagram including a topology diagram and a connection diagram, and stores it in a second storage module;
[0042] A document reading module, which is connected to the data acquisition module, collects data from the first storage module, including CIM / E files, converts the CIM / E files into structured data in memory, and then stores them in the third storage module;
[0043] The database includes a first storage module, a second storage module and a third storage module, and the first storage module, the second storage module and the third storage module are independent storage modules, and can be independently stored and retrieved.
[0044] An SVG graphic model construction module is connected to a database. The SVG graphic model construction module creates SVG basic graphic elements based on the equipment type of the regional main network and stores them in a fourth storage module. The fourth storage module is arranged in the database and is independent of the first storage module, the second storage module and the third storage module. In addition, the SVG graphic model construction module is connected to the CIM data model module to represent each electrical equipment in the power grid with a graphical electrical graphic element.
[0045] The main network SVG graphics have the characteristics of convenient expansion, easy retrieval, small size, and interactivity. Convenient expansion means that SVG predefines a number of basic graphic elements, such as circles, rectangles, triangles, straight lines, etc. By combining these graphics, more complex graphics can be obtained, which is very convenient for the graphical development of power systems. Convenient retrieval means that the system can retrieve various graphic elements in SVG graphics. SVG is a text-based graphic format. When retrieving graphics, you only need to retrieve the text corresponding to the graphics to easily realize the retrieval of graphics.
[0046] Through SVG technology, each electrical device in the power grid can be represented by a graphical electrical element. In the power grid, an electrical element represents the graphic of an electrical device. Since the power grid contains a large number of electrical devices, the overall graphic of the power grid contains a large number of electrical elements. Therefore, the design of electrical elements is very important.
[0047] When extracting electrical graphics, analyze and summarize the basic characteristics of electrical equipment graphics, and design a general graphic display model to match the power grid visualization display. This model can also be called a graphic element model. The graphic element model of electrical equipment should include three parts: graphic attributes, application attributes, and interactive information. Its structure is as follows: Figure 3 As shown in the figure, the graphic attributes are composed of three parts: style, geometry information and animation effect. The geometry information mainly reflects the shape, size and position of the graphic element. The style mainly enables the graphic element to be displayed in a unified style. The animation effect mainly reflects the change of the shape of the graphic element, such as the animation of the opening and closing of the switch. Through these three attributes, the graphics of an electrical device can be accurately defined.
[0048] The data fusion and association module is connected to the database. The data fusion and association module reads the data output by the CIM data model module and the SVG graphic model construction module and performs integrated association operations on them, so that the power grid wiring diagram displays relevant power data information, including equipment status, telemetry values, and telesignaling values. The data fusion and association module implements binding association, specifically by associating SVG basic graphics elements with data information, and the associated data information includes equipment attribute information and telesignaling values. The data fusion and association module also implements plug-in association, specifically by rendering the data information directly on the canvas without binding it to the actual equipment graphics elements. The plug-in association only associates the telemetry values.
[0049] After the SVG graphic model and the CIM data model are established, the data fusion and association module performs relevant integrated association operations. Only after the association operation is completed can the power grid wiring diagram display relevant power data information, such as equipment status, telemetry values, and telesignaling values. The association methods mainly include binding association and insertion association.
[0050] Binding association is mainly used to associate SVG electrical equipment elements with data information. The associated data information can be equipment attribute information, remote signaling values, etc. Binding association is used to implement the binding of remote signaling values for a switch element.
[0051] This binding is used <metadata>Tag is used to associate the data source, and the value of its RefObject ID attribute should be equal to the ID value of the remote signal data in the database.
[0052] Insertion association is to render data information directly on the canvas without binding it to the actual device primitive. This method is mainly used to associate telemetry values. The following figure shows the insertion association of the telemetry value of a transformer. Its implementation principle is similar to that of binding association.
[0053] In one embodiment of the present invention, a method for building an intelligent relationship sample library based on regional main network data is provided. Figure 2 As shown, the following steps are included:
[0054] S1: Obtain files containing regional main network information from the OCS system, including CIM / E files. The equipment ledger and topological relationship in the OCS system are described using the CIM model;
[0055] S2: converting the CIM model into a graphical form of a power grid wiring diagram including a topology diagram and a connection diagram as a CIM data model;
[0056] S3: Parse the CIM / E file into structured data in memory and store the data in the database to prevent parsing again next time, and verify it with the actual power grid model CIM / E file; Figure 1 As shown, the CIM / E file parsing process is as follows:
[0057] By reading a CIM / E file and analyzing its structure, a corresponding custom document type object is constructed in memory using an event-based method while analyzing the document. The custom document type (The E_Document) implements the Document interface in the W3C standard. Then the program can operate on the document object, extracting different information of each class element in the document and storing it in different data structures in the elements (Table EClass type) in the collection object (Array List type).
[0058] According to the characteristics of CIM file structure, based on the DOM interface and SAX interface provided by W3C, this parsing solution defines a series of data structures such as node types for CIM / E file parsing for related operations of custom documents. A class or entity in the CIM / E format file corresponds to an element (The E_Element type) in the custom document object, and the class or entity name is used as the name of the element, the attributes of the class or entity are used as the attributes of the element, and the content between the class start mark and the class end mark is used as the content of the element. After encapsulating the data in the custom document object into a collection object, it is specifically analyzed and taken out. The overall parsing solution is divided into two major steps: event-based document object construction and document operation to encapsulate data. The method constructs a custom document type (The E_Document) object corresponding to the content of the file through the CIM / E file name. The implementation of this method depends on the method of the SAXReader type object. The class has a reference of the XMLReader type. The method of the object pointed to by the reference completes the specific analysis operation of the underlying file, and the callback function in the callback processor constructs the custom document object.
[0059] S4: Create SVG basic graphic elements as SVG graphic element models based on the equipment types of the regional main network, and represent each electrical equipment in the power grid with graphical electrical graphic elements;
[0060] S5: After the SVG primitive model and the CIM data model are established, an integrated association operation is performed to enable the power grid wiring diagram to display relevant power data information, including equipment status, telemetry values, and telesignaling values. The association operations mainly include binding association and insertion association. The binding association associates the SVG basic primitives with the data information, which includes equipment attribute information and telesignaling values; the insertion association renders the data information directly onto the canvas without binding it to the actual equipment primitives.
[0061] In summary, the present invention is connected to the OCS system through a data acquisition module, obtains the original data about the regional main network from the system and stores it in the first storage module; through the CIM data model module, collects the data of the first storage module, including the CIM model, and converts it into a graphical form of a power grid wiring diagram including a topology diagram and a connection diagram and stores it in the second storage module; through the document reading module, collects the data of the first storage module, including the CIM / E file, converts the CIM / E file into structured data in the memory and stores it in the third storage module; through the SVG graphic model construction module, creates SVG basic graphics and stores it in the fourth storage module; through the data fusion and association module, reads the data output by the CIM data model module and the SVG graphic model construction module and performs integrated association operations on them, so that the power grid wiring diagram displays relevant power data information, including equipment status, telemetry value and telesignal value. Based on this, the present invention can perform certain processing on the original static CIM model data, associate it with the power equipment information and status, and display it more intuitively.
[0062] Those of ordinary skill in the art will appreciate that the units (or modules, steps, the same below) of the examples described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition of each example has been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0063] In the embodiments provided by the present invention, it should be understood that the division of units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units can be combined into one unit, one unit can be split into multiple units, or some features can be ignored, etc.
[0064] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0065] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-0nlyMemory), random access memory (RAM, RandomAccessMemory), mobile hard disk, magnetic disk or optical disk, etc., which can store program code.
[0066] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.< / metadata>
Claims
1. An intelligent relationship sample library system based on regional main network data, characterized in that: include: A data acquisition module, the data acquisition module is used to connect to the OCS system, obtain original data about the regional main network from the system and store it in the first storage module; A CIM data model module, which is connected to the data acquisition module, collects data from the first storage module, including the CIM model, and converts it into a graphical form of a power grid wiring diagram including a topology diagram and a connection diagram, and stores it in a second storage module; A document reading module, which is connected to the data acquisition module, collects data from the first storage module, including CIM / E files, converts the CIM / E files into structured data in memory, and then stores them in the third storage module; The database includes a first storage module, a second storage module and a third storage module, and the first storage module, the second storage module and the third storage module are independent storage modules, and can be independently stored and retrieved.
2. According to claim 1, the intelligent relationship sample library system based on regional main network data is characterized in that: It also includes an SVG graphic model construction module, which is connected to the database. The SVG graphic model construction module creates SVG basic graphic elements based on the equipment type of the regional main network and stores them in a fourth storage module. The fourth storage module is arranged in the database and is independent of the first storage module, the second storage module and the third storage module. In addition, the SVG graphic model construction module is connected to the CIM data model module to represent each electrical equipment in the power grid with a graphical electrical graphic element.
3. The intelligent relationship sample library system based on regional main network data according to claim 2 is characterized in that: It also includes a data fusion and association module, which is connected to the database. The data fusion and association module reads the data output by the CIM data model module and the SVG graphic model construction module and performs integrated association operations on them, so that the power grid wiring diagram displays relevant power data information, including equipment status, telemetry value and telesignal value.
4. The intelligent relationship sample library system based on regional main network data according to claim 3 is characterized in that: The data fusion and association module implements binding association, specifically, associating SVG basic graphic elements with data information, and the associated data information includes device attribute information and remote signaling values.
5. The intelligent relationship sample library system based on regional main network data according to claim 3 is characterized in that: The data fusion and association module implements plug-in association, specifically, the data information is directly rendered onto the canvas without being bound to the actual device primitives.
6. The intelligent relationship sample library system based on regional main network data according to claim 5 is characterized in that: Insertive correlation only correlates telemetry values.
7. A method for building an intelligent relationship sample library based on regional main network data, characterized in that: The following steps are involved: Obtain files containing regional main network information from the OCS system, including CIM / E files. The equipment ledger and topological relationship in the OCS system are described using the CIM model. Convert the CIM model into a graphical form of a power grid wiring diagram including a topology diagram and a connection diagram as a CIM data model; Parse the CIM / E file into structured data in memory and store the data in the database to prevent parsing again the next time it is used, and verify it with the actual power grid model CIM / E file; Create SVG basic graphics as SVG graphics model based on the equipment type of the regional main network, and represent each electrical equipment in the power grid with graphical electrical graphics; After the SVG primitive model and the CIM data model are established, an integrated association operation is performed to enable the power grid wiring diagram to display relevant power data information, including equipment status, telemetry values, and telesignaling values. The association operations mainly include binding association and insertion association. The binding association associates the SVG basic primitives with the data information, which includes equipment attribute information and telesignaling values; the insertion association renders the data information directly onto the canvas without binding it to the actual equipment primitives.
8. The method for building an intelligent relationship sample library based on regional main network data according to claim 7, characterized in that: The CIM / E file parsing process is as follows: Read a CIM / E file and analyze its structure. While analyzing the document, use an event-based method to construct a corresponding custom document type object in memory, and then operate on the document object to extract the different information of each class element in the document and store it in different data structures in the elements of the collection object.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the method for building an intelligent relationship sample library based on regional main network data as described in any one of claims 7 to 8.
10. A processor, characterized in that: The processor is used to run a program, wherein when the program is run, the method for building an intelligent relationship sample library based on regional main network data as described in any one of claims 7 to 8 is executed.
Citation Information
Patent Citations
Method for graph-model information sharing of intelligent substation and dispatching master station
CN105807658A
Three-dimensional grid automatic modeling method based on CIM model and SVG graph
CN108520163A
