Distributed photovoltaic distribution network data quality improvement method and system

Through the distributed photovoltaic distribution network data quality improvement method, combined with the identification and correction of abnormal and missing data, and the improved network attack detection model, the impact of malicious network attacks on power grid data quality has been solved, achieving a comprehensive improvement in data quality and ensuring Stable and safe operation of the power grid.

CN118611935APending Publication Date: 2024-09-06SHANDONG UNIV
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410741207.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing technology cannot effectively detect and manage the impact of malicious network attacks on power grid data quality, resulting in low data interaction efficiency and power grid status monitoring efficiency. Moreover, traditional data quality improvement methods are not efficient enough and cannot comprehensively improve data quality.

Method used

Using the distributed photovoltaic distribution network data quality improvement method, through two quality improvement processes: the first time to identify and correct abnormal data and missing data, the second time to use the improved convolutional neural network and bidirectional long short-term memory network to identify and correct the attacked data, Combined with time-frequency characteristics and attention mechanism, the overall improvement of data quality is achieved.

Benefits of technology

By identifying and correcting abnormal, missing and attacked data, data quality can be significantly improved, the stability and security of the distribution network can be improved, data interaction efficiency and monitoring effects can be improved, and the stable and safe operation of the power grid can be ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118611935A
    Figure CN118611935A
Patent Text Reader

Abstract

The invention provides a distributed photovoltaic distribution network data quality improvement method and system, and relates to the technical field of network attack detection, and the specific scheme comprises the steps: obtaining the time sequence operation data of a distributed photovoltaic distribution network; performing first quality improvement on the time sequence operation data, wherein the first quality improvement comprises identification and correction of abnormal data and missing data; inputting the time sequence operation data after the first quality improvement into a trained network attack correction model, and performing second quality improvement, including identification and correction of attacked data; evaluating the data quality after the second quality improvement to obtain a data quality improvement result; according to the method, the abnormal data, the missing data and the attacked data are identified and corrected, so that the quality of the operation data for monitoring the state of the power distribution network is improved, and the stable and safe operation of the power distribution network is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of network attack detection, and in particular relates to a method and system for improving the quality of distributed photovoltaic distribution network data. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] With the development of communication technology, the level of informatization, automation and interaction of smart distribution networks has been improved, and they have gradually become information-physical systems in which physical systems and information systems are deeply coupled and interdependent. A large amount of power grid data has poured into the distribution network, forming a data link at the information layer, which constitutes the data foundation for ensuring the stable and safe operation of the distribution network. However, there are interference data that affect the data quality in the massive data, such as abnormal data, missing data, and data attacked by malicious networks, which reduces the efficiency of data interaction and affects the monitoring efficiency of the distribution network status.

[0004] Bad data such as abnormal and missing grid data affects the stability of distribution network operation, while malicious network attacks pose a serious threat to data credibility and grid security. Unlike bad data, which can be detected by outlier detection or setting thresholds, data from malicious network attacks, such as false data injection attacks (FDIA), can avoid bad data detection based on the grid topology, such as gradually changing in the form of a ramp, which is difficult to detect and manage, thereby interfering with smart grid status monitoring; data-driven methods based on machine learning and deep learning are widely used in network attack detection. Existing solutions are all improvements on how to accurately detect network attacks from collected data, but they do not focus on the impact of collected data quality on ensuring stable and safe operation of distribution networks.

[0005] Although existing data quality improvement methods have been able to improve data accuracy and credibility, the efficiency of traditional methods needs to be improved due to the complexity of power grid topology information and the surge in smart grid data volume. In addition, current data reliability evaluation focuses on data anomalies and missing data, but does not conduct in-depth discussions on quality issues caused by malicious network attacks. Therefore, existing solutions cannot comprehensively improve data quality, and the monitoring effect of stable and safe operation of distribution networks is poor. Summary of the invention

