A power grid historical state section tracing method and system based on a digital power distribution network

By constructing a historical database and an operational database of power grid resources, and utilizing a historical state profile backtracking algorithm, the problems of data lack and response lag in digital distribution networks are solved, enabling accurate and rapid restoration of equipment status and supporting efficient management and decision-making.

CN122173471APending Publication Date: 2026-06-09NARI INFORMATION & COMM TECH

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NARI INFORMATION & COMM TECH
Filing Date
2026-03-27
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

Existing digital distribution networks suffer from problems such as a lack of data foundation, low efficiency in storing and computing historical data, and lag in dynamic response in achieving accurate and rapid historical cross-section tracing, making it difficult to support topology and power flow changes brought about by the high proportion of distributed energy access.

Method used

Construct a historical database and an operational database for power grid resources, record change events throughout the entire lifecycle of equipment, and utilize historical profile backtracking algorithms for single equipment and equipment sets to achieve accurate and rapid restoration at any point in time.

Benefits of technology

It enables complete and rapid restoration of equipment status, supports lean management and intelligent decision-making in digital distribution networks, and improves system response speed and data accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122173471A_ABST
    Figure CN122173471A_ABST
Patent Text Reader

Abstract

This invention discloses a method and system for tracing historical state sections of a power grid based on a digital distribution network. The method includes: constructing a historical database of power grid resources to fully record all change events of various equipment in the power grid from commissioning to decommissioning; constructing a power grid resource operation database to dynamically maintain the latest operating status models of various equipment in the power grid; accurately restoring the complete attribute section of a single equipment at any given time based on a historical state single-equipment section backtracking algorithm; and generating a consistent network structure section of the power grid at any given time based on a historical state equipment set section backtracking algorithm. This invention enables efficient and accurate tracing of the historical state of the power grid, effectively supporting applications such as power grid planning analysis, fault tracing, and simulation calculation, and providing a key data foundation for the lean management and intelligent decision-making of digital distribution networks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power systems, and in particular to a method and system for tracing historical state sections of a power grid based on a digital distribution network. Background Technology

[0002] Building a new power system with new energy sources as its core is not only an important direction for the transformation and upgrading of the power system, but also a key pathway to achieving carbon peaking and carbon neutrality goals. Digital distribution networks, as a crucial component of this new power system construction, utilize advanced digital technologies to realize the real-time dynamic representation of the physical distribution network in the digital space. One of the core objectives of digital distribution network construction is to achieve efficient aggregation, dynamic processing, and computational simulation of distribution network data resources, thereby supporting the rapid construction of various cross-business and personalized application scenarios. In this process, how to achieve accurate tracing, panoramic reproduction, and simulation simulation of the power grid's past, present, and future operating states—that is, to realize full-time modeling and cross-sectional tracing capabilities of the power grid—has become a key technological challenge for improving the transparency of the distribution network, enhancing its resilience, and achieving refined operation.

[0003] Currently, digital distribution networks face several core challenges in achieving accurate and rapid historical data tracing: 1. Lack of data foundation: There is a lack of complete event records and attribute snapshots with precise timestamps, and equipment lifecycle change records are not centrally managed; 2. Low efficiency in historical data storage and computation: The lack of efficient temporal management and backtracking algorithms results in slow data segment reconstruction speeds, making it difficult to support real-time analysis and simulations; 3. Lagging dynamic response: The random access of a high proportion of distributed energy sources causes frequent changes in distribution network topology and power flow, making it difficult for existing systems to synchronously and accurately reproduce the grid operating status at a specific moment when tracing back data segments. Summary of the Invention

[0004] Purpose of the Invention: The purpose of this invention is to provide a method and system for tracing historical state sections of a power grid based on a digital distribution network. By constructing a historical database of power grid resources to fully record change events throughout the entire life cycle of equipment, establishing a power grid resource operation database to dynamically maintain the latest state model, and utilizing historical state section backtracking algorithms for single equipment and equipment sets, it is possible to accurately and quickly restore the attribute sections of individual equipment and the overall consistent network structure sections at any given time, providing a key data foundation for the lean management and intelligent decision-making of digital distribution networks.

[0005] Technical solution: The method for tracing historical state sections of a power grid based on a digital distribution network as described in this invention is characterized by comprising:

