Theoretical line loss determination method, device, computer equipment, and storage medium

By eliminating invalid line loss information in the historical time period and calculating the theoretical line loss of the power enterprise line, the calculation deviation problems caused by the missing and inaccurate line parameters are solved, and the accuracy and management level of line loss calculation are improved.

CN114444892BActive Publication Date: 2025-01-17SHENZHEN POWER SUPPLY BUREAU
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111668267.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-30
Publication Date
2025-01-17
Estimated Expiration
2041-12-30

AI Technical Summary

Technical Problem

Power companies are unable to accurately calculate the theoretical line loss of the line, resulting in a large deviation from the real value of the calculation results, mainly due to the lack of line parameters and inaccurate parameters.

Method used

By obtaining the initial line loss information of the line in the historical time period, eliminating the invalid line loss information, determining the target line loss information, and calculating the theoretical line loss of the line based on the target line loss information, without relying on parameters such as power supply radius, material, length and short.

Benefits of technology

It improves the accuracy of theoretical line loss, provides reliable data support, improves the distribution network line operation and line loss management level of power enterprises, and simplifies the process of obtaining line loss information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114444892B_ABST
    Figure CN114444892B_ABST
Patent Text Reader

Abstract

The present application relates to a method, device, computer equipment, and storage medium for determining theoretical line loss. The method includes: obtaining first initial line loss information of a line within a preset first historical time period, determining a target date with invalid line loss information based on the line loss information, and removing the line loss information of the target date from the first initial line loss information to obtain target line loss information, and determining the theoretical line loss of the line based on the target line loss information. The method of the present application removes line loss information that may affect the calculation result of the theoretical line loss, and obtains a theoretical line loss value that is closer to the true value, which can provide reliable data support for the economic operation of power companies. At the same time, the method for obtaining line loss information is simple and easy to operate. In addition, since the first initial line loss information is obtained by statistically analyzing the actual line loss information of the line, the determination of the theoretical line loss does not need to rely on line parameters such as the power supply radius, material, length, etc. of the line, so that the theoretical line loss calculation of the line is relatively accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power systems, and in particular to a method, device, computer equipment, and storage medium for determining theoretical line losses. Background Art

[0002] Line loss is a core indicator of power companies and is directly related to their economic benefits. The calculation of the theoretical line loss of a line involves parameters such as the power supply radius, material, length, power supply load, and installation location of the metering device. However, power companies are unable to accurately provide these line parameters, which is particularly prominent in power companies with weak basic management. Moreover, these line parameters affect each other in the calculation process of the theoretical line loss of the line. The lack and inaccuracy of line parameters make the calculation of the theoretical line loss of the line inaccurate, resulting in a large deviation between the calculated theoretical line loss and the actual theoretical line loss. Summary of the invention

[0003] Based on this, it is necessary to provide a theoretical line loss determination method, device, computer equipment, and computer-readable storage medium that can improve the accuracy of theoretical line loss in response to the above technical problems.

[0004] In a first aspect, the present application provides a method for determining a theoretical line loss, the method comprising:

[0005] Acquire first initial line loss information of a line within a preset first historical time period; the first initial line loss information is obtained by statistically analyzing actual line loss information of the line within the first historical time period;

[0006] Determine a target date for which invalid line loss information exists according to the line loss information, and remove the line loss information of the target date from the first initial line loss information to obtain target line loss information;

[0007] If the date number in the target line loss information is not less than a first threshold, the theoretical line loss of the line is determined according to the target line loss information.

[0008] In one embodiment, determining the theoretical line loss of the line according to the target line loss information includes:

[0009] Determine the date with the minimum daily line loss rate as the base date according to the target line loss information;

[0010] Determine at least two candidate time periods from all dates in the target line loss information according to the base date;

[0011] The theoretical line loss of the line is determined according to the line loss information corresponding to each of the candidate time periods.

[0012] In one embodiment, at least two candidate time periods are determined from all dates in the target line loss information according to the base date, including at least two time periods of:

[0013] Taking the base date as the time starting point, determining a first number of time periods along the first time direction to obtain a first time period;

[0014] Taking the base date as the time starting point, determining the first number of time periods along a second time direction to obtain a second time period; the second time direction is opposite to the second time direction;

[0015] Taking the base date as the midpoint of time, determining a second number of time periods along the first time direction, and determining a third number of time periods along the second time direction, a third time period is obtained, wherein the second number is smaller than the first number.

[0016] In one embodiment, determining the theoretical line loss of the line according to the line loss information corresponding to each of the candidate time periods includes:

[0017] Obtaining the power supply and power sales in each of the candidate time periods from the line loss information corresponding to each of the candidate time periods;

[0018] Determining the line loss rate of each candidate time period according to the power supply and power sales in each candidate time period;

[0019] The theoretical line loss of the line is determined according to the line loss rate of each candidate time period.

[0020] In one embodiment, determining the theoretical line loss of the line according to the line loss rate of each candidate time period includes:

[0021] The minimum line loss rate among the line loss rates in the candidate time periods is determined as the theoretical line loss of the line.

[0022] In one embodiment, determining the theoretical line loss of the line according to the line loss rate of each candidate time period includes:

[0023] Acquire second initial line loss information of the line within a preset second historical time period;

[0024] Determine, according to the second initial line loss information and the target line loss information, a difference between the number of first metering devices of the line in the first historical time period and the number of second metering devices in the second historical time period;

[0025] When it is determined that the difference is less than a second threshold, the number of the second metering devices is in a fourth time period corresponding to the second historical time period;

[0026] Determining the line loss rate of the fourth time period according to the second initial line loss information;

[0027] comparing the line loss rate of the fourth time period with the minimum line loss rate among the line loss rates of the candidate time periods;

[0028] If the line loss rate of the fourth time period is less than the minimum line loss rate, the line loss rate of the fourth time period is determined as the theoretical line loss;

[0029] If the line loss rate in the fourth time period is not less than the minimum line loss rate, the minimum line loss rate is determined as the theoretical line loss.

[0030] In one embodiment, the invalid line loss information includes at least one of the following:

[0031] The line is identified as lightly loaded;

[0032] The line identification is power transfer;

[0033] There is a replacement process for the metering device of the line;

[0034] The process of the metering device of the line has a stop or start process;

[0035] The power of the metering device of the line is not 0 within the preset continuous dates, and the process of the metering device of the line does not have a stop or account cancellation process, and the start code and end code of the metering device of the line are not obtained;

[0036] The line loss rate of the line is less than a third threshold, or the line loss rate of the line is greater than a fourth threshold;

[0037] The daily line loss rate of the line is 0.

[0038] In one embodiment, the method further comprises:

[0039] Determine whether the current date is the preset date;

[0040] If the current date is a preset date, the step of obtaining the first initial line loss information of the line within a preset first historical time period is performed.

[0041] In a second aspect, the present application further provides a device for determining a theoretical line loss, the device comprising:

[0042] An acquisition module, used to acquire first initial line loss information of a line within a preset first historical time period; the first initial line loss information is obtained by statistically analyzing actual line loss information of the line within the first historical time period;

