Power supply and distribution network dynamic topology generation method, system, equipment and medium
By obtaining and processing the basic information and measurement data of distribution network equipment, generating static topology diagrams and combining state sequences, the problem of distribution network topology data version management is solved, and efficient construction and analysis of distribution network dynamic topology is realized. It meets the precise prediction of massive distributed energy and the emergency command of distribution networks.
Patent Information
- Application Number
- CN202410922431.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-11-19
AI Technical Summary
The scale of topological data of the distribution network is huge and complex, resulting in performance bottlenecks in topological data version management, which is difficult to meet the business application needs of massive distributed energy accurate prediction, distribution network emergency command and real-time clue analysis, especially during peak load periods, it is difficult to achieve panoramic views. Efficient construction and application analysis of dynamic topology.
A dynamic topology generation method for power supply distribution network is proposed. By obtaining the basic information and measurement data of switching equipment and non-switching equipment, a static topology diagram is generated, and the state sequence is merged according to the frequency of the measurement data, and the data is mapped to The edge properties of the static topology graph may be stored in the relational database to build a dynamic topology graph, simplify the topology structure and reduce complexity.
It realizes efficient description and dynamic analysis of the distribution network topology structure, reduces the data that needs to be stored in the connection edge, reduces the complexity of the topology structure, supports topology structure query at any time section, and meets the efficient construction of the distribution network dynamic topology. and application analysis.
Smart Images