[0006] (1) Construct a power grid resource history database to record change events of various power grid equipment from commissioning to decommissioning;

[0007] (2) Construct a power grid resource operation database and dynamically maintain the latest operating status model of various equipment in the power grid;

[0008] (3) Based on the historical single-device section backtracking algorithm, restore the complete attribute section of a single device at any time;

[0009] (4) Generate a consistent grid structure section of the power grid at any time based on the historical equipment set section backtracking algorithm.

[0010] Further, step (1) includes:

[0011] All change events for various types of power grid equipment are obtained from the power grid resource business platform and stored in the power grid resource history database.

[0012] Furthermore, the change event types include device addition, device modification, and device deletion, and each type of event has a precise timestamp and a snapshot of the device attributes before and after the change.

[0013] Further, step (2) includes:

[0014] Obtain the latest ledger data, operating status data and topology connection relationships of power grid equipment from the power grid resource business platform;

[0015] Store the operational status model in the power grid resource operation database;

[0016] When power grid equipment changes, the corresponding model in the power grid resource operation library is dynamically updated.

[0017] Further, in step (3), the historical single-device section backtracking algorithm includes:

[0018] Device backtracking calculation is divided into new additions ,Revise ,delete Three types of equipment changes;

[0019] Change Log The change type is "Add", and the formula is as follows:

[0020]

[0021] Change Log The change type is "modification," and the formula is as follows:

[0022]

[0023] Change Log The change type is deletion, and the formula is as follows:

[0024]

[0025] in, For power grid equipment A in The historical state at a given moment.

[0026] Further, step (4) includes:

[0027] (41) Specify the historical state section of the power grid to be restored at the specified time;

[0028] (42) Obtain the latest operating status of each device from the power grid resource operation database to form a set of operating device data;

[0029] (43) Query the most recent change record of the equipment after the specified section time in the power grid resource history database to form a historical equipment data set;

[0030] (44) Based on the historical equipment set section backtracking algorithm, obtain the complete data set of the power grid at the specified section time.

[0031] Furthermore, the historical device set cross-sectional backtracking algorithm includes:

[0032] Obtain the latest operating status set of all equipment from the power grid resource operation database. ,in, This indicates the latest operating status of device Z;

[0033] Search for equipment in the power grid resource history database. The set of most recent change records after the specified time. ,in, Indicates that device Z is in The most recent change record after this time is the second record in the history database;

[0034] Set backtracking operation Divided into , , There are three types, corresponding to the three types of device change: adding, modifying, and deleting.

[0035] Perform a set backtracking operation S on the set of running device data and the set of change records to generate a set of historical device data.

[0036] Furthermore, the set backtracking operation includes:

[0037] For sets Each equipment change record in the dataset is processed individually using the historical single-device cross-section backtracking algorithm to obtain historical equipment status data at the target time, and the dataset is then processed according to the change type. Perform delete, replace, or add operations on the current device status;

[0038] For sets It exists in the set but in the collection For devices with no change records, retain their current operating state; after completing the traversal operation, the set... The grid structure section reconstructed to reflect a specified historical moment is denoted as the historical state device data set. .

[0039] Furthermore, the change type is "new". Added to the device backtracking calculation This process obtains the historical device status data at a specified cross-section time. For devices with empty historical device status data, if the set D contains a current status data record for that device, it is deleted.

[0040] Change type: Modification Perform device backtracking calculations to modify The system obtains the historical device status data at a specified cross-section time. If the current device status data exists in set D, it is replaced with the historical device status data. If it does not exist, the historical device status data is added to set D.

[0041] Change type is deletion Perform device backtracking calculation to delete. The historical equipment status data at a specified cross-section is obtained, and the newly generated historical equipment status data is added to set D.

[0042] A real-time modeling system based on the entire process of power grid equipment includes:

[0043] The power grid resource database construction module is used to build and maintain the power grid resource historical database and the power grid resource operation database;

[0044] The historical single-device profile backtracking module is used to restore the complete attribute profile of a single device at any historical moment;

[0045] The historical power grid cross-section backtracking module is used to generate a consistent and complete power grid cross-section at any historical moment.

