A steady-state load identification method based on improved TOPSIS algorithm
Through the improved TOPSIS algorithm and combined weighting method, the problems of large calculation amount and low identification accuracy in load identification technology are solved, and efficient load identification on lightweight equipment is achieved, which is suitable for power consumption monitoring of smart meters and electrical appliance performance. evaluate.
Patent Information
- Application Number
- CN202111501766.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-09
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-12-09
AI Technical Summary
There is a contradiction between the accuracy and the amount of calculation in the existing load identification technology. The deep learning method has high identification accuracy but a large amount of calculation. The feature analysis method has low identification accuracy and low calculation cost, making it difficult to be suitable for lightweight equipment.
The improved TOPSIS algorithm is used for steady-state load identification, and the optimal solution is found through the feature matching method. The combined weighting method of the independence weight method and the variation coefficient method is combined to calculate the weight of the feature information, reduce the calculation amount and improve the identification accuracy.
It achieves efficient load identification on lightweight equipment, avoids the high computational load of deep learning, improves identification accuracy, and supports smart meters’ power consumption and energy-saving diagnosis and electrical appliance performance evaluation.
Smart Images

Figure CN114397519B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of non-intrusive load identification and monitoring, and in particular to a steady-state load identification method based on an improved TOPSIS algorithm. Background Art
[0002] In order to design and develop a new generation of smart meters and realize the collection and control of electricity consumption information of large-capacity loads in user households, power companies urgently need to change the current supervision mode of the power system and improve supervision efficiency. By embedding non-intrusive load identification modules into smart meters, power companies can obtain more detailed electricity consumption information data, which plays an important role in energy management, power system maintenance, residential electricity services, etc., and provides support for the construction of smart grids.
[0003] In order to realize non-intrusive load identification under smart meters, existing load identification technologies usually adopt two methods. One is to use a multi-layer neural network combined with a genetic algorithm and transient energy changes to identify electrical equipment. This method uses deep learning and has high recognition accuracy, but there is a pre-training process and requires a high amount of calculation, which is difficult to apply to some lightweight devices. The other method identifies electrical equipment by performing maximum similarity analysis between feature quantities and feature library templates, which greatly reduces the calculation cost, but there are also problems such as insufficient utilization of feature information and low recognition accuracy.
[0004] This paper proposes a steady-state load identification method based on an improved TOPSIS algorithm, which uses a feature matching method to find the optimal solution, avoiding the problem of high computational complexity of deep learning. On the other hand, based on the principle of the TOPSIS algorithm, it is insensitive to the number of features, and increasing the feature type does not increase the overhead. At the same time, the improved combined weighting method is used to fully explore the feature information and improve the identification accuracy, which has a strong practical significance for the development of non-intrusive load identification for smart meters. Summary of the invention
[0005] The purpose of the present invention is to provide a steady-state load identification method based on an improved TOPSIS algorithm, which is convenient for integration on a non-intrusive load acquisition device to perform real-time residential electricity consumption monitoring, and provides a technical basis for the application of smart meters in energy-saving diagnosis, identification of electricity safety hazards, and electrical appliance performance evaluation.
[0006] The technical solution to implement the present invention is a steady-state load identification method based on an improved TOPSIS algorithm, comprising the following steps:
[0007] Step 1: Obtain basic electrical data when the load is working stably for a period of time;
[0008] Step 2: Calculate the corresponding characteristic values according to the electrical appliance data and the basic electrical characteristic calculation formula, and establish a load characteristic library;
[0009] Step 3: The steady-state characteristics of the load to be tested and the characteristic library obtained in step 2 are used to calculate the similarity fitting coefficient through the similarity calculation formula to obtain the similarity fitting matrix A;
[0010] Step 4: Based on the similarity fitting matrix A in step 3, the weight ω of each steady-state feature in load identification is calculated according to the improved combined weighting formula j ;
[0011] Step 5: Normalize the similarity fitting matrix obtained in step 3 to obtain a normalized matrix R;
[0012] Step 6: Multiply the weight coefficient calculated in step 4 by the normalized matrix calculated in step 5 to obtain a weighted fitting coefficient matrix V;
[0013] Step 7: Use the TOPSIS decision algorithm to match the optimal ideal solution to the weighted fitting coefficient matrix calculated in step 6, and obtain the load similarity close index sequence D i ;
[0014] Step 8: Determine the decision result based on the similarity closeness index.
[0015] Furthermore, in step 1, the basic electrical data may include the load steady-state operating current effective value, voltage effective value, current harmonics, and the phase difference between voltage and current.
[0016] Furthermore, the electrical characteristic values in step 2 include effective value of current, ratio of voltage to current (volt-ampere ratio), third harmonic of current, fifth harmonic of current, harmonic distortion of current, and active power;
[0017] The calculation formula for current harmonic distortion THD and active power P is:
[0018]
[0019] P=UIcosα
[0020] Among them I k is the kth harmonic current, I1 is the fundamental current, I K is the total harmonic current content; U is the effective value of voltage, I is the effective value of current, and α is the absolute phase difference between voltage and current.
[0021] Furthermore, the load feature library in step 2 is in the form of a matrix, where the rows represent possible load types, i.e., sample types, and the columns represent feature types, i.e., feature values corresponding to each sample, represented by dij express.
[0022] Furthermore, the similarity fitting coefficient of step 3 is a ij , all similarity fitting coefficients constitute the similarity fitting matrix A, and the similarity calculation formula is:
[0023] a ij =|d0-d ij | 1 / 2
[0024] Where d0 is the characteristic value corresponding to the load to be tested.
[0025] Furthermore, the improved combined weighting formula in step 4 is a combined weighting method that combines the independence weight method with the variation coefficient method, and the combination method adopts a linear weighted synthesis method;
[0026] The calculation formula of the independence weight method is:
[0027]
[0028]
[0029] Where R i is the multiple correlation coefficient, X i is the i-th eigenvalue vector, For X i The optimal linear combination of For X i The mean value, p i is the corresponding weight coefficient;
[0030] The calculation formula of the coefficient of variation method is:
[0031]
[0032]
[0033] where μ j and σ j is the mean and variance of the jth feature under all samples, v j is the coefficient of variation, q j is the corresponding weight coefficient;
[0034] The combined weight coefficient ω j The calculation formula is:
[0035] ω j =λp j +(1-λ)q j
[0036] Where λ is the scaling factor;
[0037] Furthermore, the calculation formula of the normalization operation in step 5 is:
[0038]
[0039] Where K is the number of samples in the feature library, and N is the number of features in the feature library;
[0040] Furthermore, the specific method of step 7 is:
[0041] Step 7.1: In the weighted fitting coefficient matrix V obtained in step 6, find the positive ideal solution x for each feature, that is, each column + and negative ideal solution x - , respectively, the maximum and minimum values in the column:
[0042]
[0043]
[0044] Where K is the number of rows and N is the number of columns. and are the maximum and minimum values of each column respectively;
[0045] Step 7.2: Calculate the combined distance s from each load combination to the positive and negative ideal solutions + and - :
[0046]
[0047]
[0048] Step 7.3: Calculate the relative closeness index D of each load combination to the positive and negative ideal solutions i The larger the index is, the closer it is to the load to be tested:
[0049]
[0050] Furthermore, a similarity proximity index threshold needs to be set in step 8. For similarity proximity indexes above the threshold, the corresponding sample with the largest value is the determined load type; if all are below the threshold, it is considered that the judgment fails and there is no matching sample.
[0051] Compared with the prior art, the present invention has the following significant advantages:
[0052] (1) The present invention uses a non-invasive method to identify loads and can be directly embedded in the smart meter system. It is more flexible and convenient, does not require interrupting the power supply of the device, is easy to be accepted by users, and saves costs;
[0053] (2) The load characteristics are matched with the feature library to make judgments, which avoids the training of sample data in the deep learning mode and reduces the amount of calculation, so that it can be embedded in lightweight smart meters and other acquisition terminals. The feature library and identification algorithm can be automatically upgraded online, which is convenient for maintenance by power companies.
[0054] (3) An improved combined weighting method based on the independence weight method and the coefficient of variation method is used to calculate the weights in the TOPSIS algorithm, fully exploring the feature information based on multiple features and ensuring sufficient recognition accuracy under lightweight computing conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 It is a flow chart of an improved combined weighting algorithm based on the independence weight method and the coefficient of variation method of the present invention;
[0056] Figure 2 It is a flow chart of a steady-state load identification method based on an improved TOPSIS algorithm of the present invention;
[0057] Figure 3 It is a specific flow chart of the present invention using the TOPSIS algorithm to calculate the similarity closeness index. DETAILED DESCRIPTION
[0058] The present invention will be further described below in conjunction with the accompanying drawings.
[0059] like Figure 1 to Figure 3 , a steady-state load identification method based on the improved TOPSIS algorithm, the specific steps are as follows:
[0060] Step 1: Calculate weights by the independence weight method.
[0061] Step 1.1: Data initialization. The similarity fitting coefficient of each feature under different load samples is taken as a vector. There are n types of features, that is, there are n vectors.
[0062] Step 1.2: Regression analysis, calculate the optimal linear combination. For each eigenvalue vector X i , all the remaining eigenvalue vectors, overall there is a linear representation to approximate X i , denoted as That is called X i The optimal linear combination of . Generally, the least squares method can be used to find the optimal linear combination, as shown in the following formula (1):
[0063]
[0064] Step 1.3: Calculate the complex correlation coefficient. Calculate the complex correlation coefficient R of each eigenvalue vector to other eigenvalue vectors i , the calculation formula is (2):
[0065]
[0066] Where R i is the multiple correlation coefficient, X i is the i-th eigenvalue vector, For X i The optimal linear combination of For X i The mean of .
[0067] Step 1.4: Calculate weights. From 1.3, we get the list of complex correlation coefficients R. Normalize each element in it according to formula (3) to get the weight of each feature.
[0068]
[0069] Step 2: Calculate the weights by the coefficient of variation method.
[0070] Step 2.1: Data initialization. Obtain the similarity fitting matrix.
[0071] Step 2.2: Calculate the mean and standard deviation. Calculate the mean μ of each feature sample under all load samples j and standard deviation σ j , where j represents the jth feature in the feature library. The specific calculation formula is (4):
[0072]
[0073] Step 2.3: Calculate the coefficient of variation. Calculate the coefficient of variation v of the jth feature j :
[0074]
[0075] Step 2.4: Calculate weights. Normalize the coefficient of variation to obtain the weight w of each indicator. j :
[0076]
[0077] Step 3: Calculate the combined weight. Combine the weights obtained by the two weighting methods and use the linear weighted synthesis method to obtain the combined weight W j , the specific formula is as follows:
[0078] W j =λp j +(1-λ)qj (7)
[0079] where p j and q j are the weights calculated by the two weighting methods respectively, and λ is the proportional factor.
[0080] Combination Figure 2 The specific steps of the steady-state load identification method based on the improved TOPSIS algorithm are as follows:
[0081] Step 1: Obtain electrical appliance data. Obtain stable electrical data of residents' electricity consumption over a period of time through smart meters or collectors.
[0082] Step 2: Calculate the characteristic value and establish the characteristic library. Calculate the corresponding characteristic value according to the electrical appliance data and the basic electrical characteristic calculation formula, and establish the load characteristic library through a certain amount of measured data.
[0083] Load characteristics include effective current value, voltage to current ratio (volt-ampere ratio), third harmonic of current, fifth harmonic of current, current harmonic distortion, and active power.
[0084] The calculation formula for current harmonic distortion THD and active power P is:
[0085]
[0086] P=UI cosα (9)
[0087] Among them I k is the kth harmonic current, I1 is the fundamental current, I k is the total harmonic current content; U is the effective value of voltage, I is the effective value of current, and α is the absolute phase difference between voltage and current.
[0088] Step 3: Calculate the similarity fit coefficient and obtain the similarity fit matrix. The similarity fit coefficient is a ij , All similarity fitting coefficients constitute the similarity fitting matrix A, and its calculation formula is:
[0089] a ij =|d0-d ij | 1 / 2 (10)
[0090] Where d0 is the characteristic value corresponding to the load to be tested.
[0091] Step 4: Calculate weights using the combined weighting method. See Figure 1 Detailed description.
[0092] Step 5: Normalization. The similarity fitting matrix A is processed by the normalization formula (11) to obtain the normalized matrix R.
[0093]
[0094] Where K is the number of samples in the feature library, and N is the number of features in the feature library.
[0095] Step 5: Calculate the weighted fitting coefficient matrix. Multiply the elements in the fitting coefficient matrix by the corresponding feature weight coefficients to obtain the weighted fitting coefficient matrix V.
[0096] Step 6: Use the TOPSIS algorithm to obtain the similarity index. See the specific calculation process for details. Figure 3 Detailed description.
[0097] Step 7: Determine the result. Set a similarity index threshold. For similarity indexes above the threshold, the sample with the largest value is the load type to be determined. If all the similarity indexes are below the threshold, the determination is considered to have failed and there is no matching sample.
[0098] Combination Figure 3 The specific steps for calculating the similarity closeness index using the TOPSIS algorithm are as follows:
[0099] Step 1: Initialize the data. Import the weighted fitting coefficient matrix V.
[0100] Step 2: Calculate the positive ideal solution and the negative ideal solution. In the weighted fitting coefficient matrix, the maximum value of all load samples under each eigenvalue is the positive ideal solution x + , the minimum value is the negative ideal solution x - ,
[0101]
[0102]
[0103] Where K is the number of rows and N is the number of columns. and are the maximum and minimum values of each column respectively.
[0104] Step 3: Calculate the comprehensive distance of each load sample to the positive and negative ideal solutions. The distance to the positive ideal solution is denoted as s + , the distance to the negative ideal solution is denoted by s - ,
[0105]
[0106]
[0107] Step 4: Calculate the relative closeness index. Calculate the relative closeness index D of each load combination to the positive and negative ideal solutions. i The larger the index is, the closer it is to the load to be tested:
[0108]
Claims
1. A steady-state load identification method based on an improved TOPSIS algorithm, characterized in that: The following steps are involved: Step 1: Obtain basic electrical data when the load is working stably for a period of time; Step 2: Calculate the corresponding characteristic values according to the electrical appliance data and the basic electrical characteristic calculation formula, and establish a load characteristic library; Step 3: The steady-state characteristics of the load to be tested and the characteristic library obtained in step 2 are used to calculate the similarity fitting coefficient through the similarity calculation formula to obtain the similarity fitting matrix A; Step 4: Based on the similarity fitting matrix A in step 3, the weight ω of each steady-state feature in load identification is calculated according to the improved combined weighting formula j ; Step 5: Normalize the similarity fitting matrix obtained in step 3 to obtain a normalized matrix R; Step 6: Multiply the weight coefficient calculated in step 4 by the normalized matrix calculated in step 5 to obtain the weighted fitting coefficient matrix V; Step 7: Use the TOPSIS decision algorithm to match the optimal ideal solution to the weighted fitting coefficient matrix calculated in step 6, and obtain the load similarity close index sequence D i ; Step 8: Determine the decision result based on the similarity index; The electrical characteristic values in step 2 include the effective value of current, the ratio of voltage to current, i.e., volt-ampere ratio, the third harmonic of current, the fifth harmonic of current, the harmonic distortion of current, and the active power; The calculation formula for current harmonic distortion THD and active power P is: P=UIcosα Among them I k is the kth harmonic current, I1 is the fundamental current, I K is the total harmonic current content; U is the effective value of voltage, I is the effective value of current, and α is the absolute phase difference between voltage and current; The improved combined weighting formula in step 4 is a combined weighting method that combines the independence weight method with the variation coefficient method, and the combination method adopts a linear weighted synthesis method; The calculation formula of the independence weight method is: Where R i is the multiple correlation coefficient, X i is the i-th eigenvalue vector, For X i The optimal linear combination of For X i The mean value, p i is the corresponding weight coefficient; The calculation formula of the coefficient of variation method is: where μ j and σ j is the mean and variance of the jth feature under all samples, v j is the coefficient of variation, q j is the corresponding weight coefficient; The combined weight coefficient ω j The calculation formula is: oh j =λp j +(1-λ)q j Where λ is the scaling factor.
2. The method for identifying steady-state loads based on the improved TOPSIS algorithm according to claim 1, characterized in that: In step 1, the basic electrical data include the load steady-state working current effective value, voltage effective value, current harmonics, and the phase difference between voltage and current.
3. The method for identifying steady-state loads based on an improved TOPSIS algorithm according to claim 1, characterized in that: The load feature library in step 2 is in the form of a matrix, where the rows represent possible load types, i.e., sample types, and the columns represent feature types, i.e., feature values corresponding to each sample, expressed as d ij express.
4. The method for identifying steady-state loads based on an improved TOPSIS algorithm according to claim 1, characterized in that: The similarity fitting coefficient of step 3 is a i j, all similarity fitting coefficients constitute the similarity fitting matrix A, and the similarity calculation formula is: a ij =|d0-d ij | 1 / 2 Where d0 is the characteristic value corresponding to the load to be tested.
Citation Information
Patent Citations
Early warning method for voltage sag based on electric energy quality data mining at monitoring point
CN103886518A
Non-invasive household electricity load identification method and system
CN110514889A
House non-intrusive load intelligent identification method based on data mining
CN113191600A
Non-intrusive load identification method based on similarity matching
CN113466535A
Current Pattern Matching Method for Non-Intrusive Power Load Monitoring and Disaggregation
US20150309092A1