[0006] In order to overcome the deficiencies of the above-mentioned prior art, the present invention provides a method and system for improving the data quality of a distributed photovoltaic distribution network. By identifying and correcting abnormal data, missing data and attacked data, the quality of operating data used for distribution network status monitoring is improved to ensure the stable and safe operation of the distribution network.

[0007] To achieve the above objectives, one or more embodiments of the present invention provide the following technical solutions: A first aspect of the present invention provides a method for improving the quality of distributed photovoltaic distribution network data.

[0008] A method for improving the quality of distributed photovoltaic distribution network data, comprising: Obtain the time series operation data of distributed photovoltaic distribution network; Perform the first quality improvement on time series operation data, including identification and correction of abnormal and missing data; The time series operation data after the first quality improvement is input into the trained network attack correction model to perform the second quality improvement, including the identification and correction of the attacked data; Evaluate the data quality after the second quality improvement and obtain the data quality improvement result; Among them, the identification of the attacked data introduces the attention mechanism through the squeeze excitation module on the convolutional neural network, combines the bidirectional long short-term memory network to extract the time series features, and classifies the network attack data according to the time series features to obtain the attacked data.

[0009] Furthermore, the identification of abnormal data and missing data is specifically as follows: The isolation forest algorithm is used to identify outliers in the operating data; and to locate missing values ​​in the operating data caused by non-power outage accidents.

[0010] Furthermore, the correction of abnormal data and missing data is based on a convolutional neural network to predict the correct values ​​of missing values ​​and abnormal values.

[0011] Furthermore, the network attack correction model includes a feature construction module, a feature dimension reduction module, an attack identification module and an attack correction module; The feature construction module constructs time-frequency features based on the time series operation data after the first quality improvement; The feature dimension reduction module uses principal component analysis to reduce the dimension of the constructed time-frequency features; The attack identification module identifies the attacked data based on the time-frequency features after dimensionality reduction and using the network attack detection model; The attack correction module corrects the identified attacked data.

[0012] Furthermore, the construction of the time-frequency feature is specifically as follows: Variational mode decomposition is used to decompose the time series operation data into multiple intrinsic mode functions; The time domain features and frequency domain features are extracted for each intrinsic mode function and spliced ​​with the time series operation data after the first quality improvement to obtain the time-frequency features.

[0013] Furthermore, the network attack detection model includes an improved convolutional neural network, a bidirectional long short-term memory network, a fully connected layer and a softmax classifier; The improved convolutional neural network introduces an attention mechanism through a squeeze excitation module in the convolutional neural network, assigns weights to each feature, highlights useful features, and weakens redundant features, so that the extracted features are more conducive to classification; The bidirectional long short-term memory network is used to extract time series features; The fully connected layer and the softmax classifier are used to output classification results, including normal data and attacked data.

[0014] Furthermore, the evaluation comprehensively considers the accuracy, credibility, and real-time nature of the data, selects accuracy, consistency, completeness, and timeliness as evaluation indicators, and conducts a comprehensive evaluation of data quality.

[0015] A second aspect of the present invention provides a distributed photovoltaic distribution network data quality improvement system.

[0016] A distributed photovoltaic distribution network data quality improvement system includes a data acquisition module, a first improvement module, a second improvement module and a quality evaluation module: The data acquisition module is configured to: acquire the time-series operation data of the distributed photovoltaic distribution network; The first improvement module is configured to: perform a first quality improvement on the time series operation data, including identification and correction of abnormal data and missing data; The second improvement module is configured to: input the time series operation data after the first quality improvement into the trained network attack correction model to perform a second quality improvement, including identification and correction of the attacked data; The quality evaluation module is configured to: evaluate the data quality after the second quality improvement to obtain a data quality improvement result; Among them, the identification of the attacked data introduces the attention mechanism through the squeeze excitation module on the convolutional neural network, combines the bidirectional long short-term memory network to extract the time series features, and classifies the network attack data according to the time-frequency features to obtain the attacked data. A third aspect of the present invention provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the steps of a method for improving the quality of distributed photovoltaic distribution network data as described in the first aspect of the present invention.