[0046] Beneficial Effects: Compared with existing technologies, this invention has the following significant advantages: 1. By collaboratively constructing a power grid resource history database and an operational database, it completely and accurately records timestamped equipment change events and attribute snapshots, solving the data gap problem in existing technologies where equipment change records are not centrally managed and lack accurate spatiotemporal labels; 2. It abandons the inefficient full-scale base-state periodic storage mode and proposes a historical state section backtracking algorithm based on single devices and equipment sets. Using the latest operational state as a benchmark, it performs real-time reverse deduction on demand through incremental change records, reducing system storage space occupation and ensuring high computational response speed for quickly restoring sections at any specified time; 3. It accurately reproduces a consistent network structure at any time, effectively supporting high-level applications of digital distribution networks. Attached Figure Description

[0047] Figure 1 This is a schematic diagram of the steps of the present invention;

[0048] Figure 2 This is a flowchart of the historical single-device cross-section backtracking algorithm of the present invention;

[0049] Figure 3 This is a flowchart of the historical device set cross-section backtracking algorithm of the present invention;

[0050] Figure 4 This is a schematic diagram of the historical single-device cross-section backtracking algorithm of the present invention;

[0051] Figure 5 This is a schematic diagram of the historical device set cross-section backtracking algorithm of the present invention. Detailed Implementation

[0052] The technical solution of the present invention will be further described below with reference to the accompanying drawings.

[0053] like Figure 1 As shown, the power grid historical section tracing method based on digital distribution network of the present invention includes:

[0054] Step 1: Construct a power grid resource history database to fully record all change events of various equipment in the power grid from commissioning to decommissioning;

[0055] (1) Obtain all change events for various types of power grid equipment from the power grid resource business platform;

[0056] (2) The change event types include adding equipment, modifying equipment, and deleting equipment. Each type of event has a precise timestamp and a snapshot of the equipment attributes before and after the change;

[0057] Equipment addition: This corresponds to the event of a new device being put into operation on the power grid. It records the complete attribute set, topology connection relationship, and the timestamp of the time of commissioning when the device is first established.

[0058] Equipment modification: This corresponds to events where the attributes or topology relationships of in-operation equipment change. It records snapshots of the equipment's attributes before and after the change, changes in topology connection status, and timestamps of the time when the change occurred.

[0059] Equipment deletion: This corresponds to the event of equipment being decommissioned from the power grid. It records the final state attribute set of the equipment before deletion, its topology relationship, and the timestamp of the deletion operation.

[0060] (3) Persist the change events to the power grid resource history database.

[0061] Step 2: Construct a power grid resource operation database and dynamically maintain the latest operating status models of various equipment in the power grid;

[0062] Obtain the latest ledger data, operating status data and topology connection relationships of power grid equipment from the power grid resource business platform;

[0063] Store the operational status model in the power grid resource operation database;

[0064] When power grid equipment changes, the corresponding model in the power grid resource operation database is dynamically updated to ensure that the latest operating status of the equipment in the operation database is consistent with the actual state of the power grid.

[0065] Step 3: Based on the historical single-device cross-section backtracking algorithm, accurately reconstruct the complete attribute cross-section of a single device at any given time. The process is as follows: Figure 2 As shown:

[0066] Specify the historical state time that the device needs to restore;

[0067] Obtain the latest operating status of equipment from the power grid resource operation database as a benchmark;

[0068] Search the power grid resource history database for the most recent change record of the equipment after the specified cross-section time;

[0069] Based on the historical single-device cross-section backtracking algorithm, the complete attribute cross-section of the device at the specified cross-section time is obtained.

[0070] The historical single-device section backtracking algorithm, such as Figure 4 As shown, it includes:

[0071] For power grid equipment A, to obtain its... The historical snapshot at any given moment retrieves the latest operating status of device A from the power grid resource operation database. Search the power grid resource history database for equipment in The most recent change record after the time. Device backtracking calculations are divided into... , , There are three types, corresponding to the three types of device change: adding, modifying, and deleting. If the change type is "new", then the formula is as follows:

[0072]

[0073] in, For power grid equipment A in The historical cross-sectional state at a given moment, due to device A in Later added, in Since device A does not exist, the historical device status data is empty. If the change type is "modification", then the formula is as follows:

[0074]

[0075] Because device A is in Subsequent modifications and changes were made, therefore the historical cross-section status is as follows: .like If the change type is deletion, the formula is as follows:

[0076]

[0077] Because device A is in Later, deletion and changes were made, but... The time-tracking equipment still exists, therefore the historical section status is as follows: .

[0078] Step 4: Based on the historical device set cross-section backtracking algorithm, such as... Figure 5 As shown, the process for generating a consistent grid cross-section of the power grid at any given time is as follows: Figure 3 As shown:

[0079] (1) Specify the historical state section of the power grid to be restored at the specified time;

[0080] (2) Obtain the latest operating status of each device from the power grid resource operation database to form a set of operating device data;

[0081] (3) Query the most recent change record of the equipment after the specified section time in the power grid resource history database to form a historical equipment data set;

[0082] (4) Based on the historical equipment set section backtracking algorithm, the complete data set of the power grid at a specified section time is obtained:

[0083] Get in The historical cross-section of the power grid at any given time is obtained by retrieving the latest set of operating statuses of all equipment from the power grid resource operation database. ,in, This indicates the latest operating status of device Z;

[0084] Search the power grid resource history database for all devices. The set of most recent change records after the specified time. ,in, Indicates that device Z is in The most recent change record after this time is the second record in the history database;

[0085] Set backtracking operation Divided into , , There are three types, corresponding to the three types of device change: adding, modifying, and deleting.

[0086] Perform a set backtracking operation S on the running device data set and the change record set to generate a historical device data set:

[0087] For sets Each equipment change record in the database is used to retrieve historical equipment status data at the target time by calling the historical single-equipment cross-section backtracking algorithm, and then the change is determined based on the change type ( , , ) for sets Perform delete, replace, or add operations on the current device status:

[0088] If the change type is "new" Then perform device backtracking calculation. This process retrieves the historical device status data at a specified cross-section. For devices with empty historical device status data, if a current status data record for this device exists in set D, it is deleted.

[0089] If the change type is modification Then perform device backtracking calculation. This process obtains the historical device status data at a specified cross-section. If the current device status data exists in set D, it is replaced with the historical device status data; otherwise, the historical device status data is added to set D.

[0090] If the change type is deletion Then perform device backtracking calculation. Obtain the historical equipment status data at a specified cross-section time. Add the newly generated historical equipment status data to set D;

[0091] For sets It exists in the set but in the collection For devices with no change records, their current operating status will be retained;

[0092] After the traversal operation is completed, the set That is, the grid structure section that is reconstructed to the grid consistency at a specified historical moment is denoted as the historical state device data set. .

[0093] A power grid historical section tracing system based on digital distribution network includes:

[0094] The power grid resource database construction module is used to build and maintain the power grid resource historical database and the power grid resource operation database. This module obtains data from the power grid resource business platform. In the power grid resource historical database, it records equipment additions, modifications, deletions, and other change events with precise timestamps, along with attribute snapshots before and after, to fully preserve the entire lifecycle trajectory of the equipment. In the power grid resource operation database, it dynamically updates and maintains the latest operating status model of power grid equipment to ensure consistency with the actual state of the power grid.

[0095] The historical single-device profile backtracking module is used to accurately reconstruct the complete attribute profile of a single device at any historical moment. Based on a specified target moment, this module obtains the latest status of the device from the power grid resource operation database as a baseline, queries the most recent change record after that moment in the power grid resource history database, and calculates the complete status data of the device at the target moment through a built-in backtracking algorithm.

[0096] The historical power grid cross-section backtracking module is used to generate a consistent and complete power grid cross-section at any historical moment. This module first obtains the latest operating status set of all equipment from the power grid resource operation database and queries the set of most recent change records for all equipment after the target time in the historical power grid resource database. Then, through the equipment set cross-section backtracking algorithm, it performs overall calculations on the operating equipment data set, processes different types of historical change records, and finally generates a historical equipment data set that accurately reflects the overall state of the power grid at the target time.

[0097] This invention provides a key data foundation for lean management and intelligent decision-making in digital distribution networks.

Claims

