Electric leakage terminal determination method and device, electronic equipment and storage medium
By constructing a linear regression model and utilizing the load current and residual current data of the distribution terminal, the problem of low efficiency and low accuracy in detecting leakage faults in low-voltage distribution substations was solved, and rapid and accurate identification of leakage terminals was achieved.
Patent Information
- Application Number
- CN202411445200.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2044-10-16
AI Technical Summary
In existing technologies, the detection efficiency and accuracy of leakage faults in low-voltage distribution transformer areas are low. Professional testing personnel need to test each fault individually, which results in long testing time and a high risk of missed or misjudged faults.
By acquiring the terminal load current data and residual current data of the distribution terminal, a linear regression model is constructed. The leakage current terminal is determined using relevant parameters, and the linear regression model is used to solve the problem to pinpoint the leakage current terminal.
It improves the efficiency and accuracy of leakage current terminal detection, reduces detection time, and increases detection precision.
Smart Images

Figure CN119335438B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of power grid, and particularly relates to a method and device for determining a terminal with electric leakage, an electronic device and a storage medium. BACKGROUND
[0002] As the end of the power supply system, a low-voltage distribution area is responsible for power supply for a large number of users. Due to the complexity of the distribution feeder in the power system, and the aging of equipment, external damage or wiring errors at the distribution terminal, electric leakage faults are prone to occur, thereby causing electrical fires or electric shock, and posing a serious safety hazard.
[0003] Due to the large amount of data collected by the power system, and in order to reduce the data storage pressure, the power system generally collects minute-level data. Therefore, when an electric leakage fault occurs at the distribution terminal, the fault data is masked. When the primary residual current protection or the secondary residual current protection in the low-voltage area frequently trips due to electric leakage, professional testers use an electric leakage detector to detect the distribution terminals in the distribution area one by one to find the terminal with electric leakage. This method of determining the terminal with electric leakage requires high skills of the testers, and the method of checking one by one has the problems of low detection efficiency and low detection accuracy. SUMMARY
[0004] The present application provides a method and device for determining a terminal with electric leakage, an electronic device and a storage medium, which can improve the detection efficiency and accuracy of determining the terminal with electric leakage.
[0005] In a first aspect, the present application provides a method for determining a terminal with electric leakage, comprising:
[0006] obtaining terminal load current data generated by at least two distribution terminals and area residual current data in a distribution area based on a preset time interval, the terminal load current data and the area residual current data corresponding to each other;
[0007] In each of the preset time intervals, constructing a linear regression model according to the terminal load current data of each of the distribution terminals, the area residual current data, and the relevant parameters corresponding to each of the distribution terminals, the relevant parameters being used to represent the correlation between the terminal load current data of each of the distribution terminals and the area residual current data.
[0008] solving the linear regression model to obtain parameter results of the relevant parameters corresponding to each of the distribution terminals, and determining a terminal with electric leakage according to the parameter results corresponding to each of the distribution terminals, the terminal with electric leakage being a distribution terminal in an electric leakage state in the distribution area.
[0009] In a second aspect, the present application provides a leakage terminal determination apparatus, the apparatus comprising:
[0010] a data acquisition module configured to acquire terminal load current data generated by at least two power distribution terminals and substation residual current data in a power distribution substation based on preset time intervals, the terminal load current data and the substation residual current data corresponding to each other;
[0011] a model construction module configured to construct a linear regression model according to the terminal load current data of each of the power distribution terminals, the substation residual current data, and relevant parameters corresponding to each of the power distribution terminals in each of the preset time intervals, the relevant parameters being used to represent the correlation between the terminal load current data of each of the power distribution terminals and the substation residual current data;
[0012] a terminal determination module configured to solve the linear regression model to obtain parameter results of the relevant parameters corresponding to each of the power distribution terminals, and determine a leakage terminal according to the parameter results corresponding to each of the power distribution terminals, the leakage terminal being a power distribution terminal in a leakage state in the power distribution substation.
[0013] In a third aspect, the present application further provides an electronic device, the electronic device comprising:
[0014] at least one processor; and
[0015] a memory in communication connection with the at least one processor; wherein
[0016] the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the leakage terminal determination method according to any one of the embodiments of the present application.
[0017] In a fourth aspect, the present application further provides a computer readable storage medium, the computer readable storage medium storing computer instructions, the computer instructions being used to enable a processor to implement the leakage terminal determination method according to any one of the embodiments of the present application when executed by the processor.
[0018] In a fifth aspect, the present application further provides a computer program product, the computer program product comprising a computer program, the computer program being used to enable a processor to implement the leakage terminal determination method according to any one of the embodiments of the present application when executed by the processor.
[0019] The leakage terminal determination scheme provided by the embodiments of the present application determines relevant parameters by terminal load current data and residual current data of each power distribution terminal, so as to determine which power distribution terminal load current change is closely related to the change of residual current of the area, when residual current anomaly occurs in the power distribution area, the power distribution terminal that may have leakage problem can be quickly locked; further, by constructing a linear regression model, the linear regression model is solved by mathematical calculation, which can improve the accuracy of subsequent determination of leakage terminal; further, the parameter results obtained reflect whether each power distribution terminal is in a leakage state. The embodiments of the present application determine the leakage terminal by solving the parameter results of the relevant parameters, which improves the detection efficiency and detection accuracy of determining the leakage terminal.
[0020] It should be noted that the above computer instructions can be stored on a computer readable storage medium in whole or in part. The computer readable storage medium can be packaged with the processor of the leakage terminal determination device, or packaged separately from the processor of the leakage terminal determination device, and the present application does not limit this.
[0021] The description of the second aspect, the third aspect, the fourth aspect and the fifth aspect in the present application can refer to the detailed description of the first aspect; and the beneficial effects of the description of the second aspect, the third aspect, the fourth aspect and the fifth aspect can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.
[0022] It should be understood that the contents described in this part are not intended to identify the key or important features of the embodiments of the present application, nor are they used to limit the scope of the present application. Other features of the present application will become apparent through the following description.
[0023] It can be understood that before using the technical solutions disclosed in the embodiments of the present application, the type, scope of use and use scenario of the personal information involved in the present application should be informed to the user and the authorization of the user should be obtained in accordance with relevant laws and regulations. BRIEF DESCRIPTION OF DRAWINGS
[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope. For those skilled in the art, other related drawings can also be obtained without creative labor.
[0025] Figure 1 is a flowchart of the leakage terminal determination method provided by the embodiments of the present application;
[0026] Figure 2is another flowchart of the method for determining a leakage terminal provided by the embodiment of the present application;
[0027] Figure 3 is a structural diagram of the device for determining a leakage terminal provided by the embodiment of the present application;
[0028] Figure 4 is a structural diagram of the electronic device provided by the embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the present application, the technical solutions in the present application will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work should fall within the scope of protection of the present application.
[0030] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to the process, method, product or device.
[0031] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, only the parts related to the present application are shown in the drawings, not all the structures.
[0032] Figure 1 is a flowchart of the method for determining a leakage terminal provided by the embodiment of the present application. The embodiment can be applied to leakage detection of power distribution terminals in a power distribution area to determine the leakage terminal. The method can be executed by a leakage terminal determination device, which can be realized in the form of hardware and / or software and integrated in an electronic device for executing the method. Preferably, the electronic device in the embodiment of the present application can be a server, and can also be a computer device, etc.
[0033] Reference Figure 1The leakage terminal determination method of the embodiment includes but is not limited to the following steps:
[0034] S110, terminal load current data generated by at least two power distribution terminals and substation residual current data in a power distribution substation are obtained based on a preset time interval.
[0035] The power distribution substation refers to a power supply area composed of a power distribution transformer, a low-voltage line, a power distribution box, an electric energy meter, and a user terminal. In the scheme provided in the embodiment, in order to facilitate the positioning of the user terminal that causes a leakage fault due to wiring errors or equipment aging, the electric meter used by each user terminal is understood as a power distribution terminal, so as to realize the positioning of the power distribution terminal in a leakage state through the analysis of subsequent steps.
[0036] The terminal load current data refers to the current data generated when various electrical equipment in the user terminal connected in the power system is normally operated, which can be obtained by monitoring the smart electric meter connected in the electrical system. The terminal load current data reflects the power load size of each power distribution terminal, and by monitoring the terminal load current, the power demand and change of each power distribution terminal can be understood.
[0037] The substation residual current data refers to the current flowing into the ground through the electrical device, also known as leakage current, which can be obtained by monitoring the electrical system of the entire power distribution substation. In an ideal case, the current flowing into and out of the power distribution substation should be equal, i.e., the current vector sum is zero. However, due to various reasons such as insulation aging, damage, poor grounding, etc. of electrical equipment, part of the current will flow into the ground through an abnormal path, thereby generating residual current.
[0038] In the embodiment, the significance of obtaining the terminal load current data generated by at least two power distribution terminals and the substation residual current data in the power distribution substation is that if the wiring of the user terminal is incorrect, the terminal load current originally flowing back from the zero line will be converted into the substation residual current data flowing out from the grounding protection line, resulting in that the substation residual current data exceeds the standard. The embodiment further analyzes the terminal load current data and the substation residual current data through subsequent steps to find the power distribution terminal that exists a leakage fault, so as to avoid safety accidents and power loss caused by leakage.
[0039] In the embodiment, the purpose of analyzing the terminal load current data and the residual current data of the transformer area based on the preset time interval is to understand the operation trend and change rule of the power distribution system by comparing and analyzing the data at different time points, so as to better diagnose the electric leakage fault. For example, a preset time interval of 10 minutes is set, and at the end of each 10-minute period, the terminal load current data and the residual current data of each power distribution terminal are collected. In this way, the changes of the power distribution system can be continuously monitored, and potential problems can be found in time.
[0040] The terminal load current data and the residual current data obtained in one time interval correspond to each other.
[0041] In a preferred embodiment, the way of obtaining the terminal load current data generated by at least two power distribution terminals and the residual current data in the power distribution transformer area based on the preset time interval can be realized by the following steps a) and b):
[0042] a) Obtain two actual load current data generated by the power distribution terminal and two actual residual current data in the power distribution transformer area in a historical time period.
[0043] In the prior art, the power system generally collects minute-level data in order to reduce the data storage pressure, such as collecting actual load current data and actual residual current data once every M minutes. Based on this, in a historical time period of 24 hours, the amount of data collected in the historical time period is (24 hours x 60 minutes) / M. When M is 15, only 96 data points can be obtained in a day. When analyzing the actual load current data and the residual current data collected, there is a problem of inaccurate analysis due to insufficient data.
[0044] Therefore, the embodiment obtains two actual load current data generated by the power distribution terminal and two actual residual current data in the power distribution transformer area in a historical time period. By linear interpolation processing of any two data, a plurality of data points are obtained, and the electric leakage terminal is positioned by analyzing the plurality of data points, thereby significantly reducing the time cost.
[0045] b) Divide the historical time period into a plurality of preset time intervals, and respectively expand the two actual load current data and the two actual residual current data based on the linear interpolation method to obtain the terminal load current data and the residual current data corresponding to each preset time interval.
[0046] When performing data expansion on two actual load current data and two actual residual current data based on linear interpolation, the historical time period is first divided based on a preset time interval. Taking the preset time interval as N as an example, each user can obtain (24×60) / N data points per day. When performing data expansion based on linear interpolation, N is much smaller than M, so more data points can be obtained for subsequent analysis steps.
[0047] Please refer to point 2. Figure 2 This is a schematic diagram illustrating a linear interpolation principle provided in an embodiment of this application. In this embodiment, data expansion based on two actual load current data points is used as an example for explanation. Figure 2 The horizontal axis represents the time interval, and the vertical axis represents the actual load current data. After dividing the historical time period into multiple preset time intervals, it is necessary to determine the load current data corresponding to each extended time interval based on two known actual load current data. Specifically, this embodiment can obtain this data in the following way:
[0048] Given the function values f(x0) and f(x2) at points x0 and x2 respectively, we now need to find the function value f(x1) at the extended data point x1. Assuming the function is linear, we can obtain the following formula using geometric principles:
[0049] f(x1)=(f(x2)-f(x0))(x1-x0) / (x2-x0)+f(x0) (1)
[0050] If we use the point-slope form of the equation of a straight line Starting from this point, we generalize it to m interpolation points (x0, f(0)), (x1, f(1)), ..., (x n The case of f(n)):
[0051] First, assuming n points are inserted between f(x1) and f(x2), then when n=1, based on the known actual load current data of the two points, we need to determine the actual current data f(x3) corresponding to the third point, which can be expressed as follows:
[0052]
[0053] Accordingly, when n=2, based on the known actual load current data of the two points, it is necessary to determine the actual current data f(x3) corresponding to the third point and the actual current data f(x4) corresponding to the fourth point, which can be expressed as follows:
[0054]
[0055] Furthermore, when n = m,
[0056]
[0057] …
[0058]
[0059] Further, the above expression is generalized to a more general form: assuming that p points are inserted between f(xa) and f(xb):
[0060] n = 1:
[0061]
[0062] n = 2:
[0063]
[0064] n = p:
[0065]
[0066] According to the above method, the two actual load current data can be expanded to obtain terminal load current data corresponding to each preset time interval.
[0067] Wherein, the two actual residual current data are expanded to obtain the residual current data of the transformer area corresponding to each preset time interval and the process of obtaining the terminal load current data corresponding to each preset time interval is the same as above, which is not repeated here.
[0068] S120, in each preset time interval, a linear regression model is constructed according to the terminal load current data of each power distribution terminal, the residual current data of the transformer area, and the relevant parameters corresponding to each power distribution terminal.
[0069] In this embodiment, the relevant parameters are used to represent the correlation between the terminal load current data and the residual current data of each power distribution terminal. The purpose of constructing the relevant parameters is to determine which power distribution terminals are closely related to the change of the residual current of the transformer area according to the relevant parameters, so as to quickly lock the power distribution terminal that may exist the leakage problem when the residual current of the power distribution transformer area is abnormal.
[0070] In this embodiment, the relevant parameters corresponding to each power distribution terminal are represented by the following formula:
[0071]
[0072] In the above formula, The relevant parameters are represented by X, which represents the terminal load current data, and Y, which represents the residual current data of the transformer area.
[0073] Further, when constructing the linear regression model according to the terminal load current data of each power distribution terminal, the residual current data of the transformer area, and the relevant parameters corresponding to each power distribution terminal, that is, to study the correlation between a dependent variable and multiple independent variables, the expression is:
[0074] Y = β0+ β1X1+ β2X2+ … + β N X N + ε (3)
[0075] In the formula, X1, X2, …, X N are independent variables representing user load current; Y is a dependent variable representing transformer area residual current; β1, β2, …, β N are regression coefficients, β0 is a constant term, and ε is a random error caused by objective factors.
[0076] In this embodiment, when constructing the linear regression model based on the time interval of the terminal load current data of each power distribution terminal, the residual current data of the transformer area, and the relevant parameters corresponding to each power distribution terminal, it can be expressed as the following formula:
[0077]
[0078] In the formula, X 1j ,X 2j ,…,X Nj represent the terminal load current corresponding to the N power distribution terminals in the jth time interval; represent the transformer area residual current in the jth time interval; represent the relevant parameters corresponding to each of the power distribution terminals; β0 represents a constant term; and ε j is a random error in the jth time interval.
[0079] S130, solving the linear regression model, obtaining the parameter results of the relevant parameters corresponding to each power distribution terminal, and determining the electric leakage terminal according to the parameter results corresponding to each power distribution terminal.
[0080] Suppose that in this embodiment, there are N power distribution terminals and M groups of sample observation values, wherein the N power distribution terminals correspond to one relevant parameter respectively, that is, there are N relevant parameters; the M groups of sample observation values can be understood as obtaining the terminal load current data of M power distribution terminals and the M transformer area residual current data. In this embodiment, M linear regression equations can be respectively constructed by the terminal load current data of the M power distribution terminals, the M transformer area residual current data, and the N relevant parameters, to form a multiple linear regression equation group based on the M linear regression equations, thereby obtaining a multiple linear regression model.
[0081] Further, based on the above formula (3), the M groups of sample observation values can be expressed as follows:
[0082]
[0083] in matrix form as:
[0084]
[0085] The embodiment obtains each related parameter β0, β1, …, β N by solving the above formula (5), so that the electric leakage terminal can be determined according to the parameter result of each related parameter, and the electric leakage terminal is the power distribution terminal in the electric leakage state in the power distribution area.
[0086] Specifically, in one preferred embodiment, the solving of the linear regression model and the obtaining of the parameter result of the related parameter corresponding to the power distribution terminal can be achieved by the following steps c) to e), which are as follows:
[0087] c) For each linear regression equation set, the related parameter corresponding to each power distribution terminal is estimated according to the terminal load current data and the area residual current data of each power distribution terminal, and the estimated related parameter corresponding to each power distribution terminal is obtained.
[0088] In the above formula (5), the regression coefficients β0, β1, …, β N are unknown quantities, which can be estimated by using the sample observation values Y j , X 1j , X 2j , …, X Nj to obtain the estimated related parameter
[0089] d) The estimated residual current data of the power distribution area is determined according to the estimated related parameter and the terminal load current data of each power distribution terminal.
[0090] After the estimated related parameter is substituted into the position parameters β0, β1, …, β N of the overall regression function, the estimated residual current data is further determined based on the above formula (3). The estimated residual current data can be expressed as The area residual current is expressed as Y j , , which is the sample estimated value of Y j .
[0091] e) When the area residual current data and the estimated residual current data satisfy a preset relationship, the parameter result of the related parameter corresponding to each power distribution terminal is obtained.
[0092] In a preferred embodiment, the indication that the residual current data of the transformer area and the estimated residual current data satisfy the preset relationship can be understood as follows: determining a data residual according to the residual current data of the transformer area and the estimated residual current data; and determining that the preset relationship is satisfied when the data residual is the minimum.
[0093] Specifically, the data residual is expressed as e j wherein, Further, it is known from the least square regression estimation that should be made so that the sum of squared residuals (SSE) of all observation values Y j and is the minimum.
[0094] Even if takes the minimum value, according to the extremum principle of a multivariate function, the SSE is respectively taken with respect to and is equal to 0, and the following equation is obtained:
[0095]
[0096] The equation group corresponding to the above formula (6) is transformed into a matrix form, and the following equation is obtained: The matrix X is collinearly tested and corrected to be a full rank matrix, and at this time The parameter result of each related parameter in the equation group can be obtained
[0097] Specifically, in the embodiment, the way of determining the electric leakage terminal according to the obtained parameter result of each related parameter is as follows: when the parameter result corresponding to the current power distribution terminal is greater than a preset threshold, the current power distribution terminal is determined to be the electric leakage terminal.
[0098] wherein, the preset threshold is taken as 0.5 for example, and it is calculated that when the parameter result corresponding to the current power distribution terminal is greater than 0.5, the current power distribution terminal is determined to be the electric leakage terminal. Otherwise, the current power distribution terminal is a power distribution terminal in normal operation.
[0099] It should be noted that the preset threshold is not limited to 0.5, and can also be 0.3, 0.4 or 0.6, and the specific preset threshold determined by experimental simulation results is used as the criterion.
[0100] Before the scheme provided in the embodiment is put into application, test simulation can be performed in advance to verify the feasibility of the scheme. Specifically, before implementation verification is performed: to verify the effectiveness of the method, true-type power distribution laboratory measurement data is selected to test and verify the zero line and ground line connection errors existing in the transformer area. A total of 80 household users are connected to the simulated power distribution transformer area, and terminal load current data X1-X80 and transformer area residual current data sampled at 15-minute intervals on the day of the abnormal transformer area are collected for analysis. For single-user zero line and ground line connection error faults, user 21# is simulated as an abnormal power distribution terminal; for two-user zero line and ground line connection error leakage faults, users 1# and 2# are simulated as zero line and ground line connection error leakage faults in the same phase.
[0101] First, terminal load current data generated by at least two power distribution terminals and transformer area residual current data in a power distribution transformer area are obtained based on a preset time interval. In this simulation, eight data are inserted in the two data, that is, eight interpolation points are taken at 1 / 9, 2 / 9, 3 / 9, 4 / 9, 5 / 9, 6 / 9, 7 / 9, and 8 / 9, respectively, and a total of 856 data points are obtained by using a linear interpolation formula. Thus, current data with a time interval of 2.5 minutes can be obtained from original current data with a time interval of 15 minutes. A multiple linear regression model is constructed below to determine a leakage terminal.
[0102] The obtained current data with a time interval of 2.5 minutes can obtain 856 data points for each user of the power distribution terminal per day. The first 600 data points of each user are extracted therefrom to establish a multiple linear regression model of the low-voltage power distribution transformer area, and further obtain the correlation coefficient of the leakage device and other devices in the transformer area.
[0103] In a low-voltage power distribution transformer area, zero line and ground line connection errors can occur in each power distribution terminal, causing the transformer area residual current to exceed the standard. To evaluate the influence of the terminal load current data generated by each power distribution terminal and the transformer area residual current data in the power distribution transformer area, the embodiment analyzes the data based on time series to identify and locate the leakage. By analyzing the time series of the transformer area residual current data and the terminal load current data generated by each power distribution terminal, a multiple linear regression model can be established to identify the power distribution terminal with connection errors that causes fluctuations in the transformer area residual current data.
[0104] Finally, by calculating each correlation coefficient, comparing the obtained leakage equipment with the related parameters of other equipment in the transformer area, and observing the coefficient, it is determined whether the leakage equipment can be accurately positioned through the expanded data. Before this experiment, the power distribution terminal 21# is set as a leakage equipment, and by analyzing the related parameters corresponding to the power distribution terminal 21#, if the related parameters of other power distribution terminals are all less than 0.5, 0.5 is determined as a preset threshold value, and then the scheme provided in this embodiment is simulated multiple times based on the preset threshold value, so as to achieve the purpose of accurately identifying the leakage terminal through the threshold setting of the parameter results corresponding to each power distribution terminal.
[0105] The leakage terminal determination method provided in this embodiment determines the related parameters by the terminal load current data and the residual current data of each power distribution terminal, so as to determine which power distribution terminals are closely related to the change of the residual current of the transformer area according to the related parameters, so as to facilitate rapid locking of the power distribution terminal that may have a leakage problem when the residual current in the power distribution transformer area is abnormal. Further, by constructing a linear regression model, the linear regression model is solved in a mathematical calculation manner, which can improve the accuracy of subsequent determination of the leakage terminal. Further, whether each power distribution terminal is in a leakage state is reflected by the obtained parameter results. The leakage terminal determination method provided in this embodiment determines the leakage terminal by solving the parameter results of the related parameters, which has the beneficial effects of improving the detection efficiency and detection accuracy of the leakage terminal.
[0106] Figure 3 is a structural schematic diagram of a leakage terminal determination device provided in this embodiment, which is suitable for executing the leakage terminal determination method provided in this embodiment. As shown in Figure 3 , the device can specifically include a data acquisition module 310, a model construction module 320, and a terminal determination module 330, wherein:
[0107] The data acquisition module 310 is configured to acquire terminal load current data generated by at least two power distribution terminals and transformer residual current data in a power distribution transformer area based on a preset time interval, and the terminal load current data and the transformer residual current data correspond to each other.
[0108] The model construction module 320 is configured to construct a linear regression model according to the terminal load current data of each power distribution terminal, the transformer residual current data, and the related parameters corresponding to each power distribution terminal in each of the preset time intervals, and the related parameters are used to represent the correlation between the terminal load current data of each power distribution terminal and the transformer residual current data.
[0109] The terminal determination module 330 is configured to solve the linear regression model, obtain a parameter result of the relevant parameter corresponding to each power distribution terminal, and determine an electric leakage terminal according to the parameter result corresponding to each power distribution terminal. The electric leakage terminal is a power distribution terminal in an electric leakage state in the power distribution area.
[0110] The electric leakage terminal determination device provided in the embodiment determines relevant parameters according to terminal load current data and area residual current data of each power distribution terminal, so as to determine which load current of the power distribution terminal is closely related to the change of the area residual current according to the relevant parameters. When the residual current in the power distribution area is abnormal, the power distribution terminal with the electric leakage problem can be quickly locked. The linear regression model is constructed, and the linear regression model is solved by mathematical calculation, so as to improve the accuracy of subsequent determination of the electric leakage terminal. The parameter result of the solved relevant parameters reflects whether each power distribution terminal is in an electric leakage state. The method for determining the electric leakage terminal by solving the parameter result of the relevant parameters improves the detection efficiency and accuracy of the electric leakage terminal.
[0111] In an embodiment, the data acquisition module 310 is specifically configured to acquire two actual load current data generated by the power distribution terminal and two actual residual current data in the power distribution area in a historical time period, divide the historical time period into a plurality of preset time intervals, and perform data expansion on the two actual load current data and the two actual residual current data based on a linear interpolation method, to obtain terminal load current data and area residual current data corresponding to each preset time interval.
[0112] In an embodiment, the relevant parameter corresponding to each power distribution terminal is represented by the following formula:
[0113]
[0114] In the above formula, represents the relevant parameter, X represents the terminal load current data, and Y represents the area residual current data.
[0115] In an embodiment, the linear regression model is represented by the following formula:
[0116]
[0117] In the formula, X 1j ,X 2j ,…,X Nj represents the terminal load current corresponding to the N power distribution terminals in the jth time interval. represents the area residual current in the jth time interval. represents a constant term; ε represents a random error. j is a random error in the jth time interval.
[0118] In an embodiment, the linear regression model comprises a plurality of linear regression equation groups.
[0119] The terminal determination module 330 is specifically configured to estimate, for each linear regression equation group, a correlation parameter corresponding to each power distribution terminal according to terminal load current data of each power distribution terminal and the area residual current data, to obtain an estimated correlation parameter corresponding to each power distribution terminal; determine estimated residual current data of the power distribution area according to the estimated correlation parameter and the terminal load current data of each power distribution terminal; and when the area residual current data and the estimated residual current data satisfy a preset relationship, obtain a parameter result of the correlation parameter corresponding to each power distribution terminal.
[0120] In an embodiment, the terminal determination module 330 is specifically further configured to determine a data residual according to the area residual current data and the estimated residual current data; and determine that the preset relationship is satisfied when the data residual is the smallest.
[0121] In an embodiment, the terminal determination module 330 is specifically further configured to determine that the current power distribution terminal is the electric leakage terminal when the parameter result corresponding to the current power distribution terminal is greater than a preset threshold.
[0122] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional modules is taken as an example for illustration, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the above described functional modules can refer to the corresponding process in the foregoing method embodiments, which will not be described here.
[0123] The electronic device provided in the embodiments of the present application comprises: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores a computer program which can be executed by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the electric leakage terminal determination method provided in any one of the embodiments of the present application.
[0124] The embodiments of the present application further provide a computer readable medium, and the computer readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to execute the electric leakage terminal determination method provided in any one of the embodiments of the present application.
[0125] Reference will now be made to Figure 4 , Figure 4 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. It shows a structural schematic diagram of a computer system 500 of an electronic device suitable for implementing the embodiments of the present application. Figure 4 The electronic device shown is merely an example and should not bring any limitation to the functions and use range of the embodiments of the present application.
[0126] As shown in Figure 4 , the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 502 or programs loaded from a storage portion 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0127] The following components are connected to the I / O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), and the like, and a speaker, and the like; a storage portion 508 including a hard disk, and the like; and a communication portion 509 including a network interface card such as a LAN card, a modem, and the like. The communication portion 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as necessary. A removable media 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, and the like is mounted on the drive 510 as necessary, so that a computer program read therefrom is installed into the storage portion 508 as necessary.
[0128] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product including a computer program carried on a computer-readable medium, the computer program containing program codes for executing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network by the communication portion 509, and / or installed from the removable media 511. When the computer program is executed by the central processing unit (CPU) 501, the above-described functions defined in the system of the present application are performed.
[0129] It should be noted that the computer-readable medium shown in the application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this application, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or component. In this application, the computer-readable signal medium can include a data signal carried in a baseband or as a carrier wave part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take many forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, which can send, propagate or transmit programs for use by or in conjunction with an instruction execution system, device or component. The program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire and optical cables, and the like, or any suitable combination of the above.
[0130] The flowcharts and block diagrams in the drawings illustrate the possible implementation architectures, functions and operations of the systems, methods and computer program products according to various embodiments of the application. In this regard, each block in the flowcharts or block diagrams can represent a module, a program segment, or a portion of code that contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in different orders than that shown in the figures. For example, two blocks that are shown in succession can actually be executed substantially concurrently, or they can sometimes be executed in reverse order, depending on the functionality involved. It should also be noted that each block in the block diagrams or flowcharts, and combinations of blocks in the block diagrams or flowcharts, can be implemented by a dedicated hardware-based system that performs specified functions or operations, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0131] The modules and / or units involved in the embodiments of the present application can be implemented by software or by hardware. The described modules and / or units can also be arranged in a processor, for example, can be described as: a processor includes a data acquisition module, a model construction module and a terminal determination module. In some cases, the names of these modules do not constitute a limitation on the modules themselves.
[0132] As another aspect, the present application also provides a computer readable medium, which can be included in the device described in the above embodiments, or can exist independently without being assembled into the device. The above computer readable medium carries one or more programs, which, when executed by the device, cause the device to include: obtaining terminal load current data generated by at least two power distribution terminals and substation residual current data in a power distribution area based on a preset time interval, the terminal load current data and the substation residual current data corresponding to each other; in each of the preset time intervals, constructing a linear regression model according to the terminal load current data of each of the power distribution terminals, the substation residual current data, and the relevant parameters corresponding to each of the power distribution terminals, the relevant parameters being used to represent the correlation between the terminal load current data of each of the power distribution terminals and the substation residual current data; solving the linear regression model to obtain parameter results of the relevant parameters corresponding to each of the power distribution terminals, and determining an electric leakage terminal according to the parameter results corresponding to each of the power distribution terminals, the electric leakage terminal being a power distribution terminal in an electric leakage state in the power distribution area.
[0133] According to the technical solution of the present embodiment, the relevant parameters of the terminal load current data and the substation residual current data of each power distribution terminal are determined to determine which power distribution terminals have closely related load current changes and substation residual current changes, so that when there is an abnormal residual current in the power distribution area, the power distribution terminal that may have an electric leakage problem can be quickly locked; further, by constructing a linear regression model, the linear regression model is solved by mathematical calculation, which can improve the accuracy of subsequent determination of the electric leakage terminal; and further, the parameter results obtained reflect whether each power distribution terminal is in an electric leakage state. The present embodiment determines the electric leakage terminal by solving the parameter results of the relevant parameters, which has the beneficial effects of improving the detection efficiency and accuracy of determining the electric leakage terminal.
[0134] The above specific embodiments do not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made depending on design requirements and other factors. Any modification, equivalent replacement and improvement made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. An electric leakage terminal determining method, characterized by, The method comprises the following steps: obtaining terminal load current data generated by at least two power distribution terminals and substation residual current data in a power distribution substation based on preset time intervals, the terminal load current data and the substation residual current data corresponding to each other; in each of the preset time intervals, constructing a linear regression model according to the terminal load current data of each of the power distribution terminals, the substation residual current data, and relevant parameters corresponding to each of the power distribution terminals, the relevant parameters being used to represent the correlation between the terminal load current data of each of the power distribution terminals and the substation residual current data; solving the linear regression model to obtain parameter results of the relevant parameters corresponding to each of the power distribution terminals, and determining an electric leakage terminal according to the parameter results corresponding to each of the power distribution terminals, the electric leakage terminal being a power distribution terminal in an electric leakage state in the power distribution substation.
2. The electric leakage terminal determining method according to claim 1, characterized by, The method comprises the following steps: obtaining two actual load current data generated by the power distribution terminals and two actual residual current data in the power distribution substation in a historical time period; dividing the historical time period into a plurality of preset time intervals, and respectively performing data expansion on the two actual load current data and the two actual residual current data based on a linear interpolation method to obtain the terminal load current data and the substation residual current data corresponding to each of the preset time intervals.
3. The electric leakage terminal determining method according to claim 1, wherein The relevant parameters corresponding to each of the power distribution terminals are represented by the following formula: In the above formula, represents the relevant parameters, X represents the terminal load current data, and Y represents the substation residual current data.
4. The electric leakage terminal determining method according to claim 1, characterized by, The linear regression model is represented by the following formula: In the formula, X 1j , X 2j , …, X Nj represents the terminal load current corresponding to the N power distribution terminals respectively in the jth time interval; represents the residual current in the jth time interval; represents the relevant parameters corresponding to each of the power distribution terminals; β0represents a constant term; ε j is a random error in the jth time interval.
5. The electric leakage terminal determining method according to claim 1, wherein The linear regression model comprises a plurality of linear regression equation groups. The method comprises the following steps: for each of the linear regression equation groups, estimating the relevant parameters corresponding to each of the power distribution terminals according to the terminal load current data of each of the power distribution terminals and the substation residual current data to obtain estimated relevant parameters corresponding to each of the power distribution terminals; determining estimated residual current data of the power distribution substation according to the estimated relevant parameters and the terminal load current data of each of the power distribution terminals; when the substation residual current data and the estimated residual current data satisfy a preset relationship, obtaining the parameter results of the relevant parameters corresponding to each of the power distribution terminals.
6. The electric leakage terminal determining method according to claim 5, wherein The substation residual current data and the estimated residual current data satisfy a preset relationship, which comprises the following steps: determining a data residual according to the substation residual current data and the estimated residual current data; when the data residual is the smallest, it is determined that the preset relationship is satisfied.
7. The electric leakage terminal determining method according to claim 1, wherein The method comprises the following steps: when the parameter results corresponding to the current power distribution terminal are greater than a preset threshold, the current power distribution terminal is determined to be the electric leakage terminal.
8. An electric leakage terminal determining apparatus characterized by comprising: The method comprises the following steps: a data acquisition module is configured to obtain terminal load current data generated by at least two power distribution terminals and substation residual current data in a power distribution substation based on preset time intervals, the terminal load current data and the substation residual current data corresponding to each other; A model construction module is configured to, in each of the preset time intervals, construct a linear regression model according to terminal load current data of each of the power distribution terminals, the residual current data of the transformer area, and relevant parameters corresponding to each of the power distribution terminals, the relevant parameters being used to represent the correlation between the terminal load current data of each of the power distribution terminals and the residual current data of the transformer area. A terminal determination module is configured to solve the linear regression model to obtain parameter results of the relevant parameters corresponding to each of the power distribution terminals, and determine an electric leakage terminal according to the parameter results corresponding to each of the power distribution terminals, the electric leakage terminal being a power distribution terminal in an electric leakage state in the power distribution transformer area.
9. An electronic device, comprising: The electronic device comprises: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the electric leakage terminal determination method in any one of claims 1-7.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the electric leakage terminal determination method in any one of claims 1-7.
Citation Information
Patent Citations
Power distribution network data abnormity tracing method and system, computer equipment and medium
CN117216706A
System and method for fault detection in an electrical device
US20150167661A1