CN117056564A - Power topology island detection method, device, equipment and storage medium - Google Patents
Power topology island detection method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN117056564A CN117056564A CN202311022287.3A CN202311022287A CN117056564A CN 117056564 A CN117056564 A CN 117056564A CN 202311022287 A CN202311022287 A CN 202311022287A CN 117056564 A CN117056564 A CN 117056564A
- Authority
- CN
- China
- Prior art keywords
- power
- power equipment
- topology
- model
- container
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 11
- 230000003068 static effect Effects 0.000 claims abstract description 44
- 238000000034 method Methods 0.000 claims abstract description 32
- 239000007787 solid Substances 0.000 claims abstract description 25
- 230000006870 function Effects 0.000 description 5
- 238000010276 construction Methods 0.000 description 3
- 238000005065 mining Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
- G06F16/9024—Graphs; Linked lists
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/9038—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/06—Electricity, gas or water supply
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J13/00—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
- H02J13/00001—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by the display of information or by user interaction, e.g. supervisory control and data acquisition systems [SCADA] or graphical user interfaces [GUI]
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J13/00—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
- H02J13/00002—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by monitoring
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J13/00—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
- H02J13/00032—Systems characterised by the controlled or operated power network elements or equipment, the power network elements or equipment not otherwise provided for
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Engineering (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
The invention discloses a method, a device, equipment and a storage medium for detecting an electric power topological island based on graph database analysis, which comprise the following steps: step 1, taking a container and power equipment as nodes and the relation between the container and the power equipment and between the container and the power equipment as edges, and constructing an ontology model of dynamic and static topology of a power grid in a graph database; step 2, based on the ontology model, combining actual data of the power grid to be detected to construct an entity model of the static topology of the power grid; step 3, accessing real-time data of the power grid topology to a solid model of the power grid static topology to obtain a solid model of the power grid dynamic topology; and 4, traversing each entity in the entity model of the power grid static topology and the power grid dynamic topology, and identifying the topological island. The invention has higher detection efficiency.
Description
Technical Field
The present invention relates to the field of power technologies, and in particular, to a method, an apparatus, a device, and a storage medium for detecting an island of a power topology.
Background
With the construction of a new generation equipment asset lean management system based on a power grid resource business center, the construction requirement of data business is further provided on the basis of business datamation, the construction requirement is particularly expressed in deep mining of data value, and through mining analysis of the data value, each business is driven to actively develop, and the quality and effect of the auxiliary business are improved. At present, the graph data of the power grid resource business center is large, the variety of equipment is more and is continuously updated, wherein a plurality of graphs exist in topological island, and the intelligent analysis of the upper business is influenced.
The traditional relational database is difficult to intuitively express the association relation between various data, difficult to support mining analysis between the data and the data, and when different types of entities are inquired, multi-table links are needed, so that the operation cost is huge, and the detection efficiency of the topological island of the power grid is low.
Disclosure of Invention
The invention aims to: aiming at the problems existing in the prior art, the invention provides a method, a device, equipment and a storage medium for detecting the power topology island based on graph database analysis, which have higher detection efficiency.
The technical scheme is as follows: in a first aspect, the present invention provides a method for detecting an island of a power topology based on graph database analysis, including:
step 1, taking a container and power equipment as nodes and the relation between the container and the power equipment and between the container and the power equipment as edges, and constructing an ontology model of dynamic and static topology of a power grid in a graph database;
step 2, based on the ontology model, combining actual data of the power grid to be detected to construct an entity model of the static topology of the power grid;
step 3, accessing real-time data of the power grid topology to a solid model of the power grid static topology to obtain a solid model of the power grid dynamic topology;
and 4, traversing each entity in the entity model of the power grid static topology and the power grid dynamic topology, and identifying the topological island.
Further, the step 1 specifically includes:
step 1.1, acquiring the relation among the type of a container, the type of power equipment and various types of facilities in a power grid model;
step 1.2, according to the container type and the power equipment type in the power grid model, taking each container type and each power equipment type as nodes, creating an ontology model of a container node and an ontology model of a power equipment node of corresponding types in a graph database, and creating attributes of the ontology model of each node;
step 1.3, taking the containing relation between each type of container and the power equipment as an edge, and constructing a containing relation ontology model of the container and the power equipment in a graph database;
step 1.4, taking the relation among the power equipment of each type in the power grid model as an edge, and constructing an ontology model of the topological relation among the power equipment in a graph database;
step 1.5, only retaining switch type, access point type and distribution type power equipment in an ontology model of the topological relation among the power equipment, and constructing an ontology model of the electric connection relation among the power equipment;
and 1.6, forming an ontology model of the dynamic and static topology of the power grid by an ontology model of the container node, an ontology model of the power equipment node, an ontology model of the containing relation between the container and the power equipment, an ontology model of the topological relation between the power equipment and an ontology model of the electric connection relation between the power equipment.
Further, the attribute of the ontology model of the node specifically includes: unique primary key, type, resource name, primary network identifier, current switch state.
Further, the step 2 specifically includes:
step 2.1, extracting a container ID list and container information corresponding to each container ID from a power grid resource service center station to be detected, taking each container ID as a unique primary key, extracting a container attribute value from the container information corresponding to each container ID, instantiating an ontology model of a container node, and generating each container node entity;
step 2.2, extracting all power equipment information contained in the container corresponding to each container ID from a power grid resource business platform to be detected, creating unique identifiers of all power equipment based on the power equipment information, taking the unique identifiers as unique primary keys, extracting power equipment attribute values from the power equipment information, instantiating an ontology model of a power equipment node, and generating all power equipment node entities;
step 2.3, instantiating a containment relationship body model of the containers and the power equipment according to the containment relationship of the containers and the power equipment, and generating a containment relationship entity of the containers and the power equipment;
step 2.4, searching whether matched tie switches exist according to terminals of the power equipment in the power grid data to be detected, and instantiating an ontology model of the topological relation among the power equipment if the matched tie switches exist, so as to generate a topological relation entity;
step 2.5, only the switch type, access point type and distribution type power equipment are reserved in the topological relation entity among the power equipment, and an electric connection relation entity among the power equipment is generated;
and 2.6, forming a solid model of the static topology of the power grid by all the entities.
Further, in the step 2.2, the method for creating the unique identifier of the power device includes: and generating a unique identifier of the power equipment by combining the resource ID of the power equipment and the equipment type, and when the resource ID is empty, using the equipment unique ID of the resource service center as the unique identifier.
Further, the step 3 specifically includes:
step 3.1, acquiring power grid topology real-time data, wherein the power grid topology real-time data comprises a switch real-time state, a voltage real-time value and a current real-time value;
and 3.2, adding the real-time data of the power grid topology to the attribute of the corresponding node to obtain a solid model of the dynamic topology of the power grid.
Further, the step 4 specifically includes:
step 4.1, traversing each power device based on a solid model of the static topology of the power grid, identifying connected components, and taking the connected components as topology islands; judging whether the topological island is in the transformer substation or outside the transformer substation, if the topological island is in the transformer substation, marking the power equipment which is not connected to a bus or a transformer in the transformer substation as an in-station island, and if the topological island is outside the transformer substation, marking the power equipment which is not connected to a transformer outlet switch as an out-of-station island;
step 4.2, traversing each power device based on a solid model of the dynamic topology of the power grid, identifying connected components, and taking the connected components as topology islands; judging whether the topological island is in the transformer substation or outside the transformer substation, if the topological island is in the transformer substation, marking the power equipment which is not connected with the transformer in the transformer substation as an in-station island, and if the topological island is outside the transformer substation, marking the power equipment which is not connected with the outlet switch as an out-of-station island;
and 4.3, storing the identified islets as an islanding list.
In a second aspect, the present invention further provides a device for detecting an island of a power topology based on graph database analysis, including:
the body model building module is used for building a body model of dynamic and static topology of the power grid in the graph database by taking the container and the power equipment as nodes and the relation between the container and the power equipment and between the container and the power equipment as edges;
the static entity model building module is used for building an entity model of the static topology of the power grid based on the entity model and combining actual data of the power grid to be detected;
the dynamic entity model building module is used for accessing the real-time data of the power grid topology to the entity model of the power grid static topology to obtain the entity model of the power grid dynamic topology;
the island identification module is used for traversing each entity in the entity model of the power grid static topology and the power grid dynamic topology, and identifying the topological island.
In a third aspect, the present invention also provides a power topology island detection device based on graph database analysis, including a processor and an executable program stored on a memory and executable on the processor, the processor implementing the method of the first aspect when executing the executable program.
In a fourth aspect, the invention also provides a storage medium containing a computer executable program for performing the method of the first aspect when executed by a computer processor.
Compared with the prior art, the invention has the beneficial effects that: the invention establishes the solid model of dynamic and static topology in the graph database, adopts the graph database to analyze and identify, can operate the associated data more efficiently, and has performance improvement of 2 to 4 orders of magnitude compared with the traditional relational database.
Drawings
Fig. 1 is a schematic flow chart of a method for detecting an island of a power topology based on graph database analysis;
fig. 2 is a schematic block diagram of a power topology island detection device based on graph database analysis;
fig. 3 is a schematic structural diagram of the power topology island detection device based on graph database analysis.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
The embodiment provides a method for detecting an island of a power topology based on graph database analysis, as shown in fig. 1, comprising the following steps 1 to 4.
And 1, constructing an ontology model of dynamic and static topology of the power grid in a graph database by taking a container and power equipment as nodes and the relation between the container and the power equipment as edges.
In specific implementation, the step 1 specifically includes:
step 1.1, acquiring the relation among the type of a container, the type of power equipment and various types of facilities in a power grid model;
step 1.2, according to the container type and the power equipment type in the power grid model, taking each container type and each power equipment type as nodes, creating an ontology model of a container node and an ontology model of a power equipment node of a corresponding type in a graph database, and creating attributes of the ontology model of each node, including but not limited to: unique primary key, type, resource name, primary network identifier, current switch state, etc.;
step 1.3, taking the containing relation between each type of container and the power equipment as an edge, and constructing an ontology model of the containing relation between the container and the power equipment in a graph database;
step 1.4, taking the relation among the power equipment of each type in the power grid model as an edge, and constructing an ontology model of the topological relation among the power equipment in a graph database;
step 1.5, only retaining switch type, access point type and distribution type power equipment in an ontology model of the topological relation among the power equipment, and constructing an ontology model of the electric connection relation among the power equipment;
and 1.6, forming an ontology model of the dynamic and static topology of the power grid by an ontology model of the container node, an ontology model of the power equipment node, an ontology model of the containing relation between the container and the power equipment, an ontology model of the topological relation between the power equipment and an ontology model of the electric connection relation between the power equipment.
And step 2, filling actual data of the power grid to be detected based on the ontology model to form an entity model of the static topology of the power grid.
In specific implementation, step 2 specifically includes:
step 2.1, extracting a container ID list and container information corresponding to each container ID from a power grid resource service center station to be detected, taking each container ID as a unique primary key, extracting a container attribute value from the container information corresponding to each container ID, instantiating an ontology model of a container node, and generating each container node entity;
step 2.2, extracting all power equipment information contained in the container corresponding to each container ID from a power grid resource business platform to be detected, creating unique identifiers of all power equipment based on the power equipment information, taking the unique identifiers as unique primary keys, extracting power equipment attribute values from the power equipment information, instantiating an ontology model of a power equipment node, and generating all power equipment node entities;
step 2.3, instantiating a containment relationship body model of the containers and the power equipment according to the containment relationship of the containers and the power equipment, and generating a containment relationship entity of the containers and the power equipment;
step 2.4, searching whether matched tie switches exist according to terminals of the power equipment in the power grid data to be detected, and instantiating an ontology model of the topological relation among the power equipment if the matched tie switches exist, so as to generate a topological relation entity;
step 2.5, only the switch type, access point type and distribution type power equipment are reserved in the topological relation entity among the power equipment, and an electric connection relation entity among the power equipment is generated;
and 2.6, forming a solid model of the static topology of the power grid by all the entities.
Wherein each entity model corresponds to an actual container or power equipment in a power grid, and a plurality of entities can exist under each entity model.
And step 3, accessing real-time data of the power grid topology into the solid model of the power grid static topology to obtain the solid model of the power grid dynamic topology.
In specific implementation, the step 3 specifically includes:
step 3.1, acquiring power grid topology real-time data, wherein the power grid topology real-time data comprises a switch real-time state, a voltage real-time value and a current real-time value;
and 3.2, adding the real-time data of the power grid topology to the attribute of the corresponding node to obtain a solid model of the dynamic topology of the power grid.
And 4, traversing each entity in the entity model of the power grid static topology and the power grid dynamic topology, and identifying the topological island.
In specific implementation, the step 4 specifically includes:
step 4.1, traversing each power device based on a solid model of the static topology of the power grid, identifying connected components, and taking the connected components as topology islands; judging whether the topological island is in the transformer substation or outside the transformer substation, if the topological island is in the transformer substation, marking the power equipment which is not connected to a bus or a transformer in the transformer substation as an in-station island, and if the topological island is outside the transformer substation, marking the power equipment which is not connected to a transformer outlet switch as an out-of-station island;
step 4.2, traversing each power device based on a solid model of the dynamic topology of the power grid, identifying connected components, and taking the connected components as topology islands; judging whether the topological island is in the transformer substation or outside the transformer substation, if the topological island is in the transformer substation, marking the power equipment which is not connected with the transformer in the transformer substation as an in-station island, and if the topological island is outside the transformer substation, marking the power equipment which is not connected with the outlet switch as an out-of-station island;
and 4.3, storing the identified islands as an island list for display.
Example two
The embodiment provides a device for detecting an island of a power topology based on graph database analysis, as shown in fig. 2, the device may be implemented in a software and/or hardware manner, and the device may be configured in a terminal device. The device comprises an ontology model building module 201, a static entity model building module 202, a dynamic entity model building module 203 and an island identification module 204. The modules are described in detail below.
The ontology model building module 201 is configured to build an ontology model of the dynamic-static topology of the power grid in the graph database by taking the container and the power equipment as nodes and the relation between the container and the power equipment as edges. The body model building module specifically comprises the following units: the data acquisition unit is used for acquiring the relation among the container type, the power equipment type and various types of facilities in the power grid model; a node creation unit, configured to create, according to the container type and the power equipment type in the grid model, an ontology model of a container node and an ontology model of a power equipment node of corresponding types in a graph database with each container type and each power equipment type as a node, and create attributes of the ontology model of each node, including but not limited to: unique primary key, type, resource name, primary network identifier, current switch state, etc.; the system comprises a containment relationship creation unit, a storage relationship creation unit and a storage relationship management unit, wherein the containment relationship creation unit is used for taking the containment relationship between each type of container and the power equipment as an edge and constructing a containment relationship ontology model of the container and the power equipment in a graph database; the topological relation creation unit is used for taking the relation among the electric power equipment of each type in the power grid model as an edge and constructing an ontology model of the topological relation among the electric power equipment in the graph database; the electrical relation creation unit is used for only reserving switch type, access point type and distribution type power equipment in an ontology model of the topological relation among the power equipment and constructing an ontology model of the electrical connection relation among the power equipment; and the ontology model generation unit is used for forming an ontology model of the container node, an ontology model of the power equipment node, an ontology model of the containing relation between the container and the power equipment, an ontology model of the topological relation between the power equipment and an ontology model of the electric connection relation between the power equipment into an ontology model of the dynamic-static topology of the power grid.
The static entity model building module 202 is configured to fill actual data of the power grid to be detected based on the ontology model, and form an entity model of a static topology of the power grid. The method specifically comprises the following units: the container node generating unit is used for extracting a container ID list and container information corresponding to each container ID from a power grid resource service center station to be detected, taking each container ID as a unique primary key, extracting a container attribute value from the container information corresponding to each container ID, instantiating an ontology model of a container node and generating each container node entity; the power equipment node generating unit is used for extracting all power equipment information contained in the container corresponding to each container ID from the power grid resource business center station to be detected, creating unique identifiers of all power equipment based on the power equipment information, taking the unique identifiers as unique primary keys, extracting power equipment attribute values from the power equipment information, instantiating an ontology model of the power equipment node, and generating all power equipment node entities; the method for creating the unique identification of the power equipment comprises the following steps: generating a unique identifier of the power equipment by combining the resource ID of the power equipment and the equipment type, and when the resource ID is empty, using the equipment unique ID of the resource service center as the unique identifier; the system comprises a containment relationship generating unit, a containment relationship generating unit and a storage relationship generating unit, wherein the containment relationship generating unit is used for instantiating a containment relationship body model of the container and the power equipment according to the containment relationship of each container and each power equipment to generate a containment relationship entity of the container and the power equipment; the topology relation generating unit is used for searching whether matched tie switches exist in the power grid data to be detected according to the terminals of the power equipment, and if so, instantiating an ontology model of the topology relation among the power equipment to generate a topology relation entity; the electrical relation generating unit is used for reserving only switch type, access point type and distribution type electrical equipment in topological relation entities among the electrical equipment to generate electrical connection relation entities among the electrical equipment; and the entity model generating unit is used for forming all entity models into entity models of the static topology of the power grid.
The dynamic entity model building module 203 is configured to access the real-time data of the power grid topology to the static topology model of the power grid, and obtain an entity model of the dynamic topology of the power grid. The method specifically comprises the following units: the system comprises a real-time data acquisition unit, a control unit and a control unit, wherein the real-time data acquisition unit is used for acquiring power grid topology real-time data, and the power grid topology real-time data comprises a switch real-time state, a voltage real-time value and a current real-time value; and the data adding unit is used for adding the real-time data of the power grid topology to the attribute of the corresponding node to obtain a solid model of the dynamic topology of the power grid.
Island identification module 204 is configured to traverse the solid model of the static topology of the power grid and the dynamic topology of the power grid, and identify a topological island. The method specifically comprises the following steps: the static identification unit is used for traversing each power device based on a solid model of the static topology of the power grid, identifying connected components and taking the connected components as topology islands; judging whether the topological island is in the transformer substation or outside the transformer substation, if the topological island is in the transformer substation, marking the power equipment which is not connected to a bus or a transformer in the transformer substation as an in-station island, and if the topological island is outside the transformer substation, marking the power equipment which is not connected to a transformer outlet switch as an out-of-station island; the dynamic identification unit is used for traversing each power device based on a solid model of the dynamic topology of the power grid, identifying connected components and taking the connected components as topology islands; judging whether the topological island is in the transformer substation or outside the transformer substation, if the topological island is in the transformer substation, marking the power equipment which is not connected with the transformer in the transformer substation as an in-station island, and if the topological island is outside the transformer substation, marking the power equipment which is not connected with the outlet switch as an out-of-station island; and the island list generation unit is used for storing the identified islands as island lists for display.
The device provided by the embodiment of the invention can be used for executing the method provided by the first embodiment of the invention, and has the corresponding functions and beneficial effects of executing the method.
It should be noted that, in the embodiment of the determining apparatus, each unit and module included are only divided according to the functional logic, but not limited to the above-mentioned division, so long as the corresponding function can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
The embodiments described above are merely illustrative, wherein the modules illustrated as separate components may or may not be physically separate, and the components shown as modules may or may not be physical, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. It will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course, may be implemented solely by hardware, as long as the function or function is achieved.
Example III
The embodiment of the invention provides a power topology island detection method based on graph database analysis, and provides service for the implementation of the method of the first embodiment of the invention. As shown in fig. 3, the apparatus may include: a memory 301 in which a computer executable program is stored; a processor 302 coupled with the memory 301; the processor 302 invokes a computer executable program stored in the memory 301 for performing the steps in the method described in embodiment one.
Memory 301 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) and/or cache memory. The device may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, memory 301 may be used to read from and write to non-removable, non-volatile magnetic media (commonly referred to as a "hard disk drive"). A program/utility having a set (at least one) of program modules may be stored in, for example, memory 301, such program modules including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Computer-executable programs of program modules typically perform the functions and/or methods in the embodiments described herein.
The code of a computer-executable program for performing the operations of the present invention may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages.
The processor 302 executes various functional applications and data processing by running a program stored in the memory 301, for example, implementing the method provided by the first embodiment of the present invention.
Example IV
The present invention provides a storage medium containing a computer executable program which, when executed by a computer processor, is adapted to carry out the method of the first embodiment.
The storage media of embodiments of the present invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The code of a computer-executable program for performing the operations of the present invention may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Of course, the storage medium containing the computer executable program provided by the embodiment of the present invention is not limited to the above method operations, and may also perform the related operations in the method provided by any embodiment of the present invention.
Claims (10)
1. The method for detecting the power topology island based on graph database analysis is characterized by comprising the following steps of:
step 1, taking a container and power equipment as nodes and the relation between the container and the power equipment and between the container and the power equipment as edges, and constructing an ontology model of dynamic and static topology of a power grid in a graph database;
step 2, based on the ontology model, combining actual data of the power grid to be detected to construct an entity model of the static topology of the power grid;
step 3, accessing real-time data of the power grid topology to a solid model of the power grid static topology to obtain a solid model of the power grid dynamic topology;
and 4, traversing each entity in the entity model of the power grid static topology and the power grid dynamic topology, and identifying the topological island.
2. The method for detecting power topology island based on graph database analysis according to claim 1, wherein the step 1 specifically comprises:
step 1.1, acquiring the relation among the type of a container, the type of power equipment and various types of facilities in a power grid model;
step 1.2, according to the container type and the power equipment type in the power grid model, taking each container type and each power equipment type as nodes, creating an ontology model of a container node and an ontology model of a power equipment node of corresponding types in a graph database, and creating attributes of the ontology model of each node;
step 1.3, taking the containing relation between each type of container and the power equipment as an edge, and constructing an ontology model of the containing relation between the container and the power equipment in a graph database;
step 1.4, taking the relation among the power equipment of each type in the power grid model as an edge, and constructing an ontology model of the topological relation among the power equipment in a graph database;
step 1.5, only retaining switch type, access point type and distribution type power equipment in an ontology model of the topological relation among the power equipment, and constructing an ontology model of the electric connection relation among the power equipment;
and 1.6, forming an ontology model of the dynamic and static topology of the power grid by an ontology model of the container node, an ontology model of the power equipment node, an ontology model of the containing relation between the container and the power equipment, an ontology model of the topological relation between the power equipment and an ontology model of the electric connection relation between the power equipment.
3. The method for detecting the power topology island based on graph database analysis according to claim 2, wherein the attribute of the ontology model of the node specifically comprises: unique primary key, type, resource name, primary network identifier, current switch state.
4. The method for detecting power topology island based on graph database analysis according to claim 1, wherein the step 2 specifically comprises:
step 2.1, extracting a container ID list and container information corresponding to each container ID from a power grid resource service center station to be detected, taking each container ID as a unique primary key, extracting a container attribute value from the container information corresponding to each container ID, instantiating an ontology model of a container node, and generating each container node entity;
step 2.2, extracting all power equipment information contained in the container corresponding to each container ID from a power grid resource business platform to be detected, creating unique identifiers of all power equipment based on the power equipment information, taking the unique identifiers as unique primary keys, extracting power equipment attribute values from the power equipment information, instantiating an ontology model of a power equipment node, and generating all power equipment node entities;
step 2.3, instantiating a containment relationship body model of the containers and the power equipment according to the containment relationship of the containers and the power equipment, and generating a containment relationship entity of the containers and the power equipment;
step 2.4, searching whether matched tie switches exist according to terminals of the power equipment in the power grid data to be detected, and instantiating an ontology model of the topological relation among the power equipment if the matched tie switches exist, so as to generate a topological relation entity;
step 2.5, only the switch type, access point type and distribution type power equipment are reserved in the topological relation entity among the power equipment, and an electric connection relation entity among the power equipment is generated;
and 2.6, forming a solid model of the static topology of the power grid by all the entities.
5. The method for detecting the island of the power topology based on graph database analysis according to claim 4, wherein in the step 2.2, the method for creating the unique identifier of the power equipment is as follows: and generating a unique identifier of the power equipment by combining the resource ID of the power equipment and the equipment type, and when the resource ID is empty, using the equipment unique ID of the resource service center as the unique identifier.
6. The method for detecting the island of the power topology based on graph database analysis according to claim 1, wherein the step 3 specifically comprises:
step 3.1, acquiring power grid topology real-time data, wherein the power grid topology real-time data comprises a switch real-time state, a voltage real-time value and a current real-time value;
and 3.2, adding the real-time data of the power grid topology to the attribute of the corresponding node to obtain a solid model of the dynamic topology of the power grid.
7. The method for detecting power topology island based on graph database analysis according to claim 1, wherein the step 4 specifically comprises:
step 4.1, traversing each power device based on a solid model of the static topology of the power grid, identifying connected components, and taking the connected components as topology islands; judging whether the topological island is in the transformer substation or outside the transformer substation, if the topological island is in the transformer substation, marking the power equipment which is not connected to a bus or a transformer in the transformer substation as an in-station island, and if the topological island is outside the transformer substation, marking the power equipment which is not connected to a transformer outlet switch as an out-of-station island;
step 4.2, traversing each power device based on a solid model of the dynamic topology of the power grid, identifying connected components, and taking the connected components as topology islands; judging whether the topological island is in the transformer substation or outside the transformer substation, if the topological island is in the transformer substation, marking the power equipment which is not connected with the transformer in the transformer substation as an in-station island, and if the topological island is outside the transformer substation, marking the power equipment which is not connected with the outlet switch as an out-of-station island;
and 4.3, storing the identified islets as an islanding list.
8. The utility model provides a power topology island detection device based on graph database analysis which characterized in that includes:
the body model building module is used for building a body model of dynamic and static topology of the power grid in the graph database by taking the container and the power equipment as nodes and the relation between the container and the power equipment and between the container and the power equipment as edges;
the static entity model building module is used for building an entity model of the static topology of the power grid based on the entity model and combining actual data of the power grid to be detected;
the dynamic entity model building module is used for accessing the real-time data of the power grid topology to the entity model of the power grid static topology to obtain the entity model of the power grid dynamic topology;
the island identification module is used for traversing each entity in the entity model of the power grid static topology and the power grid dynamic topology, and identifying the topological island.
9. A graph database analysis-based power topology island detection device comprising a processor and an executable program stored on a memory and executable on the processor, characterized in that: the processor, when executing the executable program, implements the method of any one of claims 1-7.
10. A storage medium containing a computer executable program, which when executed by a computer processor is adapted to perform the method of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311022287.3A CN117056564A (en) | 2023-08-15 | 2023-08-15 | Power topology island detection method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311022287.3A CN117056564A (en) | 2023-08-15 | 2023-08-15 | Power topology island detection method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117056564A true CN117056564A (en) | 2023-11-14 |
Family
ID=88658428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311022287.3A Pending CN117056564A (en) | 2023-08-15 | 2023-08-15 | Power topology island detection method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117056564A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117310350A (en) * | 2023-11-28 | 2023-12-29 | 石家庄科林电气股份有限公司 | Island detection method for energy storage micro-grid system |
-
2023
- 2023-08-15 CN CN202311022287.3A patent/CN117056564A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117310350A (en) * | 2023-11-28 | 2023-12-29 | 石家庄科林电气股份有限公司 | Island detection method for energy storage micro-grid system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9798310B2 (en) | Method for searching cross-regional power supply area based on CIM model and system thereof | |
CN111985653B (en) | Power grid fault knowledge recommendation and knowledge management system and method based on knowledge graph | |
CN108446396B (en) | Power data processing method based on improved CIM model | |
Cavalieri et al. | Integration of IEC 61850 SCL and OPC UA to improve interoperability in Smart Grid environment | |
CN107730394A (en) | The polynary isomeric data fusion method of panorama power network based on big data | |
CN117056564A (en) | Power topology island detection method, device, equipment and storage medium | |
CN114547816A (en) | Intelligent analysis method and device for reliability of power distribution network | |
CN115170344A (en) | Intelligent processing method and device, medium and equipment for operation events of regulation and control system | |
CN115774915A (en) | Method and device for quickly constructing real-time topology of power grid | |
CN114647650A (en) | Data storage method and device, electronic equipment and storage medium | |
CN116010612A (en) | River basin flood control knowledge graph construction method and device and electronic equipment | |
CN109062515B (en) | Disk management method, system and related components | |
CN108921307B (en) | Method and system for automatically generating patrol plan work object by power plant station equipment | |
CN111625596B (en) | Multi-source data synchronous sharing method and system for real-time new energy consumption scheduling | |
CN113987815A (en) | Method and system for checking converter station model | |
CN112419094A (en) | Power distribution Internet of things data product construction method and device and readable storage medium | |
Shukla et al. | Efficient method for extracting network information from the CIM asset model | |
CN115574867A (en) | Mutual inductor fault detection method and device, electronic equipment and storage medium | |
Liu et al. | Intelligent operation and maintenance schedule system based on knowledge graph: Construction and applications | |
CN112230929A (en) | Data analysis method and device of CIM (common information model) and storage medium | |
CN113570345B (en) | Automatic power failure range identification system based on construction project circuit diagram | |
CN111143296A (en) | Substation SCD file classification method and device, terminal and storage medium | |
CN113962551A (en) | Data model generation method and device for power grid data middling station | |
Wang et al. | Research and Application of Interactive Power Distribution Topology Technology for Distributed New Energy | |
CN113962655A (en) | Index management method, device and system for power grid data |
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 |