A method for calculating electricity charges based on big data analysis

By analyzing user's historical electricity consumption records and detecting equipment abnormalities, calculating the electricity consumption abnormality index and equipment abnormality coefficient, the problems of low efficiency and poor accuracy of traditional electricity bill accounting are solved, and the efficiency and fairness of electricity bill accounting are achieved.

CN118365397BActive Publication Date: 2024-11-08INFORMATION CENT OF YUNNAN POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410771087.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-11-08
Estimated Expiration
2044-06-14

AI Technical Summary

Technical Problem

Traditional electricity bill accounting methods are inefficient and have poor accuracy, making it difficult to process large-scale data, resulting in unclear calculation of electricity bills, causing misunderstandings and disputes between users and power companies, and reducing the efficiency of electricity bill accounting.

Method used

By obtaining user's historical electricity usage records, calculating initial and second electricity usage abnormality index, detecting equipment abnormalities, extracting voltage and current data, calculating equipment abnormality coefficients, determining the day of sudden electricity usage, and performing electricity bill accounting and output to ensure the fairness of electricity bills and accuracy.

Benefits of technology

It improves the accuracy and efficiency of electricity bill accounting, promptly detects electricity abnormalities, reduces the time and cost of troubleshooting, and ensures the rationality and fairness of electricity bill calculations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118365397B_ABST
    Figure CN118365397B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for calculating electricity charges based on big data analysis, which relates to the technical field of electricity charge calculation, including: obtaining historical electricity consumption records of users, calculating and obtaining an initial abnormal electricity consumption index, and issuing an electricity calculation prompt; after receiving the electricity calculation prompt, analyzing the initial abnormal electricity consumption index of other users in the same area in the current month, calculating and obtaining a second abnormal electricity consumption index, and issuing an equipment detection prompt; after receiving the equipment detection prompt, detecting the voltage and current of each position of the meter and the line, calculating and obtaining an equipment abnormality coefficient, and issuing an equipment abnormality warning corresponding to the position number; after receiving the equipment abnormality warning, extracting the user's daily electricity consumption, determining the electricity consumption mutation day, calculating and obtaining a second corrected electricity consumption, and calculating and outputting the user's electricity charges. The electricity charges are adjusted more reasonably according to the actual electricity consumption of the user to ensure the fairness and accuracy of the electricity charge calculation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electricity fee calculation, and in particular to an electricity fee calculation method based on big data analysis. Background Art

[0002] With the rapid development and intelligent transformation of the power industry, electricity bill accounting, as an important part of power management, is facing higher and higher requirements. Traditional electricity bill accounting methods mainly rely on manual operations and simple data processing, which have problems such as low efficiency, low accuracy and difficulty in dealing with large-scale data. Therefore, electricity bill accounting methods based on big data analysis have emerged and become one of the current research hotspots. The development of big data technology has provided new ideas and methods for electricity bill accounting. By collecting, storing, processing and analyzing massive amounts of electricity consumption data, we can deeply explore the value of the data and achieve more accurate and efficient electricity bill accounting. The electricity bill accounting method based on big data analysis can not only improve the accuracy and efficiency of accounting, but also help power companies better understand users' electricity consumption behavior, optimize power resource allocation, and improve service quality.

[0003] In a Chinese invention application with application publication number CN117670449A, a method for calculating user electricity costs based on electric energy classification is disclosed, comprising step (1): collecting the user's electricity current signal and voltage signal; step (2): calculating the user's electricity active power, reactive power and power factor; step (3): determining the unit price of electricity according to the power factor; step (4): extracting different components of the current signal and the voltage signal; step (5): calculating the electricity consumption of the user's electricity of different electric energy classifications; step (6): calculating the electricity costs of the user's electricity of different electric energy classifications; and step (7): calculating the total electricity cost of the user.

