Power Grid Power Flow Risk Control Method Based on Topological Analysis
By constructing the node admission matrix and fault current feature matrix in real time, and combining deep learning models for grid topology adjustment and risk assessment, the problem that traditional grid topology analysis cannot track dynamic changes in real time is solved, and the stability and safety of the grid are improved.
Patent Information
- Application Number
- CN202510587648.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-08
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2045-05-08
AI Technical Summary
Traditional grid topology analysis cannot track dynamic changes in real time, resulting in slow flow calculation deviations and fault identification, and cannot effectively respond to distributed power access and fault response.
By acquiring power grid data in real time, node admission matrix is constructed, based on dynamic topology diagrams and fault current feature matrix, risk assessment and adaptive control are combined with deep learning models, and multi-objective optimization control instruction set is generated.
Real-time adjustment of grid topology and dynamic risk assessment are realized, the stability and safety of the grid are improved, and the operating status can be automatically adjusted in emergencies to reduce the risk of overload and voltage overlimits.
Smart Images

Figure CN120090199B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power flow risk control, and more specifically, to a power grid power flow risk control method based on topological analysis. Background Art
[0002] With the gradual access of distributed energy sources (such as wind energy, solar energy, etc.) and energy storage systems to the power grid, traditional power grids are facing increasingly complex operation challenges. Especially in the actual operation of active power grids, due to multi-directional power flows and frequent topological changes, it is difficult to predict and control the power flow state and security risks of the power grid. How to efficiently and dynamically identify and control the power flow risks in the power grid has become a key technical problem for improving the security, stability, and reliability of the power grid.
[0003] Traditional power grid risk control methods mainly rely on static power flow analysis and simple protection measures, such as traditional power flow calculation, switch operation, and fault clearing mechanisms. However, with the increasing complexity of the power grid structure, these methods face the following main problems:
[0004] Lag and inaccuracy in topological adjustment. The real-time monitoring and adjustment of the power grid topology still rely on manual settings and offline analysis, which results in insufficient response ability of the system to topological changes and inability to make effective adjustments quickly during the operation of the power grid, leading to failure to resume normal operation in a timely manner when a fault occurs.
[0005] Slow fault identification and response. Most existing fault diagnosis methods rely on traditional single monitoring data and cannot comprehensively consider the influence of each node, branch, and distributed energy source in the power grid on the fault current. Especially when multiple fault types appear alternately, traditional methods cannot accurately and timely identify faults and formulate response measures.
[0006] Disconnection between static control and dynamic adjustment. Currently, many power grid control methods make decisions based on static parameters and fixed thresholds, while the power grid state often changes at any time. Especially in the case of load fluctuations and changes in the output of distributed energy sources, fixed control strategies often cannot meet real-time requirements and cannot flexibly respond to the changes in the power grid.
[0007] For example, a substation one-key sequence control simulation test method, device, equipment and medium disclosed in the invention patent announcement with the announcement number: CN112698584B. The method includes receiving a control instruction sent by a monitoring device; determining whether the control instruction meets a preset condition; if so, adjusting the state of the corresponding topological node in the power flow calculation topological graph according to the control instruction to obtain a new power flow calculation topological graph; determining the electrical property data of each topological node on the new power flow calculation topological graph; and sending the electrical property data to the monitoring device, so that through real-time power flow calculation in this application, the entire simulation test environment is closer to the actual operation environment of the substation, and the test verification effect, persuasion and accuracy of the one-key sequence control are greatly improved. Furthermore, the relationship between the change of the switch position and the power flow voltage, current and power also completely conforms to the physical laws of power operation, and the simulation test is more reliable, effectively improving the accuracy of debugging and verification.
[0008] For example, a main and distribution integrated power grid closed-loop control verification platform and method disclosed in the invention patent announcement with the announcement number: CN118567332A. The platform obtains the main and distribution network CIME models and splices them into a power grid integrated model, and performs main and distribution network power flow iterative calculation and power grid frequency simulation based on the power flow section and the output of power plants and distributed new energy sources at the next moment. The output of power plants and distributed new energy sources is considered during the calculation process, and the injection amount of power flow calculation is updated based on the execution result of the dispatching control instruction. The closed-loop control verification platform of the present invention realizes the second-level iterative interaction between the laboratory closed-loop control verification and the actual power grid dispatching control instruction, and automatically generates a control strategy evaluation report after the test ends. The present invention is used for laboratory detection, and provides a true-type environment for the verification of power grid new energy control strategies without interfering with the operation of the actual power grid dispatching control system.
[0009] In the above-mentioned disclosed technical solutions, there are at least the following technical problems: Traditional topology analysis relies on offline modeling and cannot track the dynamic changes of the power grid topology in real time (such as the access of distributed power sources, line switching and cutting). The high-density access of large-scale distributed photovoltaics will cause frequent reconstruction of the power grid topology, and the update period of the existing model usually lags behind the actual changes, which may cause power flow calculation deviation. At the same time, in an active power grid, the fault current characteristics are significantly different from those of traditional passive networks, resulting in the failure of the topology identification method based on the current direction. For example, the reverse power supply of distributed power sources may misjudge the fault isolation strategy and increase the power outage range.
[0010] In view of the above problems, the present invention proposes a solution. Summary of the Invention
[0011] To overcome the above-mentioned deficiencies of the prior art, embodiments of the present invention provide a power grid power flow risk control method based on topological analysis. By introducing a virtual impedance observer for convergence verification, it can determine in real time whether the topological adjustment is effective. If the topological adjustment is ineffective, the system will automatically trigger an active islanding control based on impedance trajectory prediction to address the problem that the high-density access of large-scale distributed photovoltaics can lead to frequent reconstruction of the power grid topology, and the update period of existing models usually lags behind the actual changes, which may cause power flow calculation deviation problems.
[0012] To achieve the above object, the present invention provides the following technical solutions:
[0013] A power grid power flow risk control method based on topological analysis includes the following steps: obtaining first data of the power grid in real time and constructing a nodal admittance matrix; when a switch position change signal or a distributed power source power mutation is detected, performing topological reconstruction based on the nodal admittance matrix and generating a dynamic topological graph; establishing a fault current characteristic matrix based on the dynamic topological graph in combination with the bidirectional power flow characteristics of the active power grid; constructing an adaptive risk warning model based on the dynamic topological graph and the fault current characteristic matrix, and outputting the overload probability of each branch and the voltage over-limit risk index; analyzing according to the branch overload probability and the voltage over-limit risk index, and generating a multi-objective optimization control instruction set.
[0014] In a preferred embodiment, when a switch position change signal or a distributed power source power mutation is detected, performing topological reconstruction based on the nodal admittance matrix and generating a dynamic topological graph specifically includes: monitoring the switch position signal and the output power of the distributed power source in real time and calculating the power change rate; when a switch state change or the power change rate is greater than a preset power change threshold is detected, determining it as a topological change event; performing rough topological adjustment based on the switch position change information, and performing fine-grained correction through real-time comparison of the voltage phase differences of adjacent nodes to generate a dynamic topological graph with confidence weight.
[0015] In a preferred embodiment, performing rough topological adjustment based on the switch position change information specifically includes: defining a set of switches to be adjusted, calculating the path weight based on the current change amount of each branch where the switch is located as the weight basis; according to the path weight and based on the Dijkstra algorithm, using the current power grid nodes as the graph vertices and the switch connection relationship as the graph edges, searching for the minimum weight operation path from the initial topology to the target topology; updating the switch state according to the search result, and synchronously correcting the corresponding branch admittance in the nodal admittance matrix to generate a preliminary topological structure.
[0016] In a preferred embodiment, the fine-grained correction by real-time comparison of the voltage phase differences between adjacent nodes is specifically as follows: Based on the PMU synchronized phasor data, the voltage phase angles of each node are obtained in real time, and the phase differences between adjacent nodes are calculated. If the phase difference between adjacent nodes is greater than the allowable deviation during normal operation, it is marked as a wrong connection. The determinant change rate of the nodal admittance matrix after perturbation of the wrongly connected branch is calculated, and it is determined whether it is an unexpected topological change. For the connections passing the verification, confidence weights are assigned according to the phase difference consistency and the determinant change rate.
[0017] In a preferred embodiment, the generation of the dynamic topology graph with confidence weights is specifically as follows: Based on the nodal admittance matrix, a dynamic topology graph is constructed. When the topology after coarse adjustment satisfies the minimization of the switch operation path weight and the determinant change rate after fine-grained correction is less than the preset determinant change rate threshold, the final dynamic topology graph is obtained; otherwise, it returns to the step of searching for the minimum-cost path again.
[0018] In a preferred embodiment, the establishment of the fault current characteristic matrix based on the dynamic topology graph in combination with the bidirectional power flow characteristics of the active power grid is specifically as follows: Each node and branch of the power grid are analyzed to obtain the type and location of the fault, and based on the dynamic topology graph, the power grid topology is updated to determine the connection status of each node and the operation status of each branch. According to the change of the power grid topology, the nodal admittance matrix is updated. According to the bidirectional power flow characteristics of the active power grid, a bidirectional power flow model is established, considering the influence of distributed power generation sources and energy storage units on the bidirectional flow of current. Through the nodal admittance matrix and the dynamic topology graph, in combination with the bidirectional power flow model, power flow calculation is performed to obtain the current characteristics of each node and branch under fault conditions, and a fault current characteristic matrix is constructed.
[0019] In a preferred embodiment, the construction of the adaptive risk warning model based on the dynamic topology graph and the fault current characteristic matrix, and the output of the overload probability of each branch and the voltage over-limit risk index are specifically as follows:
[0020] The dynamic topology graph is converted into a graph theory characteristic matrix; the second data of each adjacent node during the fault of each node is extracted and a node fault characteristic vector is formed; based on the topology feature encoding layer in the deep learning network, the graph theory characteristic matrix and the node fault characteristic vector are concatenated into a multi-dimensional input tensor, and feature learning is performed based on the improved deep belief network architecture. Historical operation data is obtained to construct a training data set, and an adaptive risk warning model is obtained by using the training process of the deep belief network with unsupervised pre-training and supervised fine-tuning.
[0021] In a preferred embodiment, the feature learning based on the improved deep belief network architecture is specifically as follows: the topological structure features, power flow distribution features, and fault current features of the power grid are extracted layer by layer based on the restricted Boltzmann machine to obtain an abstract representation of the fault features; according to the abstract representation of the fault features, the overload probability of each branch is calculated based on the Softmax classifier, and the voltage over-limit risk index is calculated through the linear regression layer.
[0022] Technical effects and advantages of the power grid power flow risk control method based on topological analysis of the present invention:
[0023] 1. The present invention obtains the first data (SCADA data, PMU phasor data, smart meter data) of the power grid in real time and performs topological reconstruction based on the nodal admittance matrix. By using the dynamic topological map of the power grid, combining the fault current feature matrix and the deep learning model, the real-time quantitative evaluation of the overload probability and voltage over-limit risk of each branch of the power grid is realized. Through the precise adjustment of the topological structure and the data-driven risk warning system, the risk assessment and response can be carried out immediately when the topological change occurs in the power grid, effectively improving the stability and security of the power grid.
[0024] 2. The present invention solves the overload risk and voltage over-limit risk of the power grid through the particle swarm optimization algorithm, and generates a control instruction set based on the optimization result. This strategy includes control means such as load transfer, voltage regulation, switch operation, and energy storage scheduling, which can automatically adjust the operation state of the power grid in case of emergency, reducing the overload risk and voltage over-limit risk. By combining the convergence verification of the virtual impedance observer, the effectiveness of the topological adjustment and control operation is ensured, thereby maximizing the operation stability and security of the power grid. Brief Description of the Drawings
[0025] Figure 1 It is a schematic flow chart of the power grid power flow risk control method based on topological analysis of the present invention. Detailed Embodiments
[0026] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0027] Embodiment 1, Figure 1 The power grid power flow risk control method based on topological analysis of the present invention is given, including the following steps:
[0028] S1, obtain the first data of the power grid in real time and construct the nodal admittance matrix;
[0029] The first data includes SCADA data and PMU phasor data;
[0030] SCADA data: From the power grid monitoring system, it usually contains information such as voltage, power, load, current, etc. of each node. The SCADA system is the core of power grid monitoring, through which the real-time operation status of the entire power grid can be obtained.
[0031] PMU phasor data: The phasor measurement unit provides synchronous phasor data, including voltage phasors and phase current phasors of each node. PMU data can provide high-precision real-time power grid status data, especially suitable for dynamic state monitoring.
[0032] The real-time acquisition of the first data of the power grid and the construction of the nodal admittance matrix are specifically as follows:
[0033] The first data of the power grid is acquired in real time through an intelligent control system, and data cleaning is performed;
[0034] According to the topological structure of the power grid, all nodes and branches are determined;
[0035] According to the first data after data cleaning, the self-admittance and mutual admittance of the nodes are calculated respectively;
[0036] According to the calculated self-admittance and mutual admittance, the elements of the nodal admittance matrix are filled to obtain the nodal admittance matrix.
[0037] The self-admittance of the node is obtained by calculating the sum of the admittances of all branches connected to the node.
[0038] The mutual admittance is obtained by calculating the negative value of the admittance of the branch connecting any two nodes.
[0039] S2. When a switch position change signal or a sudden change in the power of a distributed power source is detected, topology reconstruction is performed based on the nodal admittance matrix and a dynamic topology graph is generated;
[0040] When a switch position change signal or a sudden change in the power of a distributed power source is detected, topology reconstruction is performed based on the nodal admittance matrix and a dynamic topology graph is generated, specifically as follows;
[0041] The switch position signal and the output power of the distributed power source are monitored in real time and the power change rate is calculated;
[0042] When a change in the switch state or a power change rate greater than a preset power change threshold is detected, it is determined as a topology change event;
[0043] Based on the switch position change information, rough topology adjustment is performed, and fine-grained correction is performed through real-time comparison of the voltage phase differences of adjacent nodes to generate a dynamic topology graph with confidence weight.
[0044] The topology rough adjustment based on the variable position information of the switch is specifically as follows:
[0045] Define the set of switches to be adjusted, and calculate the path weight based on the current change of the current in each branch where the switch is located as the weight basis.
[0046] Based on the Dijkstra algorithm according to the path weight, with the current power grid nodes as the graph vertices and the switch connection relationship as the graph edges, search for the minimum weight operation path from the initial topology to the target topology.
[0047] Update the switch state according to the search result, and synchronously correct the corresponding branch admittance in the node admittance matrix to generate a preliminary topology structure.
[0048] The change of the switch state is specifically as follows:
[0049] The change of the switch state includes the change of the tie switch and the sectionalizing switch state.
[0050] The path weight is specifically as follows:
[0051]
[0052] Among them, is the path weight, is the current change.
[0053] The fine-grained correction through the real-time comparison of the voltage phase differences between adjacent nodes is specifically as follows:
[0054] Based on the PMU synchronized phasor data, obtain the voltage phase angles of each node in real time, and calculate the phase difference between adjacent nodes.
[0055] If the phase difference between adjacent nodes is greater than the allowable deviation for normal operation, mark it as a wrong connection.
[0056] Calculate the determinant change rate of the node admittance matrix after perturbation of the wrong connection branch and the original matrix, and determine whether it is an unexpected topology change.
[0057] For the connections that pass the verification, assign a confidence weight according to the phase difference consistency and the determinant change rate.
[0058] The determination of whether it is an unexpected topology change is specifically as follows:
[0059] If the determinant change rate is greater than the preset determinant change rate threshold, determine it as an unexpected topology change and send a warning for manual confirmation.
[0060] The determinant change rate is specifically as follows:
[0061]
[0062] The confidence weight is specifically as follows:
[0063]
[0064] Among them, is the determinant change rate, is the determinant of the perturbed nodal admittance matrix, is the determinant of the original nodal admittance matrix, is the confidence weight, is the phase difference between adjacent nodes.
[0065] The generation of the dynamic topology graph with confidence weights is specifically as follows:
[0066] Based on the nodal admittance matrix, a dynamic topology graph is constructed. When the topology after coarse adjustment satisfies the minimization of the switch operation path weight and the determinant change rate after fine-grained correction is less than the preset determinant change rate threshold, the final dynamic topology graph is obtained; otherwise, the step of re-searching for the minimum-cost path is returned.
[0067] For the dynamic topology graph, where:
[0068] Vertices: Power grid nodes, marked with real-time voltage amplitudes and confidence weights;
[0069] Edges: Weighted directed edges, with the weight being the branch admittance amplitude, and the direction being determined by the power flow direction (dynamically adjusted according to the output of distributed power sources in an active power grid), and incorrect connections are represented by dashed lines.
[0070] S3. Based on the dynamic topology graph and combined with the bidirectional power flow characteristics of the active power grid, a fault current characteristic matrix is established:
[0071] The establishment of the fault current characteristic matrix based on the dynamic topology graph and combined with the bidirectional power flow characteristics of the active power grid is specifically as follows:
[0072] Each node and branch of the power grid are analyzed to obtain the type and location of the fault, and based on the dynamic topology graph, the power grid topology is updated to determine the connection status of each node and the operation status of each branch;
[0073] According to the change of the power grid topology, the nodal admittance matrix is updated;
[0074] According to the bidirectional power flow characteristics of the active power grid, a bidirectional power flow model is established, considering the influence of distributed power generation sources and energy storage units on the bidirectional flow of current;
[0075] Through the nodal admittance matrix and the dynamic topology graph, combined with the bidirectional power flow model, power flow calculations are carried out to obtain the current characteristics of each node and branch under fault conditions, and a fault current characteristic matrix is constructed.
[0076] Based on the bidirectional power flow characteristics of the active power grid, a bidirectional power flow model is established, considering the influence of distributed power generation sources and energy storage units on the bidirectional flow of current, specifically as follows:
[0077] Define the direction of current flow in each node and branch of the power grid, and consider the forward power flow and reverse power flow separately;
[0078] Calculate the direction of current flow under fault conditions, and inversely affect through the power flow calculation model to ensure that the influence of forward and reverse power flows on current is accurately reflected;
[0079] Determine the influence of the reverse power flow provided by distributed power generation sources or energy storage units on the current path and current amplitude when a fault occurs.
[0080] The fault current characteristic matrix is specifically as follows:
[0081] The amplitude of the fault current, representing the amplitudes of the forward power flow current and the reverse power flow current respectively;
[0082] The direction of current flow, clarifying whether the current is transmitted from the upstream to the load end or from the local power generation source to the power grid;
[0083] The duration of the current, specifically describing the occurrence and disappearance duration of the fault current;
[0084] Calculate the change in the current flow path, especially the adjustment of the current path under the influence of reverse power flow.
[0085] The types of faults include single-phase ground fault, three-phase ground fault, short-circuit fault, and open-circuit fault.
[0086] S4. Construct an adaptive risk warning model based on the dynamic topology graph and the fault current characteristic matrix, and output the overload probability of each branch and the voltage over-limit risk index;
[0087] The construction of the adaptive risk warning model based on the dynamic topology graph and the fault current characteristic matrix, and the output of the overload probability of each branch and the voltage over-limit risk index are specifically as follows:
[0088] Convert the dynamic topology graph into a graph theory characteristic matrix, and the graph theory characteristic matrix includes an adjacency matrix, a node parameter vector, and a branch parameter vector;
[0089] Extract the second data of each adjacent node when each node fails and form a node fault characteristic vector, and the second data includes current amplitude, phase difference, and flow direction characteristics;
[0090] Based on the topology feature encoding layer in the deep learning network, splice the graph theory characteristic matrix and the node fault characteristic vector into a multi-dimensional input tensor, and perform feature learning based on the improved deep belief network architecture;
[0091] Obtain historical operation data to construct a training dataset, and adopt the training process of a deep belief network with unsupervised pre-training and supervised fine-tuning to obtain an adaptive risk warning model.
[0092] The process of obtaining historical operation data to construct a training dataset, and adopting the training process of a deep belief network with unsupervised pre-training and supervised fine-tuning to obtain an adaptive risk warning model is specifically as follows:
[0093] Construct a training dataset, including normal, abnormal, and fault scenarios, collect historical operation data, and perform data augmentation and normalization processing;
[0094] Through the training process of unsupervised pre-training and supervised fine-tuning, layer by layer train the deep belief network, use the Adam optimizer to minimize the total loss function, and obtain a trained adaptive risk warning model;
[0095] Based on the adaptive risk warning model, quantitatively evaluate the overload probability of each branch and the voltage violation risk index of each node, and visually display the risk distribution through a dynamic topology map to highlight high-risk branches and nodes.
[0096] The process of performing feature learning based on the improved deep belief network architecture is specifically as follows:
[0097] Based on the restricted Boltzmann machine, layer by layer extract the grid topology structure features, power flow distribution features, and fault current features to obtain an abstract representation of the fault features;
[0098] According to the abstract representation of the fault features, calculate the overload probability of each branch based on the Softmax classifier, and calculate the voltage violation risk index through the linear regression layer.
[0099] S5. Analyze according to the branch overload probability and the voltage violation risk index, and generate a multi-objective optimization control instruction set.
[0100] The process of analyzing according to the branch overload probability and the voltage violation risk index, and generating a multi-objective optimization control instruction set is specifically as follows:
[0101] Calculate the overload probability of each branch and the voltage violation risk index of each node respectively, and compare them with the preset first and second thresholds respectively;
[0102] If both are greater than the thresholds, construct a multi-objective optimization control model with the goal of minimizing the branch overload probability and the voltage violation risk index and maximizing the grid stability;
[0103] Based on the particle swarm optimization algorithm, solve the multi-objective optimization control model and perform convergence verification to obtain the result of multi-objective optimization;
[0104] Based on the result of multi-objective optimization, generate a control instruction set.
[0105] Perform the convergence verification as follows:
[0106] For the power grid after topology adjustment, calculate the trajectory of the virtual impedance through a virtual impedance observer and make a judgment;
[0107] If the trajectory of the virtual impedance converges to a preset safety region (i.e., limited within a certain preset impedance range) in the complex plane, it is determined that the topology adjustment is effective, the power grid operates stably, and the topology reconstruction has been successfully completed;
[0108] If the virtual impedance trajectory does not converge to the preset safety region (i.e., the impedance value exceeds the safety range), it is determined that the topology adjustment is invalid, and the active islanding control based on impedance trajectory prediction is triggered.
[0109] The control instruction set is as follows:
[0110] First, adjust the reactive power output of the new energy inverter closest to the fault point preferentially, then adjust the combination state of the tie switches sub-optimally, and verify the topology convergence in real time after execution. When the node voltage variance is less than the preset voltage variance, it is confirmed that the control is effective; otherwise, the secondary correction based on impedance sensitivity is triggered.
[0111] Load transfer instruction: When the risk of branch overload is high, transfer part of the load to other branches to reduce the overload risk.
[0112] Voltage regulation instruction: At nodes with a high risk of voltage violation, adjust the output of distributed power generation sources or activate voltage regulation devices (such as voltage regulating transformers, reactive power compensation devices, etc.).
[0113] Switch operation instruction: In case of emergency, perform switch operations (such as cutting off part of the load or power source) to maintain system stability.
[0114] Energy storage scheduling instruction: When the system load is too heavy or the voltage is out of limit, schedule energy storage devices to perform energy replenishment or absorption to relieve the risk.
[0115] Power flow optimization instruction: Optimize the power flowing in the power grid to ensure system stability and avoid overload or voltage violation.
[0116] The above formulas are all dimensionless and take their numerical values for calculation. The formula is obtained by collecting a large amount of data and performing software simulation to obtain a formula closest to the real situation. The preset parameters in the formula are set by those skilled in the art according to the actual situation.
[0117] The above embodiments can be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product.
[0118] Those of ordinary skill in the art will realize that the modules and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0119] In addition, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module.
[0120] As described above, only the specific implementation manners of this application are provided, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed in this application can easily think of changes or substitutions, which should all be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
[0121] Finally: The above are only the preferred embodiments of the present invention and are not used to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should all be included in the protection scope of the present invention.
Claims
1. A power grid power flow risk control method based on topological analysis, characterized in that It includes the following steps: Obtain the first data of the power grid in real time and construct the nodal admittance matrix; When a switch position change signal or a sudden change in the power of distributed power sources is detected, perform topology reconstruction based on the nodal admittance matrix and generate a dynamic topology map; The performing of topology reconstruction and generating a dynamic topology map is specifically as follows: Monitor the switch position signal and the output power of distributed power sources in real time and calculate the power change rate; When a change in switch state or a power change rate greater than a preset power change threshold is detected, it is determined as a topology change event; Perform rough topology adjustment based on the switch position change information, and perform fine-grained correction through real-time comparison of the voltage phase differences between adjacent nodes to generate a dynamic topology map with confidence weight; The rough topology adjustment is realized through Dijkstra algorithm path search and switch state update, and the fine-grained correction is realized by assigning confidence weights according to the phase difference consistency and determinant change rate; Based on the dynamic topology map and combined with the bidirectional power flow characteristics of the active power grid, establish a fault current characteristic matrix: Based on the dynamic topology map and the fault current characteristic matrix, construct an adaptive risk warning model, and output the overload probability of each branch and the voltage over-limit risk index; Analyze according to the branch overload probability and the voltage over-limit risk index, and generate a multi-objective optimization control instruction set.
2. The power grid power flow risk control method based on topological analysis according to claim 1, wherein The performing of rough topology adjustment based on the switch position change information is specifically as follows: Define the set of switches to be adjusted, and calculate the path weight based on the current change of each branch where the switch is located as the weight basis; According to the path weight and based on the Dijkstra algorithm, use the current power grid nodes as the graph vertices and the switch connection relationship as the graph edges to search for the minimum weight operation path from the initial topology to the target topology; Update the switch state according to the search result, and synchronously correct the corresponding branch admittance in the nodal admittance matrix to generate a preliminary topology structure.
3. The power grid power flow risk control method based on topological analysis according to claim 2, wherein, The performing of fine-grained correction through real-time comparison of the voltage phase differences between adjacent nodes is specifically as follows: Based on the PMU synchronized phasor data, obtain the voltage phase angles of each node in real time and calculate the phase difference between adjacent nodes; If the phase difference between adjacent nodes is greater than the allowable deviation for normal operation, mark it as a wrong connection; Calculate the determinant change rate between the nodal admittance matrix after perturbation of the wrong connection branch and the original matrix, and determine whether it is an unexpected topology change; For the connections passing the verification, assign confidence weights according to the phase difference consistency and determinant change rate.
4. The power grid power flow risk control method based on topological analysis according to claim 3, wherein The generating of a dynamic topology map with confidence weight is specifically as follows: Based on the nodal admittance matrix, construct a dynamic topology map. When the topology after rough adjustment satisfies the minimization of the switch operation path weight and the determinant change rate after fine-grained correction is less than the preset determinant change rate threshold, obtain the final dynamic topology map, otherwise return to the step of searching for the minimum cost path again.
5. The power grid power flow risk control method based on topological analysis according to claim 4, characterized in that The establishing of a fault current characteristic matrix based on the dynamic topology map and combined with the bidirectional power flow characteristics of the active power grid is specifically as follows: Analyze each node and branch of the power grid to obtain the type and location of the fault, and based on the dynamic topology map, update the power grid topology to determine the connection state of each node and the operation state of each branch; Update the nodal admittance matrix according to the change of the power grid topology; According to the bidirectional power flow characteristics of the active power grid, a bidirectional power flow model is established, considering the influence of distributed power generation sources and energy storage units on the bidirectional flow of current; Through the node admittance matrix and the dynamic topology graph, combined with the bidirectional power flow model, power flow calculation is carried out to obtain the current characteristics of each node and branch under fault conditions, and a fault current characteristic matrix is constructed.
6. The method for controlling power grid power flow risk based on topological analysis according to claim 5, wherein The adaptive risk warning model is constructed based on the dynamic topology graph and the fault current characteristic matrix, and the overload probability of each branch and the voltage over-limit risk index are output. Specifically: Convert the dynamic topology graph into a graph theory characteristic matrix; Extract the second data of each adjacent node when each node fails and form a node fault characteristic vector; Based on the topology feature encoding layer in the deep learning network, the graph theory characteristic matrix and the node fault characteristic vector are spliced into a multi-dimensional input tensor, and feature learning is carried out based on the improved deep belief network architecture; Obtain historical operation data to construct a training data set, and adopt the training process of the deep belief network with unsupervised pre-training and supervised fine-tuning to obtain an adaptive risk warning model.
7. The power grid power flow risk control method based on topological analysis according to claim 6, characterized in that The feature learning based on the improved deep belief network architecture is specifically: Based on the restricted Boltzmann machine, extract the grid topology structure features, power flow distribution features and fault current features layer by layer to obtain an abstract representation of the fault features; Calculate the overload probability of each branch based on the abstract representation of the fault features using the Softmax classifier, and calculate the voltage over-limit risk index through the linear regression layer.
8. The method for controlling power grid power flow risk based on topological analysis according to claim 7, wherein, The rate of change of the determinant is specifically: The confidence weight is specifically: Among them, is the determinant change rate, is the determinant of the perturbed nodal admittance matrix, is the determinant of the original nodal admittance matrix, is the confidence weight, is the phase difference between adjacent nodes.
Citation Information
Patent Citations
A substation one-button sequential control simulation test method, device, equipment and medium
CN112698584B
Main-distribution fusion power grid closed-loop control verification platform and method considering distributed new energy
CN118567332A
Power grid fault early warning system based on topology change scene
CN119226980A
Optimized scheduling method and system for photovoltaic source network load storage
CN119726716A