[0017] The fourth aspect of the present invention provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in a method for improving the quality of distributed photovoltaic distribution network data as described in the first aspect of the present invention are implemented.

[0018] One or more of the above technical solutions have the following beneficial effects: The present invention identifies and corrects bad data including abnormal data and missing data and data affected by network attacks respectively. Through two correction methods, the quality of operating data used for distribution network status monitoring is improved, the influence of interference data on subsequent distribution network status monitoring is comprehensively improved, and the stable and safe operation of the distribution network is ensured.

[0019] The present invention constructs a network attack detection model based on an improved convolutional neural network, introduces an attention mechanism through a squeeze incentive module, and combines a bidirectional long short-term memory network to extract data temporal features to accurately identify data affected by network attacks.

[0020] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0022] Figure 1 This is a flow chart of the method of the first embodiment.

[0023] Figure 2 This is a structural diagram of the prediction model used for data completion in the first embodiment.

[0024] Figure 3 This is a structural diagram of a network attack detection model for identifying attacked data in the first embodiment. DETAILED DESCRIPTION

[0025] It should be noted that the following detailed descriptions are illustrative and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used in the present invention have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.

[0026] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0027] Embodiment 1 In one embodiment of the present disclosure, a method for improving the quality of distributed photovoltaic distribution network data is provided. Figure 1 As shown, the following steps are included: Step S1: Obtaining the time-series operation data of the distributed photovoltaic distribution network.

[0028] The timing operation data here is a The matrix X1 is composed of n and m, where n is the total number of days for collection and m is the total number of fixed collections per day. Sensor data is collected every day at a preset time interval, that is, a preset time point. Each collection time point is used as a feature, and the data collected at each time point is used as a data point. All data points in the matrix X1 constitute a data set, and all data points in each row constitute a data sample according to the collection time point.

[0029] Step S2: Perform the first quality improvement on the time series operation data, including the identification and correction of abnormal data and missing data.

[0030] Furthermore, the identification of abnormal data and missing data is to use the isolation forest algorithm to identify abnormal values ​​in the operating data; and locate the missing values ​​in the operating data caused by non-power outage accidents, specifically: (1) Construct a decision tree. The core steps are as follows: The binary search structure is used to randomly split the data set in a recursive form to isolate the data sample. First, the data is preprocessed, including missing value processing and standardization; a feature and a specific split value are randomly selected to divide the data set into two parts; this process is repeated to build a binary tree until each data point is separated individually or the maximum depth of the tree is reached; by repeating the above steps, multiple isolated trees are constructed to form an isolation forest; each tree is relatively independent and is not affected by other trees.

[0031] (2) Calculate the anomaly score: For each data point, calculate its path length on each tree (the number of layers from the root node to the data point). The degree of isolation is equal to the average of the path lengths, and the anomaly score of the sample can be obtained:

[0032] Where: n is the number of samples in the sub-dataset; is the node for each data sample The average depth of After a given n The average value is used for normalization.

[0033] When the outlier score s is larger, the possibility that the data is an outlier point is higher, thereby determining the outlier position.

[0034] Among them, the missing values ​​can be located based on the power outage and call records of the power consumption information collection data center, which will not be repeated here.

[0035] Furthermore, the correction of abnormal data and missing data is based on a convolutional neural network to predict the correct values ​​of missing values ​​and abnormal values, specifically: First, extract the columns that do not contain missing data in the matrix X1 to form the matrix Xintact, and the columns that contain missing data to form the matrix Xmissing. Calculate the missing rate of each column in the matrix Xmissing by the ratio of the number of missing data in each column to the total number of data in each column. Sort all columns of the matrix Xmissing in ascending order according to the missing rate to obtain the rearranged matrix Xmissing. The missing rate of the first column in Xmissing is the smallest. The smaller the missing rate of a column, the more valid information it contains, and it should be filled first.