[0004] In the above invention application, the user's current and voltage are analyzed, the electric energy is classified, and the electricity cost is calculated. However, in actual use, the real-time collection and analysis of the user's current and voltage data results in a very large amount of data to be processed, which does not have much practical significance and poor practicality. When a problem occurs in the equipment, the problem cannot be found, resulting in unclear calculation of the electricity cost, which further leads to misunderstandings and disputes between the user and the power company over the amount of the electricity bill, and more time and manpower are spent on verification and explanation, thereby reducing the efficiency of electricity bill calculation.

[0005] To this end, the present invention provides a method for calculating electricity charges based on big data analysis. Summary of the invention

[0006] 1. Technical issues to be resolved

[0007] In view of the shortcomings of the prior art, the present invention provides a method for calculating electricity charges based on big data analysis. The present invention determines the final electricity charge by step-by-step analyzing the user's historical electricity usage records, the electricity usage of other users, and equipment abnormalities. While processing a small amount of data, it is possible to promptly discover whether there is an abnormality in electricity usage, and make a more reasonable adjustment to the electricity charge based on the user's actual electricity usage, thereby ensuring the fairness and accuracy of the electricity charge calculation, thereby solving the technical problems recorded in the background technology.

[0008] (II) Technical solution

[0009] To achieve the above objectives, the present invention is implemented through the following technical solutions: a method for calculating electricity charges based on big data analysis, comprising the following steps:

[0010] Obtain the user's historical electricity consumption records and calculate the monthly estimated electricity consumption , combined with the monthly electricity consumption , further calculate to obtain the initial power consumption abnormality index , send out electricity accounting reminders;

[0011] After receiving the electricity accounting prompt, analyze the initial electricity consumption abnormality index of other users in the same area for the same month , calculate and obtain the first corrected power consumption Djd, and further calculate and obtain the second power consumption abnormality index Ec, and issue a device detection prompt to the outside;

[0012] After receiving the device detection prompt, check the voltage at each location of the meter and line and current , calculate the abnormal power index of each location and volatility anomaly index , and further calculate the equipment abnormality coefficient , issue an abnormal warning of the equipment with the corresponding position number;

[0013] After receiving the abnormal warning of the equipment, extract the user's daily electricity consumption , calculate the daily change value of electricity consumption , determine the sudden change day of electricity consumption, calculate and obtain the second corrected electricity consumption Ejd, and calculate and output the user's electricity bill.

[0014] Furthermore, the user's historical electricity consumption records are obtained from the power company's website to extract the historical monthly electricity consumption. , calculate the estimated monthly electricity consumption :

[0015]

[0016] Among them, i represents the sequential number of the year, , j represents the sequential number of the month, j .

[0017] Furthermore, the monthly electricity consumption is obtained through the power company website. , combined with the estimated electricity consumption for the month , calculate and obtain the initial power consumption abnormality index :

[0018]

[0019] When the initial power consumption abnormality index When it is greater than 0.5 or less than -0.5, an electricity consumption calculation reminder is issued.

[0020] Furthermore, after receiving the electricity accounting prompt, the initial electricity consumption abnormality index of other users in the same area for the month is obtained through the power company website. , combined with the estimated electricity consumption for the month , calculate and obtain the first corrected power consumption Djd:

[0021]

[0022] Among them, x represents the sequence number of other users in the same area, x r, r is a positive integer;

[0023] Get the first corrected electricity consumption Djd and the recorded electricity consumption of the month , calculate and obtain the second power consumption abnormality index Ec:

[0024]

[0025] When the second power consumption abnormality index Ec is greater than 0.5 or less than -0.5, a device detection prompt is issued.

[0026] Furthermore, after receiving the device detection prompt, the voltage sensor and current sensor are used to periodically detect the voltage of the meter and each node of the line. and current , calculate the abnormal power index of each location :

[0027]

[0028] Where a represents the position sequence number of the meter or line node, b represents the detection time sequence number, , s is a positive integer, Indicates the rated voltage of the meter or line at position number a. Indicates the rated current of the meter or line with position number a. The rated voltage or rated current refers to the voltage or current value when the equipment is operating normally.

