CN117057079A - Power distribution network topology control method, system, equipment and storage medium - Google Patents

Power distribution network topology control method, system, equipment and storage medium Download PDF

Info

Publication number
CN117057079A
CN117057079A CN202311048583.0A CN202311048583A CN117057079A CN 117057079 A CN117057079 A CN 117057079A CN 202311048583 A CN202311048583 A CN 202311048583A CN 117057079 A CN117057079 A CN 117057079A
Authority
CN
China
Prior art keywords
topology
distribution network
power distribution
state
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311048583.0A
Other languages
Chinese (zh)
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.)
State Grid Smart Grid Research Institute Co ltd
State Grid Corp of China SGCC
State Grid Shanghai Electric Power Co Ltd
Original Assignee
State Grid Smart Grid Research Institute Co ltd
State Grid Corp of China SGCC
State Grid Shanghai Electric Power 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 State Grid Smart Grid Research Institute Co ltd, State Grid Corp of China SGCC, State Grid Shanghai Electric Power Co Ltd filed Critical State Grid Smart Grid Research Institute Co ltd
Priority to CN202311048583.0A priority Critical patent/CN117057079A/en
Publication of CN117057079A publication Critical patent/CN117057079A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/20Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computational Mathematics (AREA)
  • Power Engineering (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the technical field of power distribution network topology control, and discloses a power distribution network topology control method, a system, equipment and a storage medium, wherein the method disclosed by the invention comprises the following steps: constructing a power distribution network topology model containing a temporal identifier and a time stamp attribute based on a power distribution network topology graph, wherein the temporal identifier comprises an operation state, an editing state and a historical state, and the time stamp attribute comprises operation state topology creation time, editing state topology editing time and historical state topology exit time; the topology processing assembly based on the power distribution network utilizes a container technology, builds a topology control container set based on the image of the graph database, and comprises power distribution network topology display, editing and analysis; and controlling the topology model of the power distribution network according to the topology control container set to complete the control of multi-temporal topology of the power distribution network, wherein the multi-temporal comprises: run state, edit state, and history state. And the effect and the efficiency of the novel multi-time topology version control of the power distribution network are improved.

Description

Power distribution network topology control method, system, equipment and storage medium
Technical Field
The invention relates to the technical field of power distribution network topology control, in particular to a power distribution network topology control method, a power distribution network topology control system, power distribution network topology control equipment and a storage medium.
Background
With the development of social economy and the acceleration of the construction process of a novel power system, the form of a power distribution network is gradually changed, wherein distributed resources including distributed new energy sources, energy storage systems, electric vehicles, diversified loads and the like are accessed on a large scale, so that the power distribution network is larger and larger in scale and more complex in structure, the operation process of the power distribution network shows typical characteristics of strong interaction, multiple coupling and high randomness, and the power distribution network is changed from a traditional form to a novel power distribution network. Under the novel power distribution network, the power supply structure is changed from an original centralized power supply to a large number of distributed renewable power supplies, the load characteristic is changed from pure consumption type rigid demand to flexible interaction with production and consumption, the power distribution network is changed from a unidirectional passive network to an active network with supply and demand interaction, the limit of the source load is more fuzzy, the topology structure and the form of the power distribution network are characterized by continuously changing along with time, and especially the uncertainty and the randomness of distributed resources such as photovoltaic, wind power, energy storage, multiple loads and the like are improved, the frequency and the complexity of dynamic change of the topology of the power distribution network are increased, the topology of the power distribution network has multi-time characteristics, and a plurality of inconveniences are brought to the analysis and control of the topology of the power distribution network. The existing topology control technology of the power distribution network generally realizes the control of the current or appointed topology version by uniformly storing the topology data of the power distribution network in different time states and dynamically loading the topology data according to actual demands, has certain defects in the aspects of flexibility, expansibility, instantaneity and the like of control, and particularly has more obvious multi-temporal characteristics of the topology of the power distribution network in the scene of accessing massive distributed resources into the power distribution network, and the existing topology control technology is difficult to support the version control demands of the novel multi-temporal topology of the power distribution network.
Disclosure of Invention
In view of the above, the invention provides a power distribution network topology control method, a system, a device and a storage medium, which are used for solving the problem that the existing topology control technology is difficult to support the version control requirement of the novel power distribution network multi-temporal topology.
In a first aspect, the present invention provides a topology control method for a power distribution network, where the method includes:
based on a power distribution network topological graph, constructing a power distribution network topological model containing a temporal identifier and a timestamp attribute, wherein the temporal identifier comprises: run state, edit state, and history state, the timestamp attribute comprising: run state topology creation time, edit state topology edit time, and history state topology exit time;
the topology processing assembly based on the power distribution network utilizes a container technology, and builds a topology control container set based on the image of a graph database, wherein the processing assembly comprises power distribution network topology display, editing and analysis;
and controlling a power distribution network topology model according to the topology control container set to complete control of multi-temporal topology of the power distribution network, wherein the multi-temporal comprises: run state, edit state, and history state.
According to the method provided by the invention, a multi-temporal topology model of the power distribution network is constructed according to the topology diagram of the power distribution network, dynamic storage, updating and conversion of an operation state, an editing state and a history state are realized by combining a container technology, flexible control of different versions of the topology of the power distribution network in multiple states is supported, the version control requirement that the existing topology control technology is difficult to support the novel multi-temporal topology of the power distribution network is met, the effect and efficiency of the version control of the novel multi-temporal topology of the power distribution network are improved, and the problem of large-scale multi-temporal topology version control in the scene of accessing mass distributed resources into the power distribution network is solved.
In an alternative embodiment, the control of the topology model of the power distribution network according to the topology control container set, to complete the control of the running topology of the power distribution network, includes:
based on a power distribution network topology model, adding running state identification and timestamp attribute to generate a running state power distribution network topology data set;
and starting an image database container according to the topology control container set, accessing the topology data set of the running state power distribution network, storing the topology data set as a running state power distribution network topology service mirror image, and completing the control service of the running state topology of the power distribution network.
In an alternative embodiment, the control of the topology model of the power distribution network according to the topology control container set, to complete the control of the edited topology of the power distribution network, includes:
based on the running state distribution network topology service image and the distribution network topology display, editing and analyzing module image, respectively starting containers to construct distribution network topology data service and editing service;
drawing, editing and connecting a topology graph on a visual interface according to preset topology change information, wherein the preset topology change information comprises power distribution network planning, new equipment access and equipment source load change;
and after the editing is completed and the editing is synchronously stored in a graph database of the container after the auditing is completed, the data is exported to be a new mirror image after the data is stored, and the new mirror image is marked as an edited power distribution network topology service mirror image, so that the control service of the edited power distribution network topology is completed.
The invention is based on the running state power distribution network topology, carries out running state power distribution network topology editing and updating according to the power distribution network topology change, and marks the running state power distribution network topology as an editing state power distribution network topology, thereby realizing editing state power distribution network topology control.
In an alternative embodiment, the control of the topology model of the power distribution network according to the topology control container set, to complete the control of the historical topology of the power distribution network, includes:
after the topology of the running state distribution network is updated, closing a topology service container of the previous running state distribution network, modifying a label of a topology service mirror image of the previous running state distribution network into a historical state, and storing the historical state in a mirror image warehouse;
when the number of the historical state distribution network topology service images exceeds a preset value, starting a container based on the historical state distribution network topology service image with earliest time, importing data into a graph data historic base, closing the container after the completion, and deleting the historical state distribution network topology service image with earliest time;
and carrying out sub-graph segmentation merging, index construction and storage optimization operation on the graph data historic base to complete the control service of the historical state topology of the power distribution network.
The method and the device perform operations such as sub-graph segmentation merging, index construction, storage optimization and the like on the graph data historian, save storage space and improve query efficiency.
In an alternative embodiment, the method further comprises: the method comprises the steps of performing multi-temporal topology version conversion control on the power distribution network, and after editing the running of the dynamic power distribution network topology service, editing the dynamic power distribution network topology service mark as running state service, stopping the original running state power distribution network topology service and marking as history state; when the topology service of the running power distribution network fails, rollback is performed based on the historical state of the last time version, the running state is marked after approval passes, and the original running power distribution network topology service with the failure or problem is marked as an editing state.
In a second aspect, the present invention provides a topology control apparatus for a power distribution network, the apparatus comprising:
the power distribution network topology model construction module is used for constructing a power distribution network topology model containing a temporal identifier and a timestamp attribute based on a power distribution network topology graph, wherein the temporal identifier comprises: run state, edit state, and history state, the timestamp attribute comprising: run state topology creation time, edit state topology edit time, and history state topology exit time;
the topology control container set construction module is used for constructing a topology control container set based on a topology processing assembly of the power distribution network by utilizing a container technology and based on image database mirroring, wherein the processing assembly comprises power distribution network topology display, editing and analysis;
The power distribution network topology control module is used for controlling a power distribution network topology model according to the topology control container set to complete control of multi-temporal topology of the power distribution network, and the multi-temporal comprises: run state, edit state, and history state.
In an alternative embodiment, the topology control module of the power distribution network includes an operation state control unit, configured to control the topology model of the power distribution network according to the topology control container set, and complete control of the operation state topology of the power distribution network, including:
the running state power distribution network topology data set generation subunit is used for generating a running state power distribution network topology data set by adding running state identification and time stamp attribute based on a power distribution network topology model;
and the control service subunit of the running state topology of the power distribution network is used for starting the image database container according to the topology control container set, accessing the running state power distribution network topology data set, storing the running state power distribution network topology data set as a running state power distribution network topology service mirror image, and completing the control service of the running state topology of the power distribution network.
In an alternative embodiment, the topology control module of the power distribution network includes an edit state control unit, configured to control the topology model of the power distribution network according to the topology control container set, and complete control of the edit state topology of the power distribution network, including:
The power distribution network topology data service and editing service construction subunit is used for respectively starting containers based on the running state power distribution network topology service image and the power distribution network topology display, editing and analyzing module image to construct power distribution network topology data service and editing service;
the configuration subunit is used for carrying out topology graph drawing, editing and connection on the visual interface according to preset topology change information, wherein the preset topology change information comprises power distribution network planning, new equipment access and equipment source load change;
and the control service subunit of the power distribution network editing topology is used for synchronously storing the edited power distribution network editing topology into a graph database of the container after the editing is completed and checking, exporting the edited power distribution network editing topology into a new mirror image after the data storage is completed, and marking the new mirror image as an editing power distribution network topology service mirror image to complete the control service of the power distribution network editing topology.
In an alternative embodiment, the topology control module of the power distribution network includes a historical state control unit, configured to control the topology model of the power distribution network according to the topology control container set, and complete the control of the historical state topology of the power distribution network, including:
the control subunit of the history state topology of the first power distribution network is used for closing a topology service container of the previous power distribution network after the topology of the power distribution network in the running state is updated, modifying a label of a topology service mirror image of the power distribution network in the previous running state into a history state, and storing the history state in a mirror image warehouse;
The control subunit of the historical state topology of the second power distribution network is used for starting a container based on the earliest historical state power distribution network topology service mirror image of the time when the number of the historical state power distribution network topology service mirror images exceeds a preset value, importing data into a graph data historic base, closing the container after completion and deleting the earliest historical state power distribution network topology service mirror image;
and the third control subunit of the historical state topology of the power distribution network is used for carrying out sub-graph segmentation and merging, index construction and storage optimization operation on the graph data historian to complete the control service of the historical state topology of the power distribution network.
In an optional implementation manner, the device further comprises a multi-temporal conversion control module, which is used for multi-temporal topology version conversion control of the power distribution network, and after editing the running of the dynamic power distribution network topology service, editing the dynamic power distribution network topology service to mark as running state service, stopping the original running state power distribution network topology service and marking as history state; when the topology service of the running power distribution network fails, rollback is performed based on the historical state of the last time version, the running state is marked after approval passes, and the original running power distribution network topology service with the failure or problem is marked as an editing state.
In a third aspect, the present invention provides a computer device comprising: the power distribution network topology control system comprises a memory and a processor, wherein the memory and the processor are in communication connection, the memory stores computer instructions, and the processor executes the computer instructions so as to execute the power distribution network topology control method according to the first aspect or any implementation mode corresponding to the first aspect.
In a fourth aspect, the present invention provides a computer readable storage medium, on which computer instructions are stored, the computer instructions being configured to cause a computer to perform the power distribution network topology control method according to the first aspect or any one of the embodiments corresponding to the first aspect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method of topology control of a power distribution network according to an embodiment of the invention;
FIG. 2 is a topology model of a power distribution network including time stamps and temporal identification according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of generation of a mirror image in accordance with an embodiment of the invention;
FIG. 4 is a schematic diagram of an operating power distribution network topology control according to an embodiment of the present invention;
FIG. 5 is an edited power distribution network topology control schematic diagram in accordance with an embodiment of the invention;
FIG. 6 is a schematic diagram of historical state distribution network topology control according to an embodiment of the invention;
FIG. 7 is a flow chart of a multi-temporal topology version conversion control of a power distribution network according to an embodiment of the present invention;
fig. 8 is a block diagram of a topology control apparatus of a power distribution network according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware structure of a computer device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
According to an embodiment of the present invention, there is provided an embodiment of a topology control method for a power distribution network, it being noted that the steps shown in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that herein.
In this embodiment, a topology control method for a power distribution network is provided, which may be used for the mobile terminal (such as a mobile phone, a tablet pc, etc. (the execution subject is described in connection with the actual situation)), and fig. 1 is a flowchart of the topology control method for a power distribution network according to an embodiment of the present invention, as shown in fig. 1, where the flowchart includes the following steps:
step S101, constructing a power distribution network topology model containing a temporal identifier and a time stamp attribute based on a power distribution network topology graph, wherein the temporal identifier comprises: run state, edit state, and history state, the timestamp attribute comprising: run state topology creation time, edit state topology edit time, and history state topology exit time.
In the embodiment of the invention, a graph-based power distribution network topology model comprising timestamp attribute and tense identification is established, the running state, editing state and historical state of the power distribution network topology are identified according to the tense identification, and the affiliated time information identification of the editing state and the historical state of the power distribution network topology is identified according to timestamp information, so that the running state topology creation time, the editing state topology editing time and the historical state topology exit time are distinguished. Based on a power distribution network topology model, according to a graph calculation theory, carrying out structure expansion of the power distribution network topology model, adding timestamp attribute and tense identification to form a power distribution network multi-tense topology model, wherein the model mainly comprises a power distribution network topology node set, a power distribution network topology connection relation set, a topology tense identification, timestamp information and the like as shown in fig. 2, and the definition examples are as follows:
Temporal topology set of distribution network: topo_G= (V, E, T_V, T),
v= { v_1, v_2, v_3, …, v_n }, V representing the topology node, n representing the number of node sets;
distribution network topology connection relation set: e= { e_1, e_2, e_3, …, e_n }, E represents the topological connection relationship, n represents the number of relationship sets;
topology tense identification: t_v= { x }, the definition value of x includes Live, edit, history, which respectively represents an operation state, an editing state, and a history state;
timestamp information: t= { T }, T represents a time stamp of the topology, in the format of "YYYY-MM-DDHH: MM: SS: XXX".
Step S102, a topology control container set is constructed based on a topology processing component of the power distribution network by utilizing a container technology and based on graph database mirroring, wherein the processing component comprises power distribution network topology display, editing and analysis.
In the embodiment of the invention, as shown in fig. 3, a topology display, editing and analysis assembly of the power distribution network is constructed, a graph database is used as a topology data storage platform, and a container technology is utilized to manufacture an integrated topology service mirror image set covering functions of power distribution network topology data storage, visualization, editing and analysis and the like. Firstly, constructing a display, editing and analysis module of a power distribution network topology based on a GIS technology, and providing the capabilities of dynamic visualization, interactive topology graph drawing and editing, intelligent topology analysis based on a graph calculation algorithm and the like of the power distribution network topology; and secondly, establishing a graph database mirror image by using a container technology to form a basic mirror image of the topology data storage of the power distribution network, and finally establishing a topology display, editing and analyzing module mirror image of the power distribution network, and carrying out data docking between the topology display, editing and analyzing module and the graph database through interface configuration to realize real-time reading of the graph database data and real-time storage of editing results.
In a specific embodiment, a distribution network topology display, editing and analyzing service assembly is developed based on java and HTML5, and functions of dynamic visualization of distribution network topology, interactive topology graph drawing and editing, topology intelligent analysis based on graph calculation algorithm and the like are provided; based on a dock technology, a container running environment and a mirror image warehouse are established, and a distribution network topology display, editing and analysis assembly is packaged into a mirror image and stored in the dock mirror image warehouse; and pulling neo4j database images from hub.
Step S103, controlling a power distribution network topology model according to a topology control container set to complete control of multi-temporal topology of the power distribution network, wherein the multi-temporal comprises: run state, edit state, and history state.
In the embodiment of the invention, the container is started as required according to the requirement, and the control of the multi-temporal topology of the power distribution network is completed.
According to the power distribution network topology control method, a multi-temporal topology model of the power distribution network is constructed, dynamic storage, updating and conversion of running states, editing states and historical states are realized by combining a container technology, flexible control of different versions of the power distribution network topology in multiple states is supported, the version control requirement that an existing topology control technology is difficult to support a novel power distribution network multi-temporal topology is met, the effect and efficiency of version control of the novel power distribution network multi-temporal topology are improved, and the problem of large-scale multi-temporal topology version control in a scene that massive distributed resources are accessed into the power distribution network is solved.
In some alternative embodiments, in step S103, it includes: the topology control method comprises the steps of controlling a topology model of the power distribution network according to a topology control container set to complete the control of the running state topology of the power distribution network, and comprises the following steps:
step a1, based on a power distribution network topology model, adding running state identification and timestamp attribute to generate a running state power distribution network topology data set;
and a2, starting an image database container according to the topology control container set, accessing the topology data set of the running state power distribution network, storing the topology data set as a running state power distribution network topology service mirror image, and completing the control service of the running state topology of the power distribution network.
In the embodiment of the invention, the topology data of the distribution network with the current time section is accessed, the topology service of the running state distribution network is constructed based on the graph database and the container technology, and the topology control of the running state distribution network is realized. Firstly, carding a power distribution network topology related data set, carrying out extraction processing and association fusion of data, and adding running state identification and timestamp attribute based on a power distribution network topology model established in the step S101 to form a running state power distribution network topology data set; secondly, starting a graph database container based on the graph database mirror image established in the step S102, accessing a topology data set of the running state power distribution network, and storing the topology data set as a topology service mirror image of the running state power distribution network; and finally, starting the container according to the requirements based on the topology service mirror image of the running state distribution network to provide the version control service of the running state topology.
In one embodiment, as shown in FIG. 4, the graph database container is started by a dock run command; based on an ETL tool, extracting topology data of the power distribution network of the current time section, carrying out association fusion on the data after cleaning, adding temporal identification (live) and timestamp information, and accessing the data into a graph database; storing the graph data container as a topology service mirror image of the running power distribution network through a dock command, and closing the graph database container through a dock stop command; according to actual demands, starting an operating state distribution network topology service container and a distribution network topology display, editing and analyzing the service container, and developing display, analysis and the like of operating state distribution network topology information.
In some optional embodiments, in step S103, further includes: the topology model of the power distribution network is controlled according to the topology control container set, and the control of the edited topology of the power distribution network is completed, and the topology control method comprises the following steps:
step b1, respectively starting containers based on a running state distribution network topology service image and a distribution network topology display and analysis module image, and constructing a distribution network topology data service and an editing service;
step b2, drawing, editing and connecting a topology graph on a visual interface according to preset topology change information, wherein the preset topology change information comprises power distribution network planning, new equipment access and equipment source load change;
And b3, after editing is completed and the editing is synchronously stored in a graph database of the container after auditing, the data is exported to be a new mirror image after the data is stored, and the new mirror image is marked as an edited power distribution network topology service mirror image, so that the control service of the edited power distribution network topology is completed.
In the embodiment of the invention, the running state power distribution network topology is used as a basis, the running state power distribution network topology is edited and updated according to the power distribution network topology change, and the editing state power distribution network topology is identified, so that the editing state power distribution network topology control is realized. Firstly, respectively starting containers based on running state distribution network topology service images and distribution network topology display, editing and analysis module images, and constructing distribution network topology data services and editing services; secondly, aiming at topology change information such as power distribution network planning, new equipment access, equipment source load change and the like, directly carrying out topology graph drawing, editing and connection on a visual interface, synchronously storing the editing completion and the editing completion into a graph database of a container after checking, and exporting the container as a new mirror image after data storage is completed and marking the container as an edited power distribution network topology service mirror image; and finally, starting the container according to the need based on the edited power distribution network topology service mirror image, and providing the version control service of the edited topology.
In a specific embodiment, as shown in fig. 5, based on the running state distribution network topology service mirror image, a container is started and named as an edit state distribution network topology service container through a dock run command; starting a power distribution network topology display, editing and analyzing a service container through a dock run command, and performing data docking with an edited power distribution network topology service; performing operations such as graph drawing, attribute updating, relation editing and the like on the topology through a power distribution network topology editing service, and synchronously storing the edited data into a graph database of an edited power distribution network topology service container; storing the edited power distribution network topology service container as an edited power distribution network topology service mirror image through a dock command, and closing the container through a dock stop command; and starting the edited power distribution network topology service container and the power distribution network topology display, editing and analyzing the service container according to the requirements, and developing the display, editing and analyzing the edited power distribution network topology information and the like.
In some optional embodiments, in step S103, further includes: the control of the power distribution network topology model according to the topology control container set is completed, and the control of the historical state topology of the power distribution network is completed, and the method comprises the following steps:
Step c1, after the topology of the running state distribution network is updated, closing a topology service container of the former running state distribution network, modifying a label of a topology service mirror image of the former running state distribution network into a historical state, and storing the historical state in a mirror image warehouse;
step c2, when the number of the topological service images of the historical state distribution network exceeds a preset value, starting a container based on the topological service image of the historical state distribution network with earliest time, importing data into a graph data historic base, closing the container after the completion and deleting the topological service image of the historical state distribution network with earliest time;
and c3, carrying out sub-graph segmentation merging, index construction and storage optimization operation on the graph data historic base, and completing the control service of the historical state topology of the power distribution network.
In the embodiment of the invention, after the topology of the running state power distribution network is updated, the original running state power distribution network topology identification is changed into a historical state, the service mirror image is directly stored in the mirror image warehouse for the historical state power distribution network topology with the relatively short updating time, and the data is uniformly stored in the graph data historic base for the historical state power distribution network topology with the relatively long updating time. Firstly, after the topology of an operating state power distribution network is updated, closing an original operating state power distribution network topology service container, modifying a label of an original operating state power distribution network topology service mirror image into a historical state, and directly storing the historical state in a mirror image warehouse; secondly, according to the set maximum historical state distribution network topology service mirror image quantity, when the quantity exceeds, starting a container based on the historical state distribution network topology service mirror image with earliest time, importing data into a graph data historic base, closing the container after completion, and deleting the earliest historical state distribution network topology service mirror image; and finally, carrying out operations such as sub-graph segmentation merging, index construction, storage optimization and the like on the graph data histories, saving storage space and improving query efficiency.
In a specific embodiment, as shown in fig. 6, a unified graph data historian is built based on neo4j, and is used for storing historical power distribution network topology data; after the topology of the running state power distribution network is updated, closing an original running state power distribution network topology service container through a dock command, updating an original running state power distribution network topology service mirror image label into a historical state through a dock command, and directly storing the historical state into a mirror image warehouse; judging whether the number of the historical state power distribution network topology service images exceeds a configuration value, inquiring the historical state power distribution network topology service image with the earliest time when the number exceeds the configuration value, importing data into a graph data historic base through a dock start container, closing the container through the dock stop after the completion, and deleting the earliest historical state power distribution network topology service image; based on a graph calculation algorithm, a graph data processing tool is developed, and operations such as sub-graph segmentation merging, index construction, storage optimization and the like are performed on a graph data historian, so that storage space is saved, and query efficiency is improved.
In some alternative embodiments, the power distribution network topology control method further comprises: the method comprises the steps of performing multi-temporal topology version conversion control on the power distribution network, and after editing the running of the dynamic power distribution network topology service, editing the dynamic power distribution network topology service mark as running state service, stopping the original running state power distribution network topology service and marking as history state; when the topology service of the running power distribution network fails, rollback is performed based on the historical state of the last time version, the running state is marked after approval passes, and the original running power distribution network topology service with the failure or problem is marked as an editing state.
In the embodiment of the invention, after the audit operation of the edited power distribution network topology service, the edited power distribution network topology service is marked as the running state service, and the original running state power distribution network topology service is stopped and marked as the history state; when the topology service of the running power distribution network fails, rollback is performed based on the historical state of the last time version, the running state is marked after approval passes, and the original running power distribution network topology service with the failure or problem is marked as an editing state. Firstly, performing audit for converting an editing state into an operation state, stopping container service of an original operation state and marking a mirror image thereof as a history state after the audit is passed, marking the editing state mirror image as the operation state, and starting the container as the topology service of the operation state power distribution network; secondly, stopping the container service and marking the mirror image as an edit state when the running state topology service fails or is abnormal, selecting the historical state mirror image of the last time version, marking the historical state mirror image as the running state after the auditing is passed, and starting the container as the running state power distribution network topology service; and finally, modifying and debugging the edited power distribution network topology mirror image with faults or anomalies.
In a specific embodiment, the multi-temporal topology version conversion control system of the power distribution network based on java and html5 research and development B/S structure comprises an auditing module, an editing state conversion running state module, a running state conversion historical state module, a running state conversion editing state module, a historical state rollback module and the like. As shown in fig. 7, after the audit that the editing state is converted into the running state passes, stopping the original running state container service through a dock command, modifying the mirror image of the original running state container service into a historical state through a dock command, modifying the editing state mirror image into the running state, and starting the container as the running state distribution network topology service through the dock command; when the running state topology service is faulty or abnormal, stopping the container service through a dock stop command, modifying the mirror image into an editing state (fault abnormality) through a dock tag command, selecting a historical state mirror image of a last time version, marking the historical state mirror image as the running state after the running state topology service passes the audit, and starting the container as the running state power distribution network topology service through the dock run command; and starting the topology display of the power distribution network, editing and analyzing the service container and the edited (abnormal fault) topology service container of the power distribution network, and carrying out topology modification and debugging.
The embodiment also provides a topology control device for a power distribution network, which is used for implementing the foregoing embodiments and preferred implementations, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The present embodiment provides a topology control device for a power distribution network, as shown in fig. 8, including:
the power distribution network topology model construction module 801 is configured to construct a power distribution network topology model including a temporal identifier and a timestamp attribute based on a power distribution network topology map, where the temporal identifier includes: run state, edit state, and history state, the timestamp attribute comprising: run state topology creation time, edit state topology edit time, and history state topology exit time;
a topology control container set construction module 802, configured to construct a topology control container set based on a topology processing component of a power distribution network, and based on a graph database mirror image by using a container technology, where the processing component includes power distribution network topology display, editing, and analysis;
The power distribution network topology control module 803 is configured to control a power distribution network topology model according to the topology control container set, and complete control of a multi-temporal topology of the power distribution network, where the multi-temporal includes: run state, edit state, and history state.
In some alternative embodiments, the distribution network topology control module 803 includes: the running state control unit is used for controlling the power distribution network topology model according to the topology control container set to complete the control of the running state topology of the power distribution network, and comprises the following components:
the running state power distribution network topology data set generation subunit is used for generating a running state power distribution network topology data set by adding running state identification and time stamp attribute based on a power distribution network topology model;
and the control service subunit of the running state topology of the power distribution network is used for starting the image database container according to the topology control container set, accessing the running state power distribution network topology data set, storing the running state power distribution network topology data set as a running state power distribution network topology service mirror image, and completing the control service of the running state topology of the power distribution network.
In some alternative embodiments, the distribution network topology control module 803 includes: the edit state control unit is used for controlling the topology model of the power distribution network according to the topology control container set to complete the control of the edit state topology of the power distribution network, and comprises the following steps:
The power distribution network topology data service and editing service construction subunit is used for respectively starting containers based on the running state power distribution network topology service image and the power distribution network topology display, editing and analyzing module image to construct power distribution network topology data service and editing service;
the configuration subunit is used for carrying out topology graph drawing, editing and connection on the visual interface according to preset topology change information, wherein the preset topology change information comprises power distribution network planning, new equipment access and equipment source load change;
and the control service subunit of the power distribution network editing topology is used for synchronously storing the edited power distribution network editing topology into a graph database of the container after the editing is completed and checking, exporting the edited power distribution network editing topology into a new mirror image after the data storage is completed, and marking the new mirror image as an editing power distribution network topology service mirror image to complete the control service of the power distribution network editing topology.
In some alternative embodiments, the distribution network topology control module 803 includes: the historical state control unit is used for controlling the power distribution network topology model according to the topology control container set to complete the control of the historical state topology of the power distribution network, and comprises the following components:
the control subunit of the history state topology of the first power distribution network is used for closing a topology service container of the previous power distribution network after the topology of the power distribution network in the running state is updated, modifying a label of a topology service mirror image of the power distribution network in the previous running state into a history state, and storing the history state in a mirror image warehouse;
The control subunit of the historical state topology of the second power distribution network is used for starting a container based on the earliest historical state power distribution network topology service mirror image of the time when the number of the historical state power distribution network topology service mirror images exceeds a preset value, importing data into a graph data historic base, closing the container after completion and deleting the earliest historical state power distribution network topology service mirror image;
and the third control subunit of the historical state topology of the power distribution network is used for carrying out sub-graph segmentation and merging, index construction and storage optimization operation on the graph data historian to complete the control service of the historical state topology of the power distribution network.
In some optional embodiments, the device further includes a multi-temporal conversion control module, configured to perform multi-temporal topology version conversion control on the power distribution network, and after the editing state power distribution network topology service is audited and run, mark the editing state power distribution network topology service as an operational state service, and stop and mark the original operational state power distribution network topology service as a historical state; when the topology service of the running power distribution network fails, rollback is performed based on the historical state of the last time version, the running state is marked after approval passes, and the original running power distribution network topology service with the failure or problem is marked as an editing state.
Further functional descriptions of the above respective modules and units are the same as those of the above corresponding embodiments, and are not repeated here.
The topology control apparatus of the power distribution network in this embodiment is presented in the form of functional units, where the units refer to ASIC (Application Specific Integrated Circuit ) circuits, processors and memories executing one or more software or fixed programs, and/or other devices that can provide the above functions.
The embodiment of the invention also provides computer equipment, which is provided with the power distribution network topology control device shown in the figure 8.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a computer device according to an alternative embodiment of the present invention, as shown in fig. 9, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are communicatively coupled to each other using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the computer device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In some alternative embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple computer devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 10 is illustrated in fig. 9.
The processor 10 may be a central processor, a network processor, or a combination thereof. The processor 10 may further include a hardware chip, among others. The hardware chip may be an application specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general-purpose array logic, or any combination thereof.
Wherein the memory 20 stores instructions executable by the at least one processor 10 to cause the at least one processor 10 to perform the methods shown in implementing the above embodiments.
The memory 20 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, memory 20 may optionally include memory located remotely from processor 10, which may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk, or solid state disk; the memory 20 may also comprise a combination of the above types of memories.
The computer device also includes a communication interface 30 for the computer device to communicate with other devices or communication networks.
The embodiments of the present invention also provide a computer readable storage medium, and the method according to the embodiments of the present invention described above may be implemented in hardware, firmware, or as a computer code which may be recorded on a storage medium, or as original stored in a remote storage medium or a non-transitory machine readable storage medium downloaded through a network and to be stored in a local storage medium, so that the method described herein may be stored on such software process on a storage medium using a general purpose computer, a special purpose processor, or programmable or special purpose hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, a solid state disk or the like; further, the storage medium may also comprise a combination of memories of the kind described above. It will be appreciated that a computer, processor, microprocessor controller or programmable hardware includes a storage element that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the methods illustrated by the above embodiments.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.

Claims (12)

1. A method for topology control of a power distribution network, the method comprising:
based on a power distribution network topological graph, constructing a power distribution network topological model containing a temporal identifier and a timestamp attribute, wherein the temporal identifier comprises: run state, edit state, and history state, the timestamp attribute comprising: run state topology creation time, edit state topology edit time, and history state topology exit time;
the topology processing assembly based on the power distribution network utilizes a container technology, and builds a topology control container set based on the image of a graph database, wherein the processing assembly comprises power distribution network topology display, editing and analysis;
and controlling a power distribution network topology model according to the topology control container set to complete control of multi-temporal topology of the power distribution network, wherein the multi-temporal comprises: run state, edit state, and history state.
2. The method of claim 1, wherein controlling the topology model of the power distribution network according to the set of topology control containers to complete the control of the operational topology of the power distribution network comprises:
Based on a power distribution network topology model, adding running state identification and timestamp attribute to generate a running state power distribution network topology data set;
and starting an image database container according to the topology control container set, accessing the topology data set of the running state power distribution network, storing the topology data set as a running state power distribution network topology service mirror image, and completing the control service of the running state topology of the power distribution network.
3. The method of claim 2, wherein controlling the topology model of the power distribution network according to the set of topology control containers to complete control of the edited topology of the power distribution network comprises:
based on the running state distribution network topology service image and the distribution network topology display, editing and analyzing module image, respectively starting containers to construct distribution network topology data service and editing service;
drawing, editing and connecting a topology graph on a visual interface according to preset topology change information, wherein the preset topology change information comprises power distribution network planning, new equipment access and equipment source load change;
and after the editing is completed and the editing is synchronously stored in a graph database of the container after the auditing is completed, the data is exported to be a new mirror image after the data is stored, and the new mirror image is marked as an edited power distribution network topology service mirror image, so that the control service of the edited power distribution network topology is completed.
4. A method according to claim 3, wherein controlling the topology model of the distribution network according to the set of topology control containers, to complete the control of the historical topology of the distribution network, comprises:
after the topology of the running state distribution network is updated, closing a topology service container of the previous running state distribution network, modifying a label of a topology service mirror image of the previous running state distribution network into a historical state, and storing the historical state in a mirror image warehouse;
when the number of the historical state distribution network topology service images exceeds a preset value, starting a container based on the historical state distribution network topology service image with earliest time, importing data into a graph data historic base, closing the container after the completion, and deleting the historical state distribution network topology service image with earliest time;
and carrying out sub-graph segmentation merging, index construction and storage optimization operation on the graph data historic base to complete the control service of the historical state topology of the power distribution network.
5. The method as recited in claim 4, further comprising: the method comprises the steps of performing multi-temporal topology version conversion control on the power distribution network, and after editing the running of the dynamic power distribution network topology service, editing the dynamic power distribution network topology service mark as running state service, stopping the original running state power distribution network topology service and marking as history state; when the topology service of the running power distribution network fails, rollback is performed based on the historical state of the last time version, the running state is marked after approval passes, and the original running power distribution network topology service with the failure or problem is marked as an editing state.
6. A power distribution network topology control apparatus, the apparatus comprising:
the power distribution network topology model construction module is used for constructing a power distribution network topology model containing a temporal identifier and a timestamp attribute based on a power distribution network topology graph, wherein the temporal identifier comprises: run state, edit state, and history state, the timestamp attribute comprising: run state topology creation time, edit state topology edit time, and history state topology exit time;
the topology control container set construction module is used for constructing a topology control container set based on a topology processing assembly of the power distribution network by utilizing a container technology and based on image database mirroring, wherein the processing assembly comprises power distribution network topology display, editing and analysis;
the power distribution network topology control module is used for controlling a power distribution network topology model according to the topology control container set to complete control of multi-temporal topology of the power distribution network, and the multi-temporal comprises: run state, edit state, and history state.
7. The apparatus of claim 6, wherein the distribution network topology control module includes an operational state control unit configured to control the distribution network topology model according to the topology control container set, and complete the control of the operational state topology of the distribution network, and includes:
The running state power distribution network topology data set generation subunit is used for generating a running state power distribution network topology data set by adding running state identification and time stamp attribute based on a power distribution network topology model;
and the control service subunit of the running state topology of the power distribution network is used for starting the image database container according to the topology control container set, accessing the running state power distribution network topology data set, storing the running state power distribution network topology data set as a running state power distribution network topology service mirror image, and completing the control service of the running state topology of the power distribution network.
8. The apparatus of claim 7, wherein the distribution network topology control module includes an edit state control unit configured to control the distribution network topology model according to the topology control container set, and complete control of the distribution network edit state topology, including:
the power distribution network topology data service and editing service construction subunit is used for respectively starting containers based on the running state power distribution network topology service image and the power distribution network topology display, editing and analyzing module image to construct power distribution network topology data service and editing service;
the configuration subunit is used for carrying out topology graph drawing, editing and connection on the visual interface according to preset topology change information, wherein the preset topology change information comprises power distribution network planning, new equipment access and equipment source load change;
And the control service subunit of the power distribution network editing topology is used for synchronously storing the edited power distribution network editing topology into a graph database of the container after the editing is completed and checking, exporting the edited power distribution network editing topology into a new mirror image after the data storage is completed, and marking the new mirror image as an editing power distribution network topology service mirror image to complete the control service of the power distribution network editing topology.
9. The apparatus of claim 8, wherein the distribution network topology control module includes a historical state control unit configured to control the distribution network topology model according to the topology control container set, and complete the control of the distribution network historical state topology, and includes:
the control subunit of the history state topology of the first power distribution network is used for closing a topology service container of the previous power distribution network after the topology of the power distribution network in the running state is updated, modifying a label of a topology service mirror image of the power distribution network in the previous running state into a history state, and storing the history state in a mirror image warehouse;
the control subunit of the historical state topology of the second power distribution network is used for starting a container based on the earliest historical state power distribution network topology service mirror image of the time when the number of the historical state power distribution network topology service mirror images exceeds a preset value, importing data into a graph data historic base, closing the container after completion and deleting the earliest historical state power distribution network topology service mirror image;
And the third control subunit of the historical state topology of the power distribution network is used for carrying out sub-graph segmentation and merging, index construction and storage optimization operation on the graph data historian to complete the control service of the historical state topology of the power distribution network.
10. The device according to claim 9, further comprising a multi-temporal conversion control module for multi-temporal topology version conversion control of the distribution network, wherein after the editing state distribution network topology service is audited and operated, the editing state distribution network topology service is marked as an operation state service, and the original operation state distribution network topology service is stopped and marked as a history state; when the topology service of the running power distribution network fails, rollback is performed based on the historical state of the last time version, the running state is marked after approval passes, and the original running power distribution network topology service with the failure or problem is marked as an editing state.
11. A computer device, comprising:
a memory and a processor, the memory and the processor being communicatively connected to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the method of controlling the topology of the power distribution network of any one of claims 1 to 5.
12. A computer-readable storage medium, wherein computer instructions for causing a computer to execute the power distribution network topology control method according to any one of claims 1 to 5 are stored on the computer-readable storage medium.
CN202311048583.0A 2023-08-18 2023-08-18 Power distribution network topology control method, system, equipment and storage medium Pending CN117057079A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311048583.0A CN117057079A (en) 2023-08-18 2023-08-18 Power distribution network topology control method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311048583.0A CN117057079A (en) 2023-08-18 2023-08-18 Power distribution network topology control method, system, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117057079A true CN117057079A (en) 2023-11-14

Family

ID=88656826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311048583.0A Pending CN117057079A (en) 2023-08-18 2023-08-18 Power distribution network topology control method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117057079A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117332541A (en) * 2023-11-14 2024-01-02 国网智能电网研究院有限公司 Method, device, equipment and medium for temporal management of power grid data based on graph calculation
CN118246700A (en) * 2024-05-27 2024-06-25 国网江苏省电力有限公司南通供电分公司 Dynamic adjustment method and system for power distribution network power supply strategy based on graph calculation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117332541A (en) * 2023-11-14 2024-01-02 国网智能电网研究院有限公司 Method, device, equipment and medium for temporal management of power grid data based on graph calculation
CN118246700A (en) * 2024-05-27 2024-06-25 国网江苏省电力有限公司南通供电分公司 Dynamic adjustment method and system for power distribution network power supply strategy based on graph calculation

Similar Documents

Publication Publication Date Title
CN113033001B (en) Three-dimensional digital factory modeling method and system for digital twin application
CN107402976B (en) Power grid multi-source data fusion method and system based on multi-element heterogeneous model
CN117057079A (en) Power distribution network topology control method, system, equipment and storage medium
CN112561386A (en) Method, device and equipment for acquiring business process
US8078294B2 (en) Conditional download of data from embedded historians
CN112130993B (en) Electric power edge internet of things proxy edge calculation method and system based on graphical modeling
CN102750406A (en) Multi-version management method for model set and difference model-based power grid model
US20220277119A1 (en) A System and Method for Generating a Holistic Digital Twin
CN108614870B (en) Rapid batch warehousing system and method for external data information of power equipment
US20160378089A1 (en) Logical Position Sensor
CN110867956A (en) Topology automatic identification system and method based on intelligent platform area
CN113282795A (en) Data structure chart generating and updating method and device, electronic equipment and storage medium
CN109274742A (en) A kind of internet of things data acquisition and supervisor control
CN116774977A (en) Design method of coal mine industrial Internet of things development platform based on low codes
CN115374968A (en) Bank machine room management method, device and equipment
KR20140115108A (en) Screen generation method of energy management system
CN117332541B (en) Method, device, equipment and medium for temporal management of power grid data based on graph calculation
Lyu et al. On automatic generation of OPC UA connections in IEC 61499 automation systems
CN105279234A (en) Cross-platform data acquisition and conversion method of state overhaul data of electric transmission and transformation equipment
CN111736568A (en) Method and system for rapidly diagnosing faults of real-time database
CN116151804A (en) Automatic operation ticket generation method, device, equipment and storage medium
CN112532432B (en) Automatic mapping method and system based on LTU terminal
CN105117227A (en) Method and device for automatically generating code
CN115808908A (en) Data acquisition method and device, electronic equipment and storage medium
CN109687984B (en) Configuration system and configuration method of wind power SCADA system

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