[0036] Then, the first column of Xmissing is used as output, the matrix Xintact is used as feature input, and the complete row data is used as the training set to build a prediction model for data completion. The model adopts the CNN structure, such as Figure 2 As shown in the figure, it consists of data input, convolution layer, batch normalization, RELU activation layer, batch normalization, RELU activation layer, fully connected layer and regression prediction output, and uses the predicted value to fill in the missing data, specifically: The complete row data is to take the i-th row data of the matrix Xintact as input and the i-th row and 1st column data of the matrix Xmissing (complete and not missing) as output to train the prediction model; after the training is completed, assuming that the j-th row and 1st column data of the matrix Xmissing is missing and needs to be completed, then the j-th row data of the matrix Xintact is input into the trained prediction model, and the value of the j-th row and 1st column data of the matrix Xmissing is predicted to complete the completion.

[0037] The filled columns are included in the new Xintact matrix and deleted from the Xmissing matrix. Finally, the above steps are repeated until all missing data are filled. The Xintact matrix at the end of the iteration is the time series running data X2 after the first quality improvement.

[0038] Step S3: Input the time series operation data after the first quality improvement into the trained network attack correction model to perform the second quality improvement, including the identification and correction of the attacked data.

[0039] The network attack correction model includes a feature construction module, a feature dimension reduction module, an attack identification module and an attack correction module, which are described below respectively.

[0040] 1. The feature construction module constructs time-frequency features based on the time series operation data after the first quality improvement, specifically: (1) Using variational mode decomposition, the time series operation data is decomposed into multiple intrinsic mode functions b t (n) and the residual modal component b tr (n).

[0041] Variational mode decomposition (VMD) can decompose a signal into multiple modes, each of which represents a different frequency component or vibration mode. Compared with traditional empirical mode decomposition (EMD), VMD can avoid problems such as modal component aliasing and endpoint effects. In addition, VMD can artificially determine the number of modal decompositions before decomposition and adaptively match the optimal center of gravity frequency and limited bandwidth. It is a completely non-recursive adaptive signal processing method.

[0042] Specifically, VMD decomposes the time series data x(i) into a combination of different intrinsic mode functions IMF, represented by bt(n), where x(i) is the i-th row of data in X2, and the constrained variational model is as follows:

[0043] Where: δ(t) is the Dirac distribution, * represents the convolution operation, t represents the number of intrinsic mode functions, and the frequency shift factor Adjust the center frequency ωt to the predicted value.

[0044] In order to solve the variational problem, the quadratic penalty term and Lagrange multiplier are introduced. The center frequency and intrinsic mode function can be continuously updated by using the multiplier alternating direction method. The output of VMD can be expressed as:

[0045] In the formula, It is the residual modal component, which can represent the changing trend of time series data.

[0046] (2) The time domain features and frequency domain features extracted from each intrinsic mode function are concatenated with the time series operation data after the first quality improvement to obtain the time-frequency features.

[0047] After decomposing the intrinsic mode function of the time series data, features are extracted for each intrinsic mode function of the data sample to facilitate the detection of false data injection attacks. In order to improve the detection accuracy and enrich the feature categories as much as possible, this embodiment extracts ten common time domain features and five frequency domain features, among which the time domain features include peak-to-peak value, root mean square value, mean value, variance, standardization, kurtosis, skewness, peak factor, waveform index and envelope entropy; the frequency domain features include amplitude mean value, centroid frequency, variance frequency, mean square frequency and frequency variance. The extraction of these features adopts conventional calculation methods, which will not be repeated here.

[0048] The time-series operation data X2 after the first quality improvement is matrix-joined with the extracted time domain features and frequency domain features to obtain the time-frequency features S , expressed as:

[0049]

[0050] in, represents matrix concatenation, is a matrix composed of time domain features and frequency domain features, is the i-th time domain feature or frequency domain feature, and t is the total number of time domain features and frequency domain features.

[0051] 2. The feature dimension reduction module uses principal component analysis to reduce the dimension of the extracted time-frequency features.

