A non-intrusive load real-time decomposition method and system
The ResGCN network model is used to construct a multi-feature input load data graph, and the Chebyshev graph convolution and fully connected layers are combined for feature extraction and decomposition, which solves the problem of low accuracy of load decomposition and realizes real-time analysis of non-intrusive loads. Decomposition and accurate result output.
Patent Information
- Application Number
- CN202210757630.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-06-30
AI Technical Summary
The accuracy of load decomposition in the existing technology is not high, and the lack of full mining of time correlation results in inaccurate decomposition results.
The ResGCN network model is used to construct a multi-feature input non-intrusive load data map based on historical data, including the most recent component, the previous day's component and the last week's component data map, and is characterized by a residual module composed of Chebyshev graph convolution and 1×1conv. Extract and decompose, combine the pooling layer and the fully connected layer to perform deep feature mapping, and perform multi-component fusion to output the decomposition result at the current moment.
It realizes real-time decomposition of non-intrusive loads based on historical data, fully explores the attribute characteristics and time correlation characteristics of data under low sampling frequency, and improves the accuracy of decomposition.
Smart Images

Figure CN115099349B
Abstract
Description
Technical Field
[0001] The invention relates to a non-invasive load real-time decomposition method and system, belonging to the technical field of non-invasive load decomposition. Background Art
[0002] With the rapid development of society, energy issues are becoming increasingly tense. Electricity issues are the key factor in alleviating energy shortages. Load decomposition is the basis of "smart electricity use". Realizing non-invasive real-time load decomposition is of great benefit to both the power system and electricity users. The power system can understand the power consumption structure of users in real time, help them formulate electricity prices and allocate funds more scientifically and reasonably, establish a "avoid peak time" system, and implement policies such as segmented electricity prices and time-of-use electricity prices. Users can understand their electricity consumption in real time, arrange their electricity consumption plans reasonably, and achieve the goal of energy saving.
[0003] At present, most scholars have proposed different load decomposition models based on the optimization of load decomposition algorithms. This is aimed at the problem that the decomposition accuracy is not high due to the lack of full mining of time correlation. Summary of the invention
[0004] The purpose of the present invention is to overcome the deficiencies in the prior art and provide a non-intrusive load real-time decomposition method and system, which can perform real-time decomposition of non-intrusive loads based on historical data. To achieve the above purpose, the present invention is implemented by adopting the following technical solutions:
[0005] In a first aspect, the present invention provides a non-intrusive load real-time decomposition method, comprising:
[0006] Acquire total load data of the non-intrusive load, the total load data comprising: a total load active power sequence, a total load voltage sequence, and a total load current sequence;
[0007] Based on the acquired total load data, a data graph of multi-feature input non-intrusive load is constructed, wherein the data graph includes a recent component data graph, a previous day component data graph, and a last week component data graph;
[0008] Input each component data graph into the pre-built ResGCN network model to obtain the decomposition results of each component;
[0009] The decomposition results are subjected to multi-component fusion to obtain a fused decomposition result, the decomposition result at the current moment is extracted from the decomposition result, and the decomposition result at the current moment is output.
[0010] In combination with the first aspect, further, the step of constructing a data graph of a multi-feature input non-intrusive load includes:
[0011] Initialize the sampling frequency and current time, intercept three time series segments of length T, and divide the total load sequence into the nearest component Lh 、Previous day's weight L d and last week's L w ;
[0012] The three components are divided into sliding segments respectively, and the length of the sliding time window is M. Each time, one sampling point is moved forward, starting from the first load sequence, and one sliding is performed to obtain T-M+1 load sequence vectors with a length of M;
[0013] Each load sequence of the three load sequence vectors is constructed into an undirected graph G(X,A) separately. X is the feature matrix of the nodes in the graph, and A is the adjacency matrix. The node features consider the traditional load features. The adjacency matrix assigns the corresponding time interval weights between the node features, which can be expressed by the following formula:
[0014] X=[x1,x2,…,x N ]=[P T ,U T ,I T ] T (1)
[0015]
[0016] In formula (1), N is the number of nodes, N = M; P T =[P1,P2,…,P N ] represents the active power of each node; U T =[U1,U2,…,U N ] represents the effective value of the voltage at each node; I T =[I1,I2,…,I N ] represents the effective value of the current at each node; in formula (2), A i,j represents the adjacency matrix between node i and node j, t i represents the time when node i is located; t j represents the time at which node j is located; σ is the scaling factor.
[0017] In combination with the first aspect, further, the pre-built ResGCN network model includes three independent components with the same structure, which are used to process the most recent component data graph, the previous day's component data graph and the last week's component data graph respectively.
[0018] In combination with the first aspect, further, the independent components each include multiple ResGCN sub-modules, a pooling layer and a fully connected layer, and the ResGCN sub-module is a residual module composed of Chebyshev graph convolution and 1×1conv.
[0019] In combination with the first aspect, further, the decomposition results of each component are obtained, including:
[0020] Input each component data graph into multiple ResGCN submodules of each independent component for feature extraction to obtain the data feature graph of each component;
[0021] Input the data feature map of each component into the pooling layer for compression to obtain the pooling result;
[0022] The pooling results are input into the fully connected layer to perform nonlinear mapping from deep features to target electrical power to obtain the decomposition results of each component.
[0023] In combination with the first aspect, further, multi-component fusion is performed, which is expressed by the following formula:
[0024]
[0025] In formula (3), ⊙ is the Hadamard product, W h ,W d ,W w It is the weight of the most recent component data, the previous day's component data and last week's component data, which is determined based on the degree of influence of each component data in the historical data.
[0026] In a second aspect, the present invention provides a non-intrusive load real-time decomposition system, comprising:
[0027] Acquisition module: used to acquire total load data of non-intrusive load, the total load data including: total load active power sequence, total load voltage sequence and total load current sequence;
[0028] A data graph construction module is used to construct a data graph of a multi-feature input non-intrusive load based on the acquired total load data, wherein the data graph includes a recent component data graph, a previous day component data graph, and a last week component data graph;
[0029] Decomposition module: used to input each component data graph into the pre-built ResGCN network model to obtain the decomposition results of each component;
[0030] Fusion output module: used to fuse the decomposition results into multiple components to obtain the fused decomposition results, extract the decomposition results at the current moment from the decomposition results, and output the decomposition results at the current moment.
[0031] In a third aspect, the present invention provides a computing device, characterized in that it includes a processor and a storage medium;
[0032] The storage medium is used to store instructions;
[0033] The processor is used to operate according to the instructions to execute the steps of the method described in the first aspect.
[0034] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the steps of the method described in the first aspect.
[0035] Compared with the prior art, the non-intrusive real-time load decomposition method and system provided by the embodiment of the present invention have the following beneficial effects:
[0036] The present invention obtains total load data of non-intrusive loads, and the total load data includes: a total load active power sequence, a total load voltage sequence, and a total load current sequence; based on the obtained total load data, a data graph of multi-feature input non-intrusive loads is constructed, and the data graph includes a recent component data graph, a previous day component data graph, and a last week component data graph; the present invention converts the multi-feature input data to be decomposed into graph data containing nodes and edges based on graph theory;
[0037] The present invention inputs each component data graph into a pre-built ResGCN network model to obtain the decomposition results of each component; the decomposition results are multi-component fused to obtain the fused decomposition results, the decomposition results at the current moment are extracted from the decomposition results, and the decomposition results at the current moment are output. The ResGCN network model of the present invention fully exploits the attribute characteristics and time correlation characteristics contained in the data at low sampling frequency, comprehensively considers multiple feature factors based on historical data, takes the decomposition results corresponding to the current moment for output, and realizes real-time decomposition of non-intrusive loads based on historical data. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 This is a flow chart of a non-intrusive load real-time decomposition method provided in Example 1 of the present invention. DETAILED DESCRIPTION
[0039] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.
[0040] Embodiment 1:
[0041] like Figure 1 The embodiment of the present invention provides a non-intrusive load real-time decomposition method, comprising:
[0042] Acquire total load data of the non-intrusive load, the total load data comprising: a total load active power sequence, a total load voltage sequence, and a total load current sequence;
[0043] Based on the acquired total load data, a data graph of multi-feature input non-intrusive load is constructed, wherein the data graph includes a recent component data graph, a previous day component data graph, and a last week component data graph;
[0044] Input each component data graph into the pre-built ResGCN network model to obtain the decomposition results of each component;
[0045] The decomposition results are subjected to multi-component fusion to obtain a fused decomposition result, the decomposition result at the current moment is extracted from the decomposition result, and the decomposition result at the current moment is output.
[0046] The specific steps are as follows:
[0047] Step 1: Obtain total load data for non-intrusive loads.
[0048] The total load data includes: total load active power sequence, total load voltage sequence and total load current sequence.
[0049] Step 2: Based on the acquired total load data, a data graph of multi-feature input non-intrusive load is constructed.
[0050] Step 2.1: Initialize the sampling frequency q and the current time t0, intercept three time series segments of length T, and divide the total load series into the nearest component L h 、Previous day's weight L d and last week's L w .
[0051] The most recent component represents a historical time series that is directly adjacent to the current moment. The load that has just passed will inevitably have an impact on the load at this moment. It can be expressed as: in, represents a real number, and F represents the node feature dimension.
[0052] The previous day's load means that the load of the past day is considered in the same time period. Due to people's daily life patterns, the load data may show repeated patterns, such as daily mealtime peaks. It is expressed as: in, represents a real number, and F represents the node feature dimension.
[0053] Last week's component indicates that the power consumption pattern of a certain day this week is similar to that of the same day last week. Last week's load characteristics are of reference to this week's load characteristics, which can be expressed as: in, represents a real number, and F represents the node feature dimension.
[0054] Step 2.2: Slide the three components separately. The length of the sliding time window is M. Move forward one sampling point each time, starting from the first load sequence, and slide once to obtain T-M+1 load sequence vectors with a length of M.
[0055] Taking the most recent component as an example, the first load sequence formed is recorded as Slide in sequence, and finally form T-M+1 load sequence vectors with a length of M The method of segmenting the previous day's weight and last week's weight is the same as above.
[0056] Step 2.3: Each load sequence of the three load sequence vectors is constructed into an undirected graph G(X,A) separately, where X is the feature matrix of the nodes in the graph, and A is the adjacency matrix. The node features consider the traditional load features, and the adjacency matrix assigns the corresponding time interval weights between the node features, which can be expressed by the following formula:
[0057] X=[x1,x2,…,x N ]=[P T ,U T ,I T ] T (1)
[0058]
[0059] In formula (1), N is the number of nodes, N = M; P T =[P1,P2,…,P N ] represents the active power of each node; U T =[U1,U2,…,U N ] represents the effective value of the voltage at each node; I T =[I1,I2,…,I N ] represents the effective value of the current at each node; in formula (2), A i,j represents the adjacency matrix between node i and node j, t i represents the time when node i is located; t j represents the time at which node j is located; σ is the scaling factor.
[0060] The constructed data graphs of the multi-feature input non-intrusive load include: the most recent component data graph, the previous day's component data graph, and the last week's component data graph.
[0061] Step 3: Input each component data graph into the pre-built ResGCN network model to obtain the decomposition results of each component.
[0062] The pre-built ResGCN network model includes three independent components with the same structure, which are used to process the recent component data graph, the previous day component data graph, and the last week component data graph. Each independent component includes multiple ResGCN submodules, pooling layers, and fully connected layers. The ResGCN submodule is a residual module composed of Chebyshev graph convolution and 1×1conv.
[0063] Step 3.1: Input each component data graph into multiple ResGCN sub-modules of each independent component for feature extraction to obtain the data feature graph of each component.
[0064] The specific expression is:
[0065]
[0066]
[0067] in, With X (r) Represents the input and output of the model, L is the Laplace matrix, A is the adjacency matrix, is the degree matrix, D ii =∑ j A ij , I N is the identity matrix. is the vector of polynomial coefficients, θ k Represents the k-order polynomial coefficient, where k represents the order. is the largest eigenvalue of the Laplacian matrix, λ max represents the largest eigenvalue of the Laplacian matrix. T k (x) = 2xT k-1 (x)-T k-2 (x), where T0(x) = 1, T1(x) = x, and x represents the original input data. The formula is solved by using the approximate expansion of Chebyshev polynomials through the convolution kernel gθ, which corresponds to extracting the sub-neighborhood around 0 to the K-1th centered on each node in the graph. Indicates input The identity mapping is usually equal to In the present invention, it is set to input The result of performing one 1×1 convolution operation. f represents the activation function, and the present invention selects the ReLu function.
[0068] Step 3.2: Input the data feature map of each component into the pooling layer for compression to obtain the pooling result.
[0069] Use graph max pooling to compress data features, focus on effective information and remove redundant information. The specific calculation formula is:
[0070] x max =max{x1,x2,…,x N} (5)
[0071] In formula (5), max is the maximum value of each feature value.
[0072] Step 3.3: Input the pooling result into the fully connected layer to perform nonlinear mapping from deep features to target electrical power to obtain the decomposition results of each component.
[0073] The specific expression is:
[0074]
[0075] In formula (6), W (k-1) is the weight matrix of the kth fully connected layer; b (k-1) is the bias matrix of the kth fully connected layer; Input features for the kth fully connected layer; is the feature output after the kth fully connected layer.
[0076] The decomposition results of each component are expressed as: The decomposition result of the nearest component Previous day's component breakdown results Last week's component breakdown results
[0077] Step 4: Perform multi-component fusion on the decomposition results to obtain the fused decomposition results, extract the decomposition results at the current moment from the decomposition results, and output the decomposition results at the current moment.
[0078] Multi-component fusion is performed, which is expressed by the following formula:
[0079]
[0080] In formula (7), ⊙ is the Hadamard product, W h ,W d ,W w It is the weight of the most recent component data, the previous day's component data and last week's component data, which is determined based on the degree of influence of each component data in the historical data.
[0081] The ResGCN network model of the present invention fully exploits the attribute characteristics and time correlation characteristics contained in the data at low sampling frequency, comprehensively considers multiple feature factors based on historical data, takes the decomposition result corresponding to the current moment for output, and realizes real-time decomposition of non-intrusive loads based on historical data.
[0082] Embodiment 2:
[0083] An embodiment of the present invention provides a non-intrusive load real-time decomposition system, comprising:
[0084] Acquisition module: used to acquire total load data of non-intrusive load, the total load data including: total load active power sequence, total load voltage sequence and total load current sequence;
[0085] A data graph construction module is used to construct a data graph of a multi-feature input non-intrusive load based on the acquired total load data, wherein the data graph includes a recent component data graph, a previous day component data graph, and a last week component data graph;
[0086] Decomposition module: used to input each component data graph into the pre-built ResGCN network model to obtain the decomposition results of each component;
[0087] Fusion output module: used to fuse the decomposition results into multiple components to obtain the fused decomposition results, extract the decomposition results at the current moment from the decomposition results, and output the decomposition results at the current moment.
[0088] Embodiment three:
[0089] An embodiment of the present invention provides a computing device, including a processor and a storage medium;
[0090] The storage medium is used to store instructions;
[0091] The processor is used to operate according to the instructions to execute the steps of the method described in embodiment 1.
[0092] Embodiment 4:
[0093] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the method described in the first embodiment are implemented.
[0094] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0095] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0096] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0097] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0098] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A non-intrusive real-time load decomposition method, characterized in that: include: Acquire total load data of the non-intrusive load, the total load data comprising: a total load active power sequence, a total load voltage sequence, and a total load current sequence; Based on the acquired total load data, a data graph of multi-feature input non-intrusive load is constructed, wherein the data graph includes a recent component data graph, a previous day component data graph, and a last week component data graph; The step of constructing a data graph of a multi-feature input non-intrusive load includes: Initialize the sampling frequency and current time, intercept three time series segments of length T, and divide the total load sequence into the nearest component L h 、Previous day's weight L d and last week's L w ; The three components are divided into sliding segments respectively, and the length of the sliding time window is M. Each time, one sampling point is moved forward, starting from the first load sequence, and one sliding is performed to obtain T-M+1 load sequence vectors with a length of M; Each load sequence of the three load sequence vectors is constructed into an undirected graph G(X,A) separately. X is the feature matrix of the nodes in the graph, and A is the adjacency matrix. The node features consider the traditional load features. The adjacency matrix assigns the corresponding time interval weights between the node features, which can be expressed by the following formula: X=[x1,x2,…,x N ]=[P T ,U T ,I T ] T (1) In formula (1), N is the number of nodes, N = M; P T =[P1,P2,…,P N ] represents the active power of each node; U T =[U1,U2,…,U N ] represents the effective value of the voltage at each node; I T =[I1,I2,…,I N ] represents the effective value of the current at each node; in formula (2), A i,j represents the adjacency matrix between node i and node j, t i represents the time when node i is located; t j represents the time when node j is located; σ is the scaling factor; Input each component data graph into the pre-built ResGCN network model to obtain the decomposition results of each component; The pre-built ResGCN network model includes three independent components with the same structure, which are respectively used to process the most recent component data graph, the previous day's component data graph, and the last week's component data graph; The decomposition results are subjected to multi-component fusion to obtain a fused decomposition result, the decomposition result at the current moment is extracted from the decomposition result, and the decomposition result at the current moment is output.
2. The non-intrusive real-time load decomposition method according to claim 1, characterized in that: The independent components each include a plurality of ResGCN submodules, a pooling layer and a fully connected layer, and the ResGCN submodule is a residual module composed of Chebyshev graph convolution and 1×1conv.
3. The non-intrusive real-time load decomposition method according to claim 2, characterized in that: The decomposition results of each component are obtained, including: Input each component data graph into multiple ResGCN submodules of each independent component for feature extraction to obtain the data feature graph of each component; Input the data feature map of each component into the pooling layer for compression to obtain the pooling result; The pooling results are input into the fully connected layer to perform nonlinear mapping from deep features to target electrical power to obtain the decomposition results of each component.
4. The non-intrusive real-time load decomposition method according to claim 1, characterized in that: The multi-component fusion is expressed by the following formula: In formula (3), ⊙ is the Hadamard product, W h ,W d ,W w It is the weight of the most recent component data, the previous day's component data and last week's component data, which is determined based on the degree of influence of each component data in the historical data.
5. A non-intrusive load real-time decomposition system based on the non-intrusive load real-time decomposition method according to claim 1, characterized in that: include: Acquisition module: used to acquire total load data of non-intrusive load, the total load data including: total load active power sequence, total load voltage sequence and total load current sequence; A data graph construction module is used to construct a data graph of a multi-feature input non-intrusive load based on the acquired total load data, wherein the data graph includes a recent component data graph, a previous day component data graph, and a last week component data graph; Decomposition module: used to input each component data graph into the pre-built ResGCN network model to obtain the decomposition results of each component; Fusion output module: used to fuse the decomposition results into multiple components to obtain the fused decomposition results, extract the decomposition results at the current moment from the decomposition results, and output the decomposition results at the current moment.
6. A computing device, characterized in that including processor and storage medium; The storage medium is used to store instructions; The processor is used to operate according to the instructions to execute the steps of the method according to any one of claims 1 to 4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