[0043] A first determining module is used to determine a target date for which invalid line loss information exists according to the line loss information, and remove the line loss information of the target date from the first initial line loss information to obtain target line loss information;

[0044] The second determination module is used to determine the theoretical line loss of the line according to the target line loss information if the date day in the target line loss information is not less than a first threshold.

[0045] In a third aspect, the present application further provides a computer device, the computer device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program:

[0046] Acquire first initial line loss information of a line within a preset first historical time period; the first initial line loss information is obtained by statistically analyzing actual line loss information of the line within the first historical time period;

[0047] Determine a target date for which invalid line loss information exists according to the line loss information, and remove the line loss information of the target date from the first initial line loss information to obtain target line loss information;

[0048] If the date number in the target line loss information is not less than a first threshold, the theoretical line loss of the line is determined according to the target line loss information.

[0049] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0050] Acquire first initial line loss information of a line within a preset first historical time period; the first initial line loss information is obtained by statistically analyzing actual line loss information of the line within the first historical time period;

[0051] Determine a target date for which invalid line loss information exists according to the line loss information, and remove the line loss information of the target date from the first initial line loss information to obtain target line loss information;

[0052] If the date number in the target line loss information is not less than a first threshold, the theoretical line loss of the line is determined according to the target line loss information.

[0053] In a fifth aspect, the present application further provides a computer program product, the computer program product comprising a computer program, which implements the following steps when executed by a processor:

[0054] Acquire first initial line loss information of a line within a preset first historical time period; the first initial line loss information is obtained by statistically analyzing actual line loss information of the line within the first historical time period;

[0055] Determine a target date for which invalid line loss information exists according to the line loss information, and remove the line loss information of the target date from the first initial line loss information to obtain target line loss information;

[0056] If the date number in the target line loss information is not less than a first threshold, the theoretical line loss of the line is determined according to the target line loss information.

[0057] The above-mentioned method, device, computer equipment, and storage medium for determining theoretical line loss, the computing device obtains the first initial line loss information of the line within the preset first historical time period, determines the target date with invalid line loss information based on the line loss information, and removes the line loss information of the target date from the first initial line loss information to obtain the target line loss information, and when the number of days in the target line loss information is not less than the first threshold, the theoretical line loss of the line is determined based on the target line loss information. The method of the present application removes the line loss information that may affect the calculation result of the theoretical line loss, and obtains a theoretical line loss value that is closer to the true value, which can provide reliable data support for the economic operation of the power company, improve the operation management and line loss management level of the power company's distribution network line, and the method for obtaining the line loss information is simple and easy to operate. In addition, since the first initial line loss information is obtained by statistically analyzing the actual line loss information of the line within the first historical time period, the determination of the theoretical line loss does not need to rely on the line parameters such as the power supply radius, material, length, etc. of the line, so that the theoretical line loss calculation of the line is relatively accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 is an application environment diagram of a method for determining theoretical line loss in an embodiment;

[0059] Figure 2 is a flow chart of a method for determining theoretical line loss in one embodiment;

[0060] Figure 3 A schematic diagram of a flow chart of a method for determining theoretical line loss in another embodiment;

[0061] Figure 4 A schematic diagram of a flow chart of a method for determining theoretical line loss in another embodiment;

[0062] Figure 5 A schematic diagram of a flow chart of a method for determining theoretical line loss in another embodiment;

[0063] Figure 6 A schematic flow chart of a method for determining theoretical line loss in another embodiment;

[0064] Figure 7 A schematic flow chart of a method for determining theoretical line loss in another embodiment;

[0065] Figure 8 is a structural block diagram of a device for determining theoretical line loss in one embodiment;

[0066] Fig. 9 is a structural block diagram of a device for determining theoretical line loss in another embodiment;

[0067] Fig.10 It is a structural block diagram of a device for determining theoretical line loss in another embodiment;.

[0068] Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0069] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is 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 and are not used to limit the present application.

[0070] The theoretical line loss determination method provided in the embodiment of the present application can be applied to Figure 1 The application environment includes a computer device, which may be a server, and its internal structure diagram may be as shown in FIG. Figure 1 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store line loss information data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a theoretical line loss determination method is implemented.

[0071] In one embodiment, Figure 2 As shown in the figure, a theoretical line loss determination method is provided, which can be applied to Figure 1 The computer device in the example is used to illustrate, including the following steps:

[0072] S201, obtaining first initial line loss information of a line within a preset first historical time period; the first initial line loss information is obtained by statistically analyzing actual line loss information of the line within the first historical time period.

[0073] Among them, the first initial line loss information includes the power supply, power sales, power loss, line loss rate of each power supply line, as well as the number of metering devices carried by the power supply line, statistical time, line identification, and the process of the metering device. For example, the first historical time period is from the 1st to the 31st of the previous month. On October 1, the power supply of line 1 was 9600KW, the power sales was 9308KW, the power loss was 292KW, the line loss rate was 3.04%, the number of metering devices was 3, the line identification was non-light load, non-transfer power supply, and the process of the metering device was report start; on October 2, the power supply of line 1 was 7800KW, the power sales was 7226KW, the power loss was 574KW, the line loss rate was 7.36%, the number of metering devices was 3, the line identification was light load, non-transfer power supply, and the process of the metering device was report start. The first initial line loss information of line 1 on October 3 and October 4, a total of 31 days, is counted in sequence.

[0074] In this embodiment, the computer device can obtain line loss information in the line in real time and store the line loss information. After the user triggers the corresponding acquisition instruction, the line loss information corresponding to the first historical time period is found from the stored line loss information, thereby obtaining the first initial line loss information of the line within the time period; the computer device can also obtain the first initial line loss information of the line at a preset time according to the first historical time period.

[0075] S202: Determine a target date for which invalid line loss information exists according to the line loss information, and remove the line loss information of the target date from the first initial line loss information to obtain target line loss information.

[0076] Optionally, invalid line loss information includes: the line is identified as light load; the line is identified as power transfer; there is a replacement process in the process of the metering device of the line; there is a stop or start process in the process of the metering device of the line; the power of the metering device of the line is not 0 within the preset continuous date, and there is no stop or cancellation process in the process of the metering device of the line, and the start code and end code of the metering device of the line are not obtained, for example, the preset continuous date is the last 40 days; the line loss rate of the line is less than the third threshold, or the line loss rate of the line is greater than the fourth threshold; the fourth threshold is greater than the third threshold, for example, the third threshold is -2%, and the fourth threshold is 3.5%; the daily line loss rate of the line is 0.

[0077] In this embodiment, the first initial line loss information includes all information of the line in the first historical time period, but the line loss information of the line on certain dates contains invalid line loss information. For example, the line or metering device may have a fault, or the reading of the metering device cannot be obtained normally, etc., which will cause errors in the calculation result of the theoretical line loss. Therefore, when one of the invalid line loss information is met, the target date with invalid line loss information is determined, and the line loss information under the target date is eliminated to obtain the target line loss information. For example, the historical time period is from the 1st to the 31st of the previous month, among which, on October 1st, the process of the metering device on line 1 is reporting start, which is invalid line loss information; on October 2nd, the line on line 1 is marked as light load, and the process of the metering device is reporting start, which is invalid line loss information; on October 25th, the daily line loss rate is 0, which is invalid line loss information; on October 28th, the process of metering device 1 on line 1 does not have a reporting stop or account cancellation process, but the start code and end code of metering device 1 of line 1 cannot be obtained, which is invalid line loss information. Then October 1, October 2, October 25 and October 28 are the target dates, and the line loss information of October 1, October 2, October 25 and October 28 is removed from the first initial line loss information to obtain the target line loss information.