[0029] Furthermore, the voltage at each location of the meter and line is obtained and current , calculate the fluctuation anomaly index of each location :

[0030]

[0031] The corresponding volatility anomaly index of each position The calculation formula is as above.

[0032] Furthermore, the power value abnormality index of each location is obtained and volatility anomaly index , calculate the equipment abnormality coefficient :

[0033]

[0034] When the equipment abnormality coefficient When it is greater than the equipment abnormality threshold, an equipment abnormality warning of the corresponding position number is issued, where the equipment abnormality threshold is twice the average of all equipment abnormality coefficients.

[0035] Furthermore, after receiving the equipment abnormality warning, the user's electricity consumption data is retrieved from the power company's website to extract the user's daily electricity consumption. , calculate the daily change value of electricity consumption :

[0036]

[0037] Where k represents the time sequence number of the date, , t is a positive integer; when the daily change value of electricity consumption Greater than When the corresponding subscript date is marked as the pending electricity consumption mutation date, The daily change value of all electricity consumption The mean of .

[0038] Furthermore, the daily change value of electricity consumption in the week before and after the pending electricity consumption mutation date is obtained. , calculate the mean value of electricity consumption change before The mean change of electricity consumption after :

[0039]

[0040] in, Indicates the date number of the pending electricity consumption mutation day. If the electricity consumption data after the pending electricity consumption mutation day is less than 7, the average is calculated based on the actual number of electricity consumption data;

[0041] If the previous average power consumption change The mean change of electricity consumption after All less than When the electricity consumption mutation day is determined, the undetermined electricity consumption mutation day will be determined as the electricity consumption mutation day.

[0042] Furthermore, the user's daily electricity consumption is obtained , calculate the second corrected electricity consumption Ejd:

[0043]

[0044] in, Indicates the date number from which electricity charges for the current month begin to be counted. Indicates the date number for the end of electricity bill statistics for the current month.

[0045] (III) Beneficial effects

[0046] The present invention provides a method having the following beneficial effects:

[0047] 1. Obtain the user's historical electricity consumption records and calculate the monthly estimated electricity consumption , combined with the monthly electricity consumption , further calculate to obtain the initial power consumption abnormality index , and sends out electricity accounting prompts. While processing a small amount of data, it can promptly detect whether there are any abnormal electricity usage and conduct further detailed analysis, which improves work efficiency and saves time and money.

[0048] 2. After receiving the electricity accounting prompt, analyze the initial electricity consumption abnormality index of other users in the same area for the month , calculate the first corrected power consumption Djd, and further calculate the second power consumption abnormality index Ec, and send out equipment detection prompts to the outside, which helps to eliminate some power consumption fluctuations caused by external factors (such as weather changes, power supply facility maintenance, etc.), and can more accurately determine whether the power consumption of a specific user is indeed abnormal.

[0049] 3. After receiving the equipment detection prompt, check the voltage at each position of the meter and line and current , calculate the abnormal power index of each location and volatility anomaly index , and further calculate the equipment abnormality coefficient , an abnormal warning of the equipment with the corresponding position number is issued, which not only points out the abnormality of the equipment, but also provides the specific abnormal location, so that it can respond quickly and take effective measures, reducing the time and cost of troubleshooting.

[0050] 4. After receiving the abnormal warning of the equipment, extract the user's daily electricity consumption , calculate the daily change value of electricity consumption , determine the sudden change day of electricity consumption, calculate and obtain the second corrected electricity consumption Ejd, calculate and output the user's electricity bill, and make more reasonable adjustments to the electricity bill based on the user's actual electricity consumption to ensure the fairness and accuracy of electricity bill calculation. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 The present invention is a flowchart of a method for calculating electricity charges based on big data analysis. DETAILED DESCRIPTION

[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0053] See also Figure 1 The present invention provides a method for calculating electricity charges based on big data analysis, comprising the following steps:

[0054] Step 1: Obtain the user's historical electricity consumption records and calculate the monthly estimated electricity consumption , combined with the monthly electricity consumption , further calculate to obtain the initial power consumption abnormality index , and issue electricity consumption accounting reminders.

[0055] The step 1 includes the following contents:

[0056] Step 101: Obtain the user's historical electricity consumption records from the power company website and extract the historical monthly electricity consumption , calculate the estimated monthly electricity consumption :

[0057]

[0058] Among them, i represents the sequential number of the year, , j represents the sequential number of the month, j .

[0059] Step 102: Obtain the monthly recorded electricity consumption from the power company website , combined with the estimated electricity consumption for the month , calculate and obtain the initial power consumption abnormality index :

[0060]

[0061] When the initial power consumption abnormality index When it is greater than 0.5 or less than -0.5, an electricity consumption calculation reminder is issued.

[0062] When using, combine the contents in steps 101 and 102:

[0063] By obtaining the user's historical electricity consumption records, the estimated monthly electricity consumption is calculated , combined with the monthly electricity consumption , further calculate to obtain the initial power consumption abnormality index , and sends out electricity accounting prompts. While processing a small amount of data, it can promptly detect whether there are any abnormal electricity usage and conduct further detailed analysis, which improves work efficiency and saves time and money.

[0064] Step 2: After receiving the electricity accounting prompt, analyze the initial electricity consumption abnormality index of other users in the same area for the month , calculate and obtain the first corrected power consumption Djd, and further calculate and obtain the second power consumption abnormality index Ec, and issue a device detection prompt to the outside.

[0065] The step 2 includes the following contents:

[0066] Step 201: After receiving the electricity accounting prompt, obtain the initial electricity abnormality index of other users in the same area for the current month through the power company website , combined with the estimated electricity consumption for the month , calculate and obtain the first corrected power consumption Djd:

[0067]

[0068] Where x represents the sequence number of other users in the same area, x r, r is a positive integer, and the same area refers to the same community or the same building.

[0069] Step 202: Obtain the first corrected power consumption Djd and the recorded power consumption of the current month , calculate and obtain the second power consumption abnormality index Ec:

[0070]

[0071] When the second power consumption abnormality index Ec is greater than 0.5 or less than -0.5, a device detection prompt is issued.

[0072] When using, combine the contents in steps 201 and 202:

[0073] After receiving the electricity accounting prompt, analyze the initial electricity consumption abnormality index of other users in the same area for the same month , calculate the first corrected power consumption Djd, and further calculate the second power consumption abnormality index Ec, and send out equipment detection prompts to the outside, which helps to eliminate some power consumption fluctuations caused by external factors (such as weather changes, power supply facility maintenance, etc.), and can more accurately determine whether the power consumption of a specific user is indeed abnormal.

[0074] Step 3: After receiving the device detection prompt, check the voltage at each location of the meter and line and current , calculate the abnormal power index of each location and volatility anomaly index , and further calculate the equipment abnormality coefficient , and send out abnormal warnings of equipment with corresponding position numbers.

[0075] The step three includes the following contents:

[0076] Step 301: After receiving the device detection prompt, use the voltage sensor and current sensor to periodically detect the voltage of the meter and each node of the line and current , calculate the abnormal power index of each location :

[0077]

[0078] Where a represents the position sequence number of the meter or line node, b represents the detection time sequence number, , s is a positive integer, Indicates the rated voltage of the meter or line at position number a. Indicates the rated current of the meter or line with position number a. The rated voltage or rated current refers to the voltage or current value when the equipment is operating normally.

[0079] A voltage sensor is a sensor that senses the voltage being measured and converts it into a usable output signal. Its working principle is based on the basic principles of potential distribution and charge movement. A voltage sensor usually consists of two metal electrodes separated by an insulating material. When applied to the circuit of the voltage sensor, the potential difference causes the charge to move in the circuit, forming an electric field. This electric field generates a force between the electrodes, affecting the measurement of the potential difference. Finally, the voltage sensor determines the voltage by measuring the potential difference between the two electrodes.

[0080] A current sensor is a measuring device that can convert a certain current into another current that has a certain corresponding relationship with it and is convenient for application with a certain degree of accuracy. Its working principle is based on electromagnetic induction and the Hall effect. When the current to be measured passes through the current sensor, its internal coil will generate a magnetic field, which will interact with the Hall element to produce an output voltage difference. This voltage difference is proportional to the magnitude of the measured current. After being processed by the amplification circuit, this voltage difference can be converted into a measurable voltage signal.

[0081] Step 302: Obtain the voltage at each position of the meter and line and current , calculate the fluctuation anomaly index of each location :

[0082]

[0083] The corresponding volatility anomaly index of each position The calculation formula is as above.

[0084] Step 303: Obtain the power value abnormality index of each location and volatility anomaly index , calculate the equipment abnormality coefficient :

[0085]

[0086] When the equipment abnormality coefficient When it is greater than the equipment abnormality threshold, an equipment abnormality warning of the corresponding position number is issued, where the equipment abnormality threshold is twice the average of all equipment abnormality coefficients.

[0087] When using, combine the contents in steps 301 to 303:

[0088] After receiving the device detection prompt, check the voltage at each location of the meter and line and current , calculate the abnormal power index of each location and volatility anomaly index , and further calculate the equipment abnormality coefficient , an abnormal warning of the equipment with the corresponding position number is issued, which not only points out the abnormality of the equipment, but also provides the specific abnormal location, so that it can respond quickly and take effective measures, reducing the time and cost of troubleshooting.

[0089] Step 4: After receiving the device abnormality warning, extract the user's daily electricity consumption , calculate the daily change value of electricity consumption , determine the sudden change day of electricity consumption, calculate and obtain the second corrected electricity consumption Ejd, and calculate and output the user's electricity bill.

[0090] The step 4 includes the following contents:

[0091] Step 401: After receiving the equipment abnormality warning, retrieve the user's electricity consumption data from the power company website and extract the user's daily electricity consumption , calculate the daily change value of electricity consumption :

[0092]

[0093] Where k represents the time sequence number of the date, , t is a positive integer.

[0094] When the daily change of electricity consumption Greater than When the corresponding subscript date is marked as the pending electricity consumption mutation date, The daily change value of all electricity consumption The mean of .

[0095] Step 402: Obtain the daily change value of electricity consumption one week before and after the pending electricity consumption mutation date , calculate the mean value of electricity consumption change before The mean change of electricity consumption after :

[0096]

[0097] in, Indicates the date number of the pending electricity consumption mutation day. If the electricity consumption data after the pending electricity consumption mutation day is less than 7, the average is calculated based on the actual number of electricity consumption data.

[0098] If the previous average power consumption change The mean change of electricity consumption after All less than When the electricity consumption mutation day is determined, the undetermined electricity consumption mutation day will be determined as the electricity consumption mutation day.

[0099] Step 403: Obtain the user's daily electricity consumption , calculate the second corrected electricity consumption Ejd:

[0100]

[0101] in, Indicates the date number from which electricity charges for the current month begin to be counted. Indicates the date number for the end of electricity bill statistics for the current month.

[0102] Step 404: construct an electricity fee calculation model according to the electricity fee calculation rules, import the second corrected electricity consumption Ejd into the electricity fee calculation model, and calculate and output the user's electricity fee.

[0103] When used, combine the contents in steps 401 to 404:

[0104] After receiving the abnormal warning of the equipment, extract the user's daily electricity consumption , calculate the daily change value of electricity consumption , determine the sudden change day of electricity consumption, calculate and obtain the second corrected electricity consumption Ejd, calculate and output the user's electricity bill, and make more reasonable adjustments to the electricity bill based on the user's actual electricity consumption to ensure the fairness and accuracy of electricity bill calculation.

[0105] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented using software, the above embodiments may be implemented in whole or in part in the form of a computer program product. A person of ordinary skill in the art may appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein may be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution.