[0052] The PCA method maps high-dimensional data to a low-dimensional subspace through linear transformation, thereby retaining as much data information as possible. That is, PCA linearly combines the original variables to form new variables. n Dimensional features are mapped to k For the above ( k < n ),this k A new orthogonal feature is defined as the principal component. The specific steps are as follows: (1) Time-frequency characteristics Perform a centering operation and subtract the mean of each feature from the mean of the feature to ensure that the data mean is 0.

[0053] (2) Calculation of covariance matrix; Calculation of covariance matrix SS T The corresponding eigenvalue λ i and the eigenvector ωi ,Will ω i Convert to a standard orthogonal basis, that is, || ω i || 2 = 1, get the new coordinate system after projection transformation, sample point x i The projection onto the hyperplane in the new space is W T x i , where the eigenvalue λ i and the eigenvector ω i The calculation formula is: (3) (3) Sorting of eigenvalues: Sort the obtained eigenvalues. The number of principal components selected depends on the cumulative variance contribution rate. Usually, when the cumulative variance contribution rate is greater than 75%-95%, the corresponding principal components are p The principal components can include m The original variables can provide most of the information; the variance contribution rate and cumulative variance contribution rate are: (4) (5) Through the above steps, we can get the low-latitude time-frequency characteristics , can use a small amount of data to represent a large number of features, improving the accuracy and efficiency of model training.

[0054] 3. The attack identification module is based on low-latitude time-frequency features ,Use the network attack detection model to identify the attacked data.

[0055] Among them, the identification of the attacked data introduces the attention mechanism through the squeeze excitation module on the convolutional neural network, combines the bidirectional long short-term memory network to extract the time series features, and classifies the network attack data according to the time series features to obtain the attacked data.

[0056] The time-frequency features after dimension reduction ,As the input of the network attack detection model, a CNN-SE-BiLSTM hybrid neural network is built to realize the classification detection of network attack data.,The labels are 0 and 1 respectively represent normal data and attacked data.

[0057] CNN-SE-BiLSTM hybrid neural network, such as Figure 3 As shown, it includes an improved convolutional neural network, a bidirectional long short-term memory network, a fully connected layer and a softmax classifier.

[0058] (1) The improved convolutional neural network introduces an attention mechanism into the convolutional neural network through a squeezing excitation module, assigns weights to each feature, highlights useful features, and weakens redundant features, thereby making the extracted features more conducive to classification.

[0059] Specifically, The input is fed into the convolutional layer and pooling layer of the convolutional neural network to extract its potential information, followed by a squeeze-excitation operation, and several rounds of alternating operations of convolution, pooling layer, and squeeze-excitation modules. The squeeze operation compresses the global spatial information into a channel descriptor, and through global average pooling, the FDIA feature in each channel is squeezed into a point with a length of 1: (6) In the formula, sc Indicates a squeeze operation; c is the channel index; u c ( i , j ) represents a data element; w Represents the width of the input feature map. For one-dimensional convolution, it can be regarded as w =1; h Represents the height of the input feature map.

[0060] The excitation operation is based on the gate control mechanism. The excitation function is used to adaptively adjust the channel interdependence through weights to generate weights for each feature channel. The weights are then multiplied channel by channel to the previous features to complete the recalibration of the original features in the channel dimension. The expression is: (7) Where: ec represents the output of the excitation operation; δ represents the rectified linear unit RELU activation function, W1 and W2 are the weights of RELU, g represents the mapping function of the neural network, and ec continues to execute as the input of the next network layer.

[0061] (2) The bidirectional long short-term memory network is used to extract time series features.

[0062] A bidirectional long short-term memory network BiLSTM is added before the full connection layer to extract time series features, which has the potential to reduce the risk of overfitting and make the model more robust.