[0078] S203: If the date number in the target line loss information is not less than a first threshold, determining a theoretical line loss of the line according to the target line loss information.

[0079] In this embodiment, when determining the theoretical line loss of the line, it is necessary to satisfy that the date number in the target line loss information is not less than the first threshold value, and the first threshold value may be 10, 9, 5, etc., which is not limited in the embodiment of the present application. For example, the first threshold value is 5. When the date number in the target line loss information is less than 5, it can be considered that the line loss information data is not sufficient, and the determination of the theoretical line loss of the line is not accurate enough. Therefore, when the date number in the target line loss information is not less than 5, the theoretical line loss of the line is determined according to the target line loss information. The theoretical line loss can be directly determined according to the line loss rate in the target line loss information, and the target line loss information is sorted, and the smallest line loss rate is used as the theoretical line loss.

[0080] For example, the line loss rate on October 3 is 3.1%, the line loss rate on October 4 is 5.48%, the line loss rate on October 5 is 7.4%, etc. According to the sorting results, the line loss rate of 3.1% on October 3 is the smallest, and the line loss rate of 3.1% is taken as the theoretical line loss rate; the target line loss information can also be processed to obtain the theoretical line loss of the line. For example, sort the results of dividing the power loss by the power supply, and take the smallest result as the theoretical line loss of the line. On October 3, the power loss was 200W, and the power supply was 8000W, on October 4, the power loss was 200W, and the power supply was 10000W, on October 5, the power loss was 100W, and the power supply was 8000W, etc. Then, the calculated result on October 3 is 2.5%, the calculated result on October 4 is 2.0%, the calculated result on October 5 is 1.25%, etc. According to the sorting results, 1.25% on October 5 is the smallest, so the theoretical line loss of the line is 1.25%.

[0081] In the above-mentioned method for determining theoretical line loss, the computing device obtains the first initial line loss information of the line within the preset first historical time period, determines the target date with invalid line loss information based on the line loss information, and removes the line loss information of the target date from the first initial line loss information to obtain the target line loss information. When the number of days in the target line loss information is not less than the first threshold, the theoretical line loss of the line is determined based on the target line loss information. The method of the present application eliminates the line loss information that may affect the calculation result of the theoretical line loss, and obtains a theoretical line loss value that is closer to the true value, which can provide reliable data support for the economic operation of the power company, improve the operation management and line loss management level of the power company's distribution network line, and the method for obtaining the line loss information is simple and easy to operate. In addition, since the first initial line loss information is obtained by statistically analyzing the actual line loss information of the line within the first historical time period, the determination of the theoretical line loss does not need to rely on the line parameters such as the power supply radius, material, length, etc. of the line, so that the theoretical line loss calculation of the line is relatively accurate.

[0082] In the above Figure 2 In the embodiment, the method for determining the theoretical line loss is mainly introduced. Next, the specific steps for determining the theoretical line loss of the line according to the target line loss information are mainly introduced. Figure 3 As shown, the above S203 specifically includes the following steps:

[0083] S301, determining the date with the minimum daily line loss rate as the base date according to the target line loss information.

[0084] In this embodiment, the target line loss information includes all line loss information that meets the requirements in the line. There are multiple days of line loss information, each day has a corresponding line loss rate, and the date with the smallest daily line loss rate is used as the base date. Figure 2For example, in addition to October 1, October 2, October 25 and October 28, the target line loss information includes the line loss information of the remaining 27 days. If the line loss rate on October 3 is 3.1%, the line loss rate on October 4 is 5.48%, the line loss rate on October 5 is 7.4%, ..., the line loss rate on October 15 is 1.2%, ..., the line loss rate on October 29 is 4.1%, the line loss rate on October 30 is 1.48%, and the line loss rate on October 31 is 6.4%. It can be found that on October 15, the line loss rate of 1.2% is the smallest, so October 15 is taken as the base day. If the line loss rate is 3.1% on October 3, 5.48% on October 4, 7.4% on October 5, ..., 1.2% on October 15, ..., 4.1% on October 29, 1.48% on October 30, and 1% on October 31, it can be found that the line loss rate of 1% is the smallest on October 31, so October 31 is taken as the base day.

[0085] S302: Determine at least two candidate time periods from all dates in the target line loss information according to the base date.

[0086] In this embodiment, the candidate time period is determined from all dates in the target line loss information according to the base date, and the candidate time period can be determined from the date closest to the base date according to the base date. For example, October 15 is the base date, and the candidate time period is determined by extending outward from October 14 and October 16, which are closest to October 15; the date closest to the daily line loss rate of the base date or the date whose daily line loss rate is less than a certain threshold can also be obtained from all dates in the target line loss information as the candidate time period. For example, October 15 is the base day, the daily loss rate is 1.25%, October 9, the daily loss rate is 2.25%, October 19, the daily loss rate is 1.35%, October 16, the daily loss rate is 4.25%, October 21, the daily loss rate is 1.05%, October 7, the daily loss rate is 1.15%, October 28, the daily loss rate is 1.2%, etc., then the five days of October 7, October 15, October 19, October 21, and October 28 will be used as candidate time periods.

[0087] Furthermore, the candidate time period can be determined in the following three ways:

[0088] The first method is: taking the basic date as the time starting point, and determining a first number of time periods along the first time direction to obtain a first time period.

[0089] Among them, the first number can be less than the first threshold, and the first number can be determined according to the first threshold. For example, the first number is one half, one third, etc. of the first threshold. For example, if the first threshold is 10, the first number can be 4, 5, 6, etc., which is not limited in the embodiments of the present application.

[0090] In this embodiment, the base date is used as the time starting point. If October 15 is the base date, and it is assumed that the first time direction extends backward from October 15 to October 16, the first number is 4 days, that is, the first time period includes 5 days in total. Taking October 15 as the base date, first determine whether October 16, October 17, October 18, and October 19 are eliminated due to invalid information. If October 16, October 17, October 18, and October 19 are not eliminated, the first time period is five days, including October 15, October 16, October 17, October 18, and October 19; if among October 16, October 17, October 18, and October 19, October 18 is eliminated, then determine whether October 20 is eliminated. If October 20 is not eliminated, the first time period is five days, including October 15, October 16, October 17, October 19, and October 20. If October 31 is the base date, this method will not be used to determine the candidate time period.

[0091] The second method: taking the basic date as the time starting point, determining the first number of time periods along the second time direction to obtain the second time period; the second time direction is opposite to the first time direction.

