A method for quickly finding line loss points in a transformer area based on multivariate nonlinear regression or / and parallel vectors
Through data analysis methods based on multiple nonlinear regression and parallel vectors, suspicious users and line loss points are quickly identified, solving the problem of inaccurate data analysis in traditional line loss management methods, achieving efficient line loss point location and management, and improving Improve work efficiency and accuracy.
Patent Information
- Application Number
- CN202111081627.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-12-29
- Filing Date
- 2021-09-15
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-09-15
AI Technical Summary
The traditional extensive line loss management method lacks accurate analysis of user power information data, resulting in line loss point fault processing speed that cannot keep up with the speed of fault occurrence, affecting the line loss indicators of power supply companies, and power theft technology has become more secretive, increasing the number of Difficulty of electrical inspection.
Using data analysis methods based on multiple nonlinear regression and parallel vectors, we can quickly identify suspicious users and line loss points by establishing and training models, and improve the efficiency and accuracy of finding line loss points.
The efficiency of finding line loss points in the Taiwan area has been greatly improved. Big data analysis technology is used to accurately locate line loss points, which reduces the time cost of on-site staff and improves the efficiency and accuracy of line loss management.
Smart Images

Figure BDA0003264259740000028 
Figure BDA0003264259740000033 
Figure BDA0003264259740000041
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power supply operation management, and specifically relates to a method for quickly mining line loss points in a transformer area by big data analysis means such as multivariate nonlinear regression and / or parallel vectors. Background Art
[0002] Nowadays, with the continuous improvement of household electrification, various household appliances have gradually entered thousands of households, and people's demand for electricity is also increasing year by year, which will inevitably lead to an increase in residents' electricity costs and electricity loads. To a certain extent, this will lead to an increase in the number of work orders for metering device failures in the power system and the occurrence of illegal electricity use by some lawless elements. The failure of the metering device will cause the meter to measure the electricity inaccurately and the illegal and breach of contract electricity use by lawless elements will affect the line loss rate of the substation. In addition, with the continuous development of power electronics technology, electricity theft technology is also constantly changing. Compared with the past, electricity theft technology has become more secretive and sophisticated, which increases the difficulty of electricity inspection. If the speed of line loss point fault handling cannot keep up with the speed of line loss point fault occurrence, it will inevitably affect the line loss indicators of power supply companies to a certain extent. The traditional extensive line loss management method lacks accurate analysis of user electricity information data, and the work lacks pertinence, resulting in a large time cost for on-site staff in the process of electricity inspection. Therefore, this management model can no longer meet the needs of line loss management in the current environment.
[0003] At present, big data technology is becoming more and more mature. Using big data analysis technology, we can deeply analyze the user's electricity consumption information data, find the internal correlation of the data, and thus determine the location of the line loss point, providing a new means for carrying out line loss management in public transformer substations. Based on the above situation, there is an urgent need for a more accurate and efficient refined line loss management model in line loss management to quickly improve the line loss qualification rate in public transformer substations.
[0004] Invention technical solution
[0005] The present invention proposes a line loss analysis method based on multivariate nonlinear regression, which mainly solves the problem of how to quickly identify suspicious users, help electricity inspectors to conduct line loss inspections in a targeted manner, and then quickly find line loss points in the substation area.
[0006] In order to achieve the above objectives, the technical solution of the present invention is as follows:
[0007] A method for quickly finding line loss points in a transformer area based on multivariate nonlinear regression, the steps are as follows:
[0008] (1) Establish and train a multivariate nonlinear regression model
[0009] (1.1) Collect the power consumption data and line loss data of all users in the area within a certain period of time, among which the power consumption of users in the area is Indicates that the line loss in the substation is expressed as Y i Indicates; where i represents the i-th group of data, and p represents the p-th user in the station area;
[0010] The data with line loss rate or line loss power within the normal range are classified as normal data, which is X 正 = {X1, X2, X3, ..., X m} and Y 正 ={Y1, Y2, Y3, ..., Y m}; m means that group m data is normal;
[0011] The data of line loss rate or line loss power exceeding the normal range is classified as abnormal data, which is X 异 = {X1, X2, X3, ..., X n} and Y 异 ={Y1, Y2, Y3, ..., Y n}; n means n sets of data are abnormal;
[0012] (1.2) In the multivariate nonlinear regression model, the line loss in the substation area is taken as the dependent variable, and the user power consumption in the substation area is taken as the independent variable. The multivariate nonlinear regression model is established, and its formula is:
[0013] Y=β0+β1x1+β2x2+…+β p x p +e;
[0014] Where Y represents the line loss, x p represents the power consumption of user p, and e is the correction coefficient;
[0015] (1.4) Training multivariate nonlinear regression model
[0016] The normal data X 正 = {X1, X2, X3, ..., X m} and Y 正 ={Y1, Y2, Y3, ..., Y m Substitute into the above formula and train according to the following model:
[0017]
[0018] where Y j Indicates the line loss power of the jth group of normal data, represents the power consumption of user p in the jth group of normal data;
[0019] Find β={β0, β1, β2,...,β p}, obtain the multivariate nonlinear regression model;
[0020] (2) Abnormal data analysis to predict suspicious users
[0021] (2.1) For abnormal data X 异 = {X1, X2, X3, ..., X n} and Y 异 ={Y1, Y2, Y3, ..., Y n}, take the kth group of abnormal data X k and Y k , 1≤k≤n;
[0022] (2.2) When determining whether the first user of the kth group of abnormal data is a suspicious user, the actual value of the first user of the kth group of abnormal data is By default, the data of other users in the kth group of abnormal data except the first user are substituted into the multivariate nonlinear regression model trained in step (1.4) to obtain the prediction result of the first user.
[0023] (2.3) Compare actual values and prediction results
[0024] (2.4) Calculate the relative error of the p users of the kth group of abnormal data in turn to obtain a 1×p matrix,
[0025] (2.5) Repeat steps (2.2)-(2.3) for the abnormal data X 异 = {X1, X2, X3, ..., X n} and Y 异 ={Y1, Y2, Y3, ..., Y n} to judge each group of data, compare the actual value and predicted result of each group of data, and obtain the relative error;
[0026] (2.6) Establish the relative error n×p matrix,
[0027] (2.5) Sort the relative errors by size, and select users with relative errors greater than 0.9 as suspicious users;
[0028] (3) Conduct on-site inspections on suspicious users to obtain accurate line loss points.
[0029] In order to obtain better technical effects, in step (2.5), the top ten relative errors with the largest relative errors greater than 0.9 are taken, and the corresponding users are obtained as suspicious users.
[0030] In order to obtain better technical effects, after the line loss point is eliminated in step (3), the power consumption data and line loss power data of all users in any time period in the background area after the line loss point is eliminated are obtained to determine whether the line loss rate or line loss power is within a normal range;
[0031] If it is within the normal range, the line loss point is eliminated successfully;
[0032] If it is within the abnormal range, repeat steps (1)-(3).
[0033] The present invention also provides a method for quickly finding line loss points in a transformer area based on parallel vectors, the steps of which are:
[0034] (1) Collect the monthly electricity consumption X of users in the area from the user collection system 采 = {X1, X2, X3, ..., X p} and the line loss power Y in the area 采 ={Y1, Y2, Y3, ..., Y p}, power consumption X 采 And the line loss power Y 采 The unit of is kilowatt-hour, p represents the pth user in the area;
[0035] (2) From X 采 = {X1, X2, X3, ..., X p} and Y 采 ={Y1, Y2, Y3, ..., Y p}, substitute the power consumption of each user and the line loss of the substation area into the variables a and b in the following formula respectively;
[0036] The formula is as follows:
[0037] a·b=||a||×||b||×cosθ (1);
[0038]
[0039] cosθ is the correlation coefficient, ranging from -1 to 1, where -1 means that the two vectors point in opposite directions and 1 means that they point in exactly the same direction;
[0040] (3) The correlation between the power consumption of each user in the substation and the line loss power in the substation is obtained by formula (2). The closer the correlation coefficient is to 1, the higher the positive correlation between the power consumption of the user and the line loss power in the substation is; the closer the correlation coefficient is to -1, the higher the negative correlation between the power consumption of the user and the line loss power in the substation is.
[0041] (4) Taking the absolute value of the correlation coefficient to obtain the absolute correlation coefficient,
[0042]
[0043] (5) Arrange the absolute correlation coefficients obtained in descending order, and extract users with an absolute correlation coefficient of more than 0.9 in the area as suspicious users;
[0044] (6) Conduct on-site inspections on suspicious users to obtain accurate line loss points.
[0045] In order to obtain better technical effects, in step (5), the top ten absolute correlation coefficients with the absolute correlation coefficients greater than 0.9 and the largest absolute correlation coefficients are taken, and the corresponding users are obtained as suspicious users.
[0046] In order to obtain better technical effects, after the line loss point is eliminated in step (6), the power consumption data and line loss power data of all users in any time period in the background area after the line loss point is eliminated are obtained to determine whether the line loss rate or line loss power is within a normal range;
[0047] If it is within the normal range, the line loss point is eliminated successfully;
[0048] If it is within the abnormal range, repeat steps (1)-(6).
[0049] The present invention also provides a method for quickly finding line loss points in a transformer area based on multivariate nonlinear regression and parallel vectors, the steps of which are:
[0050] (1) Establish and train a multivariate nonlinear regression model
[0051] (1.1) Collect the power consumption data and line loss data of all users in the area within a certain period of time, among which the power consumption of users in the area is Indicates that the line loss in the substation is expressed as Y i Indicates; where i represents the i-th group of data, and p represents the p-th user in the station area;
[0052] The data with line loss rate or line loss power within the normal range are classified as normal data, which is X 正 = {X1, X2, X3, ..., X m} and Y 正 ={Y1, Y2, Y3, ..., Y m}; m means that group m data is normal;
[0053] The data of line loss rate or line loss power exceeding the normal range is classified as abnormal data, which is X 异 = {X1, X2, X3, ..., X n} and Y 异 ={Y1, Y2, Y3, ..., Y n}; n means n sets of data are abnormal;
[0054] (1.2) In the multivariate nonlinear regression model, the line loss in the substation area is taken as the dependent variable, and the user power consumption in the substation area is taken as the independent variable. The multivariate nonlinear regression model is established, and its formula is:
[0055] Y=β0+β1x1+β2x2+…+β p x p +e;
[0056] Where Y represents the line loss, x p represents the power consumption of user p, and e is the correction coefficient;
[0057] (1.4) Training multivariate nonlinear regression model
[0058] The normal data X 正 = {X1, X2, X3, ..., X m} and Y 正 ={Y1, Y2, Y3, ..., Y m Substitute into the above formula and train according to the following model:
[0059]
[0060] where Y j Indicates the line loss power of the jth group of normal data, represents the power consumption of user p in the jth group of normal data;
[0061] Find β={β0, β1, β2,...,β p}, obtain the multivariate nonlinear regression model;
[0062] (2) Abnormal data analysis to predict suspicious users
[0063] (2.1) For abnormal data X 异 = {X1, X2, X3, ..., X n} and Y 异 ={Y1, Y2, Y3, ..., Y n}, take any set of abnormal data X k and Y k , 1≤k≤n;
[0064] (2.2) When determining whether the first user of the kth group of abnormal data is a suspicious user, the actual value of the first user of the kth group of abnormal data is By default, the data of other users in the kth group of abnormal data except the first user are substituted into the multivariate nonlinear regression model trained in step (1.4) to obtain the prediction result of the first user.
[0065] (2.3) Compare actual values and prediction results
[0066] (2.4) Calculate the relative error of the p users of the kth group of abnormal data in turn to obtain a 1×p matrix,
[0067] (2.5) Repeat steps (2.2)-(2.3) for the abnormal data X 异 = {X1, X2, X3, ..., X n} and Y 异 ={Y1, Y2, Y3, ..., Y n} to judge each group of data, compare the actual value and predicted result of each group of data, and obtain the relative error;
[0068] (2.6) Establish the relative error n×p matrix,
[0069] (2.5) Sort the relative errors by size, and select the user with a relative error greater than 0.9 as the first suspected suspicious user;
[0070] (3) Establishing a parallel vector analysis model
[0071] (3.1) Collect the monthly electricity consumption X of users in the area from the user collection system 采 = {X1, X2, X3, ..., X p} and the line loss power Y in the area 采 ={Y1, Y2, Y3, ..., Y p}, power consumption X 采 And the line loss power Y 采 The unit of is kilowatt-hour, p represents the pth user in the area;
[0072] (3.2) From X 采 = {X1, X2, X3, ..., X p} and Y 采 ={Y1, Y2, Y3, ..., Y p}, substitute the power consumption of each user and the line loss of the substation area into the variables a and b in the following formula respectively;
[0073] The formula is as follows:
[0074] a·b=||a||×||b||×cosθ (3);
[0075]
[0076] cosθ is the correlation coefficient, ranging from -1 to 1, where -1 means that the two vectors point in opposite directions and 1 means that they point in exactly the same direction;
[0077] (3.3) The correlation between the power consumption of each user in the substation and the line loss power in the substation is obtained by formula (4). The closer the correlation coefficient is to 1, the higher the positive correlation between the power consumption of the user and the line loss power in the substation is; the closer the correlation coefficient is to -1, the higher the negative correlation between the power consumption of the user and the line loss power in the substation is.
[0078] (3.4) Taking the absolute value of the correlation coefficient, we get the absolute correlation coefficient,
[0079]
[0080] (3.5) Arrange the obtained absolute correlation coefficients in descending order, and extract the users with absolute correlation coefficients greater than 0.9 in the area as the second suspected suspicious users;
[0081] (4) taking the intersection of the second suspected suspicious user obtained by the parallel vector method in step (3) and the first suspected suspicious user obtained by the multivariate nonlinear regression model in step (2) to obtain the suspected user and the suspected line loss point;
[0082] (5) Conduct on-site inspections on suspicious users to obtain accurate line loss points.
[0083] In order to obtain better technical effects, in step (2.5), the top ten relative errors with the largest relative errors greater than 0.9 are taken, and the corresponding users are obtained as the first suspected suspicious users; in step (3.5), the top ten absolute correlation coefficients with the largest absolute correlation coefficients greater than 0.9 are taken, and the corresponding users are obtained as the second suspected suspicious users.
[0084] In order to obtain better technical effects, after the line loss point is eliminated in step (5), the power consumption data and line loss power data of all users in any time period in the background area after the line loss point is eliminated are obtained to determine whether the line loss rate or line loss power is within a normal range;
[0085] If it is within the normal range, the line loss point is eliminated successfully;
[0086] If it is within the abnormal range, repeat steps (1)-(5).
[0087] The present invention can greatly improve the efficiency of finding line loss points in the substation area; through big data analysis technology, it can effectively use user electricity information data to accurately locate line loss points. The present invention promotes the transformation of substation line loss management from manual investigation mode to big data analysis mode, improves the work efficiency of workers, and provides a reliable basis for substation management methods to move to big background analysis. DETAILED DESCRIPTION
[0088] The content of the present invention is described in detail below in conjunction with specific embodiments.
[0089] Example 1
[0090] A method for quickly finding line loss points in a transformer area based on multivariate nonlinear regression, the steps are as follows:
[0091] (1) Establish and train a multivariate nonlinear regression model
[0092] (1.1) Collect the power consumption data and line loss data of all users in the area within a certain period of time, among which the power consumption of users in the area is Indicates that the line loss in the substation is expressed as Y i Indicates; where i represents the i-th group of data, and p represents the p-th user; as is common knowledge in the art, line loss power = power supply - power sales;
[0093] The data with line loss rate or line loss power within the normal range are classified as normal data, which is X 正 = {X1, X2, X3, ..., X m} and Y 正 ={Y1, Y2, Y3, ..., Y m}; m means that the m group of data is normal; as is common knowledge in the art, line loss rate = (power supply - power sales) ÷ power supply;
[0094] As is common knowledge in this field, there are three ways to determine whether the line loss rate or line loss power is within the normal range:
[0095] a. When the line loss rate changes from a positive number to a negative number, the positive number is normal data and the negative number is abnormal data;
[0096] b. When the line loss rate is always positive, when the daily average line loss rate is ≤4%, it is normal data, and when the daily average line loss rate is greater than 4%, it is abnormal data;
[0097] c. When the line loss rate is always positive, when the daily average line loss changes from e to f, and both e and f are greater than 10kW·h, the data when the daily average line loss is e is normal data; and the data when the daily average line loss is f≥e+10kW·h is abnormal data;
[0098] The data of line loss rate or line loss power exceeding the normal range is classified as abnormal data, which is X 异 = {X1, X2, X3, ..., X n} and Y 异 ={Y1, Y2, Y3, ..., Y n}; n means n sets of data are abnormal;
[0099] (1.2) In the multivariate nonlinear regression model, the line loss in the substation area is taken as the dependent variable, and the user power consumption in the substation area is taken as the independent variable. The multivariate nonlinear regression model is established, and its formula is:
[0100] Y=β0+β1x1+β2x2+…+β p x p +e;
[0101] Where Y represents the line loss, x p represents the power consumption of user p, and e is the correction coefficient;
[0102] (1.4) Training multivariate nonlinear regression model
[0103] The normal data X 正 = {X1, X2, X3, ..., X m} and Y 正 ={Y1, Y2, Y3, ..., Y m Substitute into the above formula and train according to the following model:
[0104]
[0105] where Y j Indicates the line loss power of the jth group of normal data, represents the power consumption of user p in the jth group of normal data;
[0106] Find β={β0, β1, β2,...,β p}, obtain the multivariate nonlinear regression model;
[0107] (2) Abnormal data analysis to predict suspicious users
[0108] (2.1) For abnormal data X 异 = {X1, X2, X3, ..., X n} and Y 异 ={Y1, Y2, Y3, ..., Y n}, take the kth group of abnormal data X k and Y k , 1≤k≤n;
[0109] (2.2) When determining whether the first user of the kth group of abnormal data is a suspicious user, the actual value of the first user of the kth group of abnormal data is By default, the data of other users in the kth group of abnormal data except the first user are substituted into the multivariate nonlinear regression model trained in step (1.4) to obtain the prediction result of the first user.
[0110] (2.3) Compare actual values and prediction results
[0111] (2.4) Calculate the relative error of the p users of the kth group of abnormal data in turn to obtain a 1×p matrix,
[0112]
[0113] (2.5) Repeat steps (2.2)-(2.3) for the abnormal data X 异 = {X1, X2, X3, ..., X n} and Y 异 ={Y1, Y2, Y3, ..., Y n} to judge each group of data, compare the actual value and predicted result of each group of data, and obtain the relative error;
[0114] (2.6) Establish the relative error n×p matrix,
[0115] (2.5) Sort the relative errors by size, and select users with relative errors greater than 0.9 as suspicious users;
[0116] (3) Conduct on-site inspections on suspicious users to obtain accurate line loss points and eliminate them.
[0117] As an improved method, in step (2.5), the top ten relative errors with the largest relative errors among those with relative errors greater than 0.9 are selected, and the corresponding users are obtained as suspicious users;
[0118] After the line loss point is eliminated in step (3), the power consumption data and line loss power data of all users in any time period in the background area after the line loss point is eliminated are obtained to determine whether the line loss rate or line loss power is within a normal range;
[0119] If it is within the normal range, the line loss point is eliminated successfully;
[0120] If it is within the abnormal range, repeat steps (1)-(3).
[0121] Example 2
[0122] A method for quickly finding line loss points in a transformer area based on parallel vectors, the steps are as follows:
[0123] (1) Collect the monthly electricity consumption X of users in the area from the user collection system 采 = {X1, X2, X3, ..., X p} and the line loss power Y in the area 采 ={Y1, Y2, Y3, ..., Y p}, power consumption X 采 And the line loss power Y 采 The unit of is kilowatt-hour, p represents the pth user in the area;
[0124] (2) From X 采 = {X1, X2, X3, ..., X p} and Y 采 ={Y1, Y2, Y3, ..., Y p}, substitute the power consumption of each user and the line loss of the substation area into the variables a and b in the following formula respectively;
[0125] The formula is as follows:
[0126] a·b=||a||×||b||×cosθ (1);
[0127]
[0128] cosθ is the correlation coefficient, ranging from -1 to 1, where -1 means that the two vectors point in opposite directions and 1 means that they point in exactly the same direction;
[0129] (3) The correlation between the power consumption of each user in the substation and the line loss power in the substation is obtained by formula (2). The closer the correlation coefficient is to 1, the higher the positive correlation between the power consumption of the user and the line loss power in the substation is; the closer the correlation coefficient is to -1, the higher the negative correlation between the power consumption of the user and the line loss power in the substation is.
[0130] (4) Taking the absolute value of the correlation coefficient to obtain the absolute correlation coefficient,
[0131]
[0132] (5) Arrange the absolute correlation coefficients obtained in descending order, and extract users with an absolute correlation coefficient of more than 0.9 in the area as suspicious users;
[0133] (6) Conduct on-site inspections on suspicious users to obtain accurate line loss points and eliminate them.
[0134] As an improved method, in step (5), the ten absolute correlation coefficients with the largest absolute correlation coefficients among those with the absolute correlation coefficients greater than 0.9 are selected, and the corresponding users are obtained as suspicious users;
[0135] After the line loss point is eliminated in step (6), the power consumption data and line loss power data of all users in any time period in the background area after the line loss point is eliminated are obtained to determine whether the line loss rate or line loss power is within a normal range;
[0136] If it is within the normal range, the line loss point is eliminated successfully;
[0137] If it is within the abnormal range, repeat steps (1)-(6).
[0138] Example 3
[0139] A method for quickly finding line loss points in a transformer area based on multivariate nonlinear regression and parallel vectors, the steps are as follows:
[0140] (1) Establish and train a multivariate nonlinear regression model
[0141] (1.1) Collect the power consumption data and line loss data of all users in the area within a certain period of time, among which the power consumption of users in the area is Indicates that the line loss in the substation is expressed as Y i Indicates; where i represents the i-th group of data, and p represents the p-th user in the substation area; as is common knowledge in the art, line loss = power supply - power sales;
[0142] The data with line loss rate or line loss power within the normal range are classified as normal data, which is X 正 = {X1, X2, X3, ..., X m} and Y 正 ={Y1, Y2, Y3, ..., Y m}; m means that group m data is normal;
[0143] As is common knowledge in the field, line loss rate = (power supply - power sales) ÷ power supply;
[0144] As is common knowledge in this field, there are three ways to determine whether the line loss rate or line loss power is within the normal range:
[0145] a. When the line loss rate changes from a positive number to a negative number, the positive number is normal data and the negative number is abnormal data;
[0146] b. When the line loss rate is always positive, when the daily average line loss rate is ≤4%, it is normal data, and when the daily average line loss rate is greater than 4%, it is abnormal data;
[0147] c. When the line loss rate is always positive, when the daily average line loss changes from e to f, and both e and f are greater than 10kW·h, the data when the daily average line loss is e is normal data; and the data when the daily average line loss is f≥e+10kW·h is abnormal data;
[0148] The data of line loss rate or line loss power exceeding the normal range is classified as abnormal data, which is X 异 = {X1, X2, X3, ..., X n} and Y 异 ={Y1, Y2, Y3, ..., Y n}, n means n sets of data are abnormal;
[0149] (1.2) In the multivariate nonlinear regression model, the line loss in the substation area is taken as the dependent variable, and the user power consumption in the substation area is taken as the independent variable. The multivariate nonlinear regression model is established, and its formula is:
[0150] Y=β0+β1x1+β2x2+…+β p x p +e;
[0151] Where Y represents the line loss, x p represents the power consumption of user p, and e is the correction coefficient;
[0152] (1.4) Training multivariate nonlinear regression model
[0153] The normal data X 正 = {X1, X2, X3, ..., X m} and Y 正 ={Y1, Y2, Y3, ..., Y m Substitute into the above formula and train according to the following model:
[0154]
[0155] where Y j Indicates the line loss power of the jth group of normal data, represents the power consumption of user p in the jth group of normal data;
[0156] Find β={β0, β1, β2,...,β p}, obtain the multivariate nonlinear regression model;
[0157] (2) Abnormal data analysis to predict suspicious users
[0158] (2.1) For abnormal data X 异 = {X1, X2, X3, ..., X n} and Y 异 ={Y1, Y2, Y3, ..., Y n}, take any set of abnormal data X k and Y k , 1≤k≤n;
[0159] (2.2) When determining whether the first user of the kth group of abnormal data is a suspicious user, the actual value of the first user of the kth group of abnormal data is By default, the data of other users in the kth group of abnormal data except the first user are substituted into the multivariate nonlinear regression model trained in step (1.4) to obtain the prediction result of the first user.
[0160] (2.3) Compare actual values and prediction results
[0161] (2.4) Calculate the relative error of the p users of the kth group of abnormal data in turn to obtain a 1×p matrix,
[0162] (2.5) Repeat steps (2.2)-(2.3) for the abnormal data X 异 = {X1, X2, X3, ..., X n} and Y 异 ={Y1, Y2, Y3, ..., Y n} to judge each group of data, compare the actual value and predicted result of each group of data, and obtain the relative error;
[0163] (2.6) Establish the relative error n×p matrix,
[0164] (2.5) Sort the relative errors by size, and select the user with a relative error greater than 0.9 as the first suspected suspicious user;
[0165] (3) Establishing a parallel vector analysis model
[0166] (3.1) Collect the monthly electricity consumption X of users in the area from the user collection system 采 = {X1, X2, X3, ..., X p} and the line loss power Y in the area 采 ={Y1, Y2, Y3, ..., Y p}, power consumption X 采 And the line loss power Y 采 The unit of is kilowatt-hour, p represents the pth user in the area;
[0167] (3.2) From X 采 = {X1, X2, X3, ..., X p} and Y 采 ={Y1, Y2, Y3, ..., Y p}, substitute the power consumption of each user and the line loss of the substation area into the variables a and b in the following formula respectively;
[0168] The formula is as follows:
[0169] a·b=||a||×||b||×cosθ (3);
[0170]
[0171] cosθ is the correlation coefficient, ranging from -1 to 1, where -1 means that the two vectors point in opposite directions and 1 means that they point in exactly the same direction;
[0172] (3.3) The correlation between the power consumption of each user in the substation and the line loss power in the substation is obtained by formula (4). The closer the correlation coefficient is to 1, the higher the positive correlation between the power consumption of the user and the line loss power in the substation is; the closer the correlation coefficient is to -1, the higher the negative correlation between the power consumption of the user and the line loss power in the substation is.
[0173] (3.4) Taking the absolute value of the correlation coefficient, we get the absolute correlation coefficient,
[0174]
[0175] (3.5) Arrange the obtained absolute correlation coefficients in descending order, and extract the users with absolute correlation coefficients greater than 0.9 in the area as the second suspected suspicious users;
[0176] (4) taking the intersection of the second suspected suspicious user obtained by the parallel vector method in step (3) and the first suspected suspicious user obtained by the multivariate nonlinear regression model in step (2) to obtain the suspected user and the suspected line loss point;
[0177] (5) Conduct on-site inspections on suspicious users to obtain accurate line loss points.
[0178] As an improved method, in step (2.5), the top ten relative errors with the largest relative errors greater than 0.9 are selected, and the corresponding users are obtained as the first suspected suspicious users; in step (3.5), the top ten absolute correlation coefficients with the largest absolute correlation coefficients greater than 0.9 are selected, and the corresponding users are obtained as the second suspected suspicious users;
[0179] After the line loss point is eliminated in step (5), the power consumption data and line loss power data of all users in any time period in the background area after the line loss point is eliminated are obtained to determine whether the line loss rate or line loss power is within a normal range;
[0180] If it is within the normal range, the line loss point is eliminated successfully;
[0181] If it is within the abnormal range, repeat steps (1)-(5).
[0182] The patent of this invention can quickly find the line loss points in the substation by building a big data analysis engine, and obtain the suspected users with the highest correlation weight based on data analysis and fitting. Through the implementation of this solution, the line loss points can be found more accurately and quickly, which can help the work of on-site staff, thereby more effectively managing line losses and quickly reducing line losses in low-voltage substations.
Claims
1. A method for quickly finding line loss points in a transformer area based on multivariate nonlinear regression, the steps of which are as follows: (1) Establish and train a multivariate nonlinear regression model (1.1) Collect the power consumption data and line loss data of all users in the substation area within a certain period of time, including: Electricity consumption of users in the area Indicates that the line loss in the substation is expressed as Y i Indicates; where i represents the i-th group of data, and p represents the p-th user in the station area; The data with line loss rate or line loss power within the normal range is classified as normal data, which is X 正 = {X1, X2, X3, ..., X m } and Y 正 ={Y1, Y2, Y3, ..., Y m }; m means that group m data is normal; The data of line loss rate or line loss power exceeding the normal range is classified as abnormal data, which is X 异 = {X1, X2, X3, ..., X n } and Y 异 ={Y1, Y2, Y3, ..., Y n }; n means n sets of data are abnormal; (1.2) In the multivariate nonlinear regression model, the line loss in the substation area is taken as the dependent variable, and the user power consumption in the substation area is taken as the independent variable. The multivariate nonlinear regression model is established, and its formula is: Y=b0+b1x1+b2x2+L+b p x p +e; Where Y represents the line loss, x p represents the power consumption of user p, and e is the correction coefficient; (1.4) Training multivariate nonlinear regression model The normal data X 正 = {X1, X2, X3, ..., X m } and Y 正 ={Y1, Y2, Y3, ..., Y m Substitute into the above formula and train according to the following model: where Y j Indicates the line loss power of the jth group of normal data, represents the power consumption of user p in the jth group of normal data; Find b = {b0, b1, b2, ..., b p }, obtain the multivariate nonlinear regression model; (2) Abnormal data analysis to predict suspicious users (2.1) For abnormal data X 异 = {X1, X2, X3, ..., X n } and Y 异 ={Y1, Y2, Y3, ..., Y n }, take the kth group of abnormal data X k and Y k , 1£k£n; (2.2) When determining whether the first user of the kth group of abnormal data is a suspicious user, the actual value of the first user of the kth group of abnormal data is By default, the data of other users in the kth group of abnormal data except the first user are substituted into the multivariate nonlinear regression model trained in step (1.4) to obtain the prediction result of the first user. (2.3) Compare actual values and prediction results (2.4) Calculate the relative error of the p users of the kth group of abnormal data in turn to obtain the 1′p matrix, (2.5) Repeat steps (2.2)-(2.3) for the abnormal data X 异 = {X1, X2, X3, ..., X n } and Y 异 ={Y1, Y2, Y3, ..., Y n } to judge each group of data, compare the actual value and predicted result of each group of data, and obtain the relative error; (2.6) Establish the relative error n′p matrix, 1£q£n, 1£k£n; (2.5) Sort the relative errors by size, and select users with relative errors greater than 0.9 as suspicious users; (3) Conduct on-site inspections on suspicious users to obtain accurate line loss points and eliminate them.
2. The method for quickly finding line loss points in a transformer area based on multivariate nonlinear regression as claimed in claim 1, characterized in that: In step (2.5), the top ten relative errors with the largest relative errors among those with relative errors greater than 0.9 are selected, and the corresponding users are identified as suspicious users.
3. The method for quickly finding line loss points in a transformer area based on multivariate nonlinear regression as claimed in claim 1, characterized in that: After the line loss point is eliminated in step (3), the power consumption data and line loss power data of all users in any time period in the background area after the line loss point is eliminated are obtained to determine whether the line loss rate or line loss power is within a normal range; If it is within the normal range, the line loss point is eliminated successfully; If it is within the abnormal range, repeat steps (1)-(3).
4. A method for quickly finding line loss points in a transformer area based on multivariate nonlinear regression and parallel vectors, the steps of which are: (1) Establish and train a multivariate nonlinear regression model (1.1) Collect the power consumption data and line loss data of all users in the substation area within a certain period of time, including: Electricity consumption of users in the area Indicates that the line loss in the substation is expressed as Y i Indicates; where i represents the i-th group of data, and p represents the p-th user in the station area; The data with line loss rate or line loss power within the normal range is classified as normal data, which is X 正 = {X1, X2, X3, ..., X m } and Y 正 ={Y1, Y2, Y3, ..., Y m }; m means that group m data is normal; The data of line loss rate or line loss power exceeding the normal range is classified as abnormal data, which is X 异 = {X1, X2, X3, ..., X n } and Y 异 ={Y1, Y2, Y3, ..., Y n }, n means n sets of data are abnormal; (1.2) In the multivariate nonlinear regression model, the line loss in the substation area is taken as the dependent variable, and the user power consumption in the substation area is taken as the independent variable. The multivariate nonlinear regression model is established, and its formula is: Y=b0+b1x1+b2x2+L+b p x p +e; Where Y represents the line loss, x p represents the power consumption of user p, and e is the correction coefficient; (1.4) Training multivariate nonlinear regression model The normal data X 正 = {X1, X2, X3, ..., X m } and Y 正 ={Y1, Y2, Y3, ..., Y m Substitute into the above formula and train according to the following model: where Y j Indicates the line loss power of the jth group of normal data, represents the power consumption of user p in the jth group of normal data; Find b = {b0, b1, b2, ..., b p }, obtain the multivariate nonlinear regression model; (2) Abnormal data analysis to predict suspicious users (2.1) For abnormal data X 异 = {X1, X2, X3, ..., X n } and Y 异 ={Y1, Y2, Y3, ..., Y n }, take any set of abnormal data X k and Y k , 1£k£n; (2.2) When determining whether the first user of the kth group of abnormal data is a suspicious user, the actual value of the first user of the kth group of abnormal data is By default, the data of other users in the kth group of abnormal data except the first user are substituted into the multivariate nonlinear regression model trained in step (1.4) to obtain the prediction result of the first user. (2.3) Compare actual values and prediction results (2.4) Calculate the relative error of the p users of the kth group of abnormal data in turn to obtain the 1′p matrix, (2.5) Repeat steps (2.2)-(2.3) for the abnormal data X 异 = {X1, X2, X3, ..., X n } and Y 异 ={Y1, Y2, Y3, ..., Y n } to judge each group of data, compare the actual value and predicted result of each group of data, and obtain the relative error; (2.6) Establish the relative error n′p matrix, 1£q£n, 1£k£n; (2.5) Sort the relative errors by size, and select the user with a relative error greater than 0.9 as the first suspected suspicious user; (3) Establishing a parallel vector analysis model (3.1) Collect the monthly electricity consumption X of users in the area from the user collection system 采 = {X1, X2, X3, ..., X p } and the line loss power Y in the area 采 ={Y1, Y2, Y3, ..., Y p }, power consumption X 采 And the line loss power Y 采 The unit of is kilowatt-hour, p represents the pth user in the area; (3.2) From X 采 = {X1, X2, X3, ..., X p } and Y 采 ={Y1, Y2, Y3, ..., Y p }, substitute the power consumption of each user and the line loss of the substation area into the variables a and b in the following formula respectively; The formula is as follows: a·b=||a||′||b||′cosq (3); cosq is the correlation coefficient, ranging from -1 to 1, where -1 means that the two vectors point in opposite directions and 1 means that they point in exactly the same direction; (3.3) The correlation between the power consumption of each user in the substation and the line loss power in the substation is obtained by formula (4). The closer the correlation coefficient is to 1, the higher the positive correlation between the power consumption of the user and the line loss power in the substation is; the closer the correlation coefficient is to -1, the higher the negative correlation between the power consumption of the user and the line loss power in the substation is. (3.4) Taking the absolute value of the correlation coefficient, we get the absolute correlation coefficient, (3.5) Arrange the obtained absolute correlation coefficients in descending order, and extract the users with absolute correlation coefficients greater than 0.9 in the area as the second suspected suspicious users; (4) taking the intersection of the second suspected suspicious user obtained by the parallel vector method in step (3) and the first suspected suspicious user obtained by the multivariate nonlinear regression model in step (2) to obtain the suspected user and the suspected line loss point; (5) Conduct on-site inspections on suspicious users to obtain accurate line loss points.
5. The method for quickly finding line loss points in a transformer area based on multivariate nonlinear regression and parallel vectors as claimed in claim 4, characterized in that: In step (2.5), the ten largest relative errors among the relative errors greater than 0.9 are taken, and the corresponding users are obtained as the first suspected suspicious users; in step (3.5), the ten largest absolute correlation coefficients among the absolute correlation coefficients greater than 0.9 are taken, and the corresponding users are obtained as the second suspected suspicious users.
6. The method for quickly finding line loss points in a transformer area based on multivariate nonlinear regression and parallel vectors as claimed in claim 4, characterized in that: After the line loss point is eliminated in step (5), the power consumption data and line loss power data of all users in any time period in the background area after the line loss point is eliminated are obtained to determine whether the line loss rate or line loss power is within a normal range; If it is within the normal range, the line loss point is eliminated successfully; If it is within the abnormal range, repeat steps (1)-(5).