[0063] BiLSTM adds reverse operation to the long-term short-term network LSTM, and finally stacks the results of the forward LSTM and the reverse LSTM, learning both past and future information at the same time. The calculation steps of the traditional LSTM are as follows: (8) In the formula, ht is a hidden state; f h , f s is the excitation function of the system state and internal state, and the hyperbolic tangent function tanh is usually selected; b is the bias constant; subscript i , f and o Represent the input gate, forget gate and output gate respectively; g Represents the gate control unit, which is essentially a feedforward neural network with a sigmoid function as the excitation function. h t is the hidden layer state; h tf and h tb Represent the hidden layer states of the forward and backward LSTM respectively, h t.bilstm Represents the output of BiLSTM, that is, the time series feature.

[0064] (3) The fully connected layer and softmax classifier are used to output classification results, including normal data and attacked data.

[0065] The temporal features extracted by the bidirectional long short-term memory network are passed through the full-link layer and the softmax classifier successively, which can realize the accurate identification of the false data injection attack FDIA.

[0066] 4. The attack correction module corrects the identified attacked data.

[0067] For the identified attacked data, the large-scale attacked data and the discrete attacked data are corrected respectively, specifically: For a large range of attacked data, the method in "Correction of abnormal data and missing data" is used to predict and correct the correct value of the attacked data, and finally the improved data set is obtained after completion. X 3.

[0068] For discrete attacked data, the average value of the data of the five monitoring points before and after the point is used as replacement.

[0069] Step S4: Evaluate the data quality after the second quality improvement to obtain a data quality improvement result.

[0070] Furthermore, the evaluation comprehensively considers the accuracy, credibility and real-time performance of the data, selects accuracy (B1), consistency (B2), completeness (B3) and timeliness (B4) as evaluation indicators, and establishes a data reliability evaluation system with four dimensions, including data accuracy, data consistency, data completeness and data timeliness, to conduct a comprehensive evaluation of data quality to reflect the quality and credibility of data in the power grid. The calculation formula is as follows: (9) In the formula, D is the total number of data in the dataset; D null is the number of invalid data bits in the data set, D record Record the number of redundant data in the dataset. D 1 is the number of inaccurate data; D 2 is the number of data that do not meet the consistency; D 3 is the number of missing data; D 3 is the number of data delays.

[0071] Embodiment 2 In one embodiment of the present disclosure, a distributed photovoltaic distribution network data quality improvement system is provided, including a data acquisition module, a first improvement module, a second improvement module and a quality evaluation module: The data acquisition module is configured to: acquire the time-series operation data of the distributed photovoltaic distribution network; The first improvement module is configured to: perform a first quality improvement on the time series operation data, including identification and correction of abnormal data and missing data; The second improvement module is configured to: input the time series operation data after the first quality improvement into the trained network attack correction model to perform a second quality improvement, including identification and correction of the attacked data; The quality evaluation module is configured to: evaluate the data quality after the second quality improvement to obtain a data quality improvement result; Among them, the identification of the attacked data introduces the attention mechanism through the squeeze excitation module on the convolutional neural network, combines the bidirectional long short-term memory network to extract the time series features, and classifies the network attack data according to the time series features to obtain the attacked data.

[0072] Embodiment 3 The purpose of this embodiment is to provide a computer-readable storage medium.

[0073] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps in a method for improving the quality of distributed photovoltaic distribution network data as described in the first embodiment of the present disclosure.

[0074] Embodiment 4 The purpose of this embodiment is to provide an electronic device.

[0075] An electronic device includes a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps in a method for improving the quality of distributed photovoltaic distribution network data as described in Embodiment 1 of the present disclosure are implemented.

[0076] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for improving the quality of distributed photovoltaic distribution network data, characterized in that: include: Obtain the time series operation data of distributed photovoltaic distribution network; Perform the first quality improvement on time series operation data, including identification and correction of abnormal and missing data; The time series operation data after the first quality improvement is input into the trained network attack correction model to perform the second quality improvement, including the identification and correction of the attacked data; Evaluate the data quality after the second quality improvement and obtain the data quality improvement result; Among them, the identification of the attacked data introduces the attention mechanism through the squeeze excitation module on the convolutional neural network, combines the bidirectional long short-term memory network to extract the time series features, and classifies the network attack data according to the time series features to obtain the attacked data.