[0092] In this embodiment, the base date is used as the time starting point, that is, October 15 is used as the base date. It is assumed that the second time direction extends from October 15 to October 14. The first number is 4 days, that is, the first time period includes 5 days in total. Taking October 15 as the base date, first determine whether October 14, October 13, October 12, and October 11 are eliminated due to invalid information. If October 14, October 13, October 12, and October 11 are not eliminated, the first time period is five days, including October 15, October 14, October 13, October 12, and October 11; if October 14, October 13, October 12, and October 11, among which October 11 is eliminated, then determine whether October 10 is eliminated. If October 20 is not eliminated, the first time period is five days, including October 15, October 14, October 13, October 12, and October 10. If October 3 is used as the base date, this method will not be used to determine the candidate time period.

[0093] The third method: taking the base date as the midpoint of time, determining the second number of time periods along the first time direction, and determining the third number of time periods along the second time direction, to obtain the third time period, the second number is smaller than the first number.

[0094] Among them, the second number can be smaller than the first number, and the second number can be determined based on the first number. For example, the second number is half, one third, etc. of the first number. For example, if the first number is 5, the second number can be 2, 3, etc., which is not limited in the embodiments of the present application.

[0095] In this embodiment, the base date is taken as the midpoint of time. If October 15 is the base date, the second number and the third number are both 2 days. The first time direction is from October 15 to October 16, and the second time direction is from October 15 to October 14. According to the first time direction, it is determined whether October 16 and October 17 are excluded. According to the second time direction, it is determined whether October 14 and October 13 are excluded. If neither is excluded, the third time period includes 5 days, namely October 13, October 14, October 15, October 16 and October 17. If October 31st is the base date, the second number is 0 days, and the third number is 3 days, determine whether October 30th, October 29th and October 28th are excluded based on the second time direction. If none of them are excluded, the third time period includes 4 days in total, including October 31st, October 30th, October 29th and October 28th.

[0096] In an embodiment of the present application, three methods are introduced for determining at least two candidate time periods from all dates in the target line loss information according to a base date, namely, two methods using the base date as the time starting point and one method using the base date as the time midpoint. The method provides multiple methods for determining the candidate time periods, ensuring that all dates can be taken into consideration, and different dates can be flexibly selected for determination, making the determination of the candidate time periods more diverse and the results more accurate.

[0097] S303: Determine theoretical line loss of the line according to line loss information corresponding to each candidate time period.

[0098] In this embodiment, at least two candidate time periods are determined according to the above steps, and the average value can be taken as the theoretical line loss of the line based on the line loss information corresponding to each candidate time period. For example, there are 3 candidate time periods in total, namely candidate time period 1, candidate time period 2, and candidate time period 3. The theoretical line loss values ​​of the three candidate time periods are calculated, and then the theoretical line loss values ​​of the three candidate time periods are averaged as the theoretical line loss value of the line; or the minimum theoretical line loss value can be taken as the theoretical line loss of the line based on the line loss information corresponding to each candidate time period. For example, there are 3 candidate time periods in total, namely candidate time period 1, candidate time period 2, and candidate time period 3. The theoretical line loss values ​​of the three candidate time periods are calculated, and the theoretical line loss value of the smallest one among the three candidate time periods is taken as the theoretical line loss of the line.

[0099] In this embodiment, the date with the smallest daily line loss rate in the target line loss information is used as the basic date, and at least two candidate time periods are determined from all dates in the target line loss information according to the basic date, and then the theoretical line loss of the line is determined according to the line loss information corresponding to each candidate time period. This method determines the theoretical line loss according to the target line loss information, eliminates the line loss information that affects the calculation result of the theoretical line loss, and determines the theoretical line loss through at least two candidate time periods, so that the method for determining the theoretical line loss is more accurate and closer to the true value of the theoretical line loss.

[0100] The above embodiment introduces a method for determining the theoretical line loss of a line according to the target line loss information. Next, the specific implementation process of determining the theoretical line loss of a line according to the line loss information corresponding to each candidate time period is described. Figure 4 As shown, the following steps are included:

[0101] S401, obtaining the power supply and power sales amount in each time period from the line loss information corresponding to each candidate time period.

[0102] In this embodiment, the power supply and power sales of each time period are obtained from the line loss information corresponding to each candidate time period, including at least two candidate time periods, and the time lengths included in each candidate time period may also be different. For example, the first case includes three candidate time periods, the base day is October 15, candidate time period 1 is October 15, October 16, October 17, October 18 and October 19, candidate time period 2 is October 15, October 14, October 13, October 12 and October 11, and candidate time period 3 is October 13, October 14, October 15, October 16 and October 17. The power supply a1, a2, ..., a9 and the power sales b1, b2, ..., b9 of each day from October 11 to October 19 are obtained respectively; then, according to the daily power supply and power sales, the power supply of candidate time period 1 is calculated to be A1 = (a5 + a6 + a7 + a8 + a9), and the power sales is B1 = (b5 + b6 + b7 + b8 + b9); the power supply of candidate time period 2 is A2 = (a1 + a2 + a3 + a4 + a5), and the power sales is B2 = (b1 + b2 + b3 + b4 + b5); the power supply of candidate time period 3 is A3 = (a3 + a4 + a5 + a6 + a7), and the power sales is B3 = (b3 + b4 + b5 + b6 + b7). The second case includes two candidate time periods, candidate time period 4 is October 31, October 30, October 29, October 28 and October 27, and candidate time period 5 is October 31, October 30, October 29 and October 28, and the power supply a11, a12...a15 and power sales b11, b12...b15 of each day from October 27 to October 31 are obtained respectively; according to the daily power supply and power sales, the power supply of candidate time period 4 is calculated to be A4=(a11+a12+a13+a14+a15), and the power sales is B1=(b11+b12+b13+b14+b15); the power supply of candidate time period 5 is A5=(a12+a13+a14+a15), and the power sales is B5=(b12+b13+b14+b15).

[0103] S402: Determine the line loss rate of each candidate time period according to the power supply and power sales in each candidate time period.

[0104] In this embodiment, the power supply and power sales of each candidate time period are obtained respectively, and the power supply and power sales are further processed and calculated according to the power supply and power sales of each candidate time period to obtain the line loss rate of each candidate time period. For example, for candidate time period 1, candidate time period 2 and candidate time period 3, "line loss rate = (power supply - power sales) / power supply" can be used to calculate the line loss rate of each candidate time period; or, according to the power supply, power sales and statistical time, the loss power at the beginning and end of the line is calculated, and the difference between the loss power at the beginning and end of the line is used as the line loss rate flowing through the line.

[0105] S403: Determine theoretical line loss of the line according to the line loss rate of each candidate time period.

[0106] In this embodiment, according to the calculation method of "line loss rate = (power supply - power sales) / power supply" in the above steps, the line loss rates of candidate time periods 1, candidate time periods 2 and candidate time periods 3 are calculated respectively, and the theoretical line loss of the line is further determined according to the line loss rate of each candidate time period. For example, if line 1 only has line loss information of the first historical period, and there is no earlier line loss information for judgment, the theoretical line loss is directly determined according to the line loss rate of each candidate time period in the first historical period; if line 1 has line loss information earlier than the first historical period, then the theoretical line loss of the line can be determined by comparing the line loss rate of the first historical period with the previous line loss information.