Figure CN118981553A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electric power information technology, and in particular to a method, system, equipment and medium for generating dynamic topology of a power supply and distribution network. Background Art
[0002] During the maintenance and emergency repair of distribution networks, it is necessary to obtain data such as the grid-connected status of medium and low voltage photovoltaics and the real-time status of distribution network users. A targeted real-time measurement platform has been established in the existing technology, and the real-time operating status of power grid equipment can be obtained through the measurement platform. However, during the operation of the distribution network, the status of each distribution network equipment changes frequently, and the equipment connection relationship in the distribution network topology is extremely complex, which leads to a large and complex scale of topological data, resulting in a performance bottleneck in topological data version management.
[0003] In order to meet the requirements of new energy grid connection and reliable operation of the power grid, and to realize business applications such as accurate prediction of massive distributed energy, emergency repair command of distribution network, and real-time clue analysis, it is urgent to supplement the medium and low voltage topology and equipment operation information. When carrying out demand-side response during peak load periods such as peak summer, it is necessary to obtain the power grid topology and guide orderly power consumption according to the nature of the area to which the load belongs. New power grid services such as virtual power plants, carbon tracking, and orderly charging of electric vehicles require the construction of a panoramic dynamic topology of the power grid with superimposed relevant data for support.
[0004] At present, in the construction of enterprise-level real-time measurement centers and the digital transformation of distribution networks, there are still problems such as topology services that cannot meet the needs of high-speed and accurate panoramic dynamic topology construction. In addition, due to the large scale of the distribution network topology combined with measurement data and the current topology change mechanism, that is, the insufficient global computing power, it is difficult to meet the needs of efficient construction and application analysis of panoramic dynamic topology.
[0005] The topological structure of the distribution network is becoming more and more complex, the frequency of topological states is gradually increasing, and the update frequency of the distribution network topology data version is showing explosive growth. Traditional distribution network topology management faces the problem that dynamic topology cannot describe. Summary of the invention
[0006] In order to solve the problem that the traditional distribution network topology management cannot describe the dynamic topology, the present invention proposes a method for generating a dynamic topology of a power distribution network, comprising:
[0007] Obtain basic information and measurement data of switchgear and non-switching equipment;
[0008] The basic information of switchgear and non-switchgear is stored in a graph database in the form of a static topology graph;
[0009] Calculate the change frequency of the measurement data of the switch device, and merge the measurement data of the switch device through the state sequence; and determine based on the change frequency to map the merged measurement data to the attributes of the edge of the static topology graph, or store it in a relational database;
[0010] Storing the measurement data of non-switching equipment in a relational database;
[0011] The dynamic topology of the power supply and distribution network is constructed by the graph database and the relational database.
[0012] Optionally, the measurement data of the switch device is merged through a state sequence, including:
[0013] The measurement data that has not changed for a continuous period of time is merged into one piece of data, wherein the data includes a start time, an end time and the measurement data.
[0014] Optionally, determining the storage location of the measurement data after the state sequence is merged based on the change frequency includes:
[0015] It is determined whether the change frequency is greater than a set threshold. If so, the merged data is stored in a relational database; otherwise, the merged data is mapped to the attributes of the edge of the static topology graph.
[0016] Optionally, the threshold is set by performing a traversal test on the edge based on the distribution network topology model and counting the traversal time consumption;
[0017] The distribution network topology graph model is constructed by abstracting the devices in the distribution network topology structure as nodes and the lines connecting the devices as edges.
[0018] Optionally, the process of generating the static topology map includes:
[0019] Taking the switch device and the non-switch device as nodes, the switch device and the non-switch device with the same terminal number are determined to have a connection relationship, and edges are set between the switch device and the non-switch device with the connection relationship;
[0020] The measurement data of the switchgear is stored in the attributes of the edge, and the measurement data of the non-switchgear is stored in the attributes of the node;
[0021] A static topology graph is generated from the nodes and edges.
[0022] Optionally, the basic information includes:
[0023] Device ID, device name, device type, device subtype, voltage level, device terminal number, and longitude and latitude coordinates;
[0024] The measurement data includes: device ID, device name, device type, device subtype, measurement value, measurement time, and measurement value multiplier.
[0025] Optionally, it also includes: associating the graph database and the relational database through the device ID.
[0026] On the other hand, the present application also provides a system for generating a dynamic topology of a power distribution network, comprising:
[0027] Parameter acquisition module, used to obtain basic information and measurement data of switchgear and non-switchgear;
[0028] A graph data storage module, used to store basic information of switchgear and non-switchgear in a graph database in the form of a static topology graph;
[0029] A switchgear analysis module, used to calculate the change frequency of the measurement data, merge the measurement data of the switchgear through the state sequence, and determine based on the change frequency whether to map the merged measurement data to the attributes of the edges of the static topology graph, or store them in a relational database;
[0030] A non-switching device storage module, used for storing the measurement data of the non-switching device into a relational database;
[0031] A combination module is used to construct a dynamic topology of a power supply and distribution network using the graph database and the relational database.
[0032] Optionally, the switch device analysis module includes:
[0033] The data merging submodule is used to merge the measurement data that has not changed for a continuous period of time into one piece of data, wherein the data includes a start time, an end time and the measurement data.
[0034] The location determination submodule is used to determine whether the change frequency is greater than a set threshold. If so, the merged data is stored in a relational database; otherwise, the merged data is mapped to the attributes of the edges of the static topology in the graph database.
[0035] Optionally, the threshold is set by performing a traversal test on the edge based on the distribution network topology model and determining the time consumption of the traversal calculation;
[0036] The distribution network topology graph model is constructed by abstracting the devices in the distribution network topology structure as nodes and the lines connecting the devices as edges.
[0037] Optionally, a static topology generation module is further included, and the static topology generation module is used to:
[0038] Taking the switch device and the non-switch device as nodes, the switch device and the non-switch device with the same terminal number are determined to have a connection relationship, and edges are set between the switch device and the non-switch device with the connection relationship;
[0039] The measurement data of the switchgear is stored in the attributes of the edge, and the measurement data of the non-switchgear is stored in the attributes of the node;
[0040] A static topology is generated from the nodes and edges.
[0041] Optionally, the basic information includes:
[0042] Device ID, device name, device type, device subtype, voltage level, device terminal number, and longitude and latitude coordinates;
[0043] The measurement data includes: device ID, device name, device type, device subtype, measurement value, measurement time, and measurement value multiplier.
[0044] Optionally, an association module is also included, which is used to associate the graph database and the relational database through the device ID.
[0045] In another aspect, the present application further provides a computing device, comprising: at least one processor and a memory;
[0046] The memory is used to store one or more programs;
[0047] When the one or more programs are executed by the at least one processor, the method for generating a dynamic topology of a power supply and distribution network as described above is implemented.
[0048] On the other hand, the present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed, the method for generating a dynamic topology of a power supply and distribution network as described above is implemented.
[0049] Compared with the prior art, the present invention has the following beneficial effects:
[0050] The present invention provides a method for generating a dynamic topology of a power supply and distribution network, comprising: obtaining basic information and measurement data of equipment, wherein the equipment includes switch equipment and non-switch equipment; generating a static topology based on the basic information of the equipment and storing it in a graph database; counting the number of changes in the measurement data within a set period, and merging the measurement data of the switch equipment within the set period through a state sequence; and determining the storage location of the measurement data after the state sequence is merged based on the number of changes; storing the measurement data of the non-switch equipment in a relational database. The method maps the merged measurement data to the attributes of the edges of the static topology graph, thereby integrating the duration intervals of the switch equipment in different states into the static topology graph to generate a dynamic topology graph, and can provide a topology structure under any time section for easy query.
[0051] The present invention merges the time and status data in the duration intervals when the switch device is in different states, reducing the data that needs to be stored in the connection edges, thereby reducing the complexity of the distribution network topology structure, and realizing a complete and efficient description of the dynamic topology data, so that the distribution network topology structure can meet the efficient construction and application analysis of the panoramic dynamic topology. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 A flow chart of a method for generating a dynamic topology of a power distribution network according to the present invention;
[0053] Figure 2 A schematic diagram of the initial topological structure of the power distribution network of the present invention;
[0054] Figure 3 It is a diagram showing the initial topological structure and measurement status of the power distribution network of the present invention;
[0055] Figure 4 A dynamic topological diagram of the power distribution network of the present invention;
[0056] Figure 5 A flow chart for realizing dynamic topology generation of a power supply and distribution network according to the present invention;
[0057] Figure 6 It is a schematic diagram of the structure of the electronic device of the present invention. DETAILED DESCRIPTION
[0058] The frequency of collecting the measurement status of the equipment in the distribution network is very high. Taking a 15-minute collection cycle as an example, the scale of equipment measurement data in the distribution network topology of the district and county distribution network will reach hundreds of millions per year. If the corresponding connection edges are established in the distribution network topology model based on the data collected each time, then the complexity of the topology is extremely high, and it is impossible to carry out calculations and analysis applications. However, the frequency of changes in the opening and closing states of most switching devices is not high. If the connection relationship is mapped according to the changes in the measurement status of the equipment, the complexity of the distribution network topology structure will be greatly reduced. Based on this, the present invention proposes a method for generating a dynamic topology for a power supply distribution network. The distribution network topology is deconstructed based on a time period analysis method. According to the changes in the measurement status of the equipment, the connection relationship between the equipment is classified according to the measurement status. According to the classification results, the number of connection edges between the equipment is reduced from tens of thousands to dozens, simplifying the complexity of the dynamic topology structure of the distribution network.
[0059] The present invention adopts the edge-attribute ratio optimization method to map the measurement state changes of the switch device to the attributes of the edge, and uses the characteristic that the frequency of the switch state change of the distribution network is much lower than the frequency of the equipment measurement data collection. By merging the state sequence, the complexity of the distribution network topology is reduced, thereby achieving a complete and efficient description of the dynamic topology data. The distribution network dynamic topology generation method described in the present invention can solve the problem that too many versions of the distribution network topology data make it difficult to store and cannot compare and analyze across versions, and provides a basic model support for the dynamic topology analysis of the distribution network.
[0060] The present invention provides a method for generating a dynamic topology of a power distribution network. Figure 1 As shown, including:
[0061] Step S1: Obtain basic information and measurement data of switch equipment and non-switch equipment;
[0062] Step S2: storing basic information of the switch device and the non-switch device in a graph database in the form of a static topology graph;
[0063] Step S3: Calculate the change frequency of the measurement data of the switch device, and merge the measurement data of the switch device through the state sequence; and determine based on the change frequency to map the merged measurement data to the attributes of the edge of the static topology graph, or store it in a relational database;
[0064] Step S4: storing the measurement data of the non-switching equipment into a relational database;
[0065] Step S5: construct a dynamic topology of the power supply and distribution network using the graph database and the relational database.
[0066] Combine the following Figure 5 Each step in the present invention is introduced in detail:
[0067] Step S1: Obtain basic information and measurement data of switchgear and non-switchgear, including:
[0068] Step 1: Obtain basic information of the equipment from the distribution network equipment management system, including equipment ID, equipment name, equipment type, equipment subtype, voltage level, equipment terminal number, and longitude and latitude coordinates, as shown in Table 1.
[0069] Table 1 Equipment basic information table
[0070]
[0071]
[0072] Equipment type: switch, transformer, other (switch cabinet, cable terminal, meter box)
[0073] Equipment subtype: switch (load switch, disconnector, fuse), transformer (distribution transformer, pole-mounted transformer, utility transformer).
[0074] Step 2: Obtain the measurement data of the device from the real-time measurement data platform, including device ID, device name, device type, device subtype, measurement value, measurement time, measurement value multiplier and other information, as shown in Table 2.
[0075] Table 2 Equipment real-time measurement data table
[0076]
[0077] The measured values include: electrical quantity data, voltage level data;
[0078] The measured values of non-switching equipment include: voltage, current, power;
[0079] The measurement values of switch equipment include: normal and fault.
[0080] Step S2: storing the basic information of the switch device and the non-switch device in the form of a static topology map in the graph database, specifically including:
[0081] Step 3: Based on the basic equipment information obtained from the distribution network equipment management system, the static topology is generated with the equipment terminals as the connection relationship intermediary and stored in the graph database. Figure 2 As shown in the figure, the terminal number set of device 1 and device 2 has the same terminal number: 77200234, so it is considered that the two devices are physically connected. The terminal number set of device 1 and device 3 has the same terminal number: 14590236, so it is considered that the two devices are physically connected. The terminal number set of device 2 and device 3 does not have the same terminal number, so it is considered that the two devices are not physically connected. The corresponding static topology is as follows Figure 2The measurement data of the switch device is stored in the attributes of the edge, such as Figure 3 shown.
[0082] Step S3: Calculate the change frequency of the measurement data of the switch device, and merge the measurement data of the switch device through the state sequence; and determine the storage location of the measurement data after the state sequence is merged based on the change frequency, specifically including:
[0083] The frequency of change of the measurement data of the switch device is calculated, and the measurement data that has not changed for a continuous period of time is merged into one piece of data, wherein the data includes a start time, an end time and the measurement data.
[0084] It is determined whether the change frequency is greater than a set threshold. If so, the merged data is stored in a relational database; otherwise, the merged data is mapped to the attributes of the edges of the static topology graph in the graph database.
[0085] Step S3 specifically includes:
[0086] This embodiment collects the measurement status of the equipment by taking the measurement status data of the equipment being updated every 15 minutes as an example, and stores these measurement data as attributes in the corresponding nodes, specifically, storing the measurement status of the switching equipment in the attributes of the edge, and storing the measurement status of the non-switching equipment in the attributes of the node.
[0087] Step 5: Count the distribution of measurement data of switch devices, as shown in Table 3.
[0088] Table 3 Switchgear Measurement Data Table
[0089]
[0090]
[0091] In Table 3, the measurement value of the switch device remains unchanged for 10 time sections from the initial 0, and the change frequency count value Count is defined as 0. At the 11th time section, the measurement value of the switch device changes from 0 to 1, and the value of the change frequency count value Count is modified to: Count = Count + 1. The measurement value of the switch device changes from 1 to 0 at the 21st time section, and similarly, the value of the change frequency count value Count is modified to: Count = Count + 1. The increase of the change frequency count value Count within the specified 1-year time period is counted. If the count value Count is less than or equal to the set threshold, then go to step 6.
[0092] The threshold value set in this embodiment is determined by traversing the edges based on the graph model and counting the time consumption of the traversal calculation. In this embodiment, the threshold value set is introduced by taking 25 as an example.
[0093] Table 3 here is an example, which illustrates the change in the measured value of a certain switch. The values 10 and 25 are examples. The state of the switch may change at each time section. If an edge is established for the switch at each time section, the number of edges will be very large. The state change frequency of most switching devices is not high, so this method is used. For example, from 0 o'clock to 10 o'clock, the state of the switch is closed (the corresponding measurement value is 1), then the state in this period is represented by an edge. From 10 o'clock to 21 o'clock, the switch state becomes open (the corresponding measurement value is 0), and a new edge is created to represent the switch state in this period. This can greatly reduce the number of edges and reduce the complexity of the topology.
[0094] Step 6: If Count is less than or equal to 25, then it is considered that the state of the switch device does not change frequently, as shown in Table 3. The sequence that has not changed for a period of time (the device measurement identification from the 1st time section to the 10th time section) is mapped into an edge. The attributes of the edge store three pieces of information, namely: the time when the measurement data first changes to the current value, the last acquisition time before the measurement data is about to change to the next value, and the state value of the switch during this period. Figure 4 If the count value exceeds 25, go to step 7.
[0095] Step 7: If the count value Count exceeds 25, it is considered that the state of the switch changes frequently. Constructing the corresponding edge according to the edge construction method in step 6 will make the topology structure too complicated, which will increase the performance overhead of subsequent topology analysis and calculation applications. Therefore, the measurement data of the same state above are merged, and their start time and end time are retained, and merged into [Device_id, Start_time, End_time, Status], and then the merged data is stored as a record in the relational database.
[0096] Step S4: storing the measurement data of the non-switching equipment into a relational database, specifically including:
[0097] Step 8: For non-switch measurement data, which are mainly numerical data such as voltage, current, and power of each device, they are defined as [Device_id, Collect_time, Value], which records the device ID, the collection time of the measurement data, and the measurement value, and stores them directly in the relational database as basic files.
[0098] Step S5: construct a dynamic topology of the power supply and distribution network using the graph database and the relational database.
[0099] A method for generating a dynamic topology of a power distribution network provided by the present invention further includes:
[0100] Step 9: Queries between the graph database and the relational database are associated through device IDs.
[0101] Step 10: When querying the topology graph, the user enters the time corresponding to the topology version to be queried, and can directly traverse the edge attributes to find the topology version under the time section. For some measurement data stored in the relational database, the device ID is associated to query and retrieve data from the relational database.
[0102] The present invention provides a method for generating dynamic topology of a power distribution network, which can provide a query for the topology at any time section. By inputting the query time, the topology at the time section can be found. Different topology versions can be dynamically switched to provide a richer data base for topology analysis. The current topology data storage and representation methods based on graph models all record a fixed version of the topology and cannot be switched.
[0103] The present invention deconstructs the distribution network topology based on the time period analysis method, and classifies the connection relationship between devices according to the measurement status according to the change of the measurement status of the equipment. The measurement data collection frequency of the equipment in the current distribution network is once every 15 minutes, and the data scale is huge. However, according to research, the state changes of the switching devices that affect the topological structure are basically once every 20 days, which is close to 19 times a year. By using this method to simplify the topological structure, the number of connection edges between devices is reduced from tens of thousands to dozens, simplifying the complexity of the dynamic topological graph structure of the distribution network. This method provides a model support for the management and analysis of dynamic topological data of the distribution network.
[0104] Embodiment 2:
[0105] In another aspect, the present invention further provides a system for generating a dynamic topology of a power distribution network, comprising:
[0106] Parameter acquisition module, used to obtain basic information and measurement data of switchgear and non-switchgear;
[0107] A graph data storage module, used to store basic information of switchgear and non-switchgear in a graph database in the form of a static topology graph;
[0108] A switchgear analysis module, used to calculate the change frequency of the measurement data of the switchgear, merge the measurement data of the switchgear through the state sequence, and determine based on the change frequency whether to map the merged measurement data to the attributes of the edge of the static topology graph, or store it in a relational database;
[0109] A non-switching device storage module, used for storing the measurement data of the non-switching device into a relational database;
[0110] A combination module is used to construct a dynamic topology of a power supply and distribution network using the graph database and the relational database.
[0111] Optionally, the switch device analysis module includes:
[0112] The data merging submodule is used to merge the measurement data that has not changed for a continuous period of time into one piece of data, wherein the data includes a start time, an end time and the measurement data.
[0113] The location determination submodule is used to determine whether the change frequency is greater than a set threshold. If so, the merged data is stored in a relational database; otherwise, the merged data is mapped to the attributes of the edges of the static topology in the graph database.
[0114] Optionally, the threshold is set by performing a traversal test on the edge based on the distribution network topology model and determining the time consumption of the traversal calculation;
[0115] The distribution network topology graph model is constructed by abstracting the devices in the distribution network topology structure as nodes and the lines connecting the devices as edges.
[0116] Optionally, a static topology generation module is further included, and the static topology generation module is specifically used to:
[0117] Taking the switch device and the non-switch device as nodes, the switch device and the non-switch device with the same terminal number are determined to have a connection relationship, and edges are set between the switch device and the non-switch device with the connection relationship;
[0118] The measurement data of the switchgear is stored in the attributes of the edge, and the measurement data of the non-switchgear is stored in the attributes of the node;
[0119] A static topology is generated from the nodes and edges.
[0120] Optionally, the basic information includes:
[0121] Device ID, device name, device type, device subtype, voltage level, device terminal number, and longitude and latitude coordinates;
[0122] The measurement data includes: device ID, device name, device type, device subtype, measurement value, measurement time, and measurement value multiplier.
[0123] Optionally, an association module is also included, which is used to associate the graph database and the relational database through the device ID.
[0124] Embodiment 3:
[0125] like Figure 6As shown, the present invention also provides an electronic device, which may be a computer device, a single-chip device, an intelligent mobile device, etc. The electronic device in this embodiment may include a processor, a memory, a transceiver component, etc. The memory, the processor, and the transceiver component are connected via a bus; the memory may be used to store an execution program, and an exemplary execution program may include instructions; the processor is used to execute the instructions stored in the memory. The memory may also be used to store data, which may be called and / or modified when the instructions are executed.
[0126] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions in a storage medium to implement the corresponding method flow or corresponding functions, so as to implement the steps of a method for generating a dynamic topology of a power distribution network in the above-mentioned embodiment.
[0127] Embodiment 4:
[0128] Based on the same inventive concept, the present invention also provides a readable storage medium, specifically an electronic device readable storage medium (Memory), which is a memory device in an electronic device for storing programs and data. It can be understood that the storage medium here can include both built-in storage media in electronic devices and, of course, extended storage media supported by electronic devices. The storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by a processor are also stored in the storage space, and these instructions can be one or more execution programs (including program codes). It should be noted that the storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor loads and executes one or more instructions stored in the storage medium, which can implement the steps of a method for generating a dynamic topology of a power distribution network in the above embodiment.
[0129] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0130] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0131] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0132] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0133] The above are merely embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are included in the scope of the claims of the present invention to be approved.
Claims
1. A method for generating a dynamic topology of a power distribution network, characterized in that: include: Obtain basic information and measurement data of switchgear and non-switching equipment; The basic information of switchgear and non-switchgear is stored in a graph database in the form of a static topology graph; Calculate the change frequency of the measurement data of the switch device, and merge the measurement data of the switch device through the state sequence; and determine based on the change frequency to map the merged measurement data to the attributes of the edge of the static topology graph, or store it in a relational database; store the measurement data of the non-switch device in the relational database; The dynamic topology of the power supply and distribution network is constructed by the graph database and the relational database.
2. The method according to claim 1, characterized in that The step of merging the measurement data of the switch device through the state sequence includes: The measurement data that has not changed for a continuous period of time is merged into one piece of data, wherein the data includes a start time, an end time and the measurement data.
3. The method according to claim 1, characterized in that The determining based on the change frequency to map the merged measurement data to the attributes of the edges of the static topology graph, or storing the data in a relational database, includes: It is determined whether the change frequency is greater than a set threshold. If so, the merged data is stored in a relational database; otherwise, the merged data is mapped to the attributes of the edge of the static topology graph.
4. The method according to claim 3, characterized in that The threshold is set by testing the edges based on the distribution network topology model and calculating the traversal time. The distribution network topology graph model is constructed by abstracting the devices in the distribution network topology structure as nodes and the lines connecting the devices as edges.
5. The method according to claim 1, characterized in that The generation process of the static topology map includes: Taking the switch device and the non-switch device as nodes, the switch device and the non-switch device with the same terminal number are determined to have a connection relationship, and edges are set between the switch device and the non-switch device with the connection relationship; The measurement data of the switchgear is stored in the attributes of the edge, and the measurement data of the non-switchgear is stored in the attributes of the node; A static topology graph is generated from the nodes and edges.
6. The method according to claim 1, characterized in that The basic information includes: Device ID, device name, device type, device subtype, voltage level, device terminal number, and longitude and latitude coordinates; The measurement data includes: device ID, device name, device type, device subtype, measurement value, measurement time, and measurement value multiplier.
7. The method according to claim 1, characterized in that Also includes: The graph database and relational database are associated through the device ID.
8. A power supply and distribution network dynamic topology generation system, characterized in that: include: Parameter acquisition module, used to obtain basic information and measurement data of switchgear and non-switchgear; A graph data storage module, used to store basic information of switchgear and non-switchgear in a graph database in the form of a static topology graph; A switchgear analysis module, used to calculate the change frequency of the measurement data of the switchgear, merge the measurement data of the switchgear through the state sequence, and determine based on the change frequency whether to map the merged measurement data to the attributes of the edge of the static topology graph, or store it in a relational database; A non-switching device storage module, used for storing the measurement data of the non-switching device into a relational database; A combination module is used to construct a dynamic topology of a power supply and distribution network using the graph database and the relational database.
9. The system according to claim 8, characterized in that The switchgear analysis module comprises: A data merging submodule, used to merge measurement data that has not changed for a continuous period of time into one piece of data, the data including the start time, the end time and the measurement data; The location determination submodule is used to determine whether the change frequency is greater than a set threshold. If so, the merged data is stored in a relational database; otherwise, the merged data is mapped to the attributes of the edge of the static topology graph.
10. The system according to claim 9, characterized in that The threshold is set by testing the edges based on the distribution network topology model and calculating the time consumption of the traversal calculation. The distribution network topology graph model is constructed by abstracting the devices in the distribution network topology structure as nodes and the lines connecting the devices as edges.
11. The system according to claim 8, characterized in that It also includes a static topology generation module, wherein the static topology generation module is used to: Taking the switch device and the non-switch device as nodes, the switch device and the non-switch device with the same terminal number are determined to have a connection relationship, and edges are set between the switch device and the non-switch device with the connection relationship; The measurement data of the switchgear is stored in the attributes of the edge, and the measurement data of the non-switchgear is stored in the attributes of the node; A static topology is generated from the nodes and edges.
12. The system of claim 8, wherein: The basic information includes: Device ID, device name, device type, device subtype, voltage level, device terminal number, and longitude and latitude coordinates; The measurement data includes: device ID, device name, device type, device subtype, measurement value, measurement time, and measurement value multiplier.
13. The system of claim 8, wherein: It also includes an association module for associating the graph database and the relational database through the device ID.
14. An electronic device, characterized in that: include: at least one processor and memory; The memory and the processor are connected via a bus; The memory is used to store one or more programs; When the one or more programs are executed by the at least one processor, the method for generating a distribution network topology structure according to any one of claims 1 to 7 is implemented.
15. A readable storage medium, characterized in that: An execution program is stored thereon, and when the execution program is executed, the method for generating a distribution network topology structure according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Object-oriented power grid topological graph data modeling method and related device
CN121210425A
