Electric quantity returning and supplementing analysis method based on line loss rate correction and storage medium
By comparing theoretical and actual line loss rates and correcting voltage deviations, the problem of distorted metering data caused by meter malfunctions was solved, enabling accurate restoration of electricity consumption and reasonable refunds/refunds, thus improving the reliability of the metering system and the fairness of electricity bill recovery.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-04
- Publication Date
- 2026-03-10
AI Technical Summary
In power systems, metering data distortion caused by meter failures is difficult to accurately restore, especially for high-voltage users and dedicated transformer users. Traditional methods rely on complete user-side data, but are ineffective when data is missing or distorted.
By comparing the theoretical line loss rate with the actual line loss rate and combining it with the voltage deviation correction mechanism, the line loss rate is corrected to achieve accurate restoration and compensation of electrical power. This provides a method and storage medium for analyzing and compensating for electrical power based on line loss rate correction.
In cases of missing or distorted user-side data, this system enables accurate restoration of electricity consumption and reasonable refunds or compensations, improving the reliability of the metering system and the fairness of electricity bill recovery, and resolving metering anomalies caused by meter malfunctions.
Smart Images

Figure CN121633609A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of power system energy metering technology, and in particular, it designs a method and storage medium for analyzing the amount of electricity lost or compensated based on line loss rate correction. Background Technology
[0002] With the accelerated digital transformation of the power system, the new generation of electricity information acquisition system has achieved full collection, real-time transmission and long-term storage of multi-dimensional data such as user current, voltage, load curve, and power factor. Its millisecond-level data sampling capability and massive storage capacity provide solid technical support for the lean management of electricity metering.
[0003] However, in actual operation, abnormal electricity metering remains a significant bottleneck restricting service quality. Affected by factors such as aging and wear of equipment after long-term operation, wiring errors during on-site construction, and line interference caused by severe weather, problems such as voltage loss, current loss, reverse connection, abnormal line loss, and clock deviation still occur frequently. When an electricity meter malfunctions, it often leads to distorted metering data, requiring professional methods to trace and restore the actual electricity consumption.
[0004] In power grid management, high-voltage users and dedicated transformer users are always key monitoring targets due to their electricity consumption characteristics and the sensitivity of line loss management. When their electricity meters malfunction, it can easily cause significant metering deviations. Traditionally, the correction coefficient method is used to restore electricity consumption, but this method relies on complete user-side electricity consumption data, and is difficult to apply if the data is missing or distorted. Summary of the Invention
[0005] The purpose of this invention is to provide a method and storage medium for analyzing and compensating for lost electricity consumption based on line loss rate correction. This method corrects the line loss rate based on voltage fluctuations before and after a fault in the user-side electricity meter, thereby enabling reasonable compensation for lost electricity consumption when metering is abnormal and improving the accuracy of electricity metering. The technical solution adopted by this invention is as follows.
[0006] On the one hand, the present invention provides a method for analyzing the amount of electricity refunded or compensated based on line loss rate correction, including:
[0007] Acquire metering data from both the line-side and user-side electricity meters;
[0008] The theoretical line loss rate is calculated based on the metering data of the line-side electricity meters, and the actual line loss rate is calculated based on the metering data of the line-side electricity meters and the metering data of the user-side electricity meters.
[0009] The restored power is calculated based on the theoretical line loss rate and the metering data of the line-side electricity meter; the actual line loss rate is corrected based on the voltage fluctuation and corresponding voltage deviation measured by the user-side electricity meter during the fault period.
[0010] The refund / replacement amount is calculated based on the corrected actual line loss rate and the restored amount of electricity.
[0011] Based on the comparative analysis of theoretical and actual line loss, the above technical solution introduces a line loss rate correction mechanism based on voltage deviation correction, which can accurately restore and compensate for the power consumption during the fault period in the event of missing or distorted data on the user side.
[0012] Optionally, the method also includes: after calculating the restored electricity amount, performing a rationality check by comparing it with the electricity consumption of N consecutive normal electricity consumption periods equal to the duration of the fault before the electricity meter fault occurred, and judging whether the restored electricity amount is reasonable based on the comparison results. N can be 6 or other values. If the restored electricity amount is unreasonable, other fault scenarios may have occurred. The calculation of the refund / replacement electricity amount needs to be performed after other fault scenarios have been ruled out, based on the correct theoretical line loss rate and line-side electricity consumption.
[0013] Optionally, the line-side energy meter metering data includes the energy consumption, three-phase voltage, three-phase current, and line impedance data measured by the line-side energy meter during the fault period, and the user-side energy meter metering data includes the three-phase voltage and energy consumption data measured by the user-side energy meter during the fault period.
[0014] Optionally, the theoretical line loss rate is calculated based on the metering data of the line-side electricity meter using the following formula:
[0015]
[0016] In the formula, Indicates the theoretical line loss rate. The average current on the line side. For line resistance, The duration of the period to be analyzed. This refers to the electricity consumption data measured by the line-side electricity meters. It should be noted here that the analysis focuses on the refund / reimbursement electricity consumption during periods of user-side electricity meter failure. This represents the total duration of the fault. This represents the average line-side current during the fault period. This represents the theoretical line loss rate during the fault period.
[0017] Optionally, the actual line loss rate is calculated based on the metering data from the line-side electricity meter and the metering data from the user-side electricity meter using the following formula:
[0018]
[0019] In the formula, and These are the electricity consumption data measured by the line-side electricity meter and the user-side electricity meter, respectively.
[0020] Optionally, the formula for calculating the restored electricity based on the theoretical line loss rate and the metering data of the line-side electricity meter is as follows:
[0021]
[0022] In the formula, To restore the charge, The theoretical line loss rate, This refers to the electricity consumption data measured by the electricity meter on the line side.
[0023] Optionally, the step of correcting the actual line loss rate based on the voltage fluctuations and corresponding voltage deviations measured by the user-side energy meter during the fault period includes:
[0024] For the voltage data measured by the user-side electricity meter during the fault period, the voltage deviation range is divided according to the preset voltage deviation range division rules.
[0025] For each voltage deviation range, the correction factor for the voltage deviation range is calculated based on the rated voltage and the voltage measured by the user's electricity meter.
[0026] The correction factor for the actual line loss rate is calculated based on the correction factor for all voltage deviation ranges.
[0027] The actual line loss rate is corrected based on the correction factor for the actual line loss rate.
[0028] It should be noted here that the preset voltage deviation range division rule can be to divide different voltage deviation ranges according to the severity of the voltage deviation. For example, voltage measurement values with voltage deviations of (5%-10%) and (10%-20%) are in different voltage deviation ranges.
[0029] Optionally, for each voltage deviation range, a correction factor for the voltage deviation range is calculated based on the rated voltage and the voltage measured by the user-side energy meter, using the following formula:
[0030]
[0031] In the formula, For the first Correction coefficients for each voltage deviation range Rated voltage, This refers to the effective value of the voltage range calculated based on the voltage data measured by the user-side electricity meter within the voltage deviation range. For details on the method of calculating the effective value of the voltage range based on the meter readings within the range, please refer to existing technologies.
[0032] Optionally, the correction factor for calculating the actual line loss rate based on the correction factor for all voltage deviation intervals is calculated using the following formula:
[0033]
[0034] In the formula, This represents a correction factor for the actual line loss rate during a fault. The duration of the period to be analyzed. For time period The number of internal voltage deviation intervals For time period Inner The duration of each voltage deviation range, For the first Correction coefficients for each voltage deviation range;
[0035] The actual line loss rate is corrected based on a correction factor, and the formula is as follows:
[0036]
[0037] This is the corrected actual line loss rate. This represents the actual line loss rate. This is a correction factor for the actual line loss rate.
[0038] Optionally, the formula for calculating the refund / compensation amount based on the corrected actual line loss rate and the restored amount is as follows:
[0039]
[0040] In the formula, To refund or replenish electricity, To restore the charge, This is the corrected actual line loss rate. This refers to the electricity consumption data measured by the electricity meter on the line side.
[0041] In a second aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the power reduction and compensation analysis method based on line loss rate correction as described in the first aspect.
[0042] Beneficial effects
[0043] The proposed method for analyzing electricity charge refunds based on line loss rate correction, by introducing a comparative analysis of theoretical and actual line losses and combining it with a voltage correction mechanism, can accurately restore and reasonably refund electricity charges during fault periods even when user-side data is missing or distorted. This significantly improves the reliability, adaptability, and fairness of electricity charge recovery for the metering system. It can effectively address metering anomalies caused by meter failures in the actual operation of high-voltage users and dedicated transformer users, and has significant engineering application value and socio-economic benefits. Attached Figure Description
[0044] Figure 1 The diagram shown is a flowchart of the power reduction and compensation analysis method based on line loss rate correction of the present invention in an embodiment. Detailed Implementation
[0045] The following description, in conjunction with the accompanying drawings and specific embodiments, provides further details.
[0046] Invention concept: Considering that abnormal electricity metering is often accompanied by significant changes in line loss rate, this invention introduces a comparative analysis of theoretical line loss and actual line loss, combined with a voltage correction mechanism, to correct the actual line loss rate based on voltage fluctuations during the fault, thereby improving the accuracy of power refund and compensation calculation.
[0047] Example 1
[0048] This embodiment introduces a method for analyzing the amount of electricity refunded or compensated based on line loss rate correction, such as... Figure 1 As shown, it includes:
[0049] Acquire metering data from both the line-side and user-side electricity meters;
[0050] The theoretical line loss rate is calculated based on the metering data of the line-side electricity meters, and the actual line loss rate is calculated based on the metering data of the line-side electricity meters and the metering data of the user-side electricity meters.
[0051] The restored power is calculated based on the theoretical line loss rate and the metering data of the line-side electricity meter; the actual line loss rate is corrected based on the voltage fluctuation and corresponding voltage deviation measured by the user-side electricity meter during the fault period.
[0052] The refund / replacement amount is calculated based on the corrected actual line loss rate and the restored amount of electricity.
[0053] In some possible embodiments, after calculating the restored electricity amount, the method further includes: verifying the reasonableness of the restored electricity amount by comparing it with the electricity amount during N consecutive normal electricity consumption periods equal to the duration of the fault before the electricity meter fault occurred, and determining whether the restored electricity amount is reasonable based on the comparison results. N can be 6 or other values. If the restored electricity amount is unreasonable, other fault scenarios may have occurred, making it impossible to perform subsequent calculations according to the method of this invention. The calculation of the refund / replacement electricity amount needs to be based on the correct theoretical line loss rate and line-side electricity amount, assuming that other fault scenarios have been ruled out.
[0054] In some possible embodiments, the line-side energy meter metering data includes the energy consumption, three-phase voltage, three-phase current, and line impedance data measured by the line-side energy meter during the period to be analyzed or during the fault, while the user-side energy meter metering data includes the three-phase voltage and energy consumption data measured by the user-side energy meter during the fault.
[0055] The theoretical line loss rate is calculated based on the metering data from the line-side electricity meters, using the following formula:
[0056]
[0057] In the formula, Indicates the theoretical line loss rate. The average current on the line side. For line resistance, The duration of the period to be analyzed. This refers to the electricity consumption data measured by the line-side electricity meters. It also includes an analysis of the refund / reimbursement amounts during periods of user-side electricity meter failure. This represents the total duration of the fault. This represents the average line-side current during the fault period. This represents the theoretical line loss rate during the fault period.
[0058] The actual line loss rate is calculated based on the metering data from the line-side electricity meter and the user-side electricity meter. The formula is as follows:
[0059]
[0060] In the formula, Electricity data measured by the user's electricity meter.
[0061] The amount of electricity to be restored is calculated based on the theoretical line loss rate and the meter readings from the line-side electricity meter. The formula is:
[0062]
[0063] In some possible embodiments, the step of correcting the actual line loss rate based on the voltage fluctuations and corresponding voltage deviations measured by the user-side electricity meter during the fault period includes:
[0064] For the voltage data measured by the user-side electricity meter during the fault period, the voltage deviation range is divided according to the preset voltage deviation range division rule; the preset voltage deviation range division rule can be to divide different voltage deviation ranges according to the severity of the voltage deviation, such as voltage measurement values with voltage deviations of (5%-10%) and (10%-20%) being in different voltage deviation ranges.
[0065] For each voltage deviation range, the correction factor for the voltage deviation range is calculated based on the rated voltage and the voltage measured by the user's electricity meter.
[0066] The correction factor for the actual line loss rate is calculated based on the correction factor for all voltage deviation ranges.
[0067] The actual line loss rate is corrected based on the correction factor for the actual line loss rate.
[0068] Specifically, in some possible embodiments, for each voltage deviation range, a correction factor for the voltage deviation range is calculated based on the rated voltage and the voltage measured by the user-side energy meter, using the following formula:
[0069]
[0070] In the formula, For the first Correction coefficients for each voltage deviation range Rated voltage, This refers to the effective value of the voltage range calculated based on the voltage data measured by the user-side electricity meter within the voltage deviation range. The specific method for calculating the effective value of the voltage range based on the meter readings within the range can be found in existing technologies, such as squaring the meter readings within the range, then averaging them, and finally taking the square root.
[0071] The correction factor for calculating the actual line loss rate based on the correction factor for all voltage deviation ranges is calculated using the following formula:
[0072]
[0073] In the formula, This represents a correction factor for the actual line loss rate during a fault. The duration of the period to be analyzed can be considered as the total length of the fault period. For time period The number of internal voltage deviation intervals For time period Inner The duration of each voltage deviation range, For the first Correction coefficients for each voltage deviation range;
[0074] The actual line loss rate is corrected based on a correction factor, and the formula is as follows:
[0075]
[0076] In some possible embodiments, the calculation of the refund / compensation amount is based on the corrected actual line loss rate and the restored amount. The formula is:
[0077]
[0078] The following example illustrates a specific scenario of a user-side electricity meter malfunction.
[0079] From July 8th to July 25th, 2024, a company in a certain city experienced undervoltage in phases A and B, and the line loss rate of the 358 line in the town where it is located was abnormal.
[0080] The specific steps for analyzing the company's refund / subsidy electricity volume are as follows:
[0081] Acquire the electricity consumption, three-phase voltage, three-phase current, and line impedance measured by the electricity meter on the line side during the fault period, and compare them with the voltage and electricity consumption data measured by the electricity meter on the user side during the fault period.
[0082] Calculate the theoretical line loss rate:
[0083]
[0084] Calculate the voltage correction factor:
[0085]
[0086] Calculate the actual line loss rate:
[0087]
[0088] Correct the actual line loss rate:
[0089]
[0090] Calculate the amount of electricity to be restored:
[0091]
[0092] The calculation result is reasonable after a rationality verification.
[0093] Calculate the amount of electricity refunded or compensated:
[0094]
[0095] Example 2
[0096] This embodiment describes a computer-readable storage medium storing a computer program, characterized in that, when the computer program is executed by a processor, it implements the steps of the power reduction and compensation analysis method based on line loss rate correction as described in Embodiment 1.
[0097] In summary, the present invention can accurately restore and reasonably compensate for the electricity generated during a fault, significantly improving the reliability, adaptability, and fairness of electricity bill recovery of the metering system. It can effectively address metering anomalies caused by meter failures in the actual operation of high-voltage users and dedicated transformer users.
[0098] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0099] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0100] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0101] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0102] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.
Claims
1. A method for analyzing the amount of power withdrawn and supplied based on line loss rate correction, characterized by, The method comprises the following steps: obtaining line side electric energy metering data and user side electric energy metering data; calculating a theoretical line loss rate according to the line side electric energy metering data, and calculating an actual line loss rate according to the line side electric energy metering data and the user side electric energy metering data; calculating a restored electric quantity according to the theoretical line loss rate and the line side electric energy metering data; correcting the actual line loss rate according to voltage fluctuation and corresponding voltage deviation of the user side electric energy metering during the fault period; calculating a refund electric quantity according to the corrected actual line loss rate and the restored electric quantity.
2. The method of claim 1, further comprising The method comprises the following steps: after the restored electric quantity is calculated, the restored electric quantity is reasonably checked, and the restored electric quantity is compared with electric quantities of N normal electric consumption periods before the electric energy meter fault occurs and equal to the fault duration, and whether the restored electric quantity is reasonable is judged according to a comparison result.
3. The method of claim 1 wherein, The line side electric energy metering data comprises electric quantity, three-phase voltage, three-phase current and line impedance data of the line side electric energy metering during the fault period, and the user side electric energy metering data comprises voltage and electric quantity data of the user side electric energy metering during the fault period.
4. The method of claim 1 wherein, The theoretical line loss rate is calculated according to the line side electric energy metering data by using the following formula: , In the formula, represents the theoretical line loss rate, is the average current on the line side, is the line resistance, is the length of the period to be analyzed, is the electric quantity data measured by the electric energy meter on the line side.
5. The method of claim 1 wherein, The actual line loss rate is calculated according to the line side electric energy metering data and the user side electric energy metering data by using the following formula: , The restored electric quantity is calculated according to the theoretical line loss rate and the line side electric energy metering data by using the following formula: , In the formula, is the reduced electric quantity, is the theoretical line loss rate, and are the electric quantity data measured by the line side electric energy meter and the user side electric energy meter, respectively.
6. The method of claim 1 wherein, The actual line loss rate is corrected according to voltage fluctuation and corresponding voltage deviation of the user side electric energy metering during the fault period, and the method comprises the following steps: voltage deviation intervals are divided according to a preset voltage deviation interval division rule for voltage data of the user side electric energy metering during the fault period; a correction coefficient of the voltage deviation interval is calculated according to a rated voltage and the voltage of the user side electric energy metering for each voltage deviation interval; a correction coefficient of the actual line loss rate is calculated according to correction coefficients of all voltage deviation intervals; the actual line loss rate is corrected according to the correction coefficient of the actual line loss rate.
7. The method of claim 6, wherein, The correction coefficient of the voltage deviation interval is calculated according to the rated voltage and the voltage of the user side electric energy metering for each voltage deviation interval by using the following formula: , In the formula, is the correction coefficient of the mth voltage deviation interval, is the correction coefficient of the mth voltage deviation interval, is the rated voltage, is the interval voltage effective value calculated according to the voltage data measured by the user-side electric energy meter in the voltage deviation interval.
8. The method of claim 6, wherein, The correction coefficient of the actual line loss rate is calculated according to correction coefficients of all voltage deviation intervals by using the following formula: , wherein, represents a correction factor of the actual line loss rate during the fault, is a length of the period to be analyzed, is a period number of voltage deviation intervals, is a period is a duration of the voltage deviation interval, is a correction factor of the voltage deviation interval; The actual line loss rate is corrected according to the correction coefficient of the actual line loss rate by using the following formula: , is the corrected actual line loss rate, is the actual line loss rate, is the correction coefficient of the actual line loss rate.
9. The method of claim 6 wherein, The refund electric quantity is calculated according to the corrected actual line loss rate and the restored electric quantity by using the following formula: , In the formula, is the compensation electric quantity, is the reduction electric quantity, is the corrected actual line loss rate, is the electric quantity data measured by the line side electric energy meter.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by a processor to realize steps of the refund electric quantity analysis method based on line loss rate correction according to any one of claims 1-9.