[0107] The following describes the detailed implementation method of "determining the theoretical line loss of the line according to the line loss rate of each candidate time period" in two cases.

[0108] The first method is to determine the minimum line loss rate among the line loss rates in each candidate time period as the theoretical line loss of the line.

[0109] In this embodiment, according to the calculation method of "line loss rate = (power supply - power sales) / power supply" in the above steps, the line loss rates of candidate time period 1, candidate time period 2 and candidate time period 3 are calculated respectively, and the line loss rates of each candidate time period are compared, and the minimum line loss rate of the three candidate time periods is used as the theoretical line loss. That is, if the line loss rate of candidate time period 1 is the smallest, the line loss rate of candidate time period 1 is used as the theoretical line loss of the line.

[0110] The second method: Figure 5 As shown, the following steps are included:

[0111] S501: Acquire second initial line loss information of a line within a preset second historical time period.

[0112] In this embodiment, the second historical time period is earlier than the first historical time period. If the first historical time period is from October 1 to October 31, the second historical time period may be from September 1 to September 30, or from September 15 to September 30. The second initial line loss information also includes the power supply, power sales, power loss, line loss rate of each power supply line, the number of metering devices carried by the power supply line, statistical time, line identification, and the process of the metering device.

[0113] S502: Determine, according to the second initial line loss information and the target line loss information, a difference between the number of first metering devices for the line in the first historical time period and the number of second metering devices for the line in the second historical time period.

[0114] In this embodiment, the number of second metering devices of the line in the second historical time period can be determined according to the second initial line loss information, the number of first metering devices in the first historical time period can be determined according to the target line loss information, and the number of first metering devices is subtracted from the number of second metering devices in each time period to obtain the difference. For example, the number of first metering devices in the first historical time period is 3, and in the second historical time period, from September 1 to September 10, the number of second metering devices is 4, from September 11 to September 20, the number of second metering devices is 6, and from September 21 to September 30, the number of second metering devices is 5. The difference between the number of first metering devices and the number of second metering devices in each time period can be obtained as 1, 3, and 2, respectively.

[0115] S503: When it is determined that the difference is less than the second threshold, the number of second metering devices is in a fourth time period corresponding to the second historical time period.

[0116] In this embodiment, when the difference is less than a certain threshold, the fourth time period corresponding to the number of the second metering device in the second historical time period is obtained. Taking the above steps as an example, assuming that the threshold is 2, the number of metering devices that meet the requirements in the second historical time period is 4, and the time period corresponding to the number of metering devices is September 1 to September 10, then the fourth time period is September 1 to September 10; if the threshold is 3, the number of metering devices that meet the requirements in the second historical time period is 4 and 5, and the time periods corresponding to the number of metering devices are September 1 to September 10 and September 21 to September 30, then the fourth time period is September 1 to September 10 and September 21 to September 30.

[0117] S504: Determine a line loss rate in a fourth time period according to the second initial line loss information.

[0118] In this embodiment, when the fourth time period is from September 1 to September 10, the line loss rate of the fourth time period is determined according to the second initial line loss information from September 1 to September 10. When the fourth time period is from September 1 to September 10 and from September 21 to September 30, the line loss rates of the two time periods are calculated according to the second initial line loss information from September 1 to September 10 and from September 21 to September 30, respectively, and the line loss rate of the fourth time period includes two.

[0119] S505, compare the line loss rate of the fourth time period with the minimum line loss rate among the line loss rates of the candidate time periods. If the line loss rate of the fourth time period is less than the minimum line loss rate, execute step S506; if the line loss rate of the fourth time period is not less than the minimum line loss rate, execute step S507.

[0120] In this embodiment, the line loss rates of the candidate time periods are compared to obtain the minimum line loss rate of the candidate time periods, and then compared with the line loss rate of the fourth time period. Taking the above steps as an example, if there are 3 candidate time periods in total, among which the line loss rate corresponding to the candidate time period 1 is the smallest, the line loss rate of the candidate time period 1 is compared with the candidate rate of the fourth time period. If there are two line loss rates in the fourth time period, the minimum line loss rate is compared with the line loss rate corresponding to the candidate time period 1.

[0121] S506: If the line loss rate in the fourth time period is less than the minimum line loss rate, the line loss rate in the fourth time period is determined as the theoretical line loss.

[0122] In this embodiment, when the line loss rate of the fourth time period is less than the minimum line loss rate, it indicates that leakage or the like may still exist in the first historical period, resulting in an increase in the line loss rate, and the line loss rate of the fourth time period is closer to the theoretical line loss of the line.

[0123] S507: If the line loss rate in the fourth time period is not less than the minimum line loss rate, the minimum line loss rate is determined as the theoretical line loss.

[0124] In this embodiment, when the line loss rate of the fourth time period is not less than the minimum line loss rate, it indicates that the first historical period is closer to the theoretical line loss, and the minimum line loss rate of the first historical period is determined as the theoretical line loss.

[0125] In the embodiments of the present application, two methods for determining theoretical line loss are introduced, one of which is to determine the theoretical line loss according to the minimum line loss rate in a candidate time period, and the other is to find the line loss information of the previous line whose difference with the metering device in the candidate time period is less than a certain threshold, determine the line loss rate, and compare the two line loss rates to obtain the theoretical line loss of the line. This method takes two aspects into consideration, which not only ensures the determination of the theoretical line loss in the absence of historical data, but also takes into account the more accurate determination of the theoretical line loss based on the historical line loss information when there is historical line loss information, so that the method for determining the theoretical line loss of the line is more accurate.

[0126] The above embodiments introduce two methods for determining theoretical line loss according to line loss rate. When determining the theoretical line loss, the following steps are also included: Figure 6 As shown:

[0127] S601, determine whether the current date is a preset date. If yes, execute step S602, if no, end.

[0128] In this embodiment, assuming that the preset date is the 15th and the current date is the 1st, the computer device can convert the acquired date into a binary representation and use the logical operation relationship "and" to make a judgment; it can also use image recognition to determine whether the current date is the preset date.

[0129] S602, executing the step of acquiring first initial line loss information of a line within a preset first historical time period.

[0130] In this embodiment, when the preset date is the 15th and the current date is the 1st, the process ends. If the current date is the 15th, the process executes the step of obtaining the first initial line loss information of the line within the preset first historical time period. The preset date may also be a time period from the 15th to the 30th. When the current date is within this time period, the process executes the step of obtaining the first initial line loss information of the line within the preset first historical time period.

[0131] In this embodiment, by setting a preset date, determining whether the current date is the preset date, and further determining whether to execute the step of obtaining the first initial line loss information of the line within the preset first historical time period, this method determines the preset date and obtains the line loss information, so that the line loss information is more regular and the obtained line loss information data is more sufficient.

[0132] Furthermore, if Figure 7 As shown, the method for determining the theoretical line loss also includes the following steps:

[0133] S701, determine whether the current date is a preset date; if so, execute step S702, if not, end;

[0134] S702, obtaining first initial line loss information of a line in a preset first historical time period; the first initial line loss information is obtained by collecting statistics of actual line loss information of the line in the first historical time period;

