Electric leakage terminal determination method and device, electronic equipment and storage medium
By constructing a linear regression model in the low -voltage distribution station area, the terminal load current data and the remaining current data of the Taiwan area are used to solve the problems of low efficiency and accuracy of detection of leakage terminals in existing technologies. The leakage terminal is determined.
Patent Information
- Application Number
- CN202411445200.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2044-10-16
AI Technical Summary
When determining leakage terminals in the low-voltage distribution station area, the detection efficiency and accuracy are low, and there is a problem that fault data is covered up.
By acquiring terminal load current data and station area residual current data of distribution terminals based on preset time intervals, a linear regression model is constructed and relevant parameters are solved to determine leakage terminals.
The detection efficiency and accuracy of determining the leakage terminal can quickly lock the power distribution terminal with possibly leakage problems.
Smart Images

Figure CN119335438A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power grid technology, and in particular to a method, device, electronic device and storage medium for determining a leakage terminal. Background Art
[0002] As the end of the power supply system, the low-voltage distribution station area is responsible for supplying power to many users. Due to the complexity of the distribution feeders in the power system, and when the equipment at the distribution terminal is aged, damaged by external forces or the wiring is wrong, leakage faults are prone to occur, which can cause electrical fires or electric shocks, posing a serious safety hazard to electricity use.
[0003] Since the amount of data collected by the power system is relatively large, and in order to reduce the pressure of data storage, the power system generally collects minute-level data. Therefore, when a leakage fault occurs at the distribution terminal, there is a phenomenon that the fault data is covered. When the first-level residual current protection or the second-level residual current protection in the low-voltage substation frequently trips due to a leakage fault, professional inspection personnel will use a leakage detector to inspect the distribution terminals in the distribution substation one by one to find the leakage terminal. This method of determining the leakage terminal requires high skills from the inspection personnel, and the inspection personnel's method of checking one by one has the problems of low detection efficiency and low detection accuracy. Summary of the invention
[0004] The present application provides a leakage terminal determination method, device, electronic device and storage medium, which can improve the detection efficiency and detection accuracy of leakage terminals.
[0005] In a first aspect, the present application provides a method for determining a leakage terminal, comprising:
[0006] Acquire terminal load current data generated by at least two power distribution terminals and substation residual current data in the power distribution substation based on a preset time interval, wherein the terminal load current data and the substation residual current data correspond to each other;
[0007] In each of the preset time intervals, a linear regression model is constructed according to the terminal load current data of each of the distribution terminals, the residual current data of the substation, and the relevant parameters corresponding to each of the distribution terminals, wherein the relevant parameters are used to represent the correlation between the terminal load current data of each of the distribution terminals and the residual current data of the substation;
[0008] Solve the linear regression model to obtain parameter results of relevant parameters corresponding to each of the distribution terminals, and determine the leakage terminal according to the parameter results corresponding to each of the distribution terminals, wherein the leakage terminal is a distribution terminal in the distribution station area that is in a leakage state.
[0009] In a second aspect, the present application provides a leakage terminal determination device, the device comprising:
[0010] A data acquisition module, used 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 a preset time interval, wherein the terminal load current data and the substation residual current data correspond to each other;
[0011] A model building module, used to build a linear regression model in each of the preset time intervals according to the terminal load current data of each of the distribution terminals, the residual current data of the substation, and the relevant parameters corresponding to each of the distribution terminals, wherein the relevant parameters are used to represent the correlation between the terminal load current data of each of the distribution terminals and the residual current data of the substation;
[0012] The terminal determination module is used to solve the linear regression model, obtain the parameter results of the relevant parameters corresponding to each of the distribution terminals, and determine the leakage terminal according to the parameter results corresponding to each of the distribution terminals. The leakage terminal is a distribution terminal in the distribution station area that is in a leakage state.
[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 communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the leakage terminal determination method described in any embodiment of the present application.
[0017] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the leakage terminal determination method described in any embodiment of the present application when executed.
[0018] In a fifth aspect, the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements the leakage terminal determination method described in any embodiment of the present application.
[0019] The leakage terminal determination solution provided in the embodiment of the present application determines relevant parameters based on the terminal load current data and the residual current data of each distribution terminal, so as to clarify which distribution terminals' load current changes are closely related to the changes in the residual current of the distribution area according to the relevant parameters. When the residual current abnormality occurs in the distribution area, it is convenient to quickly lock the distribution terminal that may have a leakage problem; further, by constructing a linear regression model and solving the linear regression model by mathematical calculation, the accuracy of subsequent determination of the leakage terminal can be improved; further, the obtained parameter results reflect whether each distribution terminal is in a leakage state. This embodiment determines the leakage terminal by solving the parameter results of the relevant parameters, which has the beneficial effect of improving the detection efficiency and detection accuracy of the leakage terminal.
[0020] It should be noted that the above computer instructions may be stored in whole or in part on a computer-readable storage medium, wherein the computer-readable storage medium may be packaged together with the processor of the leakage terminal determination device, or may be packaged separately from the processor of the leakage terminal determination device, which is not limited in this application.
[0021] The description of the second, third, fourth and fifth aspects of the present application can refer to the detailed description of the first aspect; and the beneficial effects of the description of the second, third, fourth and fifth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.
[0022] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description.
[0023] It is understandable that before using the technical solutions disclosed in the embodiments of this application, the type, scope of use, and usage scenarios of the personal information involved in this application should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0025] Figure 1 It is a flowchart of a method for determining a leakage terminal provided in an embodiment of the present application;
[0026] Figure 2is another flowchart of the method for determining a leakage terminal provided in an embodiment of the present application;
[0027] Figure 3 is a structural schematic diagram of a leakage terminal determination device provided in an embodiment of the present application;
[0028] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the present application will be clearly and completely described below in conjunction with the drawings in the present embodiment. Obviously, the described embodiment is only a part of the embodiment of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present application.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only the parts related to the present application, rather than all structures, are shown in the accompanying drawings.
[0032] Figure 1 A flow chart of a method for determining a leakage terminal provided in an embodiment of the present application, the present embodiment can be applied to leakage detection of distribution terminals in a distribution substation area to determine the situation of being in a leakage terminal, the method can be executed by a leakage terminal determination device, the device can be implemented in the form of hardware and / or software, and integrated in an electronic device that executes the method. Preferably, the electronic device in the embodiment of the present application can be a server, or a computer device, etc.
[0033] refer to Figure 1The method for determining the leakage terminal in this embodiment includes but is not limited to the following steps:
[0034] S110. 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 a preset time interval.
[0035] The distribution area refers to a power supply area consisting of distribution transformers, low-voltage lines, distribution boxes, electric energy meters, and user terminals, etc. In the solution provided in this embodiment, in order to facilitate the positioning of user terminals that have leakage faults due to factors such as wiring errors or equipment aging, the electric meter used by each user terminal is understood as a distribution terminal, so that the positioning of the distribution terminal in a leakage state can be achieved through analysis in subsequent steps.
[0036] Terminal load current data refers to the current data generated by the normal operation of various electrical equipment at the user end connected to the power system, which can be obtained by monitoring the smart meters connected to the electrical system. The terminal load current data reflects the power load size of each distribution terminal. By monitoring the terminal load current, the power demand and changes of each distribution terminal can be understood.
[0037] The residual current data of the distribution area refers to the current flowing into the earth through the electrical device, also known as leakage current, which can be obtained by monitoring the electrical system of the entire distribution area. Among them, under ideal conditions, the current flowing into and out of the distribution area should be equal, that is, 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 earth through abnormal paths, thereby generating residual current.
[0038] In this embodiment, the significance of obtaining the terminal load current data generated by at least two distribution terminals and the substation residual current data in the distribution substation is that if there is a wiring error of the neutral line or the ground line at the user end, the terminal load current that should have flowed back from the neutral line will be converted into the substation residual current data flowing from the ground protection line, causing the substation residual current data to exceed the standard. This embodiment further analyzes the terminal load current data and the substation residual current data in subsequent steps to find the distribution terminal with leakage faults and avoid safety accidents and power losses caused by leakage.
[0039] In this embodiment, the purpose of analyzing the terminal load current data and the residual current data of the substation based on the preset time interval is to understand the operation trend and change law of the distribution system by comparing and analyzing the data at different time points, so as to better diagnose the leakage fault. For example, every 10 minutes is set as a preset time interval, and at the end of each 10-minute time period, the terminal load current data and the residual current data of the substation of each distribution terminal are collected. In this way, the changes of the distribution system can be continuously monitored and potential problems can be discovered in time.
[0040] Among them, the terminal load current data and the substation residual current data obtained within a time interval correspond to each other.
[0041] A preferred embodiment, in this embodiment, the method of obtaining the terminal load current data generated by at least two distribution terminals and the residual current data of the distribution area in the distribution area based on the preset time interval can be implemented by the following steps a) and b):
[0042] a) Obtain two actual load current data generated by the distribution terminal and two actual residual current data in the distribution station area during the historical time period.
[0043] In the existing scheme, since the amount of data collected by the power system is relatively large, and in order to reduce the pressure of data storage, the power system generally collects minute-level data, such as collecting actual load current data and actual residual current data once every M minutes. Based on this, the historical time period is 24 hours, and the amount of data collected in the historical time period is (24 hours × 60 minutes) / M. When M is 15, only 96 data points can be obtained in one day. When performing data analysis based on the collected actual load current data and residual current data, there is a problem of inaccurate analysis due to insufficient data volume.
[0044] In view of this, the purpose of this embodiment of acquiring two actual load current data generated by the distribution terminal and two actual residual current data in the distribution station area within the historical time period is to obtain multiple data points by performing linear interpolation processing on any two acquired data, so as to achieve the purpose of locating the leakage terminal by analyzing multiple data points, thereby significantly reducing the time cost.
[0045] b) Divide the historical time period into multiple preset time intervals, and perform data expansion on two actual load current data and two actual residual current data based on linear interpolation to obtain terminal load current data and substation residual current data corresponding to each preset time interval.
[0046] When data expansion is performed on two actual load current data and two actual residual current data respectively based on the linear interpolation method, the historical time period is first divided based on the preset time interval. Taking the preset time interval N as an example, each user can obtain (24×60) / N data points every day. When data expansion is performed based on linear interpolation, N is much smaller than M, so more data points can be obtained for analysis in subsequent steps.
[0047] Please refer to 2, Figure 2 Schematic diagram of a linear interpolation principle provided in an embodiment of the present application. In this embodiment, data expansion based on two actual load current data 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, the load current data corresponding to each expanded time interval needs to be determined based on the two known actual load current data. Specifically, this embodiment can be obtained in the following way:
[0048] First, we already know the function values f(x0) and f(x2) at two points x0 and x2, and now we need the function value f(x1) at the extended data point x1. At this point, assuming that the function is linear, we can use geometric knowledge to obtain the following formula:
[0049] f(x1)=(f(x2)-f(x0))(x1-x0) / (x2-x0)+f(x0) (1)
[0050] If the equation of a straight line is from point slope form Starting from, generalize it to have m interpolation points (x0,f(0)),(x1,f(1)),...,(x n ,f(n)):
[0051] First, assume that n points are inserted between f(x1) and f(x2). When n=1, based on the known two actual load current data, the actual current data f(x3) corresponding to the third point needs to be determined, which can be expressed as follows:
[0052]
[0053] Accordingly, when n=2, based on the known two actual load current data, 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] Then we generalize the above expression to a more general form: Assume that p points are inserted between f(xa) and f(xb):
[0060] When n=1:
[0061]
[0062] When n=2:
[0063]
[0064] When n=p:
[0065]
[0066] According to the above method, the two actual load current data can be expanded to obtain the terminal load current data corresponding to each preset time interval.
[0067] Among them, the data expansion of the two actual residual current data to obtain the substation residual current data corresponding to each preset time interval is the same as the process of obtaining the terminal load current data corresponding to each preset time interval, which will not be repeated here.
[0068] S120. In each preset time interval, a linear regression model is constructed according to the terminal load current data of each distribution terminal, the residual current data of the substation, and the relevant parameters corresponding to each distribution terminal.
[0069] In this embodiment, the relevant parameters are used to represent the correlation between the terminal load current data of each distribution terminal and the residual current data of the substation. The purpose of constructing the relevant parameters is to clarify which distribution terminal load current changes are closely related to the changes in the substation residual current according to the relevant parameters, so that when the residual current abnormality occurs in the distribution substation, it is convenient to quickly lock the distribution terminal that may have a leakage problem.
[0070] In this embodiment, the relevant parameters corresponding to each of the power distribution terminals are expressed by the following formula:
[0071]
[0072] In the above formula, Represents relevant parameters, X represents terminal load current data, and Y represents the residual current data of the substation.
[0073] Furthermore, when a linear regression model is constructed based on the terminal load current data of each distribution terminal, the residual current data of the substation, and the relevant parameters corresponding to each distribution terminal, it is transformed into studying the correlation between a dependent variable and multiple independent variables, and its expression is:
[0074] Y=β0+β1X1+β2X2+…+β N X N +ε (3)
[0075] In the formula, X1, X2, …, X N is the independent variable representing the user load current; Y is the dependent variable representing the residual current in the substation; β1,β2,…,β N is the regression coefficient, β0 is the constant term, and ε is the random error caused by objective factors.
[0076] In this embodiment, when a linear regression model is constructed based on the terminal load current data of each distribution terminal, the residual current data of the substation area, and the relevant parameters corresponding to each distribution terminal based on the time interval, it can be expressed as the following formula:
[0077]
[0078] Where, X 1j ,X 2j ,…,X Nj It represents the terminal load current corresponding to each of the N distribution terminals in the jth time interval; represents the residual current in the station area in the jth time interval; represents the relevant parameters corresponding to each of the power distribution terminals; β0 represents a constant term; ε j is the random error in the jth time interval.
[0079] S130, solving a linear regression model to obtain parameter results of relevant parameters corresponding to each power distribution terminal, and determining a leakage terminal according to the parameter results corresponding to each power distribution terminal.
[0080] Assume that there are N distribution terminals and M groups of sample observations in this embodiment, wherein each of the N distribution terminals corresponds to a relevant parameter, that is, there are N relevant parameters; the M groups of sample observations can be understood as obtaining the terminal load current data of the M distribution terminals and the residual current data of the M substations. In this embodiment, M linear regression equations can be constructed respectively through the terminal load current data of the M distribution terminals, the residual current data of the M substations, and the N relevant parameters, so as to form a multivariate linear regression equation group based on the M linear regression equations, thereby obtaining a multivariate linear regression model.
[0081] Furthermore, based on the above formula (3), the M groups of sample observations can be expressed as follows using the following equation system:
[0082]
[0083] It is expressed in matrix form as:
[0084]
[0085] In this embodiment, the above formula (5) is solved to obtain each relevant parameter β0, β1, ..., β N The parameter results of each relevant parameter can be used to determine the leakage terminal, which is a distribution terminal in a leakage state in the distribution station area.
[0086] Specifically, in a preferred embodiment, solving the linear regression model to obtain the parameter results of the relevant parameters corresponding to the power distribution terminal can be achieved through the following steps c) to e), which are as follows:
[0087] c) For each linear regression equation group, the relevant parameters corresponding to each distribution terminal are estimated according to the terminal load current data of each distribution terminal and the residual current data of the substation area, so as to obtain the estimated relevant parameters corresponding to each distribution terminal.
[0088] In the above formula (5), the regression coefficients β0, β1, …, β N is an unknown quantity, we can use the sample observation value Y j ,X 1j ,X 2j ,…,X Nj Estimation is performed to obtain the estimated relevant parameters
[0089] d) Determine the estimated residual current data of the distribution station area based on the estimated relevant parameters and the terminal load current data of each distribution terminal.
[0090] After replacing the location parameters β0,β1,…,β N After that, the estimated residual current data is further determined based on the above formula (3). The estimated residual current data can be expressed as The residual current in the station area is expressed as Y j , Y j The sample estimate of .
[0091] e) When the residual current data in the substation area and the estimated residual current data satisfy a preset relationship, parameter results of relevant parameters corresponding to each distribution terminal are obtained.
[0092] In a preferred embodiment, the substation residual current data and the estimated residual current data satisfying the preset relationship indicated in this embodiment can be understood as determining the data residual based on 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.
[0093] Specifically, the data residual is expressed as e j ,in, Furthermore, through least squares regression estimation, we know that All observations Y should be j and The sum of squared residuals (SSE) is the smallest.
[0094] even though To obtain the minimum value, according to the extreme value principle of multivariate function, SSE is used to Find the first-order partial derivative and set it equal to 0, we have:
[0095]
[0096] Transforming the equation group corresponding to the above formula (6) into a matrix form, we can get After collinearity test and correction, matrix X becomes a full rank matrix. The parameter results for each relevant parameter in the equation system can be obtained
[0097] Specifically, in this embodiment, the method of determining the leakage terminal according to the obtained parameter result of each relevant parameter is: when the parameter result corresponding to the current distribution terminal is greater than a preset threshold, determining the current distribution terminal as the leakage terminal.
[0098] The above preset threshold is 0.5 as an example. When the parameter result corresponding to the current power distribution terminal is greater than 0.5, it can be determined that the current power distribution terminal is a leakage terminal. Otherwise, the current power distribution terminal is a power distribution terminal in normal operation.
[0099] It should be noted that the above preset threshold is not limited to 0.5, and may optionally be 0.3, 0.4 or 0.6, depending on the preset threshold determined by the experimental simulation results.
[0100] Before the solution provided in this embodiment is put into use, a test simulation can be conducted in advance to verify the feasibility of the solution. Specifically, before the implementation verification is carried out: in order to verify the effectiveness of the method, the metering data of the real distribution laboratory is selected to test and verify the neutral and ground wiring errors in the substation. A total of 80 residential users are connected to the simulated distribution substation, and the terminal load current data X1~X80 and the residual current data of the substation sampled at 15min intervals on the day of the abnormality in the substation are collected for analysis. For the neutral and ground wiring error faults of a single user, user 21# is simulated as the abnormal distribution terminal; for the neutral and ground wiring error leakage faults of two users, the neutral and ground wiring error leakage faults of user 1# and user 2# are simulated in the same phase. For the above abnormal scenarios, data expansion and multivariate linear regression models are used to identify and locate leakage fault equipment.
[0101] First, based on the preset time interval, the terminal load current data generated by at least two distribution terminals and the residual current data in the distribution area are obtained. In this simulation, eight data are inserted into the two data, that is, eight interpolation points are taken, and the values are taken at 1 / 9, 2 / 9, 3 / 9, 4 / 9, 5 / 9, 6 / 9, 7 / 9, and 8 / 9 respectively. A total of 856 data points are obtained using the linear interpolation formula. From this, we can obtain the current data with a time interval of 2.5 minutes based on the original current data with a time interval of 15 minutes. Next, a multivariate linear regression model is constructed to determine the leakage terminal.
[0102] The current data obtained at 2.5-minute intervals can obtain 856 data points for each user's corresponding distribution terminal every day. The first 600 data points of each user are extracted to establish a multivariate linear regression model of the low-voltage distribution substation, and further obtain the correlation coefficient between the leakage equipment and other equipment in the substation.
[0103] In the low-voltage distribution substation, each distribution terminal may have a neutral wire and a ground wire wiring error, resulting in the residual current in the substation exceeding the standard. In order to evaluate the impact of the terminal load current data generated by each distribution terminal and the substation residual current data in the distribution substation. This embodiment analyzes the data based on the time series to identify and locate leakage. By analyzing the time series of the substation residual current data and the terminal load current data generated by each distribution terminal, a multivariate linear regression model can be established to identify the distribution terminal with wiring errors that causes fluctuations in the substation residual current data.
[0104] Finally, by calculating each correlation coefficient, comparing the relevant parameters of the leakage device with other devices in the substation, and observing the coefficients to determine whether the leakage device can be accurately located through the expanded data. For example, before conducting this experiment, the simulation sets the distribution terminal 21# as a leakage device, and analyzes the relevant parameters corresponding to the distribution terminal 21#. If the relevant parameters of other distribution terminals are not greater than 0.5, 0.5 is determined as the preset threshold, and then multiple simulation tests are performed on the preset threshold based on the solution provided in this embodiment, so as to achieve the purpose of accurately identifying the leakage terminal by setting the threshold of the parameter results corresponding to each distribution terminal.
[0105] The method for determining a leakage terminal provided in this embodiment determines relevant parameters based on the terminal load current data and the residual current data of each distribution terminal, so as to clarify which distribution terminals' load current changes are closely related to the changes in the residual current of the distribution area according to the relevant parameters. When the residual current abnormality occurs in the distribution area, it is convenient to quickly lock the distribution terminal that may have a leakage problem; further, by constructing a linear regression model and solving the linear regression model by mathematical calculation, the accuracy of subsequent determination of the leakage terminal can be improved; further, the obtained parameter results reflect whether each distribution terminal is in a leakage state. This embodiment determines the leakage terminal by solving the parameter results of the relevant parameters, which has the beneficial effect of improving the detection efficiency and detection accuracy of the leakage terminal.
[0106] Figure 3 1 is a schematic diagram of a structure of a leakage terminal determination device provided in an embodiment of the present application, and the device is suitable for executing a leakage terminal determination method provided in an embodiment of the present application. Figure 3 As shown, the device may specifically include: a data acquisition module 310, a model building module 320 and a terminal determination module 330, wherein:
[0107] The data acquisition module 310 is used to acquire terminal load current data generated by at least two power distribution terminals and substation residual current data in the power distribution substation based on a preset time interval, wherein the terminal load current data and the substation residual current data correspond to each other;
[0108] A model building module 320 is used to build a linear regression model within each of the preset time intervals according to the terminal load current data of each of the distribution terminals, the residual current data of the substation, and the relevant parameters corresponding to each of the distribution terminals, wherein the relevant parameters are used to represent the correlation between the terminal load current data of each of the distribution terminals and the residual current data of the substation;
[0109] The terminal determination module 330 is used to solve the linear regression model, obtain parameter results of relevant parameters corresponding to each of the distribution terminals, and determine the leakage terminal according to the parameter results corresponding to each of the distribution terminals. The leakage terminal is a distribution terminal in the distribution station area that is in a leakage state.
[0110] The leakage terminal determination device provided in this embodiment determines relevant parameters based on the terminal load current data and the residual current data of each distribution terminal, so as to clarify which distribution terminals' load current changes are closely related to the changes in the residual current of the distribution area according to the relevant parameters. When the residual current abnormality occurs in the distribution area, it is convenient to quickly lock the distribution terminal that may have a leakage problem; further, by constructing a linear regression model and solving the linear regression model by mathematical calculation, the accuracy of subsequent determination of the leakage terminal can be improved; further, the parameter results obtained by the solution reflect whether each distribution terminal is in a leakage state. This embodiment determines the leakage terminal by solving the parameter results of the relevant parameters, which has the beneficial effect of improving the detection efficiency and detection accuracy of the leakage terminal.
[0111] In one embodiment, the data acquisition module 310 is specifically used to obtain two actual load current data generated by the distribution terminal and two actual residual current data in the distribution substation within a historical time period; the historical time period is divided into multiple preset time intervals, and the two actual load current data and the two actual residual current data are respectively expanded based on linear interpolation to obtain the terminal load current data and the substation residual current data corresponding to each preset time interval.
[0112] In one embodiment, the relevant parameters corresponding to each of the power distribution terminals are expressed by the following formula:
[0113]
[0114] In the above formula, Represents relevant parameters, X represents terminal load current data, and Y represents the residual current data of the substation.
[0115] In one embodiment, the linear regression model is represented by the following formula:
[0116]
[0117] Where, X 1j ,X 2j ,…,X Nj It represents the terminal load current corresponding to each of the N distribution terminals in the jth time interval; represents the residual current in the station area in the jth time interval; represents the relevant parameters corresponding to each of the power distribution terminals; β0 represents a constant term; ε j is the random error in the jth time interval.
[0118] In one embodiment, the linear regression model includes a plurality of linear regression equation groups.
[0119] The terminal determination module 330 is specifically used to estimate the relevant parameters corresponding to each distribution terminal according to the terminal load current data of each distribution terminal and the residual current data of the substation for each of the linear regression equation groups, so as to obtain the estimated relevant parameters corresponding to each distribution terminal; determine the estimated residual current data of the distribution substation according to the estimated relevant parameters and the terminal load current data of each distribution terminal; and obtain the parameter results of the relevant parameters corresponding to each distribution terminal when the residual current data of the substation and the estimated residual current data satisfy a preset relationship.
[0120] In one embodiment, the terminal determination module 330 is further configured to determine a data residual according to the substation residual current data and the estimated residual current data; and when the data residual is the smallest, determine that the preset relationship is satisfied.
[0121] In one embodiment, the terminal determination module 330 is further configured to determine that the current power distribution terminal is the 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 simplicity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, 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 functional modules described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0123] An embodiment of the present application also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; 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 so that the at least one processor can execute the leakage terminal determination method described in any embodiment of the present application.
[0124] An embodiment of the present application further provides a computer-readable medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the leakage terminal determination method described in any embodiment of the present application when executed.
[0125] Reference below Figure 4 , Figure 4 1 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, and shows a schematic diagram of the structure of a computer system 500 suitable for implementing the electronic device in an embodiment of the present application. Figure 4 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0126] like Figure 4 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage part 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 via 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 section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.
[0128] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the above-mentioned functions defined in the system of the present application are executed.
[0129] It should be noted that the computer-readable medium shown in the present application may 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 be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, etc., or any suitable combination of the above.
[0130] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0131] The modules and / or units involved in the embodiments described in the present application may be implemented by software or hardware. The modules and / or units described may also be arranged in a processor, for example, it may be described as: a processor includes a data acquisition module, a model building module and a terminal determination module. The names of these modules do not constitute a limitation on the modules themselves in some cases.
[0132] As another aspect, the present application also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently and not be assembled into the device. The above computer-readable medium carries one or more programs. When the above one or more programs are executed by one of the devices, the device includes: obtaining terminal load current data generated by at least two distribution terminals and substation residual current data in the distribution substation based on a preset time interval, and the terminal load current data and the substation residual current data correspond to each other; in each of the preset time intervals, a linear regression model is constructed according to the terminal load current data of each distribution terminal, the substation residual current data, and the relevant parameters corresponding to each distribution terminal, and the relevant parameters are used to represent the correlation between the terminal load current data of each distribution terminal and the substation residual current data; solve the linear regression model, obtain the parameter results of the relevant parameters corresponding to each distribution terminal, and determine the leakage terminal according to the parameter results corresponding to each distribution terminal, and the leakage terminal is the distribution terminal in the distribution substation that is in a leakage state. 。
[0133] According to the technical solution of this embodiment, by determining relevant parameters for the terminal load current data and the residual current data of each distribution terminal, it is possible to clarify which distribution terminals' load current changes are closely related to the residual current changes in the distribution area according to the relevant parameters. When the residual current abnormality occurs in the distribution area, it is convenient to quickly lock the distribution terminal that may have a leakage problem; further, by constructing a linear regression model and solving the linear regression model by mathematical calculation, the accuracy of subsequent determination of the leakage terminal can be improved; further, the obtained parameter results reflect whether each distribution terminal is in a leakage state. This embodiment achieves the beneficial effect of improving the detection efficiency and detection accuracy of determining the leakage terminal by solving the parameter results of the relevant parameters to determine the leakage terminal.
[0134] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A method for determining a leakage terminal, characterized in that: include: Acquire terminal load current data generated by at least two power distribution terminals and substation residual current data in the power distribution substation based on a preset time interval, wherein the terminal load current data and the substation residual current data correspond to each other; In each of the preset time intervals, a linear regression model is constructed according to the terminal load current data of each of the distribution terminals, the residual current data of the substation, and the relevant parameters corresponding to each of the distribution terminals, wherein the relevant parameters are used to represent the correlation between the terminal load current data of each of the distribution terminals and the residual current data of the substation; Solve the linear regression model to obtain parameter results of relevant parameters corresponding to each of the distribution terminals, and determine the leakage terminal according to the parameter results corresponding to each of the distribution terminals, wherein the leakage terminal is a distribution terminal in the distribution station area that is in a leakage state.
2. The method for determining a leakage terminal according to claim 1, characterized in that: The method of acquiring terminal load current data generated by at least two power distribution terminals and station area residual current data in the power distribution station area based on a preset time interval includes: Acquire two actual load current data generated by the power distribution terminal and two actual residual current data in the power distribution substation within a historical time period; The historical time period is divided into a plurality of preset time intervals, and the two actual load current data and the two actual residual current data are respectively expanded based on a linear interpolation method to obtain the terminal load current data and the substation residual current data corresponding to each preset time interval.
3. The method for determining a leakage terminal according to claim 1, characterized in that: The relevant parameters corresponding to each of the power distribution terminals are expressed by the following formula: In the above formula, Represents relevant parameters, X represents terminal load current data, and Y represents the residual current data of the substation.
4. The method for determining a leakage terminal according to claim 1, characterized in that: The linear regression model is expressed by the following formula: Where, X 1j ,X 2j ,…,X Nj It represents the terminal load current corresponding to each of the N distribution terminals in the jth time interval; represents the residual current in the station area in the jth time interval; represents the relevant parameters corresponding to each of the power distribution terminals; β0 represents a constant term; ε j is the random error in the jth time interval.
5. The method for determining a leakage terminal according to claim 1, characterized in that: The linear regression model includes a plurality of linear regression equation groups; The step of solving the linear regression model to obtain parameter results of relevant parameters corresponding to each of the power distribution terminals includes: For each of the linear regression equation groups, the relevant parameters corresponding to each of the distribution terminals are estimated according to the terminal load current data of each of the distribution terminals and the residual current data of the substation area, so as to obtain the estimated relevant parameters corresponding to each of the distribution terminals; Determine the estimated residual current data of the distribution station area according to the estimation related parameters and the terminal load current data of each of the distribution terminals; When the substation residual current data and the estimated residual current data satisfy a preset relationship, parameter results of relevant parameters corresponding to each of the power distribution terminals are obtained.
6. The method for determining a leakage terminal according to claim 5, characterized in that: The station area residual current data and the estimated residual current data satisfy a preset relationship, including: Determine a data residual according to the residual current data of the station area and the estimated residual current data; When the data residual is the smallest, it is determined that the preset relationship is satisfied.
7. The method for determining a leakage terminal according to claim 1, characterized in that: The determining of the leakage terminal according to the parameter results corresponding to each of the power distribution terminals includes: When the parameter result corresponding to the current power distribution terminal is greater than a preset threshold, it is determined that the current power distribution terminal is the leakage terminal.
8. A leakage terminal determination device, characterized in that: include: A data acquisition module, used 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 a preset time interval, wherein the terminal load current data and the substation residual current data correspond to each other; A model building module, used to build a linear regression model in each of the preset time intervals according to the terminal load current data of each of the distribution terminals, the residual current data of the substation, and the relevant parameters corresponding to each of the distribution terminals, wherein the relevant parameters are used to represent the correlation between the terminal load current data of each of the distribution terminals and the residual current data of the substation; The terminal determination module is used to solve the linear regression model, obtain the parameter results of the relevant parameters corresponding to each of the distribution terminals, and determine the leakage terminal according to the parameter results corresponding to each of the distribution terminals. The leakage terminal is a distribution terminal in the distribution station area that is in a leakage state.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; 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 so that the at least one processor can perform the leakage terminal determination method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the leakage terminal determination method as described in any one of claims 1 to 7 is implemented.
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
Abnormal power consumption station detection method and apparatus, electronic device, and readable storage medium
WO2023246070A1