CN116501926B - Main network public information topology model construction method and device based on graph database - Google Patents

Main network public information topology model construction method and device based on graph database Download PDF

Info

Publication number
CN116501926B
CN116501926B CN202310770891.8A CN202310770891A CN116501926B CN 116501926 B CN116501926 B CN 116501926B CN 202310770891 A CN202310770891 A CN 202310770891A CN 116501926 B CN116501926 B CN 116501926B
Authority
CN
China
Prior art keywords
winding
node
power system
model
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310770891.8A
Other languages
Chinese (zh)
Other versions
CN116501926A (en
Inventor
李鹏
黄文琦
戴珍
林全郴
冯勤宇
习伟
侯佳萱
李轩昂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southern Power Grid Digital Grid Research Institute Co Ltd
Original Assignee
Southern Power Grid Digital Grid Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Southern Power Grid Digital Grid Research Institute Co Ltd filed Critical Southern Power Grid Digital Grid Research Institute Co Ltd
Priority to CN202310770891.8A priority Critical patent/CN116501926B/en
Publication of CN116501926A publication Critical patent/CN116501926A/en
Application granted granted Critical
Publication of CN116501926B publication Critical patent/CN116501926B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/16Cables, cable trees or wire harnesses
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Supply And Distribution Of Alternating Current (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to a method and a device for constructing a public information topology model of a main network based on a graph database. The method comprises the following steps: acquiring a power system model file of a target power system, acquiring equipment information corresponding to each equipment model file in the power system model file, constructing a power system diagram database model corresponding to the target power system according to the equipment information, and determining a power system topology model of the target power system according to the power system diagram database model. The method can convert the equipment model in the public information topology model into the graph database basic unit, further determine the power system topology model of the target power system according to the graph database model constructed by the graph database basic unit, realize analysis of the public information topology model, convert the analysis result of the public information topology model into the graph database basic unit for data storage based on the graph database model, simplify the topology connection relationship, and improve the analysis efficiency for the power system.

Description

Main network public information topology model construction method and device based on graph database
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a computer device, a storage medium, and a computer program product for constructing a public information topology model of a main network based on a graph database.
Background
With the development of the power system, the power system is increasingly huge, the operation adjustment of the power system is more frequent, and the management and control of the power system can be realized by constructing a power system model and utilizing power grid calculation analysis software with a relational database as a core.
In the prior art, the management of the power system can be realized by repeatedly carrying out cross-table query based on the relation table and multi-table association query based on the association table.
However, the traditional method has the problems of complex data organization redundancy and difficult deep association mining, and is not beneficial to improving the analysis efficiency of the power system.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a computer device, a computer-readable storage medium, and a computer program product for constructing a master network public information topology model based on a graph database, which can improve the analysis efficiency of a power system.
In a first aspect, the present application provides a method for constructing a public information topology model of a main network based on a graph database, where the method includes:
Acquiring a power system model file of a target power system; the power system model files include at least one equipment model file;
acquiring equipment information corresponding to each equipment model file; the equipment information comprises equipment objects, equipment attributes and topological connection relations among equipment; the topological connection relation between the equipment characterizes the topological connection relation between the equipment objects and other equipment objects;
constructing a power system diagram database model corresponding to the target power system according to the equipment information; wherein at least one node in the power system diagram database model is used to characterize the equipment object; the attribute of the node is used for representing the equipment attribute; at least one edge in the power system diagram database model is used for representing the topological connection relation between the devices;
and determining a power system topology model of the target power system according to the power system diagram database model.
The building of the power system diagram database model corresponding to the target power system according to the equipment information comprises the following steps:
determining a low-end winding node of the target power system according to a low-end winding corresponding to the double-winding transformer information under the condition that the equipment information is double-winding transformer information;
Determining a high-end winding node of the target power system according to the high-end winding corresponding to the double-winding transformer information;
determining edges between the low-end winding nodes and the high-end winding nodes according to the topological connection relation between the low-end winding and the high-end winding;
and constructing a double-winding transformer graph database model corresponding to the target power system according to the low-end winding node, the high-end winding node and edges between the low-end winding node and the high-end winding node.
The building of the power system diagram database model corresponding to the target power system according to the equipment information comprises the following steps:
when the equipment information is transmission line information, determining a first transmission line node of the target power system according to a first transmission line end corresponding to the transmission line information;
determining a second transmission line node of the target power system according to a second transmission line end corresponding to the transmission line information;
determining an edge between the first transmission line node and the second transmission line node according to the topological connection relation between the first transmission line end and the second transmission line end;
And constructing a transmission line diagram database model corresponding to the target power system according to the first transmission line node, the second transmission line node and edges between the first transmission line node and the second transmission line node.
The building of the power system diagram database model corresponding to the target power system according to the equipment information comprises the following steps:
determining winding nodes of the target power system according to windings corresponding to the three-winding transformer information under the condition that the equipment information is the three-winding transformer information;
determining a neutral point node of the target power system according to the neutral point corresponding to the three-winding transformer information;
determining an edge between the winding node and the neutral point node according to the topological connection relation between the winding and the neutral point;
and constructing a three-winding transformer diagram database model corresponding to the target power system according to the winding nodes and edges between the winding nodes and the neutral point nodes.
Wherein, the determining the winding node of the target power system according to the winding corresponding to the three-winding transformer information includes:
Determining a low-voltage side winding node of the target power system according to the low-voltage side winding corresponding to the three-winding transformer information;
determining a medium-voltage side winding node of the target power system according to the medium-voltage side winding corresponding to the three-winding transformer information;
determining a high-voltage side winding node of the target power system according to the high-voltage side winding corresponding to the three-winding transformer information;
and determining the winding node according to the low-voltage side winding node, the medium-voltage side winding node and the high-voltage side winding node.
Wherein the determining an edge between the winding node and the neutral point node according to the topological connection relationship between the winding and the neutral point comprises:
determining a low-voltage side between the winding node and the neutral point node according to the topological connection relation between the low-voltage side winding corresponding to the three-winding transformer information and the neutral point;
determining a medium-voltage side between the winding node and the neutral point node according to the topological connection relation between the medium-voltage side winding corresponding to the three-winding transformer information and the neutral point;
determining a high-voltage side between the winding node and the neutral point node according to the topological connection relation between the high-voltage side winding corresponding to the three-winding transformer information and the neutral point;
And determining edges between the winding node and the neutral point node according to the low-voltage side, the medium-voltage side and the high-voltage side.
The obtaining the device information corresponding to each device model file includes:
acquiring file category labels corresponding to the equipment model files;
and determining the equipment information corresponding to each equipment model file according to the file category label.
In a second aspect, the present application further provides a device for constructing a public information topology model of a main network based on a graph database, where the device includes:
the file acquisition module is used for acquiring a power system model file of the target power system; the power system model files include at least one equipment model file;
the information acquisition module is used for acquiring equipment information corresponding to each equipment model file; the equipment information comprises equipment objects, equipment attributes and topological connection relations among equipment; the topological connection relation between the equipment characterizes the topological connection relation between the equipment objects and other equipment objects;
the model construction module is used for constructing a power system diagram database model corresponding to the target power system according to the equipment information; wherein at least one node in the power system diagram database model is used to characterize the equipment object; the attribute of the node is used for representing the equipment attribute; at least one edge in the power system diagram database model is used for representing the topological connection relation between the devices;
And the model determining module is used for determining a power system topology model of the target power system according to the power system diagram database model.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory and a processor, the memory storing a computer program which, when executed by the processor, implements the steps of the method described above.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the method described above.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprising a computer program which, when executed by a processor, implements the steps of the method described above.
According to the method, the device, the computer equipment, the storage medium and the computer program product for constructing the main network public information topological model based on the graph database, the equipment model files of the target power system are obtained, so that the equipment model files included in the power system model files are determined, the equipment information corresponding to the equipment model files is obtained, so that the equipment objects, the equipment attributes and the topological connection relations among the equipment objects are determined, the power system graph database model corresponding to the target power system is constructed according to the equipment information, so that nodes in the power system graph database model are determined according to the equipment objects in the equipment information, node attributes in the power system graph database model are determined according to the equipment attributes, edges in the power system graph database model are determined according to the topological connection relations among the equipment, so that the power system topological model of the target power system is determined according to the power system graph database model, the equipment model in the public information topological model can be converted into a graph database basic unit, the power system topological model of the target power system is determined according to the graph database basic unit, the power system topological model of the target power system is constructed according to the graph database basic unit, the graph information graph analysis efficiency is simplified, and the graph data base analysis result is improved for the power system connection relation database.
Drawings
FIG. 1 is an application environment diagram of a method for constructing a topology model of public information of a main network based on a graph database in one embodiment;
FIG. 2 is a flow chart of a method for constructing a topology model of public information of a main network based on a graph database in one embodiment;
FIG. 3 is a schematic diagram of a database model of a dual winding transformer diagram in one embodiment;
FIG. 4 is a schematic diagram of a transmission line graph database model in one embodiment;
FIG. 5 is a schematic diagram of a database model of a three-winding transformer diagram in one embodiment;
FIG. 6 is a schematic diagram of a common information topology model in one embodiment;
FIG. 7 is a schematic diagram of a graph database model in one embodiment;
FIG. 8 is a block diagram of a device for constructing a topology model of public information of a main network based on a graph database in one embodiment;
fig. 9 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The method for constructing the public information topology model of the main network based on the graph database, which is provided by the embodiment of the application, can be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server. The server 104 acquires a power system model file of the target power system; the power system model files include at least one device model file; the server 104 acquires the device information corresponding to each device model file; the device information comprises device objects, device attributes and topological connection relations among devices; the topological connection relation between the devices characterizes the topological connection relation between the device objects and other device objects; the server 104 builds a power system diagram database model corresponding to the target power system according to the equipment information; wherein at least one node in the power system diagram database model is used to characterize the equipment object; the attribute of the node is used for representing the equipment attribute; at least one edge in the power system diagram database model is used for representing topological connection relation among devices; the server 104 determines a power system topology model of the target power system from the power system graph database model. The terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
It will be appreciated that the method may also be applied to a server, and may also be applied to a system comprising a terminal and a server, and implemented by interaction of the terminal and the server.
In some embodiments, as shown in fig. 2, a method for constructing a public information topology model of a main network based on a graph database is provided, and this embodiment is illustrated by applying the method to a server, where it can be understood that the method may also be applied to a terminal, and may also be applied to a system including the terminal and the server, and implemented through interaction between the terminal and the server. In this embodiment, the method includes the steps of:
step S202, a power system model file of a target power system is acquired.
Wherein the power system model file may include at least one device model file.
The target power system may refer to a power system that needs to perform model simplification or model transformation, and in practical application, the target power system may include a main network.
The power system model file may refer to a file representing a model of power equipment information and a power equipment connection mode in a power system, and in practical application, the power system model file may include a common information model (CIM model), and the power system model file may include an XML file of a master network CIM model.
The device model file may refer to a sub-file that forms a power system model file, and in practical application, the device model file may include a plurality of XML sub-files obtained by parsing a main network CIM model.
As an example, after the server obtains the power system model file (XML file of the main network CIM model) of the target power system, the server reads the power system model file, and the server parses the main network CIM model into a plurality of device model files (XML subfiles).
Step S204, equipment information corresponding to each equipment model file is acquired.
The device information may include a device object, a device attribute, and a topological connection relationship between devices, where in an actual application, the topological connection relationship between devices may represent a topological connection relationship between the device object and other device objects.
The equipment object may refer to a power equipment or equipment type represented by the equipment model file, and in practical application, the equipment object may include a bus, a switch, a generator, a load, a capacitor, a disconnecting link and the like.
The device attribute may refer to an attribute of a model corresponding to the device model file, and in practical application, the device attribute includes a device name, a device type, and a connection point pointed by a device terminal.
As an example, a server obtains XML sub-tag files in an XML format corresponding to each device model file, the server analyzes the XML sub-tag files in the XML format corresponding to each device model file, the server obtains attributes of a model in each device model file (XML sub-file) and attribute values corresponding to each attribute, the server determines device information corresponding to each device model file according to the attributes of the model and the attribute values corresponding to each attribute, in practical application, the server analyzes the XML sub-tag files in the XML format, the server obtains the attributes of the model and the attribute values thereof in the sub-file XML, and the attributes comprise a device name, a device type, a connection point pointed by a device terminal, and the like; for example, the attribute corresponding to a certain substation model includes name (station name) and corresponding value "An Feng stations", substationType (station type) and corresponding value "trans", and the like.
Step S206, constructing a power system diagram database model corresponding to the target power system according to the equipment information.
Wherein at least one node in the power system graph database model may be used to characterize the device object; the attributes of the nodes may be used to characterize device attributes; at least one edge in the power system graph database model may be used to characterize topological connectivity between devices.
The nodes can refer to basic storage units for representing equipment or entities in a graph database model, and in practical application, the nodes can comprise bus bar nodes, connection point nodes, switch nodes, low-end winding nodes, high-voltage side winding nodes, medium-voltage side winding nodes, low-voltage side winding nodes and neutral point nodes.
The attribute of the node may refer to a device attribute that characterizes a power device corresponding to the node.
The edges may refer to a topological connection relationship between power devices corresponding to each node, and in practical application, the edges may include connection edges between the nodes.
As an example, according to a preset mapping relationship, a server characterizes a device object by using a node in a power system diagram database model, a server characterizes a device attribute by using a node attribute in the power system diagram database model, and a server characterizes a topological connection relationship between each power device by using an edge in the power system diagram database model, in practical application, the server uses the device object in device information as a node in the power system diagram database model, the server uses the device attribute in device information as an attribute of the node in the power system diagram database model, and the server uses the topological connection relationship between devices in device information as an edge in the power system diagram database model, wherein the preset mapping relationship can be expressed as a mapping relationship shown in table 1:
TABLE 1
Step S208, determining a power system topology model of the target power system according to the power system diagram database model.
The power system topology model may be a model obtained by converting or simplifying a power system public information model.
As an example, a server models a device object corresponding to a power system common information model as a node in a graph database model, a server models a device attribute corresponding to the power system common information model as a node attribute in the graph database model, a server models a topological connection relationship between power devices corresponding to the power system common information model as an edge in the graph database model, and the server simplifies a connection relationship between devices through "device-terminal-connection point-terminal-device" to a connection relationship of "device-connection point-device".
According to the method for constructing the main network public information topology model based on the graph database, the equipment model files of the target power system are acquired, so that equipment model files included in the equipment model files are determined, equipment information corresponding to the equipment model files is acquired, equipment objects, equipment attributes and topological connection relations among the equipment objects are determined, the topological connection relations among the equipment objects are further determined, a power system graph database model corresponding to the target power system is constructed according to the equipment information, nodes in the power system graph database model are determined according to the equipment objects in the equipment information, node attributes in the power system graph database model are determined according to the equipment attributes, edges in the power system graph database model are determined according to the topological connection relations among the equipment, further, the power system topology model of the target power system is determined according to the power system graph database model, the equipment models in the public information topology model can be converted into graph database basic units, the power system topology model of the target power system is determined according to the graph database basic units, the power system topology model of the target power system is further determined, the graph analysis result is simplified based on the graph database model, the data analysis result is converted into the data base analysis result, and the data base analysis efficiency is improved, and the power system connection relation is aimed at the data analysis.
In some embodiments, constructing a power system diagram database model corresponding to the target power system according to the device information includes: under the condition that the equipment information is double-winding transformer information, determining a low-end winding node of a target power system according to a low-end winding corresponding to the double-winding transformer information; determining a high-end winding node of a target power system according to a high-end winding corresponding to the double-winding transformer information; determining edges between low-end winding nodes and high-end winding nodes according to the topological connection relation between the low-end winding and the high-end winding; and constructing a double-winding transformer graph database model corresponding to the target power system according to the low-end winding node, the high-end winding node and edges between the low-end winding node and the high-end winding node.
The double-winding transformer information may refer to device information representing a device object, a device attribute and a topological connection relationship between devices corresponding to the double-winding transformer in the common information topology model.
The low-end winding may refer to a low-end winding corresponding to a model representing a double-winding transformer in a common information topology model.
The low-end winding node may refer to a node of the low-end winding corresponding to a model representing the double-winding transformer in the graph database model.
The high-end winding can be a high-end winding corresponding to a model for representing the double-winding transformer in the public information topology model.
The high-end winding node may refer to a node of the high-end winding corresponding to a model representing the double-winding transformer in the graph database model.
The edges between the low-end winding nodes and the high-end winding nodes can refer to connecting edges between the low-end winding nodes and the high-end winding nodes corresponding to the models representing the double-winding transformers in the graph database models, and the edges between the low-end winding nodes and the high-end winding nodes can represent topological connection relations between the low-end windings and the high-end windings corresponding to the models representing the double-winding transformers in the public information topological models.
The double-winding transformer graph database model may refer to a graph database model obtained by converting or simplifying a model of the double-winding transformer in the public information topology model.
As an example, as shown in fig. 3, a schematic diagram of a dual-winding transformer graph database model is provided, where in the case where the device information is dual-winding transformer information, the server models a low-end winding corresponding to the dual-winding transformer information in the power system common information topology model as a low-end winding node in the graph database model, the server models a high-end winding corresponding to the dual-winding transformer information in the power system common information topology model as a high-end winding node in the graph database model, the server models a topological connection relationship between the low-end winding corresponding to the dual-winding transformer information in the power system common information topology model and the high-end winding as an edge between the low-end winding node and the high-end winding node in the graph database model, and the server constructs a dual-winding transformer graph model corresponding to the target power system according to the low-end winding node, the high-end winding node and the edge between the low-end winding node and the high-end winding node.
In this embodiment, the building of the power system diagram database model corresponding to the target power system according to the device information includes: under the condition that the equipment information is double-winding transformer information, determining a low-end winding node of a target power system according to a low-end winding corresponding to the double-winding transformer information; determining a high-end winding node of a target power system according to a high-end winding corresponding to the double-winding transformer information; determining edges between low-end winding nodes and high-end winding nodes according to the topological connection relation between the low-end winding and the high-end winding; according to the low-end winding node, the high-end winding node and the edges between the low-end winding node and the high-end winding node, a double-winding transformer graph database model corresponding to the target power system is built, the double-winding transformer graph database model corresponding to the target power system can be built based on the double-winding transformer information in the common information topology model of the power system, the double-winding transformer in the common information topology model of the power system is converted into the double-winding transformer graph database model, graph theory and graph database models are utilized, a graph database high-efficiency access model file is used, and the topology analysis efficiency of the power system is improved.
In some embodiments, constructing a power system diagram database model corresponding to the target power system according to the device information includes: when the equipment information is transmission line information, determining a first transmission line node of a target power system according to a first transmission line end corresponding to the transmission line information; determining a second transmission line node of the target power system according to a second transmission line end corresponding to the transmission line information; determining an edge between a first transmission line node and a second transmission line node according to the topological connection relation between the first transmission line end and the second transmission line end; and constructing a transmission line diagram database model corresponding to the target power system according to the first transmission line node, the second transmission line node and edges between the first transmission line node and the second transmission line node.
The transmission line information may refer to device information representing a device object, a device attribute and a topological connection relationship between devices corresponding to the transmission line in the public information topology model, and in practical application, the transmission line may include an AC transmission line.
The first transmission line end may refer to a transmission line end corresponding to a model representing a transmission line in the common information topology model.
The first transmission line node may refer to a node of a first transmission line end corresponding to a model representing a transmission line in a graph database model.
The second transmission line end may refer to a transmission line end corresponding to a model representing the transmission line in the common information topology model.
The second transmission line node may refer to a node of the second transmission line end corresponding to the model representing the transmission line in the graph database model.
The edge between the first transmission line node and the second transmission line node may refer to a connection edge between the first transmission line node and the second transmission line node corresponding to a model representing a transmission line in the graph database model, and the edge between the first transmission line node and the second transmission line node may represent a topological connection relationship between a first transmission line end and a second transmission line end corresponding to a model representing a transmission line in the common information topology model.
The transmission line diagram database model may refer to a diagram database model obtained by converting or simplifying a model of a transmission line in the public information topology model.
As an example, as shown in fig. 4, a model schematic diagram of a transmission line graph database model is proposed, where in the case where the device information is transmission line information, a server models a first transmission line end corresponding to the transmission line information in the power system common information topology model as a first transmission line node in the graph database model, a server models a second transmission line end corresponding to the transmission line information in the power system common information topology model as a second transmission line node in the graph database model, and models a topological connection relationship between the first transmission line end corresponding to the transmission line information and the second transmission line end in the power system common information topology model as an edge between the first transmission line node and the second transmission line node in the graph database model, and the server constructs a transmission database model corresponding to the target power system according to the first transmission line node, the second transmission line node, and the edge between the first transmission line node and the second transmission line node.
In this embodiment, when the device information is transmission line information, determining a first transmission line node of the target power system according to a first transmission line end corresponding to the transmission line information; determining a second transmission line node of the target power system according to a second transmission line end corresponding to the transmission line information; determining an edge between a first transmission line node and a second transmission line node according to the topological connection relation between the first transmission line end and the second transmission line end; according to the first transmission line node, the second transmission line node and the edges between the first transmission line node and the second transmission line node, a transmission line diagram database model corresponding to the target power system is built, the transmission line diagram database model corresponding to the target power system can be built based on the transmission line information in the common information topology model of the power system, the transmission lines in the common information topology model of the power system are converted into the transmission line diagram database model, the graph theory and the graph database model are utilized, the efficient access model file of the graph database is utilized, and the topology analysis efficiency of the power system is improved.
In some embodiments, constructing a power system diagram database model corresponding to the target power system according to the device information includes: under the condition that the equipment information is three-winding transformer information, determining winding nodes of a target power system according to windings corresponding to the three-winding transformer information; determining a neutral point node of a target power system according to a neutral point corresponding to the three-winding transformer information; determining an edge between a winding node and a neutral point node according to the topological connection relation between the winding and the neutral point; and constructing a three-winding transformer diagram database model corresponding to the target power system according to the winding nodes and edges between the winding nodes and the neutral point nodes.
The three-winding transformer information may refer to device information representing a device object, a device attribute and a topological connection relationship between devices corresponding to the three-winding transformer in the common information topology model.
The windings may refer to windings corresponding to a model representing a three-winding transformer in a common information topology model, and in practical application, the windings may include a low-voltage side winding, a medium-voltage side winding and a high-voltage side winding.
The winding nodes may refer to nodes of windings corresponding to a model representing the three-winding transformer in the graph database model.
The neutral point may refer to a neutral point corresponding to a model characterizing the three-winding transformer in the common information topology model.
The neutral point node may refer to a node of a neutral point corresponding to a model representing the three-winding transformer in the common information topology model.
The edge between the winding node and the neutral point node may refer to a connection edge between the winding node corresponding to the model representing the three-winding transformer and the neutral point node in the graph database model, and the edge between the winding node and the neutral point node may represent a topological connection relationship between the winding corresponding to the model representing the three-winding transformer and the neutral point in the public information topology model.
The three-winding transformer graph database model may refer to a graph database model obtained by converting or simplifying a model of the three-winding transformer in the public information topology model.
As an example, as shown in fig. 5, a model schematic diagram of a three-winding transformer graph database model is provided, where in the case where the device information is three-winding transformer information, a server models windings corresponding to the three-winding transformer information in the power system public information topology model as winding nodes in the graph database model, a server models neutral points corresponding to the three-winding transformer information in the power system public information topology model as neutral point nodes in the graph database model, a server models topological connection relations between windings corresponding to the three-winding transformer information in the power system public information topology model and the neutral points as edges between the winding nodes and the neutral point nodes in the graph database model, and the server constructs a three-winding transformer graph database model corresponding to the target power system according to the winding nodes, the neutral point nodes and the edges between the winding nodes and the neutral point nodes.
In the embodiment, under the condition that the equipment information is three-winding transformer information, determining winding nodes of a target power system according to windings corresponding to the three-winding transformer information; determining a neutral point node of a target power system according to a neutral point corresponding to the three-winding transformer information; determining an edge between a winding node and a neutral point node according to the topological connection relation between the winding and the neutral point; according to the winding nodes and the edges between the winding nodes and the neutral point nodes, a three-winding transformer graph database model corresponding to the target power system is constructed, the three-winding transformer graph database model corresponding to the target power system can be constructed based on three-winding transformer information in the common information topology model of the power system, the three-winding transformers in the common information topology model of the power system are converted into the three-winding transformer graph database model, and the graph theory and the graph database model are utilized, and the graph database efficient access model files are used, so that the topology analysis efficiency of the power system is improved.
In some embodiments, determining a winding node of a target power system from windings corresponding to three-winding transformer information includes: determining a node of a low-voltage side winding of a target power system according to a low-voltage side winding corresponding to the three-winding transformer information; determining a medium-voltage side winding node of a target power system according to a medium-voltage side winding corresponding to the three-winding transformer information; determining a high-voltage side winding node of a target power system according to the high-voltage side winding corresponding to the three-winding transformer information; and determining winding nodes according to the low-voltage side winding nodes, the medium-voltage side winding nodes and the high-voltage side winding nodes.
The low-voltage side winding can be a low-voltage side winding corresponding to a model for representing the three-winding transformer in the common information topology model.
The low-voltage side winding node may refer to a node of the low-voltage side winding corresponding to a model representing the three-winding transformer in the graph database model.
The medium-voltage side winding can refer to a medium-voltage side winding corresponding to a model for representing the three-winding transformer in the common information topology model.
The medium-voltage side winding node may refer to a node of the medium-voltage side winding corresponding to a model representing the three-winding transformer in the graph database model.
The high-voltage side winding can be a high-voltage side winding corresponding to a model for representing the three-winding transformer in the common information topology model.
The high-voltage side winding node may refer to a node of the high-voltage side winding corresponding to a model representing the three-winding transformer in the graph database model.
As an example, a server models a low-voltage side winding corresponding to three-winding transformer information in a power system common information topology model as a low-voltage side winding node in a graph database model, a server models a medium-voltage side winding corresponding to three-winding transformer information in the power system common information topology model as a medium-voltage side winding node in the graph database model, a server models a high-voltage side winding corresponding to three-winding transformer information in the power system common information topology model as a high-voltage side winding node in the graph database model, and the server determines a winding node in the graph database model according to the low-voltage side winding node, the medium-voltage side winding node and the high-voltage side winding node.
In the embodiment, a low-voltage side winding node of a target power system is determined according to a low-voltage side winding corresponding to three-winding transformer information; determining a medium-voltage side winding node of a target power system according to a medium-voltage side winding corresponding to the three-winding transformer information; determining a high-voltage side winding node of a target power system according to the high-voltage side winding corresponding to the three-winding transformer information; according to the low-voltage side winding node, the medium-voltage side winding node and the high-voltage side winding node, the winding nodes are determined, the low-voltage side winding node, the medium-voltage side winding node and the high-voltage side winding node of a three-winding transformer graph database model corresponding to a target power system can be constructed based on the low-voltage side winding, the medium-voltage side winding and the high-voltage side winding in the three-winding transformer information in the common information topology model of the power system, the winding nodes of the three-winding transformer graph database model corresponding to the target power system are further determined, the winding is accurately converted, the winding nodes of the accurate graph database model are constructed, and the topology analysis efficiency of the power system is improved.
In some embodiments, determining an edge between a winding node and a neutral node from a topological connection between the winding and the neutral node comprises: determining a low-voltage side between a winding node and a neutral point node according to a topological connection relationship between a low-voltage side winding corresponding to the three-winding transformer information and the neutral point; determining a medium-voltage side between a winding node and a neutral point node according to a topological connection relationship between a medium-voltage side winding and the neutral point corresponding to the three-winding transformer information; determining a high-voltage side between a winding node and a neutral point node according to a topological connection relationship between a high-voltage side winding corresponding to the three-winding transformer information and the neutral point; edges between the winding nodes and the neutral node are determined from the low voltage side, the medium voltage side, and the high voltage side.
The low-voltage side may refer to a connection edge between a low-voltage side winding node and a neutral point node corresponding to a model for representing the three-winding transformer in the graph database model, the low-voltage side between the low-voltage side winding node and the neutral point node may represent a topological connection relationship between a low-voltage side winding and the neutral point corresponding to the model for representing the three-winding transformer in the public information topology model, and in practical application, two ends of the low-voltage side in the three-winding transformer graph database model are the low-voltage side winding node and the neutral point node respectively.
The medium-voltage side edge may refer to a connection edge between a medium-voltage side winding node and a neutral point node corresponding to a model representing the three-winding transformer in the graph database model, the medium-voltage side edge between the medium-voltage side winding node and the neutral point node may represent a topological connection relationship between a medium-voltage side winding and the neutral point corresponding to the model representing the three-winding transformer in the public information topological model, and in practical application, two ends of the medium-voltage side edge in the three-winding transformer graph database model are the medium-voltage side winding node and the neutral point node respectively.
The high-voltage side edge may refer to a connection edge between a high-voltage side winding node and a neutral point node corresponding to a model for representing the three-winding transformer in the graph database model, the high-voltage side edge between the high-voltage side winding node and the neutral point node may represent a topological connection relationship between a high-voltage side winding and the neutral point corresponding to the model for representing the three-winding transformer in the public information topology model, and in practical application, two ends of the high-voltage side edge in the three-winding transformer graph database model are the high-voltage side winding node and the neutral point node respectively.
As one example, a server models a topological connection relationship between a low-voltage side winding corresponding to three-winding transformer information in an electric power system public information topology model and a neutral point as a low-voltage side between a low-voltage side winding node and a neutral point node in a graph database model, the server models a topological connection relationship between a medium-voltage side winding corresponding to three-winding transformer information in the electric power system public information topology model and a neutral point as a medium-voltage side between a medium-voltage side winding node and a neutral point node in the graph database model, and the server models a topological connection relationship between a high-voltage side winding corresponding to three-winding transformer information in the electric power system public information topology model and a neutral point as a high-voltage side between a high-voltage side winding node and a neutral point node in the graph database model, and determines sides between the winding nodes and the neutral point node according to the low-voltage side, the medium-voltage side and the high-voltage side.
In the embodiment, a low-voltage side between a winding node and a neutral point node is determined according to a topological connection relationship between a low-voltage side winding and the neutral point corresponding to three-winding transformer information; determining a medium-voltage side between a winding node and a neutral point according to a topological connection relationship between a medium-voltage side winding and the neutral point corresponding to the three-winding transformer information; determining a high-voltage side between a winding node and a neutral point node according to a topological connection relationship between a high-voltage side winding corresponding to the three-winding transformer information and the neutral point; according to the low-voltage side, the medium-voltage side and the high-voltage side, edges between winding nodes and neutral point nodes are determined, the edges between the winding nodes and the neutral point nodes in the three-winding transformer information in the common information topology model of the electric power system can be constructed based on the topological connection relation between the low-voltage side winding neutral points, the topological connection relation between the medium-voltage side winding neutral points and the topological connection relation between the high-voltage side winding neutral points in the three-winding transformer information in the common information topology model of the electric power system, the low-voltage side, the medium-voltage side and the high-voltage side of the three-winding transformer diagram database model corresponding to the target electric power system are constructed, the edges between the winding nodes and the neutral point nodes in the three-winding transformer diagram database model corresponding to the target electric power system are further determined, the accurate conversion is carried out on the topological connection relation between the winding nodes and the neutral point nodes, and the edges between the winding nodes and the topology analysis efficiency of the electric power system is improved.
In some embodiments, obtaining device information corresponding to each device model file includes: acquiring file category labels corresponding to the equipment model files; and determining the equipment information corresponding to each equipment model file according to the file type label.
The file type tag may refer to a tag that characterizes a file type of the device model, and in practical application, the file type tag may include an AC transmission line tag (AC line tag), a switch tag (break) and a Bus tag (Bus).
As an example, a server reads a device model file (XML file) of a public information topology model of a target power system, the server locates a file type tag corresponding to the device model file, the server obtains an attribute of the model in the device model file and attribute values corresponding to the attributes for the file type tag, and the server determines device information corresponding to the device model file according to the attribute of the model and the attribute values corresponding to the attributes.
In this embodiment, a file type label corresponding to each device model file is obtained; according to the file type label, the equipment information corresponding to each equipment model file is determined, the equipment information corresponding to the equipment model file can be accurately obtained based on the file type label, and the accuracy of the equipment information is improved.
In order to facilitate understanding of those skilled in the art, fig. 6 exemplarily proposes a model schematic diagram of a public information topology model, the public information topology model of the main network mainly comprises connection node classes, device terminal classes and device classes, the device class nodes are connected through 0 to 2 device terminals to form a topology structure, fig. 7 exemplarily proposes a model schematic diagram of a graph database model, as shown in fig. 6, "bus" devices are connected to "switch" devices, if the data structure of the public information topology model is used for calculation, a server needs to search for the device terminal nodes connected with "bus" first, then searches for the connection nodes according to the device terminal nodes, and then searches for the device terminal nodes of the connected devices according to the connection nodes, finally finds out "switch" device nodes, the whole process involves 4 searches, and the search process is more redundant; as shown in fig. 7, the server follows the main network public information topology model, models object classes in the main network public information topology model as nodes in the graph database model, models connection relations between objects in the main network public information topology model as edges in the graph database model, models device class attribute descriptions in the main network public information topology model as attributes in the graph database model, and simultaneously, simplifies connection relations between devices through "device-terminal-connection point-terminal-device" to connection relations through "device-connection point-device".
In the embodiment, the common information topology model of the electric power system is simplified and transformed based on the graph database model, so that the common information topology model of the electric power system can be completely transformed or simplified into the topology model based on the graph database model, the connectivity query efficiency of the electric power equipment in the topology model is improved on the premise of ensuring the consistency of equipment information of the electric power equipment among the models, the graph database is used for storage, the equipment is represented as a node, the relationship is represented as an edge, and the efficient access of the electric power equipment in the electric power system is realized based on graph theory and the graph database, so that the topology analysis efficiency of the electric power system is improved.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a main network public information topology model construction device based on the graph database, which is used for realizing the main network public information topology model construction method based on the graph database. The implementation scheme of the solution provided by the device is similar to the implementation scheme described in the above method, so the specific limitation in the embodiment of the device for constructing the public information topology model of the main network based on the graph database provided below can be referred to the limitation of the method for constructing the public information topology model of the main network based on the graph database hereinabove, and will not be repeated here.
In one embodiment, as shown in fig. 8, there is provided a device for constructing a topology model of public information of a main network based on a graph database, including: a file acquisition module 802, an information acquisition module 804, a model construction module 806, and a model determination module 808, wherein:
a file obtaining module 802, configured to obtain a power system model file of a target power system; the power system model files include at least one equipment model file.
An information obtaining module 804, configured to obtain device information corresponding to each device model file; the equipment information comprises equipment objects, equipment attributes and topological connection relations among equipment; the topological connection relationship between the devices characterizes the topological connection relationship between the device object and other device objects.
The model construction module 806 is configured to construct a power system diagram database model corresponding to the target power system according to the device information; wherein at least one node in the power system diagram database model is used to characterize the equipment object; the attribute of the node is used for representing the equipment attribute; at least one edge in the power system diagram database model is used for representing the topological connection relation between the devices.
The model determining module 808 is configured to determine a power system topology model of the target power system according to the power system graph database model.
In an exemplary embodiment, the above model building module 806 is specifically further configured to determine, when the equipment information is duplex winding transformer information, a low-end winding node of the target power system according to a low-end winding corresponding to the duplex winding transformer information; determining a high-end winding node of the target power system according to the high-end winding corresponding to the double-winding transformer information; determining edges between the low-end winding nodes and the high-end winding nodes according to the topological connection relation between the low-end winding and the high-end winding; and constructing a double-winding transformer graph database model corresponding to the target power system according to the low-end winding node, the high-end winding node and edges between the low-end winding node and the high-end winding node.
In an exemplary embodiment, the above model building module 806 is specifically further configured to determine, when the device information is transmission line information, a first transmission line node of the target power system according to a first transmission line end corresponding to the transmission line information; determining a second transmission line node of the target power system according to a second transmission line end corresponding to the transmission line information; determining an edge between the first transmission line node and the second transmission line node according to the topological connection relation between the first transmission line end and the second transmission line end; and constructing a transmission line diagram database model corresponding to the target power system according to the first transmission line node, the second transmission line node and edges between the first transmission line node and the second transmission line node.
In an exemplary embodiment, the above model building module 806 is specifically further configured to determine, when the equipment information is three-winding transformer information, winding nodes of the target power system according to windings corresponding to the three-winding transformer information; determining a neutral point node of the target power system according to the neutral point corresponding to the three-winding transformer information; determining an edge between the winding node and the neutral point node according to the topological connection relation between the winding and the neutral point; and constructing a three-winding transformer diagram database model corresponding to the target power system according to the winding nodes and edges between the winding nodes and the neutral point nodes.
In an exemplary embodiment, the model building module 806 is specifically further configured to determine a low-voltage side winding node of the target power system according to the low-voltage side winding corresponding to the three-winding transformer information; determining a medium-voltage side winding node of the target power system according to the medium-voltage side winding corresponding to the three-winding transformer information; determining a high-voltage side winding node of the target power system according to the high-voltage side winding corresponding to the three-winding transformer information; and determining the winding node according to the low-voltage side winding node, the medium-voltage side winding node and the high-voltage side winding node.
In an exemplary embodiment, the above model building module 806 is specifically further configured to determine a low-voltage side between the winding node and the neutral node according to a topological connection relationship between the low-voltage side winding corresponding to the three-winding transformer information and the neutral point; determining a medium-voltage side between the winding node and the neutral point node according to the topological connection relation between the medium-voltage side winding corresponding to the three-winding transformer information and the neutral point; determining a high-voltage side between the winding node and the neutral point node according to the topological connection relation between the high-voltage side winding corresponding to the three-winding transformer information and the neutral point; and determining edges between the winding node and the neutral point node according to the low-voltage side, the medium-voltage side and the high-voltage side.
In an exemplary embodiment, the information obtaining module 804 is specifically further configured to obtain a file type label corresponding to each of the device model files; and determining the equipment information corresponding to each equipment model file according to the file category label.
The modules in the main network public information topology model construction device based on the graph database can be fully or partially realized by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 9. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program, when executed by the processor, implements a method for constructing a topology model of public information of a main network based on a graph database. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 9 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the computer device to which the present application applies, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In an embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
It should be noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data are required to comply with the related laws and regulations and standards of the related countries and regions.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as Static Random access memory (Static Random access memory AccessMemory, SRAM) or dynamic Random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (5)

1. A method for constructing a public information topology model of a main network based on a graph database, the method comprising:
acquiring a power system model file of a target power system; the power system model files include at least one equipment model file;
acquiring equipment information corresponding to each equipment model file; the equipment information comprises equipment objects, equipment attributes and topological connection relations among equipment; the topological connection relation between the equipment characterizes the topological connection relation between the equipment objects and other equipment objects;
Constructing a power system diagram database model corresponding to the target power system according to the equipment information; wherein at least one node in the power system diagram database model is used to characterize the equipment object; the attribute of the node is used for representing the equipment attribute; at least one edge in the power system diagram database model is used for representing the topological connection relation between the devices; determining a low-end winding node of the target power system according to a low-end winding corresponding to the double-winding transformer information under the condition that the equipment information is double-winding transformer information; determining a high-end winding node of the target power system according to the high-end winding corresponding to the double-winding transformer information; determining edges between the low-end winding nodes and the high-end winding nodes according to the topological connection relation between the low-end winding and the high-end winding; constructing a double-winding transformer diagram database model corresponding to the target power system according to the low-end winding node, the high-end winding node and edges between the low-end winding node and the high-end winding node; when the equipment information is transmission line information, determining a first transmission line node of the target power system according to a first transmission line end corresponding to the transmission line information; determining a second transmission line node of the target power system according to a second transmission line end corresponding to the transmission line information; determining an edge between the first transmission line node and the second transmission line node according to the topological connection relation between the first transmission line end and the second transmission line end; constructing a transmission line diagram database model corresponding to the target power system according to the first transmission line node, the second transmission line node and edges between the first transmission line node and the second transmission line node; determining winding nodes of the target power system according to windings corresponding to the three-winding transformer information under the condition that the equipment information is the three-winding transformer information; determining a neutral point node of the target power system according to the neutral point corresponding to the three-winding transformer information; determining an edge between the winding node and the neutral point node according to the topological connection relation between the winding and the neutral point; constructing a three-winding transformer diagram database model corresponding to the target power system according to the winding nodes and edges between the winding nodes and the neutral point nodes; determining a low-voltage side winding node of the target power system according to the low-voltage side winding corresponding to the three-winding transformer information; determining a medium-voltage side winding node of the target power system according to the medium-voltage side winding corresponding to the three-winding transformer information; determining a high-voltage side winding node of the target power system according to the high-voltage side winding corresponding to the three-winding transformer information; determining the winding nodes according to the low-voltage side winding nodes, the medium-voltage side winding nodes and the high-voltage side winding nodes; determining a low-voltage side between the winding node and the neutral point node according to the topological connection relation between the low-voltage side winding corresponding to the three-winding transformer information and the neutral point; determining a medium-voltage side between the winding node and the neutral point node according to the topological connection relation between the medium-voltage side winding corresponding to the three-winding transformer information and the neutral point; determining a high-voltage side between the winding node and the neutral point node according to the topological connection relation between the high-voltage side winding corresponding to the three-winding transformer information and the neutral point; determining edges between the winding nodes and the neutral point nodes according to the low-voltage side, the medium-voltage side and the high-voltage side;
And determining a power system topology model of the target power system according to the power system diagram database model.
2. The method of claim 1, wherein obtaining device information corresponding to each device model file comprises:
acquiring file category labels corresponding to the equipment model files;
and determining the equipment information corresponding to each equipment model file according to the file category label.
3. A device for constructing a public information topology model of a main network based on a graph database, the device comprising:
the file acquisition module is used for acquiring a power system model file of the target power system; the power system model files include at least one equipment model file;
the information acquisition module is used for acquiring equipment information corresponding to each equipment model file; the equipment information comprises equipment objects, equipment attributes and topological connection relations among equipment; the topological connection relation between the equipment characterizes the topological connection relation between the equipment objects and other equipment objects;
the model construction module is used for constructing a power system diagram database model corresponding to the target power system according to the equipment information; wherein at least one node in the power system diagram database model is used to characterize the equipment object; the attribute of the node is used for representing the equipment attribute; at least one edge in the power system diagram database model is used for representing the topological connection relation between the devices; determining a low-end winding node of the target power system according to a low-end winding corresponding to the double-winding transformer information under the condition that the equipment information is double-winding transformer information; determining a high-end winding node of the target power system according to the high-end winding corresponding to the double-winding transformer information; determining edges between the low-end winding nodes and the high-end winding nodes according to the topological connection relation between the low-end winding and the high-end winding; constructing a double-winding transformer diagram database model corresponding to the target power system according to the low-end winding node, the high-end winding node and edges between the low-end winding node and the high-end winding node; when the equipment information is transmission line information, determining a first transmission line node of the target power system according to a first transmission line end corresponding to the transmission line information; determining a second transmission line node of the target power system according to a second transmission line end corresponding to the transmission line information; determining an edge between the first transmission line node and the second transmission line node according to the topological connection relation between the first transmission line end and the second transmission line end; constructing a transmission line diagram database model corresponding to the target power system according to the first transmission line node, the second transmission line node and edges between the first transmission line node and the second transmission line node; determining winding nodes of the target power system according to windings corresponding to the three-winding transformer information under the condition that the equipment information is the three-winding transformer information; determining a neutral point node of the target power system according to the neutral point corresponding to the three-winding transformer information; determining an edge between the winding node and the neutral point node according to the topological connection relation between the winding and the neutral point; constructing a three-winding transformer diagram database model corresponding to the target power system according to the winding nodes and edges between the winding nodes and the neutral point nodes; determining a low-voltage side winding node of the target power system according to the low-voltage side winding corresponding to the three-winding transformer information; determining a medium-voltage side winding node of the target power system according to the medium-voltage side winding corresponding to the three-winding transformer information; determining a high-voltage side winding node of the target power system according to the high-voltage side winding corresponding to the three-winding transformer information; determining the winding nodes according to the low-voltage side winding nodes, the medium-voltage side winding nodes and the high-voltage side winding nodes; determining a low-voltage side between the winding node and the neutral point node according to the topological connection relation between the low-voltage side winding corresponding to the three-winding transformer information and the neutral point; determining a medium-voltage side between the winding node and the neutral point node according to the topological connection relation between the medium-voltage side winding corresponding to the three-winding transformer information and the neutral point; determining a high-voltage side between the winding node and the neutral point node according to the topological connection relation between the high-voltage side winding corresponding to the three-winding transformer information and the neutral point; determining edges between the winding nodes and the neutral point nodes according to the low-voltage side, the medium-voltage side and the high-voltage side;
And the model determining module is used for determining a power system topology model of the target power system according to the power system diagram database model.
4. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 2 when the computer program is executed.
5. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 2.
CN202310770891.8A 2023-06-28 2023-06-28 Main network public information topology model construction method and device based on graph database Active CN116501926B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310770891.8A CN116501926B (en) 2023-06-28 2023-06-28 Main network public information topology model construction method and device based on graph database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310770891.8A CN116501926B (en) 2023-06-28 2023-06-28 Main network public information topology model construction method and device based on graph database

Publications (2)

Publication Number Publication Date
CN116501926A CN116501926A (en) 2023-07-28
CN116501926B true CN116501926B (en) 2024-01-23

Family

ID=87328768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310770891.8A Active CN116501926B (en) 2023-06-28 2023-06-28 Main network public information topology model construction method and device based on graph database

Country Status (1)

Country Link
CN (1) CN116501926B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9120528D0 (en) * 1990-09-27 1991-11-06 Mitsubishi Electric Corp Colour cathode ray tube with selective light absorption film
EP0942453A2 (en) * 1998-03-11 1999-09-15 Eaton Corporation Monitoring of plasma constituents using optical emission spectroscopy
CN112559804A (en) * 2020-11-27 2021-03-26 国家电网有限公司大数据中心 Graph database-based power grid CIM/E model data processing method and device
CN112699278A (en) * 2020-12-23 2021-04-23 新奥数能科技有限公司 Graph database construction method and device, readable storage medium and electronic equipment
CN113849944A (en) * 2021-09-16 2021-12-28 国电南瑞南京控制***有限公司 Power grid topology service method, device and system based on graph data model

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9120528D0 (en) * 1990-09-27 1991-11-06 Mitsubishi Electric Corp Colour cathode ray tube with selective light absorption film
EP0942453A2 (en) * 1998-03-11 1999-09-15 Eaton Corporation Monitoring of plasma constituents using optical emission spectroscopy
CN112559804A (en) * 2020-11-27 2021-03-26 国家电网有限公司大数据中心 Graph database-based power grid CIM/E model data processing method and device
CN112699278A (en) * 2020-12-23 2021-04-23 新奥数能科技有限公司 Graph database construction method and device, readable storage medium and electronic equipment
CN113849944A (en) * 2021-09-16 2021-12-28 国电南瑞南京控制***有限公司 Power grid topology service method, device and system based on graph data model

Also Published As

Publication number Publication date
CN116501926A (en) 2023-07-28

Similar Documents

Publication Publication Date Title
CN103500196A (en) EXCEL data export method and export device in multi-concurrence large data volume environment
CN103955549A (en) Web GIS system based on SVG and data input and search method thereof
CN110597900B (en) Method for generating vector slice by GDB data in real time according to needs
WO2022134631A1 (en) Graph database construction method and apparatus, readable storage medium, and electronic device
WO2023131218A1 (en) Graph data storage
CN112507499A (en) GIS-based power distribution network line loss data acquisition method and related device
CN103455555A (en) Recommendation method and device based on mobile terminal similarity
CN106886568A (en) One kind point table method, device and electronic equipment
CN101916269B (en) The generation method of power grid SVG graphic file, described graphic file and generation system
CN114398567A (en) Multi-time-state power grid topological graph data management method and device and computer equipment
CN116501926B (en) Main network public information topology model construction method and device based on graph database
CN113792068A (en) Method and device for organizing and retrieving multi-level multi-topic spatial data
EP2312473A1 (en) System, apparatus and method for processing content on a computing device
CN103023740A (en) Information interaction bus system and electric power data transmission method
CN112230929A (en) Data analysis method and device of CIM (common information model) and storage medium
CN105630998A (en) Metadata management method, device and system
CN104636907A (en) Movable electric power scientific research evaluation system based on IOS (Internet Operating System)
Feixiang et al. Research on mobile GIS based for information collection
CN104426934A (en) New information pushing method for tourism mobile terminal
CN116521951A (en) Method, device, equipment and medium for identifying bus wiring pattern of 500KV substation
CN116150840A (en) Model generation method, device, apparatus, storage medium, and program product
CN116979540B (en) Converter station tide estimation method, device, equipment and medium based on graph technology
CN116029026A (en) Model file processing method, device, equipment, storage medium and program product
CN111078960B (en) Method and system for realizing real-time retrieval of power dispatching system equipment
WO2024040382A1 (en) Icd file generation method and apparatus, computer device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant