Harmonic responsibility quantification method and system based on cloud platform power quality monitoring
By constructing regression equations and introducing penalty terms in power quality monitoring on cloud platforms, the problem of inaccurate quantification of harmonic responsibility caused by harmonic source correlation and background harmonic fluctuations was solved, and more accurate harmonic responsibility index calculation was achieved.
Patent Information
- Application Number
- CN202311044977.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-17
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-08-17
AI Technical Summary
Existing methods for quantifying harmonic liability do not make full use of the detection data. They cannot effectively quantify when there is a strong correlation between harmonic sources on the user side. At the same time, they have a weak ability to resist background harmonic fluctuations, resulting in inaccurate calculation of harmonic liability indicators.
Based on cloud platform power quality monitoring, an explanatory variable matrix and an explained variable matrix are established using voltage and current data. A regression equation is constructed, a window width and penalty term coefficient are set, a weight matrix is calculated, a penalty term is introduced to reduce the impact of background harmonic fluctuations, and the regression coefficients are calculated using the weighted least squares method. The harmonic responsibility index is then calculated.
It achieves more accurate and faster harmonic responsibility quantification, reduces errors, has good practicality, and can effectively handle the influence of harmonic source correlation and background harmonic fluctuations.
Smart Images

Figure CN117074827B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the extended application of cloud platform power quality online monitoring devices and the field of harmonic responsibility quantification technology, specifically to a harmonic responsibility quantification method and system based on cloud platform power quality monitoring. Background Technology
[0002] With the continuous upgrading of power grid equipment, user-side power quality detection devices (i.e., power quality detection platforms) are also developing rapidly. The issue of expanding the application of their measurement data is attracting more and more attention. Quantitatively classifying the harmonic responsibility of each harmonic source in the system through the measurement data of the device is a prerequisite for realizing intelligent power quality management and control.
[0003] Existing harmonic liability quantification methods do not make full use of the detection data. They cannot effectively quantify harmonic liability when there is a strong correlation between harmonic sources on the user side. At the same time, existing harmonic liability quantification methods are also weak in resisting background harmonic fluctuations.
[0004] In view of the above, this application is hereby submitted. Summary of the Invention
[0005] The technical problem to be solved by the present invention is that the existing harmonic responsibility quantification methods do not make full use of the detection data. When the correlation between the harmonic sources on the user side is strong, the harmonic responsibility cannot be effectively quantified. At the same time, the existing harmonic responsibility quantification methods are also weak in resisting background harmonic fluctuations, which leads to inaccurate calculation of harmonic responsibility index.
[0006] The purpose of this invention is to provide a method and system for harmonic responsibility quantification based on cloud platform power quality monitoring. This invention fully utilizes voltage and current data obtained through a power quality monitoring platform, introduces a weight matrix to select points with similar background harmonics for regression, thus solving the problem of harmonic responsibility quantification when harmonic sources are correlated and background harmonic fluctuations are large. The invention considers the changes in regression coefficients during calculation, reducing the impact of background harmonic fluctuations through weighting. Simultaneously, a penalty term is introduced to weaken the influence of correlation between harmonic sources on the regression results. The method of this invention provides more accurate and faster calculation results with smaller errors and good practicality.
[0007] This invention is achieved through the following technical solution:
[0008] In a first aspect, the present invention provides a method for quantifying harmonic responsibility based on power quality monitoring on a cloud platform, including:
[0009] Voltage and current data are obtained from the online power quality monitoring device on the cloud platform; the voltage and current data include the voltage data of the bus of interest and the current data of the harmonic source port.
[0010] Based on voltage and current data, establish the dependent variable matrix and the independent variable matrix; and based on the dependent variable matrix and the independent variable matrix, construct the regression equation;
[0011] Set the initial range of window width and penalty term coefficients, and calculate the weight matrix based on the window width and the voltage data of the bus of interest;
[0012] Based on the weight matrix, the explained variable matrix, the window width, and the penalty term coefficient, calculate the variance inflation factor and information content criterion index within the initial range of variation, and determine the final penalty term coefficient, the final window width, and the updated weight matrix.
[0013] Based on the final penalty term coefficient, the final window width, and the updated weight matrix, the regression coefficients of the regression equation are solved; and based on the regression coefficients, the harmonic liability index is calculated.
[0014] Furthermore, the focus is on the harmonic voltage on the bus;
[0015] The harmonic source port current data is the harmonic current injected into the power system by each harmonic source, which is the measured current of each harmonic source branch.
[0016] Furthermore, the expression for the regression equation is:
[0017] y i =X i Wβ i +ε
[0018]
[0019] Among them, y i X is the i-th element in the matrix of explained variables. i It is the i-th row of the explanatory variable matrix, β i Z is the i-th column of the regression coefficient matrix β, W is the weight matrix, and ε is the regression residual; Xk (k = 1, 2, ..., p) represents the harmonic transfer impedance between the bus X and the harmonic source k; V X0 Background harmonic voltage; V Xk (k = 1, 2, ..., p) represents the harmonic voltage applied to the bus of interest by the corresponding harmonic source; θ k (k = 1, 2, ..., p) is V Xk Harmonic voltage V of the bus of concern X The included angle; θ0 is V X0 Harmonic voltage V of the bus of concern X The included angle; β np This represents the element in the nth row and pth column of the regression coefficient matrix.
[0020] Furthermore, the formula for calculating the weight matrix W is:
[0021]
[0022] The diagonal elements of the weight matrix are calculated using a Gaussian function, and the calculation formula is as follows: Where d ij Let the real and imaginary parts of the bus harmonic voltage at time i be the x-axis and y-axis, and the real and imaginary parts of the bus harmonic voltage at time j be the Mahalanobis distance between them.
[0023] Further, the final penalty term coefficients, final window width, and updated weight matrix are determined, including:
[0024] Based on the variance inflation factor and information content criterion index within the initial range of variation, the variance inflation factor less than the first preset value is selected as the final penalty term coefficient, and the smallest information content criterion index is selected as the final window width.
[0025] Update the weight matrix based on the final penalty term coefficient and the final window width.
[0026] Furthermore, the formula for calculating the penalty term coefficient VIF is as follows:
[0027]
[0028] Where, diag represents the extraction of the main diagonal elements of the matrix; S is the hat matrix, and the hat matrix S is: S = [S1 S2 …S n ] T ; Let X be the hat vector at sample point i; i Let W be the i-th row of X; X is the matrix of explanatory variables, and W is the i-th row of X i These are elements in the weight matrix W. Let I be the normalized explanatory variable matrix, λ be the penalty term coefficient, and I be the identity matrix;
[0029] The formula for calculating the window width AIC is:
[0030]
[0031] Where RSS is the residual sum of squares, and the residual sum of squares RSS = y T (IS) T (IS)y; tr(·) is the trace of the matrix; n is the number of sampling points.
[0032] Furthermore, based on the final penalty term coefficient, the final window width, and the updated weight matrix, the regression coefficients of the regression equation are solved; and based on the regression coefficients, the harmonic liability index is calculated, including:
[0033] The weighted least squares method is used to substitute the final penalty term coefficient, the final window width, and the updated weight matrix into the regression equation to solve for the regression coefficient matrix.
[0034] Based on each element in the regression coefficient matrix and its corresponding voltage and current values, the harmonic responsibility quantification index of each harmonic source is calculated; the average value of the harmonic responsibility quantification index of each harmonic source is calculated to obtain the equivalent harmonic contribution during the measurement period.
[0035] Secondly, the present invention also provides a harmonic responsibility quantification system based on cloud platform power quality monitoring, which uses the aforementioned harmonic responsibility quantification method based on cloud platform power quality monitoring; the system includes:
[0036] The acquisition unit is used to acquire voltage and current data from the online power quality monitoring device on the cloud platform; the voltage and current data includes the voltage data of the bus of interest and the current data of the harmonic source port.
[0037] The regression equation construction unit is used to establish the dependent variable matrix and the explanatory variable matrix based on voltage and current data; and to construct the regression equation based on the dependent variable matrix and the explanatory variable matrix.
[0038] The weight matrix calculation unit is used to set the initial variation range of the window width and penalty term coefficients, and to calculate the weight matrix based on the window width and the voltage data of the bus of interest.
[0039] The parameter update unit is used to calculate the variance inflation factor and information content criterion index within the initial range of change based on the weight matrix, the explained variable matrix, the window width, and the penalty term coefficient, and to determine the final penalty term coefficient, the final window width, and the updated weight matrix.
[0040] The harmonic liability index calculation unit is used to solve the regression coefficients of the regression equation based on the final penalty term coefficient, the final window width, and the updated weight matrix; and to calculate the harmonic liability index based on the regression coefficients.
[0041] Furthermore, the focus is on the harmonic voltage on the bus;
[0042] The harmonic source port current data is the harmonic current injected into the power system by each harmonic source, which is the measured current of each harmonic source branch.
[0043] Furthermore, the execution process of the harmonic responsibility index calculation unit is as follows:
[0044] The weighted least squares method is used to substitute the final penalty term coefficient, the final window width, and the updated weight matrix into the regression equation to solve for the regression coefficient matrix.
[0045] Based on each element in the regression coefficient matrix and its corresponding voltage and current values, the harmonic responsibility quantification index of each harmonic source is calculated; the average value of the harmonic responsibility quantification index of each harmonic source is calculated to obtain the equivalent harmonic contribution during the measurement period.
[0046] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0047] 1. The present invention provides a harmonic responsibility quantification method and system based on cloud platform power quality monitoring. The method of the present invention provides more accurate and faster calculation results with smaller errors and good practicality.
[0048] 2. This invention relates to a harmonic responsibility quantification method and system based on cloud platform power quality monitoring. It fully utilizes voltage and current data obtained through the power quality monitoring platform. Considering that existing methods for harmonic sources with correlation do not take into account the impact of background harmonic fluctuations, this invention introduces a weight matrix to select points with similar background harmonics for regression, thus solving the problem of harmonic responsibility quantification when harmonic sources are correlated and background harmonic fluctuations are large. The change in regression coefficients is considered during the calculation of regression coefficients, and the impact of background harmonic fluctuations is reduced through weighting. At the same time, a penalty term is introduced to weaken the impact of correlation between harmonic sources on the regression results. Attached Figure Description
[0049] The accompanying drawings, which are included to provide a further understanding of embodiments of the invention and form part of this application, do not constitute a limitation thereof. In the drawings:
[0050] Figure 1 This is a flowchart of the harmonic responsibility quantification method based on cloud platform power quality monitoring according to the present invention;
[0051] Figure 2 This is a schematic diagram of the PCC point equivalent circuit built in Matlab according to Embodiment 1 of the present invention;
[0052] Figure 3 This is a schematic diagram comparing the calculation errors of the method of the present invention with other existing methods in Embodiment 1 of the present invention;
[0053] Figure 4 This is a block diagram of the harmonic responsibility quantification system based on cloud platform power quality monitoring according to the present invention. Detailed Implementation
[0054] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and accompanying drawings. The illustrative embodiments and descriptions of the present invention are only used to explain the present invention and are not intended to limit the present invention.
[0055] Existing harmonic liability quantification methods do not make full use of the detection data. When there is a strong correlation between harmonic sources on the user side, they cannot effectively quantify harmonic liability. At the same time, existing harmonic liability quantification methods are also weak in resisting background harmonic fluctuations, which leads to inaccurate calculation of harmonic liability indicators.
[0056] Therefore, to address the aforementioned problems, this invention designs a harmonic responsibility quantification method and system based on cloud platform power quality monitoring. Using voltage and current data obtained from a power quality monitoring platform, an explanatory variable matrix and an explained variable matrix are established, and a regression equation is constructed. The required window width *b* and penalty term coefficient *λ* are set in the regression. A weight matrix is established, and the variance inflation factor (VIF) and AIC index are calculated simultaneously. The window width *b* and penalty term coefficient *λ* are then redefined based on the VIF and AIC index. Regression coefficients are calculated using the weighted least squares method, and the harmonic responsibility quantification index is calculated based on these regression coefficients.
[0057] This invention fully utilizes voltage and current data obtained through a power quality monitoring platform. Considering that existing methods for addressing correlations between harmonic sources do not account for the impact of background harmonic fluctuations, this invention introduces a weight matrix to select points with similar background harmonics for regression, thus solving the problem of harmonic responsibility quantification when harmonic sources are correlated and background harmonic fluctuations are large. The method considers changes in the regression coefficients during calculation and reduces the impact of background harmonic fluctuations through weighting. Simultaneously, a penalty term is introduced to weaken the influence of correlations between harmonic sources on the regression results. This invention provides more accurate and faster calculations with smaller errors, demonstrating good practicality.
[0058] Example 1
[0059] like Figure 1 As shown, Figure 1 This is a flowchart of the harmonic responsibility quantification method based on cloud platform power quality monitoring according to the present invention; the harmonic responsibility quantification method based on cloud platform power quality monitoring according to the present invention includes:
[0060] Step 1: Obtain voltage and current data from the online power quality monitoring device on the cloud platform; the voltage and current data includes the voltage data of the bus of interest and the current data of the harmonic source port.
[0061] Specifically, the bus voltage data to be focused on is the harmonic voltage V on bus X. X Harmonic source port current data I k (k = 1, 2, ..., p) represents the harmonic current injected into the power system by each harmonic source, which is the measured current of each harmonic source branch.
[0062] Step 2: Based on the voltage and current data, establish the dependent variable matrix and the independent variable matrix; and based on the dependent variable matrix and the independent variable matrix, construct the regression equation;
[0063] Specifically, in step 21, according to V x and I k Establish the matrix of explained variables y and the matrix of explained variables X;
[0064] y = [y1 y2 … y n ] T =[|V X (1)| |V X (2)| … |V X (n)|] T
[0065]
[0066] Where n is the number of sampling points; |V X (n) represents the elements of the explained variable matrix y; x np The element in the nth row and pth column of the explanatory variable matrix; |I p (n)| represents the magnitude of the harmonic source current.
[0067] Step 22: Construct a regression equation based on the explained variable matrix and the explanatory variable matrix; the expression of the regression equation is:
[0068] y i =X i Wβ i +ε
[0069]
[0070] Among them, y i X is the i-th element in the matrix of explained variables. i It is the i-th row of the explanatory variable matrix, β i Z is the i-th column of the regression coefficient matrix β, W is the weight matrix, and ε is the regression residual; Xk (k = 1, 2, ..., p) represents the harmonic transfer impedance between the bus X and the harmonic source k; V X0 Background harmonic voltage; V Xk (k = 1, 2, ..., p) represents the harmonic voltage applied to the bus of interest by the corresponding harmonic source; θ k (k = 1, 2, ..., p) is V Xk With regard to the harmonic voltage V of the bus X The included angle; θ0 is V X0 With V X The included angle; β np is the element in the nth row and pth column of the regression coefficient matrix.
[0071] Step 3: Set the initial range of window width and penalty term coefficients, and calculate the weight matrix based on the window width and the voltage data of the bus of interest;
[0072] The window width *b* is a crucial parameter in calculating the weight matrix, determining the number of other sample points involved in the regression calculation for each sample point. When multicollinearity exists among variables, X... T The X matrix is not of full rank, which can introduce errors into the regression calculation and may even prevent the regression from proceeding. By using the idea of ridge regression, a penalty term λI is introduced, where λ is the penalty term coefficient and I is the identity matrix. Introducing the penalty term makes X... T X+λI is full rank.
[0073] The formula for calculating the weight matrix W is:
[0074]
[0075] The diagonal elements of the weight matrix are calculated using a Gaussian function, and the calculation formula is as follows: Where d ij Let d be the Mahalanobis distance between the real and imaginary parts of the bus harmonic voltage at time i, and the real and imaginary parts of the bus harmonic voltage at time j, respectively. ij For (real(V) X (i)), imag(V X (i))) and (real(V X (j)), imag(V X The Mahalanobis distance between (j)))
[0076] The above technical solutions, considering that existing methods for addressing the correlation of harmonic sources do not consider the impact of background harmonic fluctuations, solve the problem of harmonic responsibility quantification when harmonic sources are correlated and background harmonic fluctuations are large by introducing a weight matrix to select points with similar background harmonics for regression. At the same time, by introducing a weight matrix, points with similar regression coefficients are given greater weights, enabling the method of the present invention to better resist the impact of background harmonic fluctuations.
[0077] Step 4: Based on the weight matrix, the explained variable matrix, the window width, and the penalty term coefficient, calculate the variance inflation factor and information content criterion index within the initial range of variation, and determine the final penalty term coefficient, the final window width, and the updated weight matrix.
[0078] Specifically, determining the final penalty term coefficient, the final window width, and updating the weight matrix includes:
[0079] Based on the variance inflation factor and information content criterion index within the initial range of variation, the variance inflation factor less than the first preset value is selected as the final penalty term coefficient, and the smallest information content criterion index is selected as the final window width.
[0080] Update the weight matrix based on the final penalty term coefficient and the final window width.
[0081] In this embodiment, firstly, the Variable Inflation Factor (VIF) measures the multiple correlations among variables; the larger the VIF value, the stronger the correlation between variables. The formula for calculating the penalty term coefficient VIF is:
[0082]
[0083] Where, diag represents the extraction of the main diagonal elements of the matrix; S is the hat matrix, and the hat matrix S is: S = [S1 S2 …S n ] T ; Let X be the hat vector at sample point i; i Let W be the i-th row of X; X is the matrix of explanatory variables, and W is the i-th row of X i These are elements in the weight matrix W. Let I be the normalized explanatory variable matrix, λ be the penalty term coefficient, and I be the identity matrix;
[0084] In this invention, the penalty term coefficient λ corresponding to a VIF less than 1.1 is selected as the final penalty term coefficient.
[0085] Second, the Akaike Information Criterion (AIC) is a model parameter optimization method that comprehensively evaluates the model by calculating residuals and the hat matrix. A lower AIC value indicates a relatively better model selection. The formula for calculating the window width AIC is:
[0086]
[0087] Where RSS is the residual sum of squares, and the residual sum of squares RSS = y T (IS) T (IS)y; tr(·) is the trace of the matrix; n is the number of sampling points.
[0088] In this invention, the window width b corresponding to the minimum AIC value is selected as the final window width.
[0089] Third, update the weight matrix based on the selected final window width and the final penalty term coefficient.
[0090] Step 5: Solve for the regression coefficients of the regression equation based on the final penalty term coefficients, the final window width, and the updated weight matrix; and calculate the harmonic liability index based on the regression coefficients.
[0091] Step 5 specifically includes:
[0092] The weighted least squares method is used to substitute the final penalty term coefficient, the final window width, and the updated weight matrix into the regression equation to solve for the regression coefficient matrix.
[0093]
[0094] Based on each element in the regression coefficient matrix and its corresponding voltage and current values, the harmonic responsibility quantification index HC of the harmonic source k is calculated. k (i);
[0095]
[0096] For the above formula HC k (i) Calculate the mean value to obtain the equivalent harmonic contribution during the measurement period, which is the harmonic responsibility index HC. k :
[0097]
[0098] Among them, Z Xk (k = 1, 2, ..., p) represents the harmonic transfer impedance between the bus X and the harmonic source k; V X0 Background harmonic voltage; V Xk (k = 1, 2, ..., p) represents the harmonic voltage applied to the bus of interest by the corresponding harmonic source; θ k (k = 1, 2, ..., p) is V Xk With regard to the harmonic voltage V of the bus X The included angle; θ0 is V X0 With V X The included angle, I k This refers to the injected harmonic current corresponding to the harmonic source.
[0099] In practice, a setup is built in Matlab as follows: Figure 2 The equivalent circuit of the PCC point is shown in Table 1, and the parameter table of each component is also shown. The harmonic responsibility quantification index is calculated using this invention. The calculation error is then compared with other existing methods. Figure 3 As shown.
[0100] Table 1 Parameters of Each Component
[0101]
[0102] Let ξ 12 and ξ 13The correlation adjustment coefficients between harmonic currents I1 and I2, and between I1 and I3, respectively. I1, I′2, and I′3 are used as the harmonic currents injected by each user's harmonic source. ξ is adjusted. 12 and ξ 13 The values are 0.1, 0.3, 0.5, 0.7, and 0.9, representing sample data showing correlations from weak to strong among the harmonic source currents. The harmonic contribution of each harmonic source is calculated using the following methods: multiple linear regression (existing method 1), multi-source random independent vector method (existing method 2), multi-source ICA method (existing method 3), ridge regression method (existing method 4), and the method proposed in this invention (method 5).
[0103] Figure 3 This is a schematic diagram comparing the calculation errors of the method of the present invention with those of other existing methods. Figure 3 As can be seen from the percentage error of harmonic contribution for each user, the error of the method of the present invention is significantly smaller than that of the existing technology. The calculation results of the present invention are more accurate and faster, with smaller errors, and have good practicality.
[0104] This invention fully utilizes voltage and current data obtained through a power quality monitoring platform. Considering that existing methods for addressing the correlation of harmonic sources do not take into account the impact of background harmonic fluctuations, this invention introduces a weight matrix to select points with similar background harmonics for regression, thus solving the problem of harmonic responsibility quantification when harmonic sources are correlated and background harmonic fluctuations are large. In the process of calculating the regression coefficients, the changes in the regression coefficients are considered, and the impact of background harmonic fluctuations is reduced through weighting. At the same time, the introduction of a penalty term weakens the impact of the correlation between harmonic sources on the regression results.
[0105] Example 2
[0106] like Figure 4 As shown, Figure 4 This is a block diagram of a harmonic responsibility quantification system based on cloud platform power quality monitoring. The difference between this embodiment and Embodiment 1 is that this embodiment provides a harmonic responsibility quantification system based on cloud platform power quality monitoring, which uses the harmonic responsibility quantification method based on cloud platform power quality monitoring from Embodiment 1. The system includes:
[0107] The acquisition unit is used to acquire voltage and current data from the online power quality monitoring device on the cloud platform. The voltage and current data include the voltage data of the bus of interest and the current data of the harmonic source ports. The voltage data of the bus of interest is the harmonic voltage on the bus of interest. The current data of the harmonic source ports is the harmonic current injected into the power system by each harmonic source, which is the measured current of each harmonic source branch.
[0108] The regression equation construction unit is used to establish the dependent variable matrix and the explanatory variable matrix based on voltage and current data; and to construct the regression equation based on the dependent variable matrix and the explanatory variable matrix.
[0109] The weight matrix calculation unit is used to set the initial variation range of the window width and penalty term coefficients, and to calculate the weight matrix based on the window width and the voltage data of the bus of interest.
[0110] The parameter update unit is used to calculate the variance inflation factor and information content criterion index within the initial range of change based on the weight matrix, the explained variable matrix, the window width, and the penalty term coefficient, and to determine the final penalty term coefficient, the final window width, and the updated weight matrix.
[0111] The harmonic liability index calculation unit is used to solve the regression coefficients of the regression equation based on the final penalty term coefficient, the final window width, and the updated weight matrix; and to calculate the harmonic liability index based on the regression coefficients.
[0112] As a further implementation, the execution process of the harmonic responsibility index calculation unit is as follows:
[0113] The weighted least squares method is used to substitute the final penalty term coefficient, the final window width, and the updated weight matrix into the regression equation to solve for the regression coefficient matrix.
[0114] Based on each element in the regression coefficient matrix and its corresponding voltage and current values, the harmonic responsibility quantification index of each harmonic source is calculated; the average value of the harmonic responsibility quantification index of each harmonic source is calculated to obtain the equivalent harmonic contribution during the measurement period.
[0115] The execution process of each unit can be carried out according to the harmonic responsibility quantification method based on cloud platform power quality monitoring in Example 1, and will not be described in detail in this example.
[0116] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0117] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0118] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0119] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0120] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for quantifying harmonic responsibility based on cloud platform power quality monitoring, characterized in that, include: Voltage and current data are obtained from the online power quality monitoring device on the cloud platform; The voltage and current data include bus voltage data of interest and harmonic source port current data. Based on the voltage and current data, establish the matrix of explained variables and the matrix of explained variables; And based on the explained variable matrix and the explanatory variable matrix, a regression equation is constructed; Set the initial range of window width and penalty term coefficients, and calculate the weight matrix based on the window width and the voltage data of the bus of interest; Based on the weight matrix, the explained variable matrix, the window width, and the penalty term coefficient, calculate the variance inflation factor and information content criterion index within the initial range of variation, and determine the final penalty term coefficient, the final window width, and the updated weight matrix. Based on the final penalty term coefficient, the final window width, and the updated weight matrix, the regression coefficients of the regression equation are solved; and based on the regression coefficients, the harmonic liability index is calculated. The expression for the regression equation is: ; ; in, It is the i-th element in the matrix of explained variables. It is the i-th row of the explanatory variable matrix. It is the regression coefficient matrix In the i-th column, W is the weight matrix. It is the regression residual; The focus is on the harmonic transfer impedance between bus X and harmonic source k. ; Background harmonic voltage; This corresponds to the harmonic voltage acting on the bus of interest from the harmonic source; for The angle between the harmonic voltage of the bus of interest and the harmonic voltage of the bus of interest; for The angle between the harmonic voltage of the bus of interest and the harmonic voltage of the bus of interest; This represents the element in the nth row and pth column of the regression coefficient matrix; The weight matrix The calculation formula is: ; The diagonal elements of the weight matrix are calculated using a Gaussian function, and the calculation formula is as follows: ,in Let the Mahalanobis distance between the real and imaginary parts of the bus harmonic voltage at time i and time j be used as the x and y coordinates. The determination of the final penalty term coefficient, the final window width, and the updated weight matrix includes: Based on the variance inflation factor and information content criterion index within the initial range of variation, the variance inflation factor less than the first preset value is selected as the final penalty term coefficient, and the smallest information content criterion index is selected as the final window width. Update the weight matrix based on the final penalty term coefficient and the final window width.
2. The harmonic responsibility quantification method based on cloud platform power quality monitoring according to claim 1, characterized in that, The voltage data of the bus of interest refers to the harmonic voltage on the bus of interest. The harmonic source port current data refers to the harmonic current injected into the power system by each harmonic source, which is the measured current of each harmonic source branch.
3. The harmonic responsibility quantification method based on cloud platform power quality monitoring according to claim 1, characterized in that, The penalty term coefficient The calculation formula is: ; Where, diag represents the extraction of the main diagonal elements of the matrix; Let's say it's a hat matrix. for: ; For sample points The hat vector at the location; for The Row; X is the matrix of explanatory variables, These are elements in the weight matrix W. The normalized explanatory variable matrix, Here, I represents the coefficients of the penalty term, and I is the identity matrix. The formula for calculating the window width AIC is: ; Where RSS is the sum of squared residuals, and the sum of squared residuals is... ; is the trace of the matrix; n is the number of sampling points.
4. The harmonic responsibility quantification method based on cloud platform power quality monitoring according to claim 1, characterized in that, Based on the final penalty term coefficient, the final window width, and the updated weight matrix, solve for the regression coefficients of the regression equation; Based on the regression coefficients, the harmonic liability index is calculated, including: The weighted least squares method is used to substitute the final penalty term coefficient, the final window width, and the updated weight matrix into the regression equation to solve for the regression coefficient matrix of the regression equation. Based on each element in the regression coefficient matrix and its corresponding voltage and current values, the harmonic responsibility quantification index of each harmonic source is calculated; the average value of the harmonic responsibility quantification index of each harmonic source is calculated to obtain the equivalent harmonic contribution during the measurement period.
5. A harmonic responsibility quantification system based on cloud platform power quality monitoring, characterized in that, The system includes: The acquisition unit is used to acquire voltage and current data from the online power quality monitoring device on the cloud platform; the voltage and current data includes the voltage data of the bus of interest and the current data of the harmonic source port. The regression equation construction unit is used to establish the explained variable matrix and the explanatory variable matrix based on the voltage and current data; and to construct a regression equation based on the explained variable matrix and the explanatory variable matrix. The weight matrix calculation unit is used to set the initial variation range of the window width and the penalty term coefficient, and to calculate the weight matrix based on the window width and the voltage data of the bus of interest. The parameter update unit is used to calculate the variance inflation factor and information content criterion index within the initial range of change based on the weight matrix, the explained variable matrix, the window width, and the penalty term coefficient, and to determine the final penalty term coefficient, the final window width, and the updated weight matrix. The harmonic liability index calculation unit is used to solve the regression coefficients of the regression equation based on the final penalty term coefficient, the final window width, and the updated weight matrix; and to calculate the harmonic liability index based on the regression coefficients. The expression for the regression equation is: ; ; in, It is the i-th element in the matrix of explained variables. It is the i-th row of the explanatory variable matrix. It is the regression coefficient matrix In the i-th column, W is the weight matrix. It is the regression residual; The focus is on the harmonic transfer impedance between bus X and harmonic source k. ; Background harmonic voltage; This corresponds to the harmonic voltage acting on the bus of interest from the harmonic source; for The angle between the harmonic voltage of the bus of interest and the harmonic voltage of the bus of interest; for The angle between the harmonic voltage of the bus of interest and the harmonic voltage of the bus of interest; This represents the element in the nth row and pth column of the regression coefficient matrix; The weight matrix The calculation formula is: ; The diagonal elements of the weight matrix are calculated using a Gaussian function, and the calculation formula is as follows: ,in Let the Mahalanobis distance between the real and imaginary parts of the bus harmonic voltage at time i and time j be used as the x and y coordinates. The determination of the final penalty term coefficient, the final window width, and the updated weight matrix includes: Based on the variance inflation factor and information content criterion index within the initial range of variation, the variance inflation factor less than the first preset value is selected as the final penalty term coefficient, and the smallest information content criterion index is selected as the final window width. Update the weight matrix based on the final penalty term coefficient and the final window width.
6. The harmonic responsibility quantification system based on cloud platform power quality monitoring according to claim 5, characterized in that, The voltage data of the bus of interest refers to the harmonic voltage on the bus of interest. The harmonic source port current data refers to the harmonic current injected into the power system by each harmonic source, which is the measured current of each harmonic source branch.
7. The harmonic responsibility quantification system based on cloud platform power quality monitoring according to claim 5, characterized in that, The execution process of the harmonic responsibility index calculation unit is as follows: The weighted least squares method is used to substitute the final penalty term coefficient, the final window width, and the updated weight matrix into the regression equation to solve for the regression coefficient matrix of the regression equation. Based on each element in the regression coefficient matrix and its corresponding voltage and current values, calculate the harmonic responsibility quantification index for each harmonic source. The average value of the harmonic responsibility quantification index of each harmonic source is calculated to obtain the equivalent harmonic contribution during the measurement period.
Citation Information
Patent Citations
Method and system for monitoring user-side harmonic pollution
CN101726663A
Multi-harmonic source responsibility quantification method based on independent component analysis
CN110441601A