2. A method for improving the quality of distributed photovoltaic distribution network data as claimed in claim 1, characterized in that: The identification of abnormal data and missing data is specifically as follows: The isolation forest algorithm is used to identify outliers in the operating data; and to locate missing values ​​in the operating data caused by non-power outage accidents.

3. A method for improving the quality of distributed photovoltaic distribution network data as claimed in claim 1, characterized in that: The correction of abnormal data and missing data is based on a convolutional neural network to predict the correct values ​​of missing values ​​and abnormal values.

4. A method for improving the quality of distributed photovoltaic distribution network data as claimed in claim 1, characterized in that: The network attack correction model includes a feature construction module, a feature dimension reduction module, an attack identification module and an attack correction module; The feature construction module constructs time-frequency features based on the time series operation data after the first quality improvement; The feature dimension reduction module uses principal component analysis to reduce the dimension of the constructed time-frequency features; The attack identification module identifies the attacked data based on the time-frequency features after dimensionality reduction and using the network attack detection model; The attack correction module corrects the identified attacked data.

5. A method for improving the quality of distributed photovoltaic distribution network data as claimed in claim 4, characterized in that: The construction of the time-frequency feature is specifically as follows: Variational mode decomposition is used to decompose the time series operation data into multiple intrinsic mode functions; The time-frequency features and frequency domain features are extracted for each intrinsic mode function and spliced ​​with the time series operation data after the first quality improvement to obtain the time-frequency features.

6. A method for improving the quality of distributed photovoltaic distribution network data as claimed in claim 4, characterized in that: The network attack detection model includes an improved convolutional neural network, a bidirectional long short-term memory network, a fully connected layer and a softmax classifier; The improved convolutional neural network introduces an attention mechanism through a squeeze excitation module in the convolutional neural network, assigns weights to each feature, highlights useful features, and weakens redundant features, so that the extracted features are more conducive to classification; The bidirectional long short-term memory network is used to extract time series features; The fully connected layer and the softmax classifier are used to output classification results, including normal data and attacked data.

7. A method for improving the quality of distributed photovoltaic distribution network data as claimed in claim 1, characterized in that: The evaluation is to comprehensively evaluate the data quality by taking into account the accuracy, credibility, and real-time nature of the data, selecting accuracy, consistency, completeness, and timeliness as evaluation indicators.

8. A distributed photovoltaic distribution network data quality improvement system, characterized in that: It includes data acquisition module, first improvement module, second improvement module and quality evaluation module: The data acquisition module is configured to: acquire the time-series operation data of the distributed photovoltaic distribution network; The first improvement module is configured to: perform a first quality improvement on the time series operation data, including identification and correction of abnormal data and missing data; The second improvement module is configured to: input the time series operation data after the first quality improvement into the trained network attack correction model to perform a second quality improvement, including identification and correction of the attacked data; The quality evaluation module is configured to: evaluate the data quality after the second quality improvement to obtain a data quality improvement result; Among them, the identification of the attacked data introduces the attention mechanism through the squeeze excitation module on the convolutional neural network, combines the bidirectional long short-term memory network to extract the time series features, and classifies the network attack data according to the time series features to obtain the attacked data.

9. An electronic device, comprising: a memory for non-transitory storage of computer readable instructions; a processor for executing the computer-readable instructions; Wherein, when the computer-readable instructions are executed by the processor, the method according to any one of claims 1 to 7 is executed.

10. A storage medium, characterized in that: The computer-readable instructions are non-transitorily stored, wherein when the computer-readable instructions are executed by a computer, the method of any one of claims 1 to 7 is performed.

Citation Information

Cited By

  • Topology identification method and system for low-voltage distribution network based on deep learning

    CN119627914A