[0106] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0107] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A method for calculating electricity charges based on big data analysis, characterized in that: The steps include: Obtain the user's historical electricity consumption records and calculate the monthly estimated electricity consumption , combined with the monthly electricity consumption , further calculate to obtain the initial power consumption abnormality index , send out electricity accounting reminders; Obtain the user's historical electricity consumption records from the power company's website and extract the historical monthly electricity consumption , calculate the estimated monthly electricity consumption : Among them, i represents the sequential number of the year, , j represents the sequential number of the month, j ; Obtain the monthly electricity consumption records from the power company website , combined with the estimated electricity consumption for the month , calculate and obtain the initial power consumption abnormality index : When the initial power consumption abnormality index When it is greater than 0.5 or less than -0.5, an electricity accounting reminder is issued; After receiving the electricity accounting prompt, analyze the initial electricity consumption abnormality index of other users in the same area for the same month , calculate and obtain the first corrected power consumption Djd, and further calculate and obtain the second power consumption abnormality index Ec, and issue a device detection prompt to the outside; After receiving the electricity accounting prompt, obtain the initial electricity consumption abnormality index of other users in the same area for the month through the power company website , combined with the estimated electricity consumption for the month , calculate and obtain the first corrected power consumption Djd: Among them, x represents the sequence number of other users in the same area, x r, r is a positive integer; Get the first corrected electricity consumption Djd and the recorded electricity consumption of the month , calculate and obtain the second power consumption abnormality index Ec: When the second power consumption abnormality index Ec is greater than 0.5 or less than -0.5, a device detection prompt is issued; After receiving the device detection prompt, check the voltage at each location of the meter and line and current , calculate the abnormal power index of each location and volatility anomaly index , and further calculate the equipment abnormality coefficient , issue an abnormal warning of the equipment with the corresponding position number; After receiving the device detection prompt, use the voltage sensor and current sensor to periodically detect the voltage of the meter and each node of the line and current , calculate the abnormal power index of each location : Where a represents the position sequence number of the meter or line node, b represents the detection time sequence number, , s is a positive integer, Indicates the rated voltage of the meter or line at position number a. Indicates the rated current of the meter or line with position number a. The rated voltage or rated current refers to the voltage or current value when the equipment is operating normally; Get the voltage at each location of the meter and line and current , calculate the fluctuation anomaly index of each location : Obtain the power value anomaly index at each location and volatility anomaly index , calculate the equipment abnormality coefficient : When the equipment abnormality coefficient When it is greater than the device abnormality threshold, an abnormality warning of the device with the corresponding position number is issued. The device abnormality threshold is twice the average of all device abnormality coefficients. After receiving the abnormal warning of the equipment, extract the user's daily electricity consumption , calculate the daily change value of electricity consumption , determine the electricity consumption mutation day, calculate the second corrected electricity consumption Ejd, and calculate and output the user's electricity charges; After receiving the abnormal warning of the equipment, the user's electricity consumption data is retrieved from the power company's website to extract the user's daily electricity consumption , calculate the daily change value of electricity consumption : Where k represents the time sequence number of the date, , t is a positive integer; when the daily change value of electricity consumption Greater than When the corresponding subscript date is marked as the pending electricity consumption mutation date, The daily change value of all electricity consumption The mean of Get the daily change value of electricity consumption one week before and after the pending electricity consumption mutation date , calculate the mean value of electricity consumption change before The mean change of electricity consumption after : in, Indicates the date number of the pending electricity consumption mutation day. If the electricity consumption data after the pending electricity consumption mutation day is less than 7, the average is calculated based on the actual number of electricity consumption data; If the previous electricity consumption change average The mean change of electricity consumption after All less than When the electricity consumption mutation day is determined to be the electricity consumption mutation day, Get the user's daily electricity consumption , calculate the second corrected electricity consumption Ejd: in, Indicates the date number from which electricity charges for the current month begin to be counted. Indicates the date number for the end of electricity bill statistics for the current month.