[0135] S703, determining a target date with invalid line loss information according to the line loss information, and removing the line loss information of the target date from the first initial line loss information to obtain target line loss information;

[0136] S704, determining the date with the minimum daily line loss rate as the base date according to the target line loss information; executing S705 or S706 or S707 to determine at least two candidate time periods;

[0137] S705, taking the base date as the time starting point, determining a first number of time periods along the first time direction to obtain a first time period;

[0138] S706, taking the base date as the time starting point, and determining a first number of time periods along a second time direction to obtain a second time period; the second time direction is opposite to the first time direction;

[0139] S707, taking the base date as the time midpoint, determining a second number of time periods in the first time direction, and determining a third number of time periods in the second time direction, to obtain a third time period, wherein the second number is less than the first number;

[0140] S708, obtaining the power supply and power sales of each time period from the line loss information corresponding to each candidate time period;

[0141] S709, determining the line loss rate of each candidate time period according to the power supply and power sales in each candidate time period; executing step S710 to determine the theoretical line loss of the line, or executing steps S710-S717 to determine the theoretical line loss of the line;

[0142] S710, determining the minimum line loss rate among the line loss rates in each candidate time period as the theoretical line loss of the line;

[0143] S711, obtaining second initial line loss information of the line within a preset second historical time period;

[0144] S712, determining a difference between the number of first metering devices for the line in the first historical time period and the number of second metering devices in the second historical time period according to the second initial line loss information and the target line loss information;

[0145] S713, when it is determined that the difference is less than the second threshold, the number of second metering devices corresponds to a fourth time period of the second historical time period;

[0146] S714, determining a line loss rate in a fourth time period according to the second initial line loss information;

[0147] S715, comparing the line loss rate of the fourth time period with the minimum line loss rate among the line loss rates of the candidate time periods; if the line loss rate of the fourth time period is less than the minimum line loss rate, executing step S716; if the line loss rate of the fourth time period is not less than the minimum line loss rate, executing step S717;

[0148] S716, if the line loss rate in the fourth time period is less than the minimum line loss rate, determining the line loss rate in the fourth time period as the theoretical line loss;

[0149] S717: If the line loss rate in the fourth time period is not less than the minimum line loss rate, the minimum line loss rate is determined as the theoretical line loss.

[0150] In an embodiment of the present application, a computing device obtains the first initial line loss information of a line within a preset first historical time period, determines a target date with invalid line loss information based on the line loss information, and removes the line loss information of the target date from the first initial line loss information to obtain the target line loss information. When the number of days in the target line loss information is not less than a first threshold, the theoretical line loss of the line is determined based on the target line loss information. The method of the present application removes the line loss information that may affect the calculation result of the theoretical line loss, and obtains a theoretical line loss value that is closer to the true value, which can provide reliable data support for the economic operation of power companies, improve the operation management and line loss management level of the distribution network lines of power companies, and the method for obtaining line loss information is simple and easy to operate. In addition, since the first initial line loss information is obtained by statistically analyzing the actual line loss information of the line within the first historical time period, the determination of the theoretical line loss does not need to rely on line parameters such as the power supply radius, material, length, etc. of the line, so that the theoretical line loss calculation of the line is relatively accurate.

[0151] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0152] Based on the same inventive concept, the embodiment of the present application also provides a theoretical line loss determination device for implementing the theoretical line loss determination method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more theoretical line loss determination device embodiments provided below can refer to the limitations of the theoretical line loss determination method above, and will not be repeated here.

[0153] In one embodiment, Figure 8 As shown, a theoretical line loss determination device is provided, comprising: an acquisition module 11, a first determination module 12 and a second determination module 13, wherein:

[0154] An acquisition module 11 is used to acquire first initial line loss information of a line within a preset first historical time period; the first initial line loss information is obtained by statistically analyzing actual line loss information of the line within the first historical time period;

[0155] A first determining module 12 is used to determine a target date for which invalid line loss information exists according to the line loss information, and remove the line loss information of the target date from the first initial line loss information to obtain target line loss information;

[0156] The second determination module 13 is configured to determine the theoretical line loss of the line according to the target line loss information if the date number in the target line loss information is not less than a first threshold.

[0157] In one embodiment, Fig. 9 As shown, the second determination module 13 includes:

[0158] The first determining unit 131 is used to determine the date with the minimum daily line loss rate as the basic date according to the target line loss information;

[0159] A second determining unit 132 is used to determine at least two candidate time periods from all dates in the target line loss information according to the basic date;

[0160] The third determining unit 133 is used to determine the theoretical line loss of the line according to the line loss information corresponding to each candidate time period.

[0161] In one embodiment, the second determination unit 132 is used to determine a first number of time periods in a first time direction with the base date as the time starting point to obtain a first time period; determine a first number of time periods in a second time direction with the base date as the time starting point to obtain a second time period; the second time direction is opposite to the second time direction; determine a second number of time periods in the first time direction with the base date as the time midpoint, and determine a third number of time periods in the second time direction to obtain a third time period, the second number being less than the first number.

[0162] In one embodiment, the third determination unit 133 is used to obtain the power supply and power sales of each time period from the line loss information corresponding to each candidate time period; determine the line loss rate of each candidate time period according to the power supply and power sales of each candidate time period; and determine the theoretical line loss of the line according to the line loss rate of each candidate time period.

[0163] In one embodiment, the third determining unit 133 is configured to determine the minimum line loss rate among the line loss rates in each candidate time period as the theoretical line loss of the line.

[0164] In one embodiment, the third determination unit 133 is used to obtain second initial line loss information of the line within a preset second historical time period; determine the difference between the number of first metering devices of the line in the first historical time period and the number of second metering devices in the second historical time period according to the second initial line loss information and the target line loss information; determine the fourth time period corresponding to the second historical time period when the difference is less than the second threshold; determine the line loss rate of the fourth time period according to the second initial line loss information; compare the line loss rate of the fourth time period with the minimum line loss rate among the line loss rates of each candidate time period; if the line loss rate of the fourth time period is less than the minimum line loss rate, determine the line loss rate of the fourth time period as the theoretical line loss; if the line loss rate of the fourth time period is not less than the minimum line loss rate, determine the minimum line loss rate as the theoretical line loss.

[0165] In one embodiment, the invalid line loss information includes at least one of the following:

[0166] The line is marked as lightly loaded;

[0167] The line is marked as power transfer;

[0168] There is a replacement process for the metering device of the line;

[0169] The process of the metering device of the line has a stop or start process;

[0170] The electricity consumption of the metering device of the line is not 0 within the preset continuous date, and the process of the metering device of the line does not have a stop or cancellation process, and the start code and end code of the metering device of the line are not obtained;

[0171] The line loss rate of the line is less than the third threshold, or the line loss rate of the line is greater than the fourth threshold;

[0172] The daily line loss rate of the line is 0.

[0173] In one embodiment, Fig.10 As shown, the device also includes:

[0174] The judging module 14 is used to judge whether the current date is a preset date;

[0175] The acquisition module 11 is used to execute the step of acquiring first initial line loss information of the line within a preset first historical time period when the current date is a preset date.

[0176] Each module in the above-mentioned theoretical line loss determination device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.

