A method and system for dynamic control of power grid security for power security objects
By establishing the power demand curve and spatial load density model, using neural networks to calculate power flow values and optimizing the access addresses of power security objects, the problem of power supply shortage or overload in the power grid is solved, and the stability and operating efficiency of the power grid are improved.
Patent Information
- Application Number
- CN202410946795.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-16
AI Technical Summary
Traditional power grid management and control methods are difficult to cope with peak and valley changes in power demand and grid supply shortages or overloads, resulting in grid performance and stability being affected.
By obtaining the distribution structure of the power grid, the location information of power security objects and the expected operating period, the power demand curve model and spatial load density model are established, and the pre-trained neural network is used to calculate the power flow value, detect new power security objects and optimize their access addresses. , to reduce the probability of power grid anomalies.
It effectively improves the operating efficiency and reliability of the power grid, optimizes the overall performance and stability of the power grid, and avoids power supply shortages or overloads.
Smart Images

Figure CN118487276B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power security, and in particular to a method and system for dynamic power grid security control oriented to power security objects. Background Art
[0002] With the continuous growth of global energy demand and the rapid advancement of urbanization, the complexity of power grid management and control has increased significantly, especially in terms of peak and valley changes in electricity demand, grid density, and real-time access and status monitoring of power supply objects.
[0003] In the power grid system, the connection of new power objects will lead to the redistribution of power flow and load in the power grid system. This distribution process is carried out spontaneously by the power grid to ensure the normal operation of the new power objects. Therefore, there is a potential power shortage or overload. Traditional power grid management and control methods are difficult to cope with such dynamic changes and complexity. Summary of the invention
[0004] The technical problem to be solved by the present invention is how to control the power grid when the power guarantee object is connected to the power grid system to avoid power shortage or overload of the power system, and further optimize the overall performance and stability of the power grid.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides a method for dynamic control of power grid security for power security objects, including:
[0006] Obtain the distribution structure of the power grid, the location information of the power supply guarantee objects, the expected operation period and power demand, and establish the power demand curve model and spatial load density model of the power grid;
[0007] Extracting the spatiotemporal characteristics of the power grid according to the power demand curve model and the spatial load density model, and calculating the power flow value using a pre-trained first neural network;
[0008] When a new power guarantee object is detected, a first spatial address of the new power guarantee object is calculated according to the spatial load density model;
[0009] According to the power flow value and the first spatial address, calculating the power grid abnormality probability after the newly added power guarantee object is connected in the digital twin model of power grid operation;
[0010] If the power grid abnormality probability is greater than a preset threshold, the address of the newly added power guarantee object is optimized to obtain a second space address; otherwise, the first space address is used as the second space address;
[0011] According to the second spatial address, the newly added power guarantee object is connected to the actual power grid, and the power demand curve model and the spatial load density model are updated.
[0012] As an improvement of the above scheme, the acquisition of the distribution structure of the power grid, the location information of the power guarantee object, the expected operation period and the power demand, and the establishment of the power demand curve model and the spatial load density model of the power grid include:
[0013] Obtain the estimated operating time and power demand of the power supply guarantee object, and use spatiotemporal data analysis technology to establish the time-power demand curve of the power grid;
[0014] Obtain the distribution structure of the power grid and the location information of the power supply guarantee objects, and establish a spatial-grid density map reflecting the power grid through the GIS system;
[0015] Adopting an association rule mining algorithm, extracting a peak power demand period, a trough power demand period and a power grid density area according to the time-power demand curve and the space-power grid density map;
[0016] During the peak period of electricity demand, the grid topology is optimized and the input of electricity resources is increased. During the trough period of electricity demand, the power supply capacity and stability of the densely populated areas of the grid are reduced. The incremental update algorithm is used to update the time-electricity demand curve and the space-grid density map in real time to obtain the power demand curve model and spatial load density model of the grid.
[0017] As an improvement of the above solution, the extracting the spatiotemporal characteristics of the power grid according to the power demand curve model and the spatial load density model, and calculating the power flow value using a pre-trained first neural network includes:
[0018] According to the power grid demand curve model, extracting the average value, maximum value, minimum value and standard deviation characteristics of the power demand of the power grid at each time granularity as the time characteristics of the power grid;
[0019] According to the spatial load density model, the average value, maximum value and minimum value characteristics of the power grid density in the power grid area are extracted as the spatial characteristics of the power grid;
[0020] fusing the time characteristics and the space characteristics as the time and space characteristics of the power grid;
[0021] The spatiotemporal characteristics are input into a pre-trained first neural network to calculate the power flow value of the power grid; the pre-trained first neural network is used to calculate the power flow value, and its training samples are historical power flow data and the spatiotemporal characteristics.
[0022] As an improvement of the above solution, when a new power guarantee object is detected, the first space address of the new power guarantee object is calculated according to the space load density model, including:
[0023] When a new power protection object is detected, obtaining the type and specification parameter information of the new power protection object;
[0024] According to the type of the power protection object and the specification parameter information, combined with the spatial load density model, spatial interpolation and topological analysis methods are used to calculate the first spatial address of the newly added power protection object.
[0025] As an improvement of the above solution, the calculation of the abnormal probability of the power grid after the newly added power guarantee object is connected in the digital twin model of the power grid operation according to the power flow value and the first spatial address includes:
[0026] According to the first spatial address, a virtual model of the newly added power security object is introduced into the digital twin model of the power grid operation;
[0027] According to the power flow value, a power flow algorithm is used to calculate the power flow distribution and voltage level of the power grid after the newly added power guarantee object is connected;
[0028] The probability distribution of abnormal situations occurring is calculated according to the power grid flow distribution and the voltage level as the power grid abnormality probability; the abnormal situations include power supply shortage and overload.
[0029] As an improvement of the above solution, if the power grid abnormality probability is greater than a preset threshold, the address of the newly added power guarantee object is optimized to obtain a second space address; otherwise, the first space address is used as the second space address, including:
[0030] If the probability of power grid abnormality is greater than a preset threshold, a sensitivity analysis and criticality ranking method is used to identify the key influencing factors causing the abnormality, and based on the risk measurement index, it is determined whether it is necessary to adjust the access plan of the newly added power guarantee object; when the access plan needs to be adjusted, a multi-objective optimization algorithm is used to minimize the power supply risk and maximize the consumption of new energy, optimize the spatial address and access parameters of the newly added power guarantee object, and obtain the second spatial address;
[0031] If the power grid abnormality probability is not greater than a preset threshold, the first space address is used as the second space address.
[0032] As an improvement of the above solution, the power grid security dynamic control method further includes:
[0033] Using three-dimensional visualization technology, generating a three-dimensional space diagram of power flow according to the power demand model, the spatial load density model and the power flow value;
[0034] Calculating the load factor, voltage deviation and line power loss of the power flow according to the three-dimensional spatial diagram of power flow, and generating an early warning signal of abnormal conditions;
[0035] Combining the historical performance data, operation logs and real-time monitoring data of the power grid, potential fault points and risk areas are generated through a preset second neural network, and the power output of the power protection objects in the potential fault points and risk areas is adaptively adjusted.
[0036] As an improvement of the above scheme, the load rate, voltage deviation and line power loss of the power flow are calculated according to the three-dimensional space diagram of power flow, and an early warning signal of abnormal situation is generated, including:
[0037] According to the three-dimensional spatial diagram of power flow, the temporal and spatial distribution characteristics of the power grid flow are analyzed, and the load rate, voltage deviation and line power loss of the power flow are calculated by identifying the areas where the contradiction between power supply and demand is prominent;
[0038] According to the load rate of the power flow, the voltage deviation and the line power loss, the situations of excessively high load rate, excessive voltage deviation and abnormal line power loss are identified, and an early warning signal of the abnormal situation is generated; the early warning signal includes the abnormal type and the grid optimization dispatching strategy.
[0039] As an improvement of the above scheme, the method combines the historical performance data, operation log and real-time monitoring data of the power grid, generates potential fault points and risk areas through a preset second neural network, and adaptively adjusts the power output of the power protection objects in the potential fault points and risk areas, including:
[0040] Combining the historical performance data, operation logs and real-time monitoring data of the power grid, the preset second neural network generates potential fault points and risk areas;
[0041] Combined with the real-time operation status and topological structure of the power grid, a multi-objective optimization model is established with minimizing energy loss and maximizing load transfer capacity as objective functions, and with power grid flow constraints, equipment capacity constraints, etc. as constraints.
[0042] The potential fault point, the risk area and the control target are input into the multi-objective optimization model to obtain a power adjustment plan for the power protection objects in the potential fault point and the risk area, and the power output of the power protection objects in the potential fault point and the risk area is adaptively adjusted according to the power adjustment plan.
[0043] The embodiment of the present invention further provides a power grid security dynamic management and control system for power security objects, including:
[0044] The model building module is used to obtain the distribution structure of the power grid, the location information of the power guarantee objects, the expected operation period and power demand, and to establish the power demand curve model and spatial load density model of the power grid;
[0045] A power flow value calculation module, used to extract the spatiotemporal characteristics of the power grid according to the power demand curve model and the spatial load density model, and calculate the power flow value using a pre-trained first neural network;
[0046] A first space address calculation module is used to calculate the first space address of a newly added power protection object according to the space load density model when a newly added power protection object is detected;
[0047] A power grid anomaly probability calculation module, used to calculate the power grid anomaly probability after connecting to the newly added power guarantee object in the digital twin model of power grid operation according to the power flow value and the first spatial address;
[0048] A second space address optimization module is used to optimize the address of the newly added power guarantee object to obtain a second space address if the power grid abnormality probability is greater than a preset threshold; otherwise, the first space address is used as the second space address;
[0049] The power security object access module is used to connect the newly added power security object to the actual power grid according to the second spatial address, and update the power demand curve model and the spatial load density model.
[0050] Compared with the prior art, the present invention discloses a method and system for dynamic control of power grid security for power security objects, which establishes a power demand curve model and a spatial load density model of the power grid by acquiring the distribution structure of the power grid, the location information of the power security objects, the expected operating period and the power demand; according to the power demand curve model and the spatial load density model, the spatiotemporal characteristics of the power grid are extracted, and the power flow value is calculated using a pre-trained first neural network; when a new power security object is detected, the first spatial address of the new power security object is calculated according to the spatial load density model; according to the power flow value and the first spatial address, the power grid abnormality probability after the new power security object is connected is calculated in the digital twin model of the power grid operation; if the power grid abnormality probability is greater than a preset threshold, the address of the new power security object is optimized to obtain a second spatial address; otherwise, the first spatial address is used as the second spatial address; according to the second spatial address, the new power security object is connected to the actual power grid, and the power demand curve model and the spatial load density model are updated. By adopting the embodiments of the present invention, it is possible to analyze the dynamic impact of power security objects on the power grid in a targeted manner, and optimize the spatial address of the new power security objects when they are detected, thereby reducing the abnormal probability of the power grid system, effectively improving the operating efficiency and reliability of the power grid, and being able to optimize the overall performance and stability of the power grid. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 It is a schematic diagram of the steps of a method for dynamic control of power grid security for power security objects provided by an embodiment of the present invention;
[0052] Figure 2 It is a module diagram of a power grid security dynamic management and control system for power protection objects provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0054] In the description of the specification and claims, it is to be understood that the terms first, second, etc. in the specification and claims are only used for the purpose of describing the same technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated, nor necessarily describing the order or time sequence. The terms are interchangeable where appropriate. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features.
[0055] See also Figure 1 , an embodiment of the present invention provides a schematic flow chart of the steps of a method for dynamic control of power grid security for power protection objects. In this embodiment, the method for dynamic control of power grid security for power protection objects is specifically performed through steps S1 to S6:
[0056] S1. Obtain the distribution structure of the power grid, the location information of the power supply guarantee objects, the expected operating time period and power demand, and establish the power demand curve model and spatial load density model of the power grid.
[0057] By establishing a power demand curve model for the power grid, the peak and trough periods of power demand in different time periods can be determined; by establishing a spatial load density model for the power grid, the spatial distribution of the power grid can be reflected, and the coverage and density of the power grid can be further obtained.
[0058] In a preferred embodiment, the spatial load density model represents the power grid density and coverage of different areas in the map through color depth and distribution range, thereby realizing model visualization.
[0059] S2. Extracting the spatiotemporal characteristics of the power grid according to the power demand curve model and the spatial load density model, and calculating the power flow value using a pre-trained first neural network.
[0060] The power demand curve model reflects the characteristics of the power grid in the time dimension, and the spatial load density model reflects the characteristics of the power grid in the spatial dimension. By comprehensively analyzing the time characteristics and spatial characteristics, it is possible to predict future power demand and obtain power flow values. As the basic data for power system analysis and operation management, power flow values can help power system operators understand the actual operation of the power grid, guide power grid planning, design and operation decisions, and ensure the safe, stable and efficient operation of the power grid.
[0061] S3. When a new power protection object is detected, a first spatial address of the new power protection object is calculated according to the spatial load density model.
[0062] In the embodiment of the present invention, by continuously tracking the power grid operation status data and utilizing data comparison and anomaly detection algorithms, it is possible to determine whether there are new power guarantee objects in the power grid.
[0063] It should be noted that when a new power guarantee object is detected, the specification parameters and access location and other information of the new power guarantee object can be obtained at the same time, and the first spatial address of the new power guarantee object can be further calculated according to the access location and the spatial load density model. The first spatial address is the spatial address of the new power guarantee object preliminarily determined, which comprehensively considers the specification parameters of the new power guarantee object and the spatial location of the surrounding power guarantee objects.
[0064] S4. According to the power flow value and the first spatial address, the probability of power grid abnormality after the new power guarantee object is connected is calculated in the digital twin model of power grid operation.
[0065] It should be noted that the digital twin model corresponds to the actual physical power grid, and maps the grid topology, equipment parameters, load distribution and other information of the actual power grid, which is used to realize real-time visualization of the grid operation status. By introducing new power guarantee objects in the digital twin model, the impact of the new power guarantee objects on the grid operation can be monitored in real time, and the probability of grid abnormality can be calculated. Furthermore, according to the pre-trained optimization scheduling strategy, control instructions can be automatically issued to optimize and adjust the output, reactive power compensation and other parameters of the new power guarantee objects, so as to realize the efficient utilization of the new power guarantee objects and the safe and economic operation of the power grid.
[0066] S5. If the power grid abnormality probability is greater than a preset threshold, the address of the newly added power protection object is optimized to obtain a second space address; otherwise, the first space address is used as the second space address.
[0067] It can be understood that if the probability of power grid abnormality is greater than the preset threshold, it means that the initially determined first spatial address is not the preferred spatial address. If the new power protection object is connected to the power grid according to this spatial address, it may cause instability in the power grid. Therefore, the embodiment of the present invention determines whether to further optimize the first spatial address based on the probability of power grid abnormality to reduce the adverse effects of the new power protection object on the power flow.
[0068] In the example of the present invention, the comparison between the power grid abnormality probability and the preset threshold value can be carried out through any of the following aspects: on the one hand, a single-sample T test is used to compare the mean abnormality probability after the new power protection object is connected with the preset first threshold value to determine whether there is a significant difference; on the other hand, a KS test is used to compare the distribution of abnormality probabilities before and after the new power protection object is connected to determine whether a significant change has occurred.
[0069] For example, when the newly added power guarantee object is a wind turbine and the grid abnormality probability is calculated, the Bootstrap method is used for resampling to generate 10,000 risk probability samples, and then the single-sample T test is used to test whether the risk level after the new wind turbine is connected is significantly higher than the threshold of 0.05 at a confidence level of 95%.
[0070] S6. According to the second spatial address, the newly added power guarantee object is connected to the actual power grid, and the power demand curve model and the spatial load density model are updated.
[0071] In the above scheme, by combining the power demand curve model and spatial load density model of the power grid, the peak and trough periods of power demand in the power grid at different times can be determined, and the coverage and density of the power grid can be described; by simulating the process of connecting new power security objects to the power grid in the digital twin model, combined with the power flow value, the specific impact of the new power security objects on the power supply stability can be evaluated; when the simulation results show that the abnormality probability is greater than the set threshold, it means that the preliminarily determined first spatial address is not the preferred spatial address. If the new power security object is connected to the power grid according to this spatial address, it may cause instability in the power grid. By adjusting the spatial address of the new power security object, the overall performance and stability of the power grid can be optimized; the method for dynamic power grid security control for power security objects described in an embodiment of the present invention is adopted to effectively improve the operating efficiency and reliability of the power grid.
[0072] In the embodiment of the present invention, by mapping the grid topology, equipment parameters, load distribution and other information into the virtual environment, a digital grid that runs synchronously with the physical grid is formed, and a digital twin model of the grid operation is further established. By using power system simulation software such as PSASP and PSCAD, the grid topology, equipment parameters and other information are input into the software to build a digital twin model corresponding to the physical grid.
[0073] In a preferred embodiment, when building a digital twin model of the power grid, the power flow calculation and state estimation functions in the PSASP software are used to input parameter information of power grid components such as transmission lines and substations with voltage levels of 220kV and above, such as line length, reactance, transformer capacity, etc., to build a basic power grid model covering the entire province. Through the API interface, the load power, voltage and current data collected by real-time data acquisition systems such as substation automation systems and distribution automation systems are transmitted to the digital twin system in real time with a cycle of 30 seconds, and the Kalman filter algorithm is used to fuse the data to achieve synchronous mapping of the physical power grid and the digital power grid. Using the Unity3D engine, three-dimensional modeling of power grid equipment such as substations and transmission lines is performed, and three-dimensional models of substation structures, poles, and wires are built in a virtual environment at a ratio of 1:1, and mapped and associated with the power flow calculation model to achieve three-dimensional visualization of the power grid operation status.
[0074] As a preferred implementation, step S1, obtaining the distribution structure of the power grid, the location information of the power guarantee object, the expected operation period and the power demand, and establishing the power demand curve model and the spatial load density model of the power grid, includes:
[0075] Obtain the estimated operating time and power demand of the power supply guarantee object, and use spatiotemporal data analysis technology to establish the time-power demand curve of the power grid;
[0076] Obtain the distribution structure of the power grid and the location information of the power supply guarantee objects, and establish a spatial-grid density map reflecting the power grid through the GIS system;
[0077] Adopting an association rule mining algorithm, extracting a peak power demand period, a trough power demand period and a power grid density area according to the time-power demand curve and the space-power grid density map;
[0078] During the peak period of electricity demand, the grid topology is optimized and the input of electricity resources is increased. During the trough period of electricity demand, the power supply capacity and stability of the densely populated areas of the grid are reduced. The incremental update algorithm is used to update the time-electricity demand curve and the space-grid density map in real time to obtain the power demand curve model and spatial load density model of the grid.
[0079] In an embodiment of the present invention, the estimated operation time period and corresponding power demand data of the power guarantee object are obtained, and the power demand curve model of the power grid in different time periods is established by using the spatiotemporal data analysis technology. By analyzing the peak and valley values of the curve, the peak and valley periods of power demand of the power grid in different time periods are determined. At the same time, the location information of the power guarantee object is combined with the geographical distribution structure of the power grid, and a power grid density map reflecting the spatial distribution density of the power grid is generated through the geographic information system. According to the color depth and distribution range of different areas in the map, the coverage and density of the power grid are judged. Next, attribute association analysis is performed on the time-power demand curve and the space-power grid density map, and the key attributes such as the peak power demand period and the power grid intensive area are extracted by using the association rule mining algorithm, and the internal connection and mutual influence between these attributes are explored to construct an attribute association model. According to the attribute association model, the steps of formulating a dynamic adjustment of the power grid operation strategy and resource allocation plan include identifying the peak power demand period and the power grid intensive area; during the peak power demand period, the power supply capacity and stability of the power grid intensive area are improved by optimizing the power grid topology and increasing the power resource input; during the power demand trough period, the power supply in the power grid intensive area is reduced and the power grid operation mode is optimized to reduce energy waste.
[0080] In addition, in order to achieve real-time optimization of power grid operation, big data analysis technology is used through platforms such as Hadoop or Spark to continuously track data such as power flow and load changes during power grid operation, and the incremental update algorithm is used to update the time-power demand curve and space-power grid density map in real time. According to the updated model, the power grid operation strategy and resource allocation plan are dynamically adjusted to improve the operation efficiency of the power grid and the utilization rate of power resources. First, a big data processing platform is built to collect and transmit power grid operation data in real time. Then, the collected data is cleaned, converted and loaded to build a real-time data warehouse. Then, incremental update algorithms, such as sliding window algorithms or accumulator algorithms, are applied to update the time-power demand curve and space-power grid density map in real time. According to the updated model, adjustment instructions for the power grid operation strategy and resource allocation plan are automatically generated, and real-time optimization control of the power grid is achieved through the power grid dispatching system.
[0081] Exemplarily, when obtaining the expected operating time period of the power guarantee object and the corresponding power demand data, the power consumption data of different time periods within a month can be collected, such as collecting current, voltage and other parameters every 15 minutes. Then, the power demand curve model of the power grid in different time periods is established by using spatiotemporal data analysis techniques, such as time series analysis and spatial clustering analysis. Specifically, the ARIMA model or LSTM neural network model can be used to train the collected power consumption data to obtain a time series model reflecting the trend of power demand changes. By analyzing the peak and valley values of the model, such as identifying that the power consumption from 14:00 to 15:00 and 20:00 to 21:00 every day is significantly higher than other time periods, the peak power demand period of the power grid in these two time periods is determined. When generating a power grid density map, the latitude and longitude coordinate information of the power guarantee object can be superimposed and analyzed with the geographic distribution vector map of the power grid, and a power grid density grid map with a resolution of 100 meters can be generated by using spatial interpolation methods such as kernel density estimation. According to the color depth of the grid, such as the dark red area indicates that the power grid density is higher than 80%, the high-density coverage of the power grid is judged. For attribute association analysis, the Apriori algorithm can be used, with the minimum support set to 0.05 and the minimum confidence set to 0.8, to mine association rules between attributes such as peak power demand periods and power grid density areas, such as "IF time period = 14:00-15:00 THEN power grid density > 80%", and to build an attribute association model based on the support and confidence of the rule. When optimizing power grid operation in real time, a real-time data processing platform based on Spark Streaming can be built to receive power grid operation parameter data every 30 seconds, and to achieve cumulative data updates by setting data receiving windows and sliding steps. Then, incremental learning algorithms, such as the Hoeffding tree or the CluStream algorithm, are used to update the time-power demand curve and the space-power grid density map in real time. When new data arrives, the algorithm can quickly update the model parameters without retraining the entire model to ensure the timeliness of the model. Based on the updated model, adjustment instructions for the power grid operation strategy and resource allocation plan are automatically generated, such as "during the 14:00-15:00 period, adjust the power grid topology to a daisy chain and increase the investment in backup power supply", and precise control is achieved through the power grid dispatching system.
[0082] As a preferred implementation, step S2, extracting the spatiotemporal characteristics of the power grid according to the power demand curve model and the spatial load density model, and calculating the power flow value using a pre-trained first neural network, includes:
[0083] According to the power grid demand curve model, extracting the average value, maximum value, minimum value and standard deviation characteristics of the power demand of the power grid at each time granularity as the time characteristics of the power grid;
[0084] According to the spatial load density model, the average value, maximum value and minimum value characteristics of the power grid density in the power grid area are extracted as the spatial characteristics of the power grid;
[0085] fusing the time characteristics and the space characteristics as the time and space characteristics of the power grid;
[0086] The spatiotemporal characteristics are input into a pre-trained first neural network to calculate the power flow value of the power grid; the pre-trained first neural network is used to calculate the power flow value, and its training samples are historical power flow data and the spatiotemporal characteristics.
[0087] In an embodiment of the present invention, the time-power demand curve and the space-grid density map are used as input data, and the peak and valley characteristics of power demand in the time dimension and the distribution characteristics of power grid density in the space dimension are extracted through feature engineering processing to construct a multi-dimensional feature vector. For the power demand data in the time dimension, the statistical characteristics of each time granularity, such as the average value, maximum value, minimum value, standard deviation, etc., are extracted to characterize the overall trend and fluctuation of power demand; for the power grid density data in the space dimension, the statistical characteristics of power grid density in different regions are extracted, such as the average value, maximum value, minimum value, etc. of the power grid density in the region, to characterize the spatial distribution characteristics of the power grid load in the region. After extracting the time dimension and space dimension features, the features of different dimensions are fused using methods such as feature splicing and feature crossing to construct a multi-dimensional feature vector. Considering that the input data contains time series, a recurrent neural network (RNN) or a long short-term memory network (LSTM) is used to model the spatiotemporal features. Compared with CNN, RNN and LSTM can better capture the long-term dependencies of time series data and are more suitable for processing input data containing time dimensions. By introducing memory units and gating mechanisms in the hidden layer of RNN or LSTM, time series data can be effectively modeled and the correlation patterns between different time steps can be mined. The historical power flow data is divided into training set and test set. The RNN or LSTM model is trained with the training set data. The model parameters are continuously adjusted through the back propagation algorithm and gradient descent optimization, so that the model can minimize the prediction error and improve the prediction accuracy. After the model training is completed, the model is evaluated with the test set data. The prediction performance of the model is comprehensively measured by calculating evaluation indicators such as root mean square error (RMSE), mean absolute percentage error (MAPE) and mean absolute error (MAE). The trained RNN or LSTM model is applied to the power flow prediction task, and the input feature vector is constructed based on the time-power demand curve and space-grid density map data collected in real time. The input feature vector is passed to the trained RNN or LSTM model in chronological order. At each time step, the hidden layer of RNN or LSTM receives the input of the current time step and the hidden state of the previous time step, and obtains the hidden state of the current time step through nonlinear transformation. At the last time step, the hidden state is passed to the output layer, and the power flow value is obtained through the fully connected layer and activation function.
[0088] As an example, when performing feature engineering, the sliding time window method can be used, with a time granularity of 1 hour, to extract statistical features such as the average, maximum, minimum, and standard deviation of electricity demand in the past 24 hours, as well as the predicted value of electricity demand in the next 24 hours, to construct a time dimension feature vector; at the same time, the power grid is divided into 100 meters × 100 meters grids, and the spatial dimension features such as the number of power grid equipment and the total power load in each grid are calculated. Through grid processing, the spatial features are mapped to a two-dimensional matrix. Then, data normalization methods such as maximum and minimum value normalization or Z-score normalization are used to normalize the time dimension and space dimension features to eliminate the influence of different feature dimensions. Next, a long short-term memory network (LSTM) is used to construct a spatiotemporal sequence prediction model, and the number of hidden layers of LSTM is set to 3 layers, each layer contains 128 neurons, and the tanh activation function and Adam optimizer are used. The learning rate is set to 0.001 and the number of training rounds is 100 rounds. During the training process, the mean square error (MSE) is used as the loss function to iteratively update the model parameters to obtain a trained LSTM model. The trained LSTM model is used to predict power flow. For each time step, the corresponding spatiotemporal feature vector is input into the LSTM model. After calculation by the encoder and decoder, the power flow value within the next 24 hours is obtained.
[0089] Preferably, step S3, when a new power protection object is detected, calculating the first spatial address of the new power protection object according to the spatial load density model, includes:
[0090] When a new power protection object is detected, obtaining the type and specification parameter information of the new power protection object;
[0091] According to the type of the power protection object and the specification parameter information, combined with the spatial load density model, spatial interpolation and topological analysis methods are used to calculate the first spatial address of the newly added power protection object.
[0092] In an embodiment of the present invention, by continuously tracking the grid operation status data, using data comparison and anomaly detection algorithms, it is determined whether there are new power protection objects connected to the grid. Data comparison uses a hash algorithm, such as MD5 or SHA-256, to calculate the hash value of the grid operation status data, and quickly determine whether the data has changed by comparing the hash value difference between the new data and the old data; anomaly detection uses a statistical method, such as the 3-σ principle or the box plot method, to perform statistical analysis on various indicators of the grid operation status data, determine the range of normal values, and if an indicator exceeds the normal range, it is determined to be abnormal. If a new power protection object is monitored, the specification parameter information of the power protection object is obtained, including rated power, voltage level, access location, etc. These specification parameter information are compared and analyzed with the specification data of the existing power guarantee objects in the power grid, and the type attributes of the newly added power guarantee objects are determined through similarity calculation and cluster analysis; the similarity calculation uses common similarity measurement methods such as Euclidean distance and cosine similarity to calculate the similarity between the new power guarantee objects and the existing power guarantee objects in terms of specification parameters; the cluster analysis uses common clustering algorithms such as K-means clustering and hierarchical clustering to divide the power guarantee objects into different categories according to their specification parameters, and determine the type attributes of the newly added power guarantee objects based on the clustering results. According to the type attributes and specification parameter information of the newly added power guarantee objects, combined with the space-power grid density map, spatial interpolation and topological analysis methods are used to calculate the spatial coordinate address of the newly added power guarantee objects to obtain their location distribution information in the power grid. Spatial interpolation uses commonly used spatial interpolation algorithms such as Kriging interpolation and inverse distance weighted interpolation to estimate the spatial coordinates of the new power security objects based on their specification parameters and the spatial positions of the surrounding power security objects. Topological analysis uses graph theory algorithms, such as the shortest path algorithm or the minimum spanning tree algorithm, to analyze the relationship between the new power security objects and the existing power grid topology structure, and optimize the access location of the new power security objects.
[0093] In a preferred embodiment, the grid operation status data, including line flow, node voltage, equipment status, etc., are collected every 5 minutes, and the collected data is subjected to MD5 hash calculation and compared with the hash value of the previous moment. If the hash value is inconsistent, it is determined that the data has changed and the abnormal detection process is triggered. The abnormal detection adopts the 3-σ principle to calculate the mean and standard deviation of each indicator. If an indicator exceeds the range of ±3 times the standard deviation of the mean, it is determined to be abnormal and an abnormal alarm information is generated. If the alarm information contains information about the newly added power equipment, the specification parameters of the equipment are extracted, such as the rated voltage of 110kV, the rated power of 50MW, and the access location is the bus side of substation A, etc. The Euclidean distance is used to calculate the similarity with the existing equipment, and the K-means clustering algorithm is used for classification. The type of equipment to which it belongs is determined according to the clustering results, such as the newly added equipment belongs to a wind turbine. According to the equipment type and specification parameters, the Kriging interpolation algorithm is used to estimate its spatial coordinates, and its longitude and latitude coordinates are obtained as (120.234, 30.123), which is used as the first spatial address.
[0094] In a preferred implementation, step S4, calculating the power grid abnormality probability after connecting to the newly added power protection object in the digital twin model of power grid operation according to the power flow value and the first spatial address, includes:
[0095] According to the first spatial address, a virtual model of the newly added power security object is introduced into the digital twin model of the power grid operation;
[0096] According to the power flow value, a power flow algorithm is used to calculate the power flow distribution and voltage level of the power grid after the newly added power guarantee object is connected;
[0097] The probability distribution of abnormal situations occurring is calculated according to the power grid flow distribution and the voltage level as the power grid abnormality probability; the abnormal situations include power supply shortage and overload.
[0098] Preferably, by using virtual reality technology, such as the Unity3D engine, the digital power grid model is combined with a three-dimensional visualization scene to generate an immersive power grid virtual environment and realize real-time visualization of the power grid operation status. In the digital power grid, a virtual model of the newly added power guarantee object is introduced, and its access to the power grid is simulated according to its specification parameters and spatial address information, and it is associated and interacted with other power grid equipment models to reflect the impact of the newly added power guarantee object on the power grid operation in real time. The power flow calculation algorithm, such as the Newton-Raphson method and the fast decoupling method, is used to calculate the power grid flow distribution and voltage level after the newly added power guarantee object is connected, combined with the power flow prediction data, to evaluate its impact on the power supply capacity and stability of the power grid. Through the probabilistic power flow calculation method, the random fluctuations of uncertain factors such as power output, load demand, and line parameters are considered, and the power grid operation status after the newly added power guarantee object is connected is comprehensively evaluated. The Latin hypercube sampling method is used to generate a representative set of random working condition samples based on the probability distribution of uncertain factors such as power output and load demand, covering various possible situations of power grid operation; the copula function is used to characterize the correlation between different uncertain factors, generate more realistic random working condition samples, and improve the reliability of the evaluation results. Further, based on a large number of random working condition samples, the probability distribution of abnormal situations such as power shortage and overload is calculated; the calculated abnormal probability is compared with the preset threshold, and the statistical hypothesis test method is used to determine whether the power grid operation risk after the access of the newly added power guarantee object exceeds the acceptable range.
[0099] For example, for newly added wind farm projects, a three-dimensional model of the wind turbine is built according to the rated power, tower height, blade diameter and other parameters of the wind turbine, and embedded in the digital grid environment. At the corresponding position of the wind turbine model, online monitoring equipment such as wind towers and meteorological stations are deployed, and connected to the external wind power prediction system through the co-simulation interface to obtain the wind power prediction curve within the next 48 hours in real time as the input of the probability flow calculation. The Latin hypercube sampling algorithm is used to generate 1,000 random working condition samples based on the Weibull distribution of wind speed and the normal distribution of load. Each sample contains the output curve of the wind turbine for 48 hours and the load curve of the entire network. Using the N-1 verification function in PSASP, the static safety of the power grid after the new wind power is connected under these 1,000 working conditions is analyzed, and dangerous situations such as line overload and voltage over-limit are statistically analyzed to obtain the risk probability distribution.
[0100] As a preferred implementation, step S5, if the power grid abnormality probability is greater than a preset threshold, the address of the newly added power protection object is optimized to obtain a second space address; otherwise, the first space address is used as the second space address, including:
[0101] If the probability of power grid abnormality is greater than a preset threshold, a sensitivity analysis and criticality ranking method is used to identify the key influencing factors causing the abnormality, and based on the risk measurement index, it is determined whether it is necessary to adjust the access plan of the newly added power guarantee object; when the access plan needs to be adjusted, a multi-objective optimization algorithm is used to minimize the power supply risk and maximize the consumption of new energy, optimize the spatial address and access parameters of the newly added power guarantee object, and obtain the second spatial address;
[0102] If the power grid abnormality probability is not greater than a preset threshold, the first space address is used as the second space address.
[0103] In one embodiment of the present invention, if the probability of power grid abnormality exceeds the threshold, a sensitivity analysis and criticality ranking method is used to identify the key influencing factors causing the abnormality, and according to risk measurement indicators, such as power supply reliability index SAIFI, SAIDI, etc., it is determined whether it is necessary to adjust the access plan of the newly added power guarantee object. The Morris screening method is used to calculate the change rate of the power grid abnormality probability by repeatedly changing the access location and capacity of the newly added power guarantee object, and obtain the sensitivity coefficient of the power grid abnormality probability to each influencing factor; the Sobol index method is used, based on the variance decomposition principle, to calculate the contribution rate of each influencing factor in the total variance of the power grid abnormality probability, and obtain the criticality ranking of each factor. If the access plan needs to be adjusted, a multi-objective optimization algorithm is used to optimize the spatial address and access parameters of the newly added power guarantee object, such as access point location, access capacity, etc., with the goal of minimizing power supply risks and maximizing new energy consumption, so as to obtain a risk-controllable, economical and efficient access plan. Taking the new energy consumption rate, power grid loss rate, power supply reliability and other indicators as optimization targets, a multi-objective optimization model is established to form the objective function and constraint conditions; the weighted method is used to normalize multiple targets, and the multi-objective optimization problem is converted into a single-objective optimization problem by setting different weight coefficients. The optimization model is solved by using intelligent optimization algorithms such as genetic algorithm and particle swarm algorithm to obtain the optimal access plan for the newly added power guarantee objects. The optimized access plan for the newly added power guarantee objects is applied to the actual power grid operation, and the smooth access and optimized scheduling of the newly added power guarantee objects are realized through the power grid automation control system, such as the energy management system EMS and the distribution automation system DAS, to ensure the safe and stable operation of the power grid. In the EMS system, the access plan information of the newly added power guarantee objects is entered into the database, and the impact of the newly added power guarantee objects on the power grid operation is monitored in real time through functional modules such as state estimation and safety verification, and control instructions are automatically issued according to the optimization scheduling strategy to optimize and adjust the output, reactive power compensation and other parameters of the newly added power guarantee objects. In the DAS system, the distribution lines and switchgear connected to the newly added power guarantee objects are automated to realize automatic control functions such as fault isolation and load transfer, thereby improving the power supply reliability and flexibility of the distribution network; through the coordinated optimization of the power grid automation control system, the efficient utilization of the newly added power guarantee objects and the safe and economical operation of the power grid can be achieved.
[0104] For example, if the probability of grid anomaly exceeds the preset threshold, the Sobol index method is used to calculate the contribution rate of key factors affecting the risk, such as wind power access capacity and access location, and sort them from high to low according to the contribution rate. With maximizing the amount of new energy consumption and minimizing line investment as the objective function, a multi-objective optimization model is established. At the same time, multiple constraints such as voltage qualification rate and line current carrying rate are considered. The model is solved using an improved multi-objective particle swarm algorithm to obtain the Pareto optimal solution set of wind power access capacity and access location. The optimal solution is sorted from low to high according to the line investment cost, and the access plan with the lowest investment cost and the new energy consumption that meets the requirements is selected. A detailed simulation verification is carried out in the digital twin system, including 72 hours of continuous steady-state simulation and transient simulation under N-2 accident conditions, and stability indicators such as voltage, frequency, and power angle are evaluated to ensure the feasibility and safety of the access plan. The optimized wind power access plan is sent to the EMS system. Through the intelligent grid dispatching algorithm, the output dispatching of wind turbines and the reactive power compensation of substations are optimized in real time to minimize the impact of wind power fluctuations on the grid, thereby achieving efficient consumption of wind power and stable operation of the grid.
[0105] Further, as a preferred implementation, in step S6, after the newly added power guarantee object is connected to the actual power grid according to the second spatial address, and the power demand curve model and the spatial load density model are updated, the power grid security dynamic management and control method further includes:
[0106] Compare the performance indicators of the power grid before and after access, evaluate the impact of the newly added power guarantee objects on the performance indicators of the power grid, and generate corresponding power grid performance optimization suggestions.
[0107] In an embodiment of the present invention, the operation parameters of the power grid before and after the access of the newly added power guarantee object are collected at a certain sampling frequency (such as 15 minutes) through online monitoring equipment such as the power monitoring system and the smart meter, including bus voltage, line power, equipment status, etc., to form an operation data set for the two time periods before and after the access. The collected data is cleaned and standardized, outliers and missing values are removed, and the data is converted into a unified dimension and format to facilitate subsequent comparative analysis. Using the data analysis platform, the operation data of the two time periods are compared and analyzed, and statistical methods such as T test and variance analysis are used to test whether the differences in various performance indicators of the power grid before and after the access are significant, and to determine the degree of influence of the newly added power guarantee object on the power grid performance. For the performance indicators that are significantly affected, the change trend and influencing factors are deeply analyzed, and data mining algorithms such as association rules and decision trees are used to explore the association patterns and laws between the access of the newly added power guarantee object and the change of power grid performance, and identify key influencing factors. Association rule mining is suitable for discovering the correlation between variables, such as "new wind farm access → increased line reactive power → increased bus voltage fluctuations", etc., but it is easy to generate a large number of rules and requires further screening; decision trees are suitable for discovering causality between variables, such as "new electric vehicle charging piles → increased distribution transformer load rate → decreased power supply reliability", etc., but they are more sensitive to data quality and feature selection. Combined with the experience of experts in the fields of power system planning, operation, protection, etc., the association patterns and laws discovered by data mining are explained and evaluated.
[0108] Through expert scoring, hierarchical analysis and other methods, the importance and controllability of influencing factors are evaluated, and the key influencing factors are screened out in combination with the actual situation of the power grid. According to the key influencing factors, the corresponding power grid optimization control strategy is formulated. For example, for the newly added power source objects, their impact on the voltage stability of the power grid can be reduced by optimizing their output scheduling and reactive power compensation; for the newly added load objects, their friendly interaction level with the power grid can be improved by optimizing their power consumption curve and demand response. Use power system simulation software such as PSASP and DIgSILENT to build a power grid model before and after the access of the newly added power guarantee objects, and input the parameter settings corresponding to the optimization control strategy. Through power flow calculation, analyze the state variables such as voltage distribution and line power flow of the power grid before and after optimization. Through transient simulation, analyze the dynamic response characteristics and fault recovery capabilities of the power grid before and after optimization. Set quantitative indicators such as voltage qualification rate, line loss rate, power supply reliability rate, etc., compare the improvement degree of indicators before and after optimization, and evaluate the optimization effect. Identify the risk factors that may be brought about by the optimization control strategy, such as the uncertainty of new energy power generation, the market risk of electricity price adjustment, and the investment risk of environmental protection facilities. Fault tree analysis, Monte Carlo simulation and other methods are used to evaluate the probability and consequences of various risk factors, calculate the risk level, and formulate risk control measures. A grid performance optimization recommendation report for newly added power guarantee objects is formed, including the specific implementation plan of the optimization control strategy, effect evaluation results and risk warnings, and submitted to the grid dispatching and control center.
[0109] Then, the dispatching and control center formulates access commissioning and optimization control plans for the newly added power guarantee objects based on the optimization recommendation report, combined with the real-time operation status of the power grid and other optimization needs, and issues optimization control instructions to the newly added power guarantee objects through power grid automation control systems, such as EMS and DMS, to guide their optimized operation. The issuance of optimization control instructions adopts safe and reliable communication protocols, such as IEC61850 and DNP3, to ensure the accurate transmission and execution of instructions. At the same time, through the intelligent operation and maintenance platform, the operation status of the newly added power guarantee objects is monitored in real time, their operation data is collected, the execution effect of the optimization control is evaluated, and a closed-loop feedback is formed to achieve coordinated interaction between the newly added power guarantee objects and the power grid, and improve the overall operation performance and efficiency of the power grid.
[0110] As an example, a newly added large wind farm in a certain city is installed with 50 wind turbines with a single unit capacity of 2MW, and the total installed capacity reaches 100MW. Before the wind farm is connected to the grid, the power monitoring system is used to collect data from the original power grid for one month, with a sampling frequency of 15 minutes, and a total of 2880 data points are collected. After the wind farm is connected to the grid, the operation data is collected for one month. After data cleaning and standardization, two time series data sets before and after the grid connection are obtained. SPSS software is used to perform a paired sample T test on the two data sets, and it is found that the reactive power fluctuation of the 110kV line increases significantly after the grid connection, and the P value is less than 0.01. The Apriori association rule mining algorithm is used to analyze the data set after the grid connection. Under the conditions of minimum support of 20% and minimum confidence of 60%, the association rule "large fluctuation of wind farm output → large fluctuation of line reactive power → large bus voltage deviation" is obtained, with a lifting degree of 1.5. Combined with the experience and judgment of power system experts, it is determined that reducing the fluctuation of wind farm output is one of the key factors for optimal control. In view of this factor, a wind farm output optimization control strategy based on short-term wind speed prediction and energy storage system is formulated. The wind speed in the next 15 minutes, 1 hour and 4 hours is predicted by the least squares support vector machine (LSSVM) model, and the average prediction errors are 6%, 8% and 10% respectively. Using the prediction results, the pitch angle of the wind turbine and the charging and discharging power of the energy storage system are adjusted in advance to reduce the sharp fluctuation of wind power. The power flow model and dynamic model of the wind farm connected to the regional power grid are built in the DIgSILENT software. The fluctuation of bus voltage and frequency before and after optimization are compared and analyzed. After optimization, the voltage qualification rate is increased from 95.2% to 98.7%, and the frequency deviation is reduced from ±0.5Hz to ±0.2Hz. Through Monte Carlo simulation, 1000 random simulation analyses are carried out for risk factors such as wind speed prediction error and energy storage system failure. The results show that the economic benefits of the optimization control strategy have a 95% confidence level and the investment recovery period is within 5 years. A research report on the optimized control strategy for wind farms is prepared. The wind speed prediction results, energy storage control instructions and other data are sent to the wind farm control center in real time using the IEC61850MMS protocol through the DMS system. The operation of wind turbines and energy storage systems is coordinated through local intelligent controllers to achieve smooth output of wind power.
[0111] In the above scheme, after the new power guarantee objects are connected to the grid, the operating status of the grid is continuously monitored to further provide performance optimization suggestions for the grid, which is conducive to the continuous improvement and upgrading of the grid.
[0112] On the basis of the above-mentioned embodiment, the embodiment of the present invention further provides a method for dynamic control of power grid security for power protection objects, and the method for dynamic control of power grid security further includes steps S7 to S9:
[0113] S7. Using three-dimensional visualization technology, generate a three-dimensional spatial diagram of power flow according to the power demand model, the spatial load density model and the power flow value.
[0114] It should be noted that the use of three-dimensional visualization technology can combine the power flow value with the geographical information of the power grid to generate an intuitive and easy-to-understand three-dimensional spatial map of power flow. In the embodiment of the present invention, visual elements such as color and arrows are used to clearly display the power flow direction and flow in different time points and different areas, thereby providing auxiliary decision support for power grid scheduling and optimization.
[0115] Exemplarily, the Plotly library is used for three-dimensional visualization, with the predicted time as the X-axis, the grid node as the Y-axis, and the power flow as the Z-axis, to generate an interactive three-dimensional bar chart to intuitively display the spatiotemporal distribution of power flow.
[0116] S8. Calculate the load rate, voltage deviation and line power loss of the power flow according to the three-dimensional spatial diagram of power flow, and generate an early warning signal of abnormal situation.
[0117] It should be noted that the three-dimensional space diagram of power flow, as a visualization tool, can help users more intuitively understand the power flow in the power system, find problems, optimize solutions, guide decision-making and planning, and improve the operating efficiency and reliability of the power system. In an embodiment of the present invention, the three-dimensional space diagram of power flow is used to perform power flow analysis and fault analysis on the power grid, which can evaluate the performance of the power grid under different working conditions and provide support for fault location and recovery.
[0118] S9. Combining the historical performance data, operation logs and real-time monitoring data of the power grid, generating potential fault points and risk areas through a preset second neural network, and adaptively adjusting the power output of the power protection objects in the potential fault points and risk areas.
[0119] In an embodiment of the present invention, by real-time monitoring of each power protection object in the power grid and management of historical data, potential fault points and risk areas can be predicted, and the power output of related power protection objects can be adjusted in time to further optimize the performance indicators of the power grid.
[0120] It should also be noted that when a new power guarantee object is detected, the power flow three-dimensional spatial diagram should also be updated. The timing of the update can be when the first spatial address is calculated, or it can be updated after the second spatial address is determined. When updating the power flow three-dimensional spatial diagram, by adding the type attributes, specification parameters and spatial coordinate address of the new power guarantee object to the database of the power flow three-dimensional spatial diagram, the data update and model adjustment of the power flow three-dimensional spatial diagram are realized through the data fusion algorithm, so as to ensure that the spatial diagram can reflect the latest topological structure and operation status of the power grid in real time. The data fusion algorithm comprehensively considers the attribute information and spatial location information of the new power guarantee object, and seamlessly integrates it with the original power flow three-dimensional spatial diagram through operations such as data association and data mapping to form an updated three-dimensional spatial diagram. In the power flow three-dimensional spatial diagram, with the spatial coordinate address of the new power guarantee object as the center, three-dimensional modeling and rendering technology are used to generate a three-dimensional model that matches its specification parameters. Three-dimensional modeling adopts common three-dimensional modeling methods such as polygonal modeling and voxel modeling to generate a three-dimensional geometric model of the newly added power security object according to its type attributes and specification parameters; three-dimensional rendering adopts common rendering algorithms such as ray tracing and rasterization to perform material mapping, lighting calculation and shadow generation on the three-dimensional model of the new power security object to obtain a realistic rendering effect.
[0121] Then, the three-dimensional model of the newly added power guarantee object is seamlessly integrated with the original three-dimensional space diagram of power flow to form an updated three-dimensional space diagram. The updated three-dimensional space diagram of power flow is rendered and displayed in real time using a three-dimensional visualization engine. The three-dimensional visualization engine comprehensively utilizes computer graphics, human-computer interaction and other technologies to visualize and interact with the three-dimensional space diagram of power flow. Through dynamic perspective switching, zooming and panning and other functions, it fully displays the location and power flow of the newly added power guarantee object in the power grid, providing intuitive and comprehensive decision support for power grid dispatching and monitoring. Based on the updated three-dimensional space diagram of power flow, the power flow calculation software, PSS / E or PSCAD, is used to recalculate the power flow distribution and load balance status of the power grid, and evaluate the impact of the newly added power guarantee object on the operation of the power grid. Statistical analysis is performed on key indicators such as line power and node voltage, and a power flow analysis report is generated. According to the report, weak links and potential risks in the operation of the power grid are identified, such as line overload and voltage exceeding the limit.
[0122] Exemplarily, the information such as equipment type, specification parameters and spatial coordinates is stored in the three-dimensional space map database, and the original data and the newly added data are fused by using a data fusion algorithm, such as Kalman filtering, to update the three-dimensional space map model. Using three-dimensional modeling software such as 3dsMax, a three-dimensional model of the wind turbine is generated according to the equipment type and specification parameters, and a ray tracing algorithm is used for rendering to obtain a realistic three-dimensional rendering. The wind turbine model is added to the specified coordinate position in the three-dimensional space map, and the Unity3D engine is used to realize real-time rendering and interaction of the three-dimensional scene, supporting 360-degree all-round observation and zooming and panning operations. On the basis of the three-dimensional space map, the power flow calculation software PSCAD is used to calculate the power grid after the new wind turbine is connected, and the power and node voltage data of each line are obtained, and compared with the rated value, and the line load rate and voltage qualification rate and other indicators are calculated. According to the power flow calculation results, the access plan of the new wind turbine is optimized, such as by changing its connection mode with the adjacent node, connecting it to the line with a lower load rate, and adjusting its reactive output, and controlling the node voltage within the qualified range of 0.95-1.05pu to ensure the safe and stable operation of the power grid.
[0123] In the above scheme, by generating a three-dimensional spatial diagram of power flow, the power flow direction and flow rate at different time points and in different areas can be clearly displayed, providing auxiliary decision support for power grid dispatch and optimization; by monitoring the power security objects in the power grid and combining the power flow value, potential fault points and risk areas can be obtained, and the performance of the power grid can be optimized in a predictable manner, which is conducive to the continuous improvement and upgrading of the power grid.
[0124] Further, preferably, step S8, calculating the load rate, voltage deviation and line power loss of the power flow according to the three-dimensional space diagram of power flow, and generating an early warning signal of abnormal situation, includes:
[0125] According to the three-dimensional spatial diagram of power flow, the temporal and spatial distribution characteristics of the power grid flow are analyzed, and the load rate, voltage deviation and line power loss of the power flow are calculated by identifying the areas where the contradiction between power supply and demand is prominent;
[0126] According to the load rate of the power flow, the voltage deviation and the line power loss, the situations of excessively high load rate, excessive voltage deviation and abnormal line power loss are identified, and an early warning signal of the abnormal situation is generated; the early warning signal includes the abnormal type and the grid optimization dispatching strategy.
[0127] By further utilizing the generated three-dimensional spatial diagram of power flow, the temporal and spatial distribution characteristics of power grid flow are analyzed, weak areas with prominent contradictions between power supply and demand are identified, and the stability and security of power grid flow are evaluated. The load rate of power flow is calculated, that is, the ratio of actual power flow to rated transmission capacity of power equipment, and the load level of power equipment is evaluated; the voltage deviation of power flow is calculated, that is, the degree of deviation between actual voltage value and nominal voltage value, and the stability of power grid voltage is evaluated; the line power loss of power flow is calculated, that is, the loss of electric energy on the transmission line, and the transmission efficiency of the power grid is evaluated; early warning is issued for situations such as excessive load rate, excessive voltage deviation, abnormal line power loss, etc., and timely measures for optimizing power grid dispatch are taken.
[0128] For example, by calculating indicators such as the load rate, voltage deviation and line power loss of the power flow, the stability of the power grid flow is evaluated, such as identifying heavy-load lines with a load rate exceeding 80% and abnormal nodes with a voltage deviation exceeding 5%, and dynamically adjusting the power grid topology and power dispatching plan based on the evaluation results, such as switching part of the load to adjacent light-load lines, or adjusting the reactive compensation device of the power grid, to ensure the safe and stable operation of the power grid.
[0129] As a preferred implementation, step S9, combining historical performance data, operation logs and real-time monitoring data of the power grid, generating potential fault points and risk areas through a preset second neural network, and adaptively adjusting the power output of the power protection objects in the potential fault points and risk areas, includes:
[0130] Combining the historical performance data, operation logs and real-time monitoring data of the power grid, the preset second neural network generates potential fault points and risk areas;
[0131] Combined with the real-time operation status and topological structure of the power grid, a multi-objective optimization model is established with minimizing energy loss and maximizing load transfer capacity as objective functions, and with power grid flow constraints, equipment capacity constraints, etc. as constraints.
[0132] The potential fault point, the risk area and the control target are input into the multi-objective optimization model to obtain a power adjustment plan for the power protection objects in the potential fault point and the risk area, and the power output of the power protection objects in the potential fault point and the risk area is adaptively adjusted according to the power adjustment plan.
[0133] In a preferred embodiment of the present invention, the real-time monitoring data of various power guarantee objects such as generators, transformers, transmission lines, etc. are collected and uploaded to the data center in a second-level cycle, and the real-time monitoring data includes voltage, current, active power, reactive power, etc.; intelligent sensors and measuring devices such as micro-meteorological stations and online oil and gas monitoring devices are installed at key nodes such as substations and distribution rooms to collect state parameters such as environmental temperature and humidity, equipment temperature, and pressure in real time; for transmission lines, online monitoring devices such as conductor sag monitors and micro-meteorological monitors are used to collect conductor sag, wind deviation angle, ambient temperature and other data in real time, and transmit them back in real time through wireless communication networks; the collection frequency is set according to the data type and application scenario, such as telemetry data is collected once per second, state quantity data is collected once per minute, and alarm data is uploaded in real time. The collected real-time monitoring data is efficiently stored and managed through a time series database such as InfluxDB or Druid to build a real-time monitoring database for power grid operation. The historical performance data and operation logs of the power grid, such as equipment maintenance records, fault reports, operation tickets, etc., are regularly extracted from production management systems such as energy management systems (EMS) and distribution automation systems (DAS). After data cleaning and conversion, they are stored in relational databases such as MySQL or PostgreSQL to form a structured power grid historical database.
[0134] The data center is built using the big data processing platform, and the Lambda architecture is adopted to divide data processing into a batch processing layer and a stream processing layer. The batch processing layer uses Hadoop MapReduce or Spark batch processing engines to perform full calculations and analysis on historical data; the stream processing layer uses Spark Streaming or Flink real-time processing engines to perform incremental calculations and analysis on real-time data. On top of the batch processing layer and the stream processing layer, a unified data service layer is built to provide standardized data access interfaces and query languages to achieve seamless integration and consistent processing of batch and stream data. Message queues such as Kafka are used as buffers for batch and stream data exchange to achieve data transmission and decoupling between different data sources and different computing engines, ultimately achieving data association and fusion in the time and space dimensions, building a unified view of multi-source heterogeneous data, and providing a basis for subsequent data analysis and mining.
[0135] In some preferred embodiments, feature engineering is performed on the fused data, and the original data is cleaned and preprocessed, such as removing missing values, outliers, etc., and data normalization and standardization are performed. Statistical analysis and data mining methods, such as correlation analysis and principal component analysis, are used to extract key indicators that reflect the intrinsic characteristics and laws of the data, such as the peak-to-valley ratio of the load curve, the mean and variance of the equipment operation time, etc. Feature selection methods such as recursive feature elimination (RFE) and regularization (L1 / L2) are used to evaluate the importance of each feature for the prediction model and select the most discriminative and representative feature subset. Based on the results of feature engineering, machine learning algorithms such as support vector machine (SVM) and random forest (RandomForest) are used to train the power grid operation status assessment model and the equipment health prediction model, and the model is optimized and adjusted by cross-validation, leave-one-out method, etc. to improve the generalization performance and prediction accuracy of the model. Apply time series analysis and anomaly detection algorithms, such as ARIMA and LSTM, to model and predict the historical trends of key indicators of the power grid. Through dynamic thresholds and multi-dimensional cross-validation, abnormal fluctuations and potential risks in the operation of the power grid can be discovered in a timely manner to form a fault prediction model. When the early warning model detects that a certain indicator exceeds the threshold range, such as the line load rate is continuously higher than 80%, or the fault prediction model determines that the probability of a certain device failing in the next 24 hours is greater than 50%, an alarm event is automatically triggered, and graph theory and complex network analysis methods, such as the shortest path algorithm and connectivity algorithm, are used to calculate the criticality of the fault point or risk area in the power grid topology structure and evaluate its impact on the connectivity and reliability of the power grid. At the same time, power flow calculation and stability analysis methods, such as the node power flow method and the continuous power flow method, are used to calculate the impact of the fault point or risk area on the steady-state indicators such as the voltage, frequency, and power angle of the power grid, and evaluate its impact on the safety of power grid operation.
[0136] In addition, reliability assessment and risk analysis methods, such as fault tree analysis and Monte Carlo simulation, are used to calculate the probability and impact range of cascading failures or large-scale power outages caused by fault points or risk areas, and to evaluate their impact on power grid reliability. Based on the above analysis results, an impact range and severity assessment report of the fault point or risk area is generated and sent to the intelligent decision-making support system. After receiving the analysis report of the fault point or risk area, the intelligent decision-making support system combines the real-time operation status and topological structure of the power grid to establish a multi-objective optimization model with minimizing energy loss and maximizing load transfer capacity as objective functions and power grid flow constraints and equipment capacity constraints as constraints. The particle swarm optimization algorithm is used to set the number of particles to 50, the learning factor to 2, the inertia weight to 0.8, and the maximum number of iterations to 100. The multi-objective optimization model is solved to obtain the Pareto optimal solution set. At the same time, the simulated annealing algorithm is used to set the initial temperature to 100, the termination temperature to 1, the cooling coefficient to 0.95, and the number of inner loops to 10. The multi-objective optimization model is solved to obtain the global optimal solution. The solution sets obtained by the particle swarm optimization and simulated annealing algorithms are merged and screened, and the optimal control strategy and parameter combination are selected according to the real-time operation status and control objectives of the power grid to form a real-time control plan. By evaluating the feasibility and benefit-risk ratio of the plan, the optimal plan is automatically selected and control instructions are generated. The control instructions generated by the intelligent auxiliary decision-making system are sent to the power guarantee objects corresponding to the fault point or risk area through the remote automation control system, such as adjusting the active output of the generator, changing the tap position of the transformer, switching the switching state of the reactive compensation device, etc., to achieve real-time optimization control of the power grid operation status, eliminate or reduce the impact of fault points and risk areas on the safe and stable operation of the power grid, and improve the intelligent control level and power supply reliability of the power grid.
[0137] During the control process, the remote control system and the on-site equipment communicate using the IEC61850 standard protocol to ensure the real-time and reliability of the control instructions. After the on-site equipment executes the control instructions, it feeds back the execution results and equipment status to the remote control system in real time to form a closed-loop control.
[0138] For example, taking a city's power grid dispatching and control center as an example, the center is connected to the real-time monitoring data of all 110kV and above substations and transmission lines in the city, including 325 telemetering and 1253 telesignaling points, with a data collection frequency of once every 5 seconds. The monitoring data is transmitted to the data center in real time through a fiber-optic private network and stored in the InfluxDB time series database. The total amount of data reaches the TB level. The historical operation data of the past three years, including equipment parameters, operation records, fault reports and other unstructured data, are extracted from the EMS system and stored in the MongoDB database. The Spark platform is used to build a data processing flow, and SparkSQL is used to perform correlation analysis on structured and unstructured data, extracting 65 key features, such as line current, bus voltage, equipment temperature, etc. Then, the random forest algorithm is used to build a fault prediction model. Through grid search and cross-validation, the optimal parameters of the model are determined to be 100 trees and 0.8 feature subset ratios. The accuracy of the model on the test set reaches 95%. The trained model is used to predict the real-time monitoring data. When the current of a certain line exceeds 90% of the rated value for 1 minute, an early warning is triggered and an alarm event is generated. The alarm event is sent to the intelligent decision-making system through the Kafka message queue. The decision-making system uses the Drools rule engine to automatically generate a control strategy based on 18 pre-configured decision rules, such as "IF line current > rated value * 0.9 AND duration > 1 minute THEN reduce the output of the upstream generator by 10%". The control strategy is sent to the substation automation system through the OPC UA protocol to adjust the action logic and protection setting of the relevant switches to achieve active prevention and control of fault risks and avoid the expansion of accidents. By deploying this system, the power supply reliability rate of a certain city's power grid has increased by 0.2 percentage points, 18 tripping accidents have been reduced annually, and the power grid operation and maintenance costs have been saved by 5 million yuan.
[0139] Furthermore, in a preferred real-time manner, the method for dynamic control of power grid security for power security objects further includes:
[0140] The operating status of each power protection object is monitored through a status monitor. If the operating status of any power protection object is identified as abnormal, the abnormal data is obtained, and warning information and recommended measures are generated based on the abnormal data; the recommended measures include increasing or decreasing power tree holes or load transfer.
[0141] In an embodiment of the present invention, by deploying intelligent sensors and edge computing devices on each power guarantee object, a distributed state monitoring network is constructed to collect the operating parameters of the power guarantee object in real time, such as voltage, current, power, temperature, etc., and use data preprocessing techniques, such as data cleaning, outlier detection, etc., to perform quality control and preliminary analysis on the collected data to ensure the accuracy and reliability of the data. According to the type and characteristics of the power guarantee object, a suitable time series prediction model is selected, such as the LSTM model can be used for the generator set, and the anomaly detection model can be used for the transformer. The historical operation data is preprocessed, such as missing value filling, outlier filtering, etc., and the data set is divided into a training set, a validation set, and a test set according to a certain time window (such as 30 days); the model parameters are initialized, such as setting the number of hidden layers, the number of hidden units, the learning rate, etc. of the LSTM, and then the training set data is used to train the model, and the hyperparameters are tuned according to the loss function value of the validation set data. The trained and optimized model is evaluated using the test set data, and prediction error indicators such as MAE and RMSE are calculated to ensure that the generalization performance of the model meets the requirements. The future operating state of the power guarantee object is predicted using the trained time series prediction model to obtain the predicted operating parameter curve. The predicted operating parameter curve is compared with the real-time collected operating parameter data. By setting reasonable thresholds and rules, it is determined whether the actual operating state of the power guarantee object has abnormal deviations. If the actual operating parameters exceed the ±3σ range of the prediction curve, or exceed the ±2σ range of the prediction curve for 10 consecutive minutes, the power guarantee object is judged to have an abnormal operating state. When an abnormal operating state is detected, the state monitor automatically generates abnormal alarm information, including the time of the abnormal occurrence, the name of the abnormal parameter, the abnormal parameter value, etc., and uploads the abnormal alarm information to the network management center in real time through the intelligent communication gateway. The edge computing gateway, such as Huawei EC-IoT-800 edge computing gateway, supports a variety of industrial communication protocols such as Modbus, OPC UA, etc., to realize data collection and preprocessing with various intelligent sensors. The gateway has a built-in 5G communication module, supports 5GSA / NSA networks, and is connected to the network management center through a 5G private network to realize real-time reporting of abnormal alarm information and the issuance of remote control instructions. The gateway has certain local storage and computing capabilities, which can cache abnormal alarm information when the network is interrupted, and automatically report it after the network is restored to ensure the integrity and reliability of the data.
[0142] The network management center processes the received abnormal alarm information in a graded manner according to the pre-set alarm classification rules. For severe abnormal alarms, the sound and light alarm is triggered immediately to notify the on-duty personnel to check and handle them in time; for general abnormal alarms, an alarm notification email is sent to remind relevant personnel to pay attention and track. For the identified abnormal operation status, the network management center starts the abnormal analysis process, retrieves the historical operation data and real-time operation data of the abnormal power guarantee object and its associated power guarantee objects, and analyzes the cause and impact range of the abnormality through the big data analysis platform, using association rule mining, causal reasoning and other algorithms. The Apriori algorithm is used for association rule mining. By setting the minimum support and minimum confidence, frequent item sets and association rules are mined from the historical operation data of the abnormal power guarantee object and its associated power guarantee objects, and the association features between anomalies are discovered. The causal reasoning method based on Granger causality test is used to calculate the Granger causal relationship between abnormal indicators, judge the causal dependency between anomalies, and identify the root cause of the anomaly. The results of association rule mining and causal reasoning are integrated to construct an abnormal association knowledge graph to provide support for subsequent abnormal analysis and decision-making. By analyzing and summarizing historical exception cases, we extract the successful experiences and failed lessons of exception handling, and combine the practical experience of experts in the field to form a series of exception handling rules. Using the rule-based knowledge representation method, the exception handling rules are represented as rule statements in the form of IF-THEN, and the rules are classified and organized according to the dimensions of exception type, severity, etc., to build an exception handling knowledge base. Using the knowledge reasoning function of the expert system, we automatically generate disposal suggestions based on the results of exception analysis.
[0143] In the reasoning process, a combination of forward reasoning and reverse reasoning is used. According to the results of anomaly analysis, the rules in the anomaly handling knowledge base are matched to automatically infer the corresponding handling measures. By setting the weight and confidence of the rules, the reasoning results are scored and sorted, and the handling measures with the highest confidence and the lowest operational risk are selected as the recommended solutions. If the analysis finds that the anomaly is caused by the fault of the power guarantee object itself, such as the fault of the generator excitation system and the overheating of the transformer winding, a fault diagnosis report is generated, and it is recommended to dispatch maintenance personnel to repair or replace the faulty equipment; if the analysis finds that the anomaly is caused by the unreasonable distribution of power grid flow, such as a long-term heavy load operation of a line and excessive load concentration in a certain area, a flow optimization plan is generated, and it is recommended to optimize the operation mode of the power grid and improve the reliability and economy of power supply by increasing power transmission and implementing load transfer.
[0144] Finally, the generated recommended measures are submitted to the auxiliary decision-making system of the network management center. The on-duty dispatcher will formulate a specific implementation plan for abnormal handling based on the recommended measures and the actual operation status of the power grid, including specific operation steps and sequences such as busbar unbundling, load switching, and adjusting generator output, and conduct pre-emptive drills in the power grid simulation system to evaluate the feasibility and effectiveness of the plan. The verified abnormal handling plan will be sent to the distribution automation system and substation automation system in the fault area. Through remote operation or on-site operation, the abnormal handling plan will be executed to adjust the power grid operation parameters, such as increasing the transmission power of the backup line, shutting down the overloaded transformer, etc., to achieve rapid handling and recovery of abnormal situations, minimize the impact of abnormalities on the power grid and users, and ensure the safe and stable operation of the power grid.
[0145] For example, in a 500kV substation, by installing online monitoring devices for dissolved gas in oil on four main transformers and installing current, voltage and temperature integrated sensors on the busbar and outgoing lines, the operating parameters of the transformer and busbar are collected in real time, and the data is transmitted to the intelligent edge gateway in the station through the RS485 bus. The gateway uses Huawei EC-IoT-800, with built-in ARMA53CPU and 512MB memory, supports the analysis of multiple communication protocols such as Modbus and IEC61850, cleans and normalizes the collected data, and uploads it to the provincial dispatching center in real time through the 5G private network. On the provincial dispatching center side, a three-layer LSTM neural network model was built using the TensorFlow framework. The input layer dimension is 8, including parameters such as oil and gas concentration, voltage, current and temperature in the past 96 time steps. The hidden layer contains 64 LSTM units, and the output layer dimension is 8, representing the predicted value of the next 48 time steps. The historical operation data of the past year was used to divide the data into training set, validation set and test set in a ratio of 6:2:2. The Adam optimizer was used and MAE was used as the loss function. After 200 epochs of training, the MAE error on the test set dropped to less than 0.5%. The trained model was deployed on the stream computing platform Flink, which receives the monitoring data uploaded by the edge gateway in real time, and performs prediction and abnormal judgment. When the difference between the actual value and the predicted value exceeds 2 times the standard deviation, an abnormal alarm is generated and sent to the alarm management service through the Kafka message queue. The alarm management service uses the rule engine Drools to classify and filter abnormal alarms according to pre-configured alarm rules, such as "the hydrogen concentration in the oil exceeds 150ppm for more than 10 minutes", and notifies the on-duty personnel to handle them through emails, text messages, etc. At the same time, the abnormal alarm data is also written into the time series database InfluxDB for subsequent abnormal analysis and trend prediction.
[0146] In one embodiment of the present invention, the exception analysis service uses the SparkMLlib machine learning library to perform clustering and association analysis on the abnormal data, identify the key factors causing the abnormality and its scope of influence, and use the FP-growth association rule mining algorithm to mine the frequent patterns of abnormalities from the historical abnormal data, generate association rules for abnormal handling, and store them in the MongoDB database. Through the intelligent control engine deployed on the edge gateway, based on the abnormal analysis results, matching the abnormal handling rule library, automatically executing abnormal handling actions such as bus unbundling and load switching, achieving rapid isolation and recovery of faults, and minimizing the scope of fault impact.
[0147] A method for dynamic control of power grid security for power security objects provided in an embodiment of the present invention can determine the peak and trough periods of power demand in the power grid at different time periods by combining the power demand curve model and spatial load density model of the power grid, and describe the coverage and density of the power grid; by simulating the process of adding new power security objects to the power grid in a digital twin model, combined with the power flow value, the specific impact of the new power security objects on the power supply stability can be evaluated; when the simulation result shows that the abnormality probability is greater than the set threshold, it means that the preliminarily determined first spatial address is not the preferred spatial address. If the new power security object is connected to the power grid according to this spatial address, it may cause instability in the power grid. By adjusting the spatial address of the new power security object, the overall performance and stability of the power grid are optimized; a method for dynamic control of power grid security for power security objects described in an embodiment of the present invention is used to effectively improve the operating efficiency and reliability of the power grid.
[0148] See also Figure 2 The embodiment of the present invention also provides a schematic diagram of the structure of a power grid security dynamic management and control system for power security objects. The power grid security dynamic management and control system for power security objects includes a model building module 11, a power flow value calculation module 12, a first space address calculation module 13, a power grid abnormality probability calculation module 14, a second space address optimization module 15 and a power security object access module 16, wherein:
[0149] The model building module 11 is used to obtain the distribution structure of the power grid, the location information of the power guarantee object, the expected operation period and the power demand, and to establish the power demand curve model and the spatial load density model of the power grid;
[0150] A power flow value calculation module 12, configured to extract the spatiotemporal characteristics of the power grid according to the power demand curve model and the spatial load density model, and calculate the power flow value using a pre-trained first neural network;
[0151] A first space address calculation module 13 is used to calculate the first space address of a newly added power protection object according to the space load density model when a newly added power protection object is detected;
[0152] A power grid abnormality probability calculation module 14, configured to calculate the power grid abnormality probability after the newly added power guarantee object is connected in the digital twin model of the power grid operation according to the power flow value and the first spatial address;
[0153] The second space address optimization module 15 is used to optimize the address of the newly added power guarantee object to obtain a second space address if the power grid abnormality probability is greater than a preset threshold; otherwise, the first space address is used as the second space address;
[0154] The power security object access module 16 is used to connect the newly added power security object to the actual power grid according to the second spatial address, and update the power demand curve model and the spatial load density model.
[0155] As a preferred implementation, the model building module 11 is specifically used for:
[0156] Obtain the estimated operating time and power demand of the power supply guarantee object, and use spatiotemporal data analysis technology to establish the time-power demand curve of the power grid;
[0157] Obtain the distribution structure of the power grid and the location information of the power supply guarantee objects, and establish a spatial-grid density map reflecting the power grid through the GIS system;
[0158] Adopting an association rule mining algorithm, extracting a peak power demand period, a trough power demand period and a power grid density area according to the time-power demand curve and the space-power grid density map;
[0159] During the peak period of electricity demand, the grid topology is optimized and the input of electricity resources is increased. During the trough period of electricity demand, the power supply capacity and stability of the densely populated areas of the grid are reduced. The incremental update algorithm is used to update the time-electricity demand curve and the space-grid density map in real time to obtain the power demand curve model and spatial load density model of the grid.
[0160] Preferably, the power flow value calculation module 12 is specifically used for:
[0161] According to the power grid demand curve model, extracting the average value, maximum value, minimum value and standard deviation characteristics of the power demand of the power grid at each time granularity as the time characteristics of the power grid;
[0162] According to the spatial load density model, the average value, maximum value and minimum value characteristics of the power grid density in the power grid area are extracted as the spatial characteristics of the power grid;
[0163] fusing the time characteristics and the space characteristics as the time and space characteristics of the power grid;
[0164] The spatiotemporal characteristics are input into a pre-trained first neural network to calculate the power flow value of the power grid; the pre-trained first neural network is used to calculate the power flow value, and its training samples are historical power flow data and the spatiotemporal characteristics.
[0165] In a preferred embodiment, the first space address calculation module 13 is specifically used to:
[0166] When a new power protection object is detected, obtaining the type and specification parameter information of the new power protection object;
[0167] According to the type of the power protection object and the specification parameter information, combined with the spatial load density model, spatial interpolation and topological analysis methods are used to calculate the first spatial address of the newly added power protection object.
[0168] Preferably, the power grid abnormality probability calculation module 14 is specifically used for:
[0169] According to the first spatial address, a virtual model of the newly added power security object is introduced into the digital twin model of the power grid operation;
[0170] According to the power flow value, a power flow algorithm is used to calculate the power flow distribution and voltage level of the power grid after the newly added power guarantee object is connected;
[0171] The probability distribution of abnormal situations occurring is calculated according to the power grid flow distribution and the voltage level as the power grid abnormality probability; the abnormal situations include power supply shortage and overload.
[0172] Preferably, the second space address optimization module 15 is specifically used for:
[0173] If the probability of power grid abnormality is greater than a preset threshold, a sensitivity analysis and criticality ranking method is used to identify the key influencing factors causing the abnormality, and based on the risk measurement index, it is determined whether it is necessary to adjust the access plan of the newly added power guarantee object; when the access plan needs to be adjusted, a multi-objective optimization algorithm is used to minimize the power supply risk and maximize the consumption of new energy, optimize the spatial address and access parameters of the newly added power guarantee object, and obtain the second spatial address;
[0174] If the power grid abnormality probability is not greater than a preset threshold, the first space address is used as the second space address.
[0175] Preferably, the power security object access module 16 is further used for:
[0176] Compare the performance indicators of the power grid before and after access, evaluate the impact of the newly added power guarantee objects on the performance indicators of the power grid, and generate corresponding power grid performance optimization suggestions.
[0177] As a preferred implementation, the power grid security dynamic management and control system further includes a three-dimensional space diagram of power flow, a warning signal generation module and an adaptive adjustment module, wherein:
[0178] A power flow three-dimensional spatial diagram generating module, used for generating a power flow three-dimensional spatial diagram according to the power demand model, the spatial load density model and the power flow value by using three-dimensional visualization technology;
[0179] An early warning signal generation module is used to calculate the load rate, voltage deviation and line power loss of the power flow according to the three-dimensional space diagram of power flow, and generate an early warning signal of abnormal conditions;
[0180] The adaptive adjustment module is used to combine the historical performance data, operation log and real-time monitoring data of the power grid, generate potential fault points and risk areas through a preset second neural network, and adaptively adjust the power output of the power protection objects in the potential fault points and risk areas.
[0181] Preferably, the warning signal generating module is specifically used for:
[0182] According to the three-dimensional spatial diagram of power flow, the temporal and spatial distribution characteristics of the power grid flow are analyzed, and the load rate, voltage deviation and line power loss of the power flow are calculated by identifying the areas where the contradiction between power supply and demand is prominent;
[0183] According to the load rate of the power flow, the voltage deviation and the line power loss, the situations of excessively high load rate, excessive voltage deviation and abnormal line power loss are identified, and an early warning signal of the abnormal situation is generated; the early warning signal includes the abnormal type and the grid optimization dispatching strategy.
[0184] Preferably, the adaptive adjustment module is specifically used for:
[0185] Combining the historical performance data, operation logs and real-time monitoring data of the power grid, the preset second neural network generates potential fault points and risk areas;
[0186] Combined with the real-time operation status and topological structure of the power grid, a multi-objective optimization model is established with minimizing energy loss and maximizing load transfer capacity as objective functions, and with power grid flow constraints, equipment capacity constraints, etc. as constraints.
[0187] The potential fault point, the risk area and the control target are input into the multi-objective optimization model to obtain a power adjustment plan for the power protection objects in the potential fault point and the risk area, and the power output of the power protection objects in the potential fault point and the risk area is adaptively adjusted according to the power adjustment plan.
[0188] Furthermore, the object-oriented power management system further includes:
[0189] The power protection object exception processing module is used to monitor the operating status of each power protection object through a status monitor. If the operating status of any power protection object is identified as abnormal, the abnormal data is obtained, and warning information and recommended measures are generated based on the abnormal data; the recommended measures include increasing or decreasing power tree holes or load transfer.
[0190] A power grid security dynamic management and control system for power security objects provided by an embodiment of the present invention can determine the peak and trough periods of power demand in the power grid at different time periods and describe the coverage and density of the power grid by combining the power demand curve model and spatial load density model of the power grid; by simulating the process of adding new power security objects to the power grid in a digital twin model, combined with the power flow value, it can evaluate the specific impact of the new power security objects on the power supply stability; when the simulation result shows that the abnormality probability is greater than the set threshold, it means that the preliminarily determined first spatial address is not the preferred spatial address. If the new power security object is connected to the power grid according to this spatial address, it may cause instability in the power grid. By adjusting the spatial address of the new power security object, the overall performance and stability of the power grid are optimized; a power grid security dynamic management and control system for power security objects described in an embodiment of the present invention is used to effectively improve the operating efficiency and reliability of the power grid.
[0191] An embodiment of the present invention also provides a power grid security dynamic management and control device for power security objects, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the above-mentioned power grid security dynamic management and control method for power security objects. The working principles and beneficial effects of the two correspond one to one, and thus will not be repeated here.
[0192] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0193] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for dynamic control of power grid security for power security objects, characterized in that: include: Obtain the distribution structure of the power grid, the location information of the power supply guarantee objects, the expected operation period and power demand, and establish the power demand curve model and spatial load density model of the power grid; Extracting the spatiotemporal characteristics of the power grid according to the power demand curve model and the spatial load density model, and calculating the power flow value using a pre-trained first neural network; When a new power guarantee object is detected, a first spatial address of the new power guarantee object is calculated according to the spatial load density model; According to the power flow value and the first spatial address, calculating the power grid abnormality probability after the newly added power guarantee object is connected in the digital twin model of power grid operation; If the power grid abnormality probability is greater than a preset threshold, the address of the newly added power guarantee object is optimized to obtain a second space address; otherwise, the first space address is used as the second space address; According to the second spatial address, the newly added power guarantee object is connected to the actual power grid, and the power demand curve model and the spatial load density model are updated; The obtaining of the distribution structure of the power grid, the location information of the power guarantee object, the estimated operation period and the power demand, and the establishment of the power demand curve model and the spatial load density model of the power grid include: Obtain the estimated operating time and power demand of the power supply guarantee object, and use spatiotemporal data analysis technology to establish the time-power demand curve of the power grid; Obtain the distribution structure of the power grid and the location information of the power supply guarantee objects, and establish a spatial-grid density map reflecting the power grid through the GIS system; Adopting an association rule mining algorithm, extracting a peak power demand period, a trough power demand period and a power grid density area according to the time-power demand curve and the space-power grid density map; During the peak period of power demand, the power grid topology is optimized and the power resource input is increased; during the low period of power demand, the power supply capacity and stability of the power grid dense area are reduced; and the time-power demand curve and the space-power grid density map are updated in real time using an incremental update algorithm to obtain a power demand curve model and a spatial load density model of the power grid; The extracting the spatiotemporal characteristics of the power grid according to the power demand curve model and the spatial load density model, and calculating the power flow value using a pre-trained first neural network, comprises: According to the power grid demand curve model, extracting the average value, maximum value, minimum value and standard deviation characteristics of the power demand of the power grid at each time granularity as the time characteristics of the power grid; According to the spatial load density model, the average value, maximum value and minimum value characteristics of the power grid density in the power grid area are extracted as the spatial characteristics of the power grid; fusing the time characteristics and the space characteristics as the time and space characteristics of the power grid; The spatiotemporal characteristics are input into a pre-trained first neural network to calculate the power flow value of the power grid; the pre-trained first neural network is used to calculate the power flow value, and its training samples are historical power flow data and the spatiotemporal characteristics.
2. A method for dynamic control of power grid security for power security objects according to claim 1, characterized in that: When a new power protection object is detected, calculating the first space address of the new power protection object according to the space load density model includes: When a new power protection object is detected, obtaining the type and specification parameter information of the new power protection object; According to the type of the power protection object and the specification parameter information, combined with the spatial load density model, spatial interpolation and topological analysis methods are used to calculate the first spatial address of the newly added power protection object.
3. A method for dynamic control of power grid security for power security objects according to claim 1, characterized in that: The calculating, in the digital twin model of power grid operation, the power grid abnormality probability after the newly added power guarantee object is connected according to the power flow value and the first spatial address, includes: According to the first spatial address, a virtual model of the newly added power security object is introduced into the digital twin model of the power grid operation; According to the power flow value, a power flow algorithm is used to calculate the power flow distribution and voltage level of the power grid after the newly added power guarantee object is connected; The probability distribution of abnormal situations occurring is calculated according to the power grid flow distribution and the voltage level as the power grid abnormality probability; the abnormal situations include power supply shortage and overload.
4. A method for dynamic control of power grid security for power security objects according to claim 1, characterized in that: If the power grid abnormality probability is greater than a preset threshold, the address of the newly added power guarantee object is optimized to obtain a second space address; Otherwise, using the first space address as the second space address includes: If the probability of power grid abnormality is greater than a preset threshold, a sensitivity analysis and criticality ranking method is used to identify the key influencing factors causing the abnormality, and based on the risk measurement index, it is determined whether it is necessary to adjust the access plan of the newly added power guarantee object; when the access plan needs to be adjusted, a multi-objective optimization algorithm is used to minimize the power supply risk and maximize the consumption of new energy, optimize the spatial address and access parameters of the newly added power guarantee object, and obtain the second spatial address; If the power grid abnormality probability is not greater than a preset threshold, the first space address is used as the second space address.
5. A method for dynamic control of power grid security for power security objects as claimed in claim 1, characterized in that: The power grid security dynamic management and control method further includes: Using three-dimensional visualization technology, generating a three-dimensional space diagram of power flow according to the power demand model, the spatial load density model and the power flow value; Calculating the load factor, voltage deviation and line power loss of the power flow according to the three-dimensional spatial diagram of power flow, and generating an early warning signal of abnormal conditions; Combining the historical performance data, operation logs and real-time monitoring data of the power grid, potential fault points and risk areas are generated through a preset second neural network, and the power output of the power protection objects in the potential fault points and risk areas is adaptively adjusted.
6. A method for dynamic control of power grid security for power security objects as claimed in claim 5, characterized in that: The method of calculating the load rate, voltage deviation and line power loss of the power flow according to the three-dimensional space diagram of power flow and generating an early warning signal of abnormal conditions includes: According to the three-dimensional spatial diagram of power flow, the temporal and spatial distribution characteristics of the power grid flow are analyzed, and the load rate, voltage deviation and line power loss of the power flow are calculated by identifying the areas where the contradiction between power supply and demand is prominent; According to the load rate of the power flow, the voltage deviation and the line power loss, the situations of excessively high load rate, excessive voltage deviation and abnormal line power loss are identified, and an early warning signal of the abnormal situation is generated; the early warning signal includes the abnormal type and the grid optimization dispatching strategy.
7. A method for dynamic control of power grid security for power security objects as claimed in claim 5, characterized in that: The method combines the historical performance data, operation log and real-time monitoring data of the power grid, generates potential fault points and risk areas through a preset second neural network, and adaptively adjusts the power output of the power protection objects in the potential fault points and risk areas, including: Combining the historical performance data, operation logs and real-time monitoring data of the power grid, the preset second neural network generates potential fault points and risk areas; Combined with the real-time operation status and topological structure of the power grid, a multi-objective optimization model is established with minimizing energy loss and maximizing load transfer capacity as the objective function, and with power grid flow constraints and equipment capacity constraints as constraints. The potential fault point, the risk area and the control target are input into the multi-objective optimization model to obtain a power adjustment plan for the power protection objects in the potential fault point and the risk area, and the power output of the power protection objects in the potential fault point and the risk area is adaptively adjusted according to the power adjustment plan.
8. A power grid security dynamic management and control system for power security objects, characterized in that: include: The model building module is used to obtain the distribution structure of the power grid, the location information of the power guarantee objects, the expected operation period and power demand, and to establish the power demand curve model and spatial load density model of the power grid; A power flow value calculation module, used to extract the spatiotemporal characteristics of the power grid according to the power demand curve model and the spatial load density model, and calculate the power flow value using a pre-trained first neural network; A first space address calculation module is used to calculate the first space address of a newly added power protection object according to the space load density model when a newly added power protection object is detected; A power grid anomaly probability calculation module, used to calculate the power grid anomaly probability after connecting to the newly added power guarantee object in the digital twin model of power grid operation according to the power flow value and the first spatial address; A second space address optimization module is used to optimize the address of the newly added power guarantee object to obtain a second space address if the power grid abnormality probability is greater than a preset threshold; otherwise, the first space address is used as the second space address; A power security object access module, used to connect the newly added power security object to the actual power grid according to the second spatial address, and update the power demand curve model and the spatial load density model; Wherein, the model building module is specifically used for: Obtain the estimated operating time and power demand of the power supply guarantee object, and use spatiotemporal data analysis technology to establish the time-power demand curve of the power grid; Obtain the distribution structure of the power grid and the location information of the power supply guarantee objects, and establish a spatial-grid density map reflecting the power grid through the GIS system; Adopting an association rule mining algorithm, extracting a peak power demand period, a trough power demand period and a power grid density area according to the time-power demand curve and the space-power grid density map; During the peak period of power demand, the power grid topology is optimized and the power resource input is increased; during the low period of power demand, the power supply capacity and stability of the power grid dense area are reduced; and the time-power demand curve and the space-power grid density map are updated in real time using an incremental update algorithm to obtain a power demand curve model and a spatial load density model of the power grid; The power flow value calculation module is specifically used for: According to the power grid demand curve model, extracting the average value, maximum value, minimum value and standard deviation characteristics of the power demand of the power grid at each time granularity as the time characteristics of the power grid; According to the spatial load density model, the average value, maximum value and minimum value characteristics of the power grid density in the power grid area are extracted as the spatial characteristics of the power grid; fusing the time characteristics and the space characteristics as the time and space characteristics of the power grid; The spatiotemporal characteristics are input into a pre-trained first neural network to calculate the power flow value of the power grid; the pre-trained first neural network is used to calculate the power flow value, and its training samples are historical power flow data and the spatiotemporal characteristics.
Citation Information
Patent Citations
Grid partition-based method for estimating remaining capacity of electric energy-substituted matched power grid
CN109617057A
SCADA (supervisory control and data acquisition)-based auxiliary decision-making method and system for loop closing reverse power supply control conditions of main and distribution networks
CN117394529A
Efficient and energy-saving power grid operation method
US20180026447A1
Transaction-enabled systems and methods for machine provisioning include identification and acquisition of a resource or a substitute resource
US20190340686A1
Advanced power distribution platform
US20220115867A1