1. A method for tracing historical state sections of a power grid based on a digital distribution network, characterized in that, include: (1) Construct a power grid resource history database to record change events of various power grid equipment from commissioning to decommissioning; (2) Construct a power grid resource operation database and dynamically maintain the latest operating status model of various equipment in the power grid; (3) Based on the historical single-device section backtracking algorithm, restore the complete attribute section of a single device at any time; (4) Generate a consistent grid structure section of the power grid at any time based on the historical equipment set section backtracking algorithm.

2. The method for tracing historical cross-sections of power grids according to claim 1, characterized in that, Step (1) includes: All change events for various types of power grid equipment are obtained from the power grid resource business platform and stored in the power grid resource history database.

3. The method for tracing historical state sections of a power grid according to claim 2, characterized in that, The change event types include device addition, device modification, and device deletion. Each type of event has a precise timestamp and a snapshot of the device attributes before and after the change.

4. The method for tracing historical cross-sections of power grids according to claim 1, characterized in that, Step (2) includes: Obtain the latest ledger data, operating status data and topology connection relationships of power grid equipment from the power grid resource business platform; Store the operational status model in the power grid resource operation database; When power grid equipment changes, the corresponding model in the power grid resource operation library is dynamically updated.

5. The method for tracing historical cross-sections of power grids according to claim 1, characterized in that, In step (3), the historical single-device section backtracking algorithm includes: Device backtracking calculation is divided into new additions ,Revise ,delete Three types of equipment changes; Change Log The change type is "Add", and the formula is as follows: Change Log The change type is "modification," and the formula is as follows: Change Log The change type is deletion, and the formula is as follows: in, For power grid equipment A in The historical state at a given moment.

6. The method for tracing historical state sections of a power grid according to claim 1, characterized in that, Step (4) includes: (41) Specify the historical state section of the power grid to be restored at the specified time; (42) Obtain the latest operating status of each device from the power grid resource operation database to form a set of operating device data; (43) Query the most recent change record of the equipment after the specified section time in the power grid resource history database to form a historical equipment data set; (44) Based on the historical equipment set section backtracking algorithm, obtain the complete data set of the power grid at the specified section time.

7. The method for tracing historical state sections of a power grid according to claim 6, characterized in that, The historical device set cross-sectional backtracking algorithm includes: Obtain the latest operating status set of all equipment from the power grid resource operation database. ,in, This indicates the latest operating status of device Z; Search for equipment in the power grid resource history database. The set of most recent change records after the specified time. ,in, Indicates that device Z is in The most recent change record after this time is the second record in the history database; Set backtracking operation Divided into , , There are three types, corresponding to the three types of device change: adding, modifying, and deleting. Perform a set backtracking operation S on the set of running device data and the set of change records to generate a set of historical device data.

8. The method for tracing historical cross-sections of power grids according to claim 7, characterized in that, The set backtracking operation includes: For sets Each equipment change record in the dataset is processed individually using the historical single-device cross-section backtracking algorithm to obtain historical equipment status data at the target time, and the dataset is then processed according to the change type. Perform delete, replace, or add operations on the current device status; For sets It exists in the set but in the collection For devices with no change records, retain their current operating state; after completing the traversal operation, the set... The grid structure section reconstructed to reflect a specified historical moment is denoted as the historical state device data set. .

9. The method for tracing historical cross-sections of power grids according to claim 8, characterized in that, Change type is new Added to the device backtracking calculation This process obtains the historical device status data at a specified cross-section time. For devices with empty historical device status data, if the set D contains a current status data record for that device, it is deleted. Change type: Modification Perform device backtracking calculations to modify The system obtains the historical device status data at a specified cross-section time. If the current device status data exists in set D, it is replaced with the historical device status data. If it does not exist, the historical device status data is added to set D. Change type is deletion Perform device backtracking calculation to delete. The historical equipment status data at a specified cross-section is obtained, and the newly generated historical equipment status data is added to set D.

10. A real-time modeling system based on the entire process of power grid equipment, characterized in that, include: The power grid resource database construction module is used to build and maintain the power grid resource historical database and the power grid resource operation database; The historical single-device profile backtracking module is used to restore the complete attribute profile of a single device at any historical moment; The historical power grid cross-section backtracking module is used to generate a consistent and complete power grid cross-section at any historical moment.