[0177] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.11 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for determining a theoretical line loss is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0178] Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0179] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0180] Acquire first initial line loss information of a line within a preset first historical time period; the first initial line loss information is obtained by statistically analyzing actual line loss information of the line within the first historical time period;

[0181] Determine a target date for which invalid line loss information exists according to the line loss information, and remove the line loss information of the target date from the first initial line loss information to obtain target line loss information;

[0182] If the date number in the target line loss information is not less than the first threshold, the theoretical line loss of the line is determined according to the target line loss information.

[0183] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0184] According to the target line loss information, determine the date with the minimum daily line loss rate as the base date;

[0185] Determine at least two candidate time periods from all dates in the target line loss information according to the base date;

[0186] The theoretical line loss of the line is determined according to the line loss information corresponding to each candidate time period.

[0187] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0188] Taking the base date as the time starting point, determining a first number of time periods in the first time direction to obtain a first time period;

[0189] Taking the base date as the time starting point, determining the first number of time periods along the second time direction to obtain the second time period; the second time direction is opposite to the first time direction;

[0190] Taking the base date as the midpoint of time, a second number of time periods is determined along the first time direction, and a third number of time periods is determined along the second time direction, to obtain a third time period, where the second number is less than the first number.

[0191] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0192] Obtaining the power supply and power sales of each time period from the line loss information corresponding to each candidate time period;

[0193] Determine the line loss rate of each candidate time period according to the power supply and power sales in each candidate time period;

[0194] The theoretical line loss of the line is determined according to the line loss rate in each candidate time period.

[0195] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0196] The minimum line loss rate among the line loss rates in each candidate time period is determined as the theoretical line loss of the line.

[0197] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0198] Acquire second initial line loss information of the line within a preset second historical time period;

[0199] Determine, according to the second initial line loss information and the target line loss information, a difference between the number of first metering devices for the line in the first historical time period and the number of second metering devices in the second historical time period;

[0200] When it is determined that the difference is less than the second threshold, the number of the second metering devices is in a fourth time period corresponding to the second historical time period;

[0201] determining a line loss rate in a fourth time period according to the second initial line loss information;

[0202] comparing the line loss rate of the fourth time period with the minimum line loss rate among the line loss rates of the candidate time periods;

[0203] If the line loss rate in the fourth time period is less than the minimum line loss rate, the line loss rate in the fourth time period is determined as the theoretical line loss;

[0204] If the line loss rate in the fourth time period is not less than the minimum line loss rate, the minimum line loss rate is determined as the theoretical line loss.

[0205] In one embodiment, the invalid line loss information includes at least one of the following:

[0206] The line is marked as lightly loaded;

[0207] The line is marked as power transfer;

[0208] There is a replacement process for the metering device of the line;

[0209] The process of the metering device of the line has a stop or start process;

[0210] The electricity consumption of the metering device of the line is not 0 within the preset continuous date, and the process of the metering device of the line does not have a stop or cancellation process, and the start code and end code of the metering device of the line are not obtained;

[0211] The line loss rate of the line is less than the third threshold, or the line loss rate of the line is greater than the fourth threshold;

[0212] The daily line loss rate of the line is 0.

[0213] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0214] Determine whether the current date is the preset date;

[0215] If the current date is a preset date, the step of obtaining first initial line loss information of the line within a preset first historical time period is performed.

[0216] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0217] Acquire first initial line loss information of a line within a preset first historical time period; the first initial line loss information is obtained by statistically analyzing actual line loss information of the line within the first historical time period;

[0218] Determine a target date for which invalid line loss information exists according to the line loss information, and remove the line loss information of the target date from the first initial line loss information to obtain target line loss information;

[0219] If the date number in the target line loss information is not less than the first threshold, the theoretical line loss of the line is determined according to the target line loss information.

[0220] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0221] According to the target line loss information, determine the date with the minimum daily line loss rate as the base date;

[0222] Determine at least two candidate time periods from all dates in the target line loss information according to the base date;

[0223] The theoretical line loss of the line is determined according to the line loss information corresponding to each candidate time period.

[0224] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0225] Taking the base date as the time starting point, determining a first number of time periods in the first time direction to obtain a first time period;

[0226] Taking the base date as the time starting point, determining the first number of time periods along the second time direction to obtain the second time period; the second time direction is opposite to the first time direction;

[0227] Taking the base date as the midpoint of time, a second number of time periods is determined along the first time direction, and a third number of time periods is determined along the second time direction, to obtain a third time period, where the second number is less than the first number.

[0228] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0229] Obtaining the power supply and power sales of each time period from the line loss information corresponding to each candidate time period;

[0230] Determine the line loss rate of each candidate time period according to the power supply and power sales in each candidate time period;

[0231] The theoretical line loss of the line is determined according to the line loss rate in each candidate time period.

[0232] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0233] The minimum line loss rate among the line loss rates in each candidate time period is determined as the theoretical line loss of the line.

[0234] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0235] Acquire second initial line loss information of the line within a preset second historical time period;

[0236] Determine, according to the second initial line loss information and the target line loss information, a difference between the number of first metering devices for the line in the first historical time period and the number of second metering devices in the second historical time period;

[0237] When it is determined that the difference is less than the second threshold, the number of the second metering devices is in a fourth time period corresponding to the second historical time period;

[0238] determining a line loss rate in a fourth time period according to the second initial line loss information;

[0239] comparing the line loss rate of the fourth time period with the minimum line loss rate among the line loss rates of the candidate time periods;

[0240] If the line loss rate in the fourth time period is less than the minimum line loss rate, the line loss rate in the fourth time period is determined as the theoretical line loss;

[0241] If the line loss rate in the fourth time period is not less than the minimum line loss rate, the minimum line loss rate is determined as the theoretical line loss.

[0242] In one embodiment, the invalid line loss information includes at least one of the following:

[0243] The line is marked as lightly loaded;

[0244] The line is marked as power transfer;

[0245] There is a replacement process for the metering device of the line;

[0246] The process of the metering device of the line has a stop or start process;

[0247] The electricity consumption of the metering device of the line is not 0 within the preset continuous date, and the process of the metering device of the line does not have a stop or cancellation process, and the start code and end code of the metering device of the line are not obtained;

[0248] The line loss rate of the line is less than the third threshold, or the line loss rate of the line is greater than the fourth threshold; the daily line loss rate of the line is 0.

[0249] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0250] Determine whether the current date is the preset date;

[0251] If the current date is a preset date, the step of obtaining first initial line loss information of the line within a preset first historical time period is performed.

[0252] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0253] Acquire first initial line loss information of a line within a preset first historical time period; the first initial line loss information is obtained by statistically analyzing actual line loss information of the line within the first historical time period;

[0254] Determine a target date for which invalid line loss information exists according to the line loss information, and remove the line loss information of the target date from the first initial line loss information to obtain target line loss information;

[0255] If the date number in the target line loss information is not less than the first threshold, the theoretical line loss of the line is determined according to the target line loss information.

[0256] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0257] According to the target line loss information, determine the date with the minimum daily line loss rate as the base date;

[0258] Determine at least two candidate time periods from all dates in the target line loss information according to the base date;

[0259] The theoretical line loss of the line is determined according to the line loss information corresponding to each candidate time period.

[0260] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0261] Taking the base date as the time starting point, determining a first number of time periods in the first time direction to obtain a first time period;

[0262] Taking the base date as the time starting point, determining the first number of time periods along the second time direction to obtain the second time period; the second time direction is opposite to the first time direction;

[0263] Taking the base date as the midpoint of time, a second number of time periods is determined along the first time direction, and a third number of time periods is determined along the second time direction, to obtain a third time period, where the second number is less than the first number.

[0264] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0265] Obtaining the power supply and power sales of each time period from the line loss information corresponding to each candidate time period;

[0266] Determine the line loss rate of each candidate time period according to the power supply and power sales in each candidate time period;

[0267] The theoretical line loss of the line is determined according to the line loss rate in each candidate time period.

[0268] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0269] The minimum line loss rate among the line loss rates in each candidate time period is determined as the theoretical line loss of the line.

[0270] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0271] Acquire second initial line loss information of the line within a preset second historical time period;

[0272] Determine, according to the second initial line loss information and the target line loss information, a difference between the number of first metering devices for the line in the first historical time period and the number of second metering devices in the second historical time period;

[0273] When it is determined that the difference is less than the second threshold, the number of the second metering devices is in a fourth time period corresponding to the second historical time period;

[0274] determining a line loss rate in a fourth time period according to the second initial line loss information;

[0275] comparing the line loss rate of the fourth time period with the minimum line loss rate among the line loss rates of the candidate time periods;

[0276] If the line loss rate in the fourth time period is less than the minimum line loss rate, the line loss rate in the fourth time period is determined as the theoretical line loss;

[0277] If the line loss rate in the fourth time period is not less than the minimum line loss rate, the minimum line loss rate is determined as the theoretical line loss.

[0278] In one embodiment, the invalid line loss information includes at least one of the following:

[0279] The line is marked as lightly loaded;

[0280] The line is marked as power transfer;

[0281] There is a replacement process for the metering device of the line;

[0282] The process of the metering device of the line has a stop or start process;

[0283] The electricity consumption of the metering device of the line is not 0 within the preset continuous date, and the process of the metering device of the line does not have a stop or cancellation process, and the start code and end code of the metering device of the line are not obtained;

[0284] The line loss rate of the line is less than the third threshold, or the line loss rate of the line is greater than the fourth threshold; the daily line loss rate of the line is 0.

[0285] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0286] Determine whether the current date is the preset date;

[0287] If the current date is a preset date, the step of obtaining first initial line loss information of the line within a preset first historical time period is performed.

[0288] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0289] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0290] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0291] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for determining theoretical line loss, characterized in that: The method comprises: Acquire first initial line loss information of a line within a preset first historical time period; the first initial line loss information is obtained by statistically analyzing actual line loss information of the line within the first historical time period; Determine a target date for which invalid line loss information exists according to the line loss information, and remove the line loss information of the target date from the first initial line loss information to obtain target line loss information; If the number of days in the target line loss information is not less than the first threshold, the date with the minimum daily line loss rate is determined as the basic date according to the target line loss information, at least two candidate time periods are determined from all dates in the target line loss information according to the basic date, and the power supply and power sales of each candidate time period are obtained from the line loss information corresponding to each candidate time period; the line loss rate of each candidate time period is determined according to the power supply and power sales of each candidate time period; Acquire the second initial line loss information of the line within the preset second historical time period; determine the difference between the number of first metering devices of the line in the first historical time period and the number of second metering devices in the second historical time period according to the second initial line loss information and the target line loss information; determine the fourth time period corresponding to the number of second metering devices in the second historical time period when the difference is less than the second threshold; determine the line loss rate of the fourth time period according to the second initial line loss information; compare the line loss rate of the fourth time period with the minimum line loss rate among the line loss rates of the candidate time periods; if the line loss rate of the fourth time period is less than the minimum line loss rate, determine the line loss rate of the fourth time period as the theoretical line loss; if the line loss rate of the fourth time period is not less than the minimum line loss rate, determine the minimum line loss rate as the theoretical line loss.

2. The method according to claim 1, characterized in that The determining at least two candidate time periods from all dates in the target line loss information according to the base date includes at least two time periods of the following: Taking the base date as the time starting point, determining a first number of time periods along the first time direction to obtain a first time period; Taking the base date as the time starting point, determining the first number of time periods along a second time direction to obtain a second time period; the second time direction is opposite to the second time direction; Taking the base date as the midpoint of time, a second number of time periods is determined along the first time direction, and a third number of time periods is determined along the second time direction, to obtain a third time period, wherein the second number is less than the first number.

3. The method according to claim 1 or 2, characterized in that: The invalid line loss information includes at least one of the following: The line is marked as lightly loaded; The line identification is power transfer; There is a replacement process for the metering device of the line; The process of the metering device of the line has a stop or start process; The power of the metering device of the line is not 0 within the preset continuous dates, and the process of the metering device of the line does not have a stop or account cancellation process, and the start code and end code of the metering device of the line are not obtained; The line loss rate of the line is less than a third threshold, or the line loss rate of the line is greater than a fourth threshold; the fourth threshold is greater than the third threshold; The daily line loss rate of the line is 0.

4. The method according to claim 1 or 2, characterized in that: The method further comprises: Determine whether the current date is the preset date; If the current date is a preset date, the step of obtaining the first initial line loss information of the line within a preset first historical time period is performed.

5. A device for determining theoretical line loss, characterized in that: The device comprises: An acquisition module, used to acquire first initial line loss information of a line within a preset first historical time period; the first initial line loss information is obtained by statistically analyzing actual line loss information of the line within the first historical time period; A first determining module is used to determine a target date for which invalid line loss information exists according to the line loss information, and remove the line loss information of the target date from the first initial line loss information to obtain target line loss information; A second determination module is configured to, if the number of days in the target line loss information is not less than a first threshold, determine the date with the minimum daily line loss rate as a basic date according to the target line loss information, determine at least two candidate time periods from all dates in the target line loss information according to the basic date, obtain the power supply and power sales of each candidate time period from the line loss information corresponding to each candidate time period; and determine the line loss rate of each candidate time period according to the power supply and power sales of each candidate time period; Acquire the second initial line loss information of the line within the preset second historical time period; determine the difference between the number of first metering devices of the line in the first historical time period and the number of second metering devices in the second historical time period according to the second initial line loss information and the target line loss information; determine the fourth time period corresponding to the number of second metering devices in the second historical time period when the difference is less than the second threshold; determine the line loss rate of the fourth time period according to the second initial line loss information; compare the line loss rate of the fourth time period with the minimum line loss rate among the line loss rates of the candidate time periods; if the line loss rate of the fourth time period is less than the minimum line loss rate, determine the line loss rate of the fourth time period as the theoretical line loss; if the line loss rate of the fourth time period is not less than the minimum line loss rate, determine the minimum line loss rate as the theoretical line loss.

6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Method for calculating theoretical line loss of 10kV distribution network based on multi-source data set

    CN109286188A