A method and device for fitting calculation of user time-sharing power consumption

By combining the approaching moment and historical power data, the accuracy of user time-sharing power fitting calculations in the power spot market is solved, and higher data integrity and power fitting efficiency are achieved.

CN116051280BActive Publication Date: 2025-09-02BEIJING CHINA POWER INFORMATION TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310026508.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-09
Publication Date
2025-09-02
Estimated Expiration
2043-01-09

AI Technical Summary

Technical Problem

In the prior art, the user's time-sharing power fitting calculation in the power spot market has a problem of low accuracy, especially when the time-sharing display value of the power meter fails, it cannot accurately reflect the power user's power usage habits, resulting in a large difference between the sum of the time-sharing power and the total power.

Method used

By obtaining the power representation value data of the target time period and determining that the full point representation data is missing, the first fitting method and the time-sharing reference power calculation method are used to fit it using the near time data or historical power data to improve data integrity and accuracy.

Benefits of technology

It improves the accuracy of the user's time-sharing power fit calculation, avoids the situation where the sum of the time-sharing power is inconsistent with the total power, and enhances the integrity and efficiency of the power fitting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116051280B_ABST
    Figure CN116051280B_ABST
Patent Text Reader

Abstract

The present application discloses a user time-sharing electricity fitting calculation method, which is applied to the field of power analysis technology. If there is electric energy representation value data in both the first preset time period and the second preset time period of the target hourly indication data, the first fitting method is used to obtain the target hourly indication data; if there is no electric energy representation value data in the first preset time period and / or there is no electric energy representation value data in the second preset time period, the time-sharing reference electricity calculation method and the second fitting method are used to obtain the target hourly indication data; the user time-sharing electricity is calculated based on the target hourly indication data and the electric energy representation value data. The indication data within the preset time of the hourly indication data where the indication data is missing is used to fit the target hourly indication data to improve the fitting accuracy; if the indication data is continuously missing, the target hourly indication data is fitted based on the reference electricity, and then the time-sharing electricity is calculated to avoid the situation where the sum of the time-sharing electricity is inconsistent with the total electricity, thereby improving the accuracy of the user time-sharing electricity fitting calculation.
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 analysis, and in particular to a method and device for fitting and calculating user time-sharing power consumption. Background Art

[0002] As the development of the electricity spot market continues to advance, more and more electricity users are entering the market. To achieve hourly electricity metering and billing on the user side, it is necessary to collect time-of-use readings from electricity users. However, due to the large number of electricity users, the high frequency of data collection, and the complex on-site operating environment of metering equipment, data collection failures are inevitable. Currently, missing data are typically fitted using mean fitting methods or fitting methods that consider date attributes based on 24 / 7 readings.

[0003] However, the sum of the user's time-sharing fitted electricity volume fitted by the currently used fitting method is significantly different from the total electricity volume during the missing data period, resulting in a low accuracy of the user's time-sharing electricity volume. Summary of the Invention

[0004] In view of this, the present application provides a method and device for fitting calculation of user time-sharing electricity consumption, which can improve the accuracy of fitting calculation of user time-sharing electricity consumption.

[0005] To solve the above problems, the technical solutions provided by this application are as follows:

[0006] In a first aspect, the present application provides a method for fitting and calculating user time-sharing power consumption, the method comprising:

[0007] Obtaining the electric energy value data for the target time period;

[0008] Determining, based on the electric energy indication value data, whether target hourly indication value data is missing;

[0009] Determine the first preset time period and the second preset time period corresponding to the missing target hourly indication data;

[0010] If electric energy indication value data exists in both the first preset time period and the second preset time period, the target hourly indication value data is obtained by using a first fitting method;

[0011] If there is no electric energy representative value data within the first preset time period, and / or if there is no electric energy representative value data within the second preset time period, then the target hourly representative value data is obtained by using the time-sharing reference power calculation method and the second fitting method;

[0012] The user's time-sharing power consumption is calculated according to the target hourly indication data and the electric energy indication value data.

[0013] In one possible implementation, if electric energy indication value data exists in both the first preset time period and the second preset time period, obtaining the target hourly indication value data using a first fitting method includes:

[0014] Acquire first electric energy representative value data within the first preset time period and second electric energy representative value data within the second preset time period;

[0015] determining a first label coefficient of the first electric energy representative value data and a second label coefficient of the second electric energy representative value data;

[0016] The first fitting method is used to perform fitting calculation on the first electric energy representation value data, the second electric energy representation value data, the first label coefficient, and the second label coefficient to obtain the target hourly point representation value data.

[0017] In one possible implementation, if no electric energy representative value data exists within the first preset time period, and / or no electric energy representative value data exists within the second preset time period, then using a time-sharing reference power calculation method and a second fitting method to obtain the target hourly representative value data includes:

[0018] Determine the third preset time period corresponding to the missing target hourly indication data;

[0019] Acquire third electric energy representation value data and fourth electric energy representation value data within the third preset time period, wherein the third electric energy representation value data is the first hourly representation value data within the third preset time period, and the fourth electric energy representation value data is the last hourly representation value data within the third preset time period;

[0020] Determining a date attribute of the third preset time period;

[0021] Determining a target time-sharing reference power calculation method from the time-sharing reference power calculation method according to the date attribute;

[0022] Determine the time-sharing reference power for each hour in the third preset time period according to the target time-sharing reference power calculation method;

[0023] Calculate the sum of the indication data increment and the time-sharing reference electricity quantity according to the time-sharing reference electricity quantity for each hour;

[0024] The second fitting method is used to perform fitting calculation on the third electric energy representation value data, the fourth electric energy representation value data, the indication data increment and the sum of the time-sharing reference power to obtain the target hourly indication data.

[0025] In one possible implementation, the time-sharing benchmark electricity calculation method includes a method for calculating the time-sharing benchmark electricity using the time-sharing electricity data of the day, a method for calculating the time-sharing benchmark electricity using the time-sharing electricity data of 30 days, and a method for calculating the time-sharing benchmark electricity using the peak, flat, and valley electricity data. Determining the target time-sharing benchmark electricity calculation method from the time-sharing benchmark electricity calculation methods according to the date attribute includes:

[0026] If the date attribute is a working day or a non-working day, determining that the target time-sharing benchmark power calculation method is the method of calculating the time-sharing benchmark power using the time-sharing power data of the day;

[0027] If the target date includes working days and non-working days, and there is 30 days of time-sharing electricity data, then the target time-sharing benchmark electricity calculation method is determined to be the method for calculating the time-sharing benchmark electricity using 30 days of time-sharing electricity data;

[0028] If the target date includes working days and non-working days, but there is no 30-day time-sharing electricity data, the target time-sharing benchmark electricity calculation method is determined to be the method of calculating time-sharing benchmark electricity using peak, flat and valley electricity data.

[0029] In one possible implementation, calculating the user's time-sharing power consumption according to the target hourly indication data and the electric energy indication value data includes:

[0030] Obtaining a comprehensive magnification, where the comprehensive magnification is the amount of electricity corresponding to each change of 1 in the electric energy representation value;

[0031] The user's time-sharing power consumption is calculated according to the comprehensive rate, the target hourly indication data and the electric energy indication value data.

[0032] In one possible implementation, the first preset time period is one hour before the target time at which the missing target hourly indication data is located, and the second preset time period is one hour after the target time at which the missing target hourly indication data is located.

[0033] In a second aspect, the present application provides a user time-sharing power fitting calculation device, the device comprising:

[0034] A first acquisition module is used to obtain the electric energy value data of the target time period;

[0035] A first determining module is configured to determine whether target hourly indication data is missing based on the electric energy indication value data;

[0036] A second determining module is used to determine a first preset time period and a second preset time period corresponding to the missing target hourly indication data;

[0037] a second acquisition module, configured to acquire the target hourly indication data by using a first fitting method if electric energy indication value data exists in both the first preset time period and the second preset time period;

[0038] a third acquisition module, configured to acquire the target hourly indication data by using a time-sharing reference power calculation method and a second fitting method if no electric energy representative value data exists within the first preset time period and / or no electric energy representative value data exists within the second preset time period;

[0039] The calculation module is used to calculate the user's time-sharing electricity consumption according to the target hourly indication data and the electric energy indication value data.

[0040] In one possible implementation, the second acquisition module is specifically configured to:

[0041] Acquire first electric energy representative value data within the first preset time period and second electric energy representative value data within the second preset time period;

[0042] determining a first label coefficient of the first electric energy representative value data and a second label coefficient of the second electric energy representative value data;

[0043] The first fitting method is used to perform fitting calculation on the first electric energy representation value data, the second electric energy representation value data, the first label coefficient, and the second label coefficient to obtain the target hourly point representation value data.

[0044] In one possible implementation, the third acquisition module includes:

[0045] A first determining submodule is used to determine a third preset time period corresponding to the missing target hourly indication data;

[0046] a first acquisition submodule, configured to acquire third electric energy representation value data and fourth electric energy representation value data within the third preset time period, wherein the third electric energy representation value data is the first hourly representation value data within the third preset time period, and the fourth electric energy representation value data is the last hourly representation value data within the third preset time period;

[0047] A second determining submodule, configured to determine a date attribute of the third preset time period;

[0048] A third determining submodule is configured to determine a target time-sharing reference power calculation method from the time-sharing reference power calculation method according to the date attribute;

[0049] A fourth determining submodule is configured to determine the time-sharing reference power quantity for each hour in the third preset time period according to the target time-sharing reference power quantity calculation method;

[0050] A calculation submodule, configured to calculate the sum of the indication data increment and the time-sharing reference electricity quantity according to the time-sharing reference electricity quantity of each hour;

[0051] The second acquisition submodule is used to use the second fitting method to fit the third electric energy representation value data, the fourth electric energy representation value data, the indication data increment and the sum of the time-sharing reference power to obtain the target hourly indication data.

[0052] In one possible implementation, the time-sharing benchmark electricity calculation method includes a method for calculating the time-sharing benchmark electricity using the time-sharing electricity data of the day, a method for calculating the time-sharing benchmark electricity using the time-sharing electricity data of 30 days, and a method for calculating the time-sharing benchmark electricity using the peak, flat and valley electricity data. The third determination submodule is specifically configured to:

[0053] If the date attribute is a working day or a non-working day, determining that the target time-sharing benchmark power calculation method is the method of calculating the time-sharing benchmark power using the time-sharing power data of the day;

[0054] If the target date includes working days and non-working days, and there is 30 days of time-sharing electricity data, then the target time-sharing benchmark electricity calculation method is determined to be the method for calculating the time-sharing benchmark electricity using 30 days of time-sharing electricity data;

[0055] If the target date includes working days and non-working days, but there is no 30-day time-sharing electricity data, the target time-sharing benchmark electricity calculation method is determined to be the method of calculating time-sharing benchmark electricity using peak, flat and valley electricity data.

[0056] In one possible implementation, the calculation module is specifically configured to:

[0057] Obtaining a comprehensive magnification, where the comprehensive magnification is the amount of electricity corresponding to each change of 1 in the electric energy representation value;

[0058] The user's time-sharing power consumption is calculated according to the comprehensive rate, the target hourly indication data and the electric energy indication value data.

[0059] In one possible implementation, the first preset time period is one hour before the target time at which the missing target hourly indication data is located, and the second preset time period is one hour after the target time at which the missing target hourly indication data is located.

[0060] In a third aspect, the present application provides a user time-sharing power fitting calculation device, comprising: a processor, a memory, and a system bus;

[0061] The processor and the memory are connected via the system bus;

[0062] The memory is used to store one or more programs, and the one or more programs include instructions. When the instructions are executed by the processor, the processor executes the user time-sharing power fitting calculation method described in the first aspect above.

[0063] In a fourth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a device, the device executes the user time-sharing power fitting calculation method described in the first aspect above.

[0064] It can be seen that this application has the following beneficial effects:

[0065] The present application provides a fitting calculation method for user time-sharing electricity consumption, which includes obtaining electric energy representation value data for a target time period; determining whether target hourly indication value data is missing based on the electric energy representation value data; determining a first preset time period and a second preset time period corresponding to the missing target hourly indication value data; if electric energy representation value data exists in both the first preset time period and the second preset time period, adopting a first fitting method to obtain the target hourly indication value data; if electric energy representation value data does not exist in the first preset time period and / or if electric energy representation value data does not exist in the second preset time period, adopting a time-sharing reference electricity consumption calculation method and a second fitting method to obtain the target hourly indication value data; and calculating the user time-sharing electricity consumption based on the target hourly indication value data and the electric energy representation value data. In this way, the indication data within the preset time of the hourly point where the indication data is missing is used to fit the target hourly indication data, thereby improving the integrity of the data and making the target hourly indication data have higher fitting accuracy; when the indication data is missing for a long time, the method of first fitting the hourly indication data and then calculating the time-sharing power is used to fit the time-sharing power, thereby avoiding the situation where the sum of the time-sharing power is inconsistent with the total power, and can improve the accuracy of the user's time-sharing power fitting calculation. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 A flowchart of a method for calculating user time-sharing power consumption provided in an embodiment of the present application;

[0067] Figure 2 A schematic diagram of the structure of a user time-sharing power fitting calculation device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0069] In this application, the terms "comprises," "comprising," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.

[0070] Currently, spot markets across the country primarily settle user-side transactions over a one-hour period, with electricity bills settled based on hourly electricity metering and the corresponding electricity price. To enable time-of-use electricity metering and bill settlement for electricity users in the spot market, power grid companies are required to collect time-of-use readings from spot electricity users. However, due to the large scale of electricity users, the high frequency of data collection, and the complex on-site operating environment of metering equipment, it is inevitable that meter time-of-use readings will fail to be collected. To enable time-of-use electricity calculation for electricity users, it is necessary to perform energy fitting for periods where data collection fails.

[0071] Currently, the time-of-use electricity consumption fitting methods used in various electricity spot markets mainly include mean-fitting and date-based fitting, both of which use 24 / 7 hourly indication data. Using the mean-fitting method requires calculating the total electricity consumption during periods where hourly indication data collection failed, and then using the average electricity consumption during these periods as the electricity consumption for each time-of-use period. For example, if an electricity meter successfully collects indications at 9:00 and 11:00, but fails to collect the indication at 10:00, then the total electricity consumption for the two hours from 9:00 to 11:00 is calculated and divided by 2 to obtain the electricity consumption from 9:00 to 10:00 and from 10:00 to 11:00. However, this method ignores the different electricity consumption habits of electricity users at different times. When all indications at multiple hourly points fail to be collected, fitting the electricity consumption at these multiple hourly points as the same electricity consumption clearly fails to reflect the different electricity consumption habits of electricity users in the morning, afternoon, and evening.

[0072] There are two fitting methods that consider date attributes. The first is when one or two consecutive hourly readings are missing, and fitting is performed based on the average power consumption. The second is when two or more consecutive hourly readings are missing, meaning that the power consumption for multiple consecutive hours cannot be calculated, and fitting is performed based on historical time-of-day power consumption data. The second fitting method specifically determines whether the current date is a weekday, weekend, short holiday, or long holiday, calculates the hourly power consumption average for each hour of the same date type, and uses this hourly power consumption average as the time-of-day benchmark power consumption. The time-of-use benchmark electricity can be directly used as the fitted electricity, or the time-of-use benchmark electricity can be used to apportion the total electricity for the time period where collection failed. For example, on October 10th, which is a working day, the electricity values ​​for 8:00 and 11:00 are successfully collected, but the electricity values ​​for 9:00 and 10:00 are missing. In this case, the total electricity for the three hours from 8:00 to 11:00 can be calculated. Using the calculated time-of-use benchmark electricity for 8-9:00, 9-10:00, and 10-11:00, the total electricity for the three hours from 8:00 to 11:00 can be apportioned according to the time-of-use benchmark electricity ratio to obtain the fitted electricity for 8-9:00, 9-10:00, and 10-11:00. However, electricity users' electricity consumption habits are affected by factors such as economic development and seasonal changes, and historical time-of-use electricity data is of little reference value. Furthermore, when using the time-of-use benchmark electricity as the fitted electricity, the fitted electricity is the average of the historical time-of-use electricity and has nothing to do with the total electricity for the current time period where the indication data is missing. When using the time-of-use benchmark electricity to apportion the total electricity for the time period where the indication data is missing, the electricity generally does not retain decimal places, and the apportionment process involves rounding of decimal places. In both cases, there is a large difference between the sum of the time-of-use fitted electricity and the total electricity for the actual time period where the data is missing. Currently, the electricity spot market is still in its early stages of development. Some regions do not have sufficient historical time-of-use electricity data, and the electricity spot market has not yet achieved continuous operation (i.e., only some dates in a month may conduct electricity spot market transactions). Due to the lack of historical time-of-use electricity data, it is impossible to fit the time-of-use electricity, or the actual method used is to average the total electricity for the time period where the data is missing. This leads to low accuracy in the fitting calculation of user time-of-use electricity.

[0073] Based on this, an embodiment of the present application provides a user time-sharing electricity fitting calculation method, which obtains the electric energy representation value data of the target time period; determines whether there is a missing target hourly indication data based on the electric energy representation value data; determines the first preset time period and the second preset time period corresponding to the missing target hourly indication data; if there is electric energy representation value data in both the first preset time period and the second preset time period, uses the first fitting method to obtain the target hourly indication data; if there is no electric energy representation value data in the first preset time period, and / or if there is no electric energy representation value data in the second preset time period, uses the time-sharing benchmark electricity calculation method and the second fitting method to obtain the target hourly indication data; calculates the user's time-sharing electricity based on the target hourly indication data and the electric energy representation value data. In this way, the indication data within the preset time of the hourly point where the indication data is missing is used to fit the target hourly indication data, thereby improving the integrity of the data and making the target hourly indication data have higher fitting accuracy; when the indication data is missing for a long time, the method of first fitting the hourly indication data and then calculating the time-sharing power is used to fit the time-sharing power, thereby avoiding the situation where the sum of the time-sharing power is inconsistent with the total power, and can improve the accuracy of the user's time-sharing power fitting calculation.

[0074] In order to facilitate understanding of the technical solution provided by the embodiment of the present application, a user time-sharing power fitting calculation method and device provided by the embodiment of the present application are described below with reference to the accompanying drawings.

[0075] First, the relevant terms are explained.

[0076] The electricity spot market refers to a market where time-of-use electricity transactions are conducted. The electricity prices at different times fluctuate with the electricity supply and demand situation at each time period (usually, electricity prices are lower during the early morning hours when electricity consumption is low, and higher during the daytime hours when electricity consumption is peak). Electricity bills are settled based on the electricity consumption and electricity prices at each time period.

[0077] The energy reading refers to the energy meter's reading. The energy reading is monotonically increasing and only increases. The energy consumption between two meter readings is calculated as (current reading - previous reading) × the multiplier. The meter's 96 readings are displayed every 15 minutes. The corresponding times for each of these 96 readings are 0:15, 0:30, 0:45, 1:00, ..., 23:00, 23:15, 23:30, 23:45, and 24:00. The energy consumption for hour i on that day is calculated as (the reading at point i - the reading at point i-1)) × the multiplier. To calculate the energy consumption from 0:00 to 1:00 on that day, the reading at 24:00 on the previous day is also required: Energy consumption for one hour on that day = (the reading at 1:00 on that day - the reading at 24:00 on the previous day) × the multiplier.

[0078] The comprehensive multiplier refers to the amount of electricity corresponding to each change of 1 in the electricity meter's energy reading. For example, when the comprehensive multiplier is 100, each increase of 1 in the electricity meter's energy reading means that the user has used 100 kilowatt-hours of electricity.

[0079] Peak, flat, and valley periods refer to the division of a 24-hour day into peak, flat, and valley periods based on regional electricity demand. The classification criteria vary by region. For example, in one area, 12:00-8:00 is divided into valley periods, 8:00-9:00 into flat periods, 9:00-12:00 into peak periods, 12:00-17:00 into flat periods, 17:00-22:00 into peak periods, 22:00-23:00 into flat periods, and 23:00-24:00 into valley periods. This means that a day has nine valley hours, eight peak hours, and seven flat hours.

[0080] When the energy meter fails to collect hourly indication data, the energy consumption for the entire collection failure period can only be calculated based on the hourly indication data before and after the collection failure period, that is, (the first hourly indication after the collection failure - the first hourly indication before the collection failure) × the comprehensive multiplier. The energy consumption for each hour in the period cannot be calculated. For example, if the energy meter successfully collects indications from 0:00 to 9:00 and successfully collects indications at 11:00 and thereafter, the energy consumption for the two hours from 9:00 to 11:00 can be calculated as (the 11:00 indication - the 9:00 indication) × the comprehensive multiplier. The energy consumption for the two hours from 9:00 to 10:00 and 10:00 to 11:00 cannot be calculated, and energy fitting is required in this case.

[0081] The user time-sharing power fitting calculation method provided in the embodiment of the present application can be applied to a server or a system, and the embodiment of the present application does not limit this. Figure 1 , Figure 1 This is a flow chart of a method for fitting and calculating user time-sharing power consumption provided in an embodiment of the present application. The method specifically includes S101-S106.

[0082] S101: Obtaining electric energy representative value data for a target time period.

[0083] The data is collected from electricity users at 96 points daily, i.e., every 15 minutes. During fitting, the non-instantaneous data can be used to fit the hourly data, which improves fitting efficiency and accuracy. The collected daily time-of-day data and historical electricity consumption data can be used to quickly and accurately fit and complete the time-of-day electricity consumption of electricity users.

[0084] Assuming the electricity spot market operates on D-day, the target time periods are D-1, D-day, and D+1. Obtain the 96-point electricity meter readings for D-1, D-day, and D+1. If the meter readings for D-1 and D-day are present at 24:00 and 24:00 on the hour, there is no need to perform time-of-day energy fitting.

[0085] S102: Determine, based on the electric energy indication value data, whether target hourly indication value data is missing.

[0086] The hourly indication data is obtained from the 96-point electric energy indication value data collected from the power user on day D-1, day D, and day D+1, and whether there are any missing data is determined from the hourly indication data. The missing data can be determined based on the number of hourly indication data or by comparing them point by point. This embodiment of the application is not limited to this method and can be selected based on actual needs.

[0087] If the hourly indication data is missing, the target hourly indication data is determined. For example, if the 10 o'clock indication data on Day D is missing, the 10 o'clock indication data is the target hourly indication data to be fitted.

[0088] S103: Determine the first preset time period and the second preset time period corresponding to the missing target hourly indication data.

[0089] In one possible implementation, the first preset time period is one hour before the target time at which the missing target hourly indication data is located, and the second preset time period is one hour after the target time at which the missing target hourly indication data is located.

[0090] For example, if the indication data at 10 o'clock on D-day is missing, the first preset time period is from 9 o'clock to 10 o'clock on D-day, and the corresponding electric energy indication data are the indication data corresponding to 9 o'clock, 9:15 o'clock, 9:30 o'clock, and 9:45 o'clock; the second preset time period is from 10 o'clock to 11 o'clock on D-day, and the corresponding electric energy indication data are 10:15 o'clock, 10:30 o'clock, 10:45 o'clock, and 11 o'clock.

[0091] S104: If electric energy indication value data exists in both the first preset time period and the second preset time period, a first fitting method is used to obtain the target hourly indication value data.

[0092] For the target hourly point with missing indication (not 24:00 on D-1 day or 24:00 on D day), if there is indication data within one hour before and after, the indication data at the nearest time before and after the hourly point is used to fit the indication of the hourly point.

[0093] In one possible implementation, if electric energy representation value data exists in both the first preset time period and the second preset time period, a first fitting method is used to obtain the target hourly representation value data, including: obtaining the first electric energy representation value data in the first preset time period and the second electric energy representation value data in the second preset time period; determining the first label coefficient of the first electric energy representation value data and the second label coefficient of the second electric energy representation value data; and using the first fitting method to perform fitting calculations on the first electric energy representation value data, the second electric energy representation value data, the first label coefficient, and the second label coefficient to obtain the target hourly representation value data.

[0094] Assuming that the target hour point for missing indication is K, the indication conditions at each time within one hour before and after K are defined according to Table 1 below:

[0095]

[0096]

[0097] Table 1

[0098] Among them, the distance from point K is the label coefficient. The first label coefficient is the distance from point K before point K, and the second label coefficient is the distance from point K after point K.

[0099] Let m be the distance from the time when the indication is before point K to point K, and n be the distance from the time when the indication is after point K to point K. Then the fitting formula for the indication data of point K is:

[0100] K-point fitting indication data = (n×Am+m×Bn) / (m+n) (1)

[0101] Among them, Am is the indication value of the mth point before point K, and Bn is the indication value of the nth point after point K.

[0102] For example, there is no indication data at 10 o'clock on day D, but there is indication data within 1 hour before and after 10 o'clock. Assuming that the first time before 10 o'clock with indication data is 9:30, and the first time after 10 o'clock with indication data is 11 o'clock, then m and n are 2 and 4 respectively; at this time, the first electric energy indication value data is the indication data at 9:30, and the first label coefficient is 2; the second electric energy indication value data is the indication data at 11 o'clock, and the second label coefficient is 4. According to the above formula (1), it can be seen that: 10 o'clock fitting indication data = (4×9:30 indication data + 2×11 o'clock indication data) / (2+4).

[0103] In one possible implementation, if the indication at 24:00 on D-1 is missing or the indication at 24:00 on D is missing, but there is indication data in the hour before and after, then the indication data one hour before and one hour after the target hour are obtained, and the fitting calculation of the same first fitting method as above is performed, which will not be repeated here.

[0104] In the embodiment of the present application, when there are fewer failures in collecting the hourly indication data of the electricity meter, time-sharing electricity consumption fitting is performed considering that the electricity consumption behaviors of electricity users at similar times are similar, that is, the indication data at nearby times are used to fit the missing hourly indication data. Since the electricity consumption habits of users in similar time periods are most similar, the best fitting accuracy can be obtained, and the calculation is simple, which can greatly improve the integrity of the hourly indication data and the time-sharing electricity consumption fitting efficiency.

[0105] S105: If there is no electric energy representation value data within the first preset time period, and / or if there is no electric energy representation value data within the second preset time period, the target hourly representation value data is obtained using the time-sharing reference power calculation method and the second fitting method.

[0106] When the hourly indication is missing (not 24:00 on D-1 day or 24:00 on D day), there is no indication data in the previous hour or the next hour, or there is no hourly data in the previous and next hours, calculate the time-sharing benchmark electricity first, and then fit the target hourly indication data.

[0107] In one possible implementation, if there is no electric energy representation value data within the first preset time period, and / or there is no electric energy representation value data within the second preset time period, the time-sharing reference power calculation method and the second fitting method are used to obtain the target hourly indication data, including: determining a third preset time period corresponding to the missing target hourly indication data; obtaining third electric energy representation value data and fourth electric energy representation value data within the third preset time period, the third electric energy representation value data being the first hourly indication data within the third preset time period, and the fourth electric energy representation value data being the last hourly indication data within the third preset time period. hourly indication data; determining the date attribute of the third preset time period; determining the target time-sharing benchmark electricity calculation method from the time-sharing benchmark electricity calculation method according to the date attribute; determining the time-sharing benchmark electricity for each hour in the third preset time period according to the target time-sharing benchmark electricity calculation method; calculating the indication data increment and the sum of the time-sharing benchmark electricity according to the time-sharing benchmark electricity for each hour; using the second fitting method to perform fitting calculation on the third electric energy indication value data, the fourth electric energy indication value data, the indication data increment and the sum of the time-sharing benchmark electricity to obtain the target hourly indication data.

[0108] When the target hourly indication data is missing, and there is no indication data in the previous hour, and / or there is no indication data in the next hour, the first fitting method cannot be used to fit the target hourly indication data. For example, the indication data at 10 o'clock is missing, and there is no indication data at 9 o'clock, 9:15, 9:30, and 9:45, and / or there is no indication data at 10:15, 10:30, 10:45, and 11 o'clock. In this case, there are always at least two consecutive hourly points and the non-hourly points in between that have missing indication data. The hourly indication data missing time period (the third preset time period) is defined as the first hourly point with an indication before the missing indication hourly point to the first hourly point with an indication after the missing indication hourly point.

[0109] Assume that the first hour with indication data before the target indication data is missing is M o'clock, and the indication data at M o'clock is the third electric energy indication data; the first hour with indication data after the target indication data is missing is N o'clock, and the indication data at N o'clock is the fourth electric energy indication data, then the time period from M o'clock to N o'clock is the third preset time period. The number of missing indications is MN-1, including MN hours. For example, if M and N are 8 o'clock and 12 o'clock respectively, then the missing indications are 9 o'clock, 10 o'clock, and 11 o'clock, including 4 hour periods, namely 8 o'clock to 9 o'clock, 9 o'clock to 10 o'clock, 10 o'clock to 11 o'clock, and 11 o'clock to 12 o'clock.

[0110] In order to fit the MN-1 hourly indications between the time period M and N, it is first necessary to calculate the MN hours of time-sharing benchmark electricity between the time period M and N.

[0111] In one possible implementation, the time-sharing benchmark electricity calculation method includes a method for calculating the time-sharing benchmark electricity using the time-sharing electricity data of the day, a method for calculating the time-sharing benchmark electricity using the time-sharing electricity data of 30 days, and a method for calculating the time-sharing benchmark electricity using the peak, flat, and valley electricity data. The determining of the target time-sharing benchmark electricity calculation method from the time-sharing benchmark electricity calculation method according to the date attribute includes: if the date attribute is a working day or a non-working day, determining the target time-sharing benchmark electricity calculation method as the method for calculating the time-sharing benchmark electricity using the time-sharing electricity data of the day; if the target date includes working days and non-working days, and there is 30 days of time-sharing electricity data, determining the target time-sharing benchmark electricity calculation method as the method for calculating the time-sharing benchmark electricity using the 30 days of time-sharing electricity data; if the target date includes working days and non-working days, but there is no 30 days of time-sharing electricity data, determining the target time-sharing benchmark electricity calculation method as the method for calculating the time-sharing benchmark electricity using the peak, flat, and valley electricity data.

[0112] 1. Calculate the time-of-use benchmark electricity quantity using the time-of-use electricity quantity data of the day

[0113] Determine whether the date attribute is a working day or a non-working day. That is, if all hours in the time period from M to N are working days or non-working days, then use the time-of-day electricity data calculated on D to calculate the time-of-day benchmark electricity for the time period from M to N. There are two possible scenarios: one is that all hours in the time period from M to N fall on D, and the other is that the time period from M to N falls on both D and D-1 (or D+1), but the date attributes (working day, non-working day) of D-1 (or D+1) are the same as those of D.

[0114] Calculate the hourly energy data based on the successfully collected hourly indication data and the hourly indication data obtained by the first fitting method. For example, if 20 hours of energy have been calculated, the remaining 4 hours of time-sharing benchmark energy can be calculated using the 20 hours of energy calculated.

[0115] If the time period between M and N includes a peak hour, and if there are three or more peak hours for which electricity has been calculated for the day, the average of these peak hours is used as the time-of-use benchmark electricity for the peak hours. The time-of-use benchmark electricity is the same for all peak hours between M and N.

[0116] If the time period between M and N contains a flat hour, and if there are three or more flat hours for which electricity has been calculated, the average of these flat hours is used as the time-of-day benchmark electricity for the flat hours. The time-of-day benchmark electricity for all flat hours between M and N is the same.

[0117] If the time period between M and N includes off-peak hours, and if there are three or more off-peak hours for which electricity consumption has been calculated, the average of these off-peak hours will be used as the time-of-use benchmark electricity consumption for the off-peak hours. The time-of-use benchmark electricity consumption for all off-peak hours between M and N is the same.

[0118] If the time period from M to N includes hours with different date attributes (working day, non-working day) from D day, or if there are hours in the time period from M to N for which the time-of-use benchmark electricity consumption cannot be calculated, the time-of-use electricity consumption data for the past 30 days will be used to calculate the time-of-use benchmark electricity consumption.

[0119] 2. Calculate the time-of-use benchmark electricity quantity using the time-of-use electricity quantity data of the past 30 days

[0120] Obtain the time-of-use electricity data for the past 30 days. If the date of the time-of-use electricity data includes both working days and non-working days, distinguish between working days and non-working days to calculate the time-of-use benchmark electricity. For each hour in the time period between point M and point N:

[0121] If the hour is on a working day, the average electricity consumption of the same hour on all working days in the past 30 days is calculated as the time-sharing benchmark electricity consumption for that hour.

[0122] If the hour is a non-working day, the average electricity consumption of the same hour on all non-working days in the past 30 days is calculated as the time-sharing benchmark electricity consumption for that hour.

[0123] If time-of-use electricity consumption data exists only on weekdays or only on non-workdays in the past 30 days, the time-of-use benchmark electricity consumption is calculated without distinguishing between weekdays and non-workdays. For each hour in the time period M-N, the average electricity consumption for all the same hours in the past 30 days is calculated as the time-of-use benchmark electricity consumption for that hour.

[0124] If there is no time-of-use electricity data in the past 30 days, the peak, flat and valley electricity data of the previous month will be used to calculate the time-of-use benchmark electricity.

[0125] 3. Calculate the time-of-use benchmark electricity consumption using the peak, flat and valley electricity consumption data of the previous month

[0126] If the time period between M and N includes a peak hour, calculate the hourly average of the previous month's peak electricity consumption and use it as the time-of-use benchmark electricity for the peak hour. The benchmark electricity for all peak hours between M and N is the same. The hourly average of the previous month's peak electricity consumption = (previous month's peak electricity consumption) / (number of days in the previous month * number of peak hours per day).

[0127] If the time period between M and N includes a flat hour, calculate the hourly average of the previous month's flat hours and use it as the benchmark for the flat hours. The benchmark is the same for all flat hours between M and N. The hourly average of the previous month's flat hours = (last month's flat hours) / (number of days in the previous month * number of flat hours per day).

[0128] If the time period between M and N includes off-peak hours, calculate the hourly average of the previous month's off-peak electricity consumption as the time-of-day benchmark electricity consumption for the off-peak hours. The time-of-day benchmark electricity consumption for all off-peak hours within the time period between M and N is the same. The hourly average of the previous month's off-peak electricity consumption = (off-peak electricity consumption for the previous month) / (number of days in the previous month * number of off-peak hours per day).

[0129] For the period between M and N when the hourly indication data is missing, the indication increment from M to N is P MN , increment P MN The calculation of is shown in formula (2):

[0130] P MN =N point indication value-M point indication value (2)

[0131] According to the calculated time-sharing benchmark electricity for each hour in the time period from M to N, the missing target hourly indication data in the time period from M to N are fitted. The sum of the time-sharing benchmark electricity for each hour in the time period from M to N is Q MN , Q MN The calculation of is shown in formula (3):

[0132] Q MN =(baseline electricity from point M to point M+1) + (baseline electricity from point M+1 to point M+2) +… + (baseline electricity from point N-2 to point N-1) + (baseline electricity from point N-1 to point N) (3)

[0133] According to the following formula, the fitting calculation of the hourly indication value within the time period from M to N is performed in chronological order. When the fitting hourly indication value is greater than or equal to the N hourly indication value, the fitting indication value of the hourly indication value is set as the N hourly indication value. The fitting values ​​of the subsequent hourly indication values ​​with missing indication values ​​are also set as the N hourly indication value. That is, the hourly indication value within the time period from M to N cannot exceed the N hourly indication value.

[0134] M+1 point fitting value = M point value + P MN ×(baseline power from point M to point M+1) / Q MN

[0135] M+2 point fitting value = M+1 point value + P MN ×(baseline power from point M+1 to point M+2) / Q MN

[0136]

[0137] N-1 point fitting value = N-2 point fitting value + P MN ×(reference power from point N-2 to point N-1) / Q MN

[0138] In one possible implementation, there is missing indication data at 24:00 on D-1. If an hour with indication data can be found between 0:00 and 23:00 on D-1, then the time period for missing indication data for the hourly hour is from the last hour with indication data on D-1 to the first hour with indication data on D-day. The time-sharing benchmark electricity calculation method is first used to calculate the time-sharing benchmark electricity within the missing time period, and then the second fitting method is used to fit the hourly indication data within the missing time period.

[0139] If no hourly indication data can be found between 0:00 and 23:00 on D-1, but an hourly indication data without indication can be found within the hour before and after, the first fitting method is first used to fit the hourly indication data, and it is converted into a situation where an hourly indication data can be found between 0:00 and 23:00 on D-1. Then, the time-sharing benchmark electricity calculation method is used to calculate the time-sharing benchmark electricity in the missing time period, and the second fitting method is used to fit the hourly indication data in the missing time period.

[0140] If neither an hour with indication data nor an hour without indication data with indication data within one hour before and after can be found on D-1, the 24:00 indication data on D-1 must be manually supplemented.

[0141] In one possible implementation, there is a missing indication at 24:00 on D-day. If an hour with an indication can be found between 0:00 and 23:00 on D-day, then the time period for which the hourly indication data is missing is from the last hourly indication on D-day to the first hourly indication on D+1 day. The time-sharing benchmark electricity calculation method is first used to calculate the time-sharing benchmark electricity within the missing time period, and then the second fitting method is used to fit the hourly indication data within the missing time period.

[0142] If no hourly indication data can be found between 0:00 and 23:00 on D-day, but an hourly indication data without indication can be found within the hour before and after, the first fitting method is first used to fit the hourly indication data, and it is converted into a situation where an hourly indication data can be found between 0:00 and 23:00 on D-day. Then, the time-sharing benchmark electricity calculation method is used to calculate the time-sharing benchmark electricity in the missing time period, and the second fitting method is used to fit the hourly indication data in the missing time period.

[0143] If neither an hour with indication data nor an hour without indication data with indication data within one hour before and after can be found on D-day, the 24:00 indication data on D-day must be manually supplemented.

[0144] It supports time-sharing electricity fitting when the indication data at 24:00 on the previous day and 24:00 on the current day are missing. It has a high tolerance for the quality of the indication data and can effectively improve the success rate of time-sharing electricity fitting.

[0145] In the embodiment of the present application, the successfully collected time-sharing indication data and historical electricity data of the day are used. When the electric energy indication value fails to be collected for a period of time, the time-sharing electricity is fitted considering that the electricity consumption behavior of the power users is similar when the date attributes (working days, non-working days) and time period attributes (peak, flat, and valley) are the same. According to the missing indication data, the successfully calculated time-sharing electricity, the recent time-sharing electricity, and the peak, flat, and valley electricity of the previous month are used according to priority to calculate the time-sharing benchmark electricity. That is, the electricity consumption habits of the power users on different dates and at different times are taken into account, and the situation where the power users have no historical time-sharing electricity is also taken into account. When the time-sharing electricity data is insufficient, the peak, flat, and valley electricity of the previous month is used for fitting instead of using the mean method. It is proposed that the electricity fitting method under different indication data can achieve the optimal fitting accuracy under different indication data conditions, thereby improving the time-sharing electricity fitting accuracy under insufficient data. The missing target hourly indication data are calculated in sequence, and then the time-sharing electricity is calculated to avoid the situation where the sum of the time-sharing electricity is inconsistent with the total electricity.

[0146] S106: Calculate the user's time-sharing power consumption according to the target hourly indication data and the electric energy indication value data.

[0147] In one possible implementation, the calculation of the user's time-sharing electricity consumption based on the target hourly indication data and the electric energy indication value data includes: obtaining a comprehensive multiplier, where the comprehensive multiplier is the electricity corresponding to each time the electric energy indication value changes by 1 hour; and calculating the user's time-sharing electricity consumption based on the comprehensive multiplier, the target hourly indication data and the electric energy indication value data.

[0148] Based on the successfully collected hourly readings of the electric energy meter and the fitted target hourly readings, the time-of-use electricity consumption of the power user for 24 hours a day is calculated. For the hourly readings of the user from hourly readings k-1 to hourly readings k, the time-of-use electricity consumption Q k-1,k The calculation of is shown in formula (4):

[0149] Q k-1,k =(k point indication value - (k-1 point indication value)) × comprehensive magnification (4)

[0150] The embodiment of the present application first calculates the time-sharing benchmark electricity quantity, then fits the hourly indication of the electricity meter, and finally calculates the time-sharing electricity quantity, thereby achieving rapid and accurate fitting and completion of the time-sharing electricity quantity of the electricity user, and meeting the time-sharing electricity quantity metering and electricity fee settlement needs of the electricity spot market.

[0151] Based on the contents of steps S101-S106, it can be seen that the electric energy representation value data of the target time period is obtained; based on the electric energy representation value data, it is determined whether the target hourly indication data is missing; the first preset time period and the second preset time period corresponding to the missing target hourly indication data are determined; if the electric energy representation value data exists in both the first preset time period and the second preset time period, the first fitting method is used to obtain the target hourly indication data; if the electric energy representation value data does not exist in the first preset time period, and / or the electric energy representation value data does not exist in the second preset time period, the time-sharing benchmark power calculation method and the second fitting method are used to obtain the target hourly indication data; the user's time-sharing power is calculated based on the target hourly indication data and the electric energy representation value data. In this way, the indication data within the preset time of the hourly point where the indication data is missing is used to fit the target hourly indication data, thereby improving the integrity of the data and making the target hourly indication data have higher fitting accuracy; when the indication data is missing for a long time, the method of first fitting the hourly indication data and then calculating the time-sharing power is used to fit the time-sharing power, thereby avoiding the situation where the sum of the time-sharing power is inconsistent with the total power, and can improve the accuracy of the user's time-sharing power fitting calculation.

[0152] The above embodiment of the present application provides a user time-sharing power fitting calculation method based on the above. Next, a user time-sharing power fitting calculation device also provided in the embodiment of the present application is described. The device performs the above Figure 1 The method shown in FIG. 1 is used to describe the function of the user time-sharing power fitting calculation device. The structural diagram of the user time-sharing power fitting calculation device is shown in FIG. Figure 2 As shown, it includes a first acquisition module 201 , a first determination module 202 , a second determination module 203 , a second acquisition module 204 , a third acquisition module 205 and a calculation module 206 .

[0153] The first acquisition module 201 is used to obtain the electric energy value data of the target time period;

[0154] A first determining module 202 is configured to determine whether target hourly value data is missing based on the electric energy value data;

[0155] The second determining module 203 is configured to determine a first preset time period and a second preset time period corresponding to the missing target hourly indication data;

[0156] A second acquisition module 204 is configured to acquire the target hourly indication data using a first fitting method if electric energy indication value data exists in both the first preset time period and the second preset time period;

[0157] The third acquisition module 205 is configured to acquire the target hourly indication data by using the time-sharing reference power calculation method and the second fitting method if no electric energy representative value data exists within the first preset time period and / or no electric energy representative value data exists within the second preset time period;

[0158] The calculation module 206 is configured to calculate the user's time-sharing electricity consumption according to the target hourly indication data and the electric energy indication value data.

[0159] In a possible implementation, the second obtaining module 204 is specifically configured to:

[0160] Acquire first electric energy representative value data within the first preset time period and second electric energy representative value data within the second preset time period;

[0161] determining a first label coefficient of the first electric energy representative value data and a second label coefficient of the second electric energy representative value data;

[0162] The first fitting method is used to perform fitting calculation on the first electric energy representation value data, the second electric energy representation value data, the first label coefficient, and the second label coefficient to obtain the target hourly point representation value data.

[0163] In one possible implementation, the third obtaining module 205 includes:

[0164] A first determining submodule is used to determine a third preset time period corresponding to the missing target hourly indication data;

[0165] a first acquisition submodule, configured to acquire third electric energy representation value data and fourth electric energy representation value data within the third preset time period, wherein the third electric energy representation value data is the first hourly representation value data within the third preset time period, and the fourth electric energy representation value data is the last hourly representation value data within the third preset time period;

[0166] A second determining submodule, configured to determine a date attribute of the third preset time period;

[0167] A third determining submodule is configured to determine a target time-sharing reference power calculation method from the time-sharing reference power calculation method according to the date attribute;

[0168] A fourth determining submodule is configured to determine the time-sharing reference power quantity for each hour in the third preset time period according to the target time-sharing reference power quantity calculation method;

[0169] A calculation submodule, configured to calculate the sum of the indication data increment and the time-sharing reference electricity quantity according to the time-sharing reference electricity quantity of each hour;

[0170] The second acquisition submodule is used to use the second fitting method to fit the third electric energy representation value data, the fourth electric energy representation value data, the indication data increment and the sum of the time-sharing reference power to obtain the target hourly indication data.

[0171] In one possible implementation, the time-sharing benchmark electricity calculation method includes a method for calculating the time-sharing benchmark electricity using the time-sharing electricity data of the day, a method for calculating the time-sharing benchmark electricity using the time-sharing electricity data of 30 days, and a method for calculating the time-sharing benchmark electricity using the peak, flat and valley electricity data. The third determination submodule is specifically configured to:

[0172] If the date attribute is a working day or a non-working day, determining that the target time-sharing benchmark power calculation method is the method of calculating the time-sharing benchmark power using the time-sharing power data of the day;

[0173] If the target date includes working days and non-working days, and there is 30 days of time-sharing electricity data, then the target time-sharing benchmark electricity calculation method is determined to be the method for calculating the time-sharing benchmark electricity using 30 days of time-sharing electricity data;

[0174] If the target date includes working days and non-working days, but there is no 30-day time-sharing electricity data, the target time-sharing benchmark electricity calculation method is determined to be the method of calculating time-sharing benchmark electricity using peak, flat and valley electricity data.

[0175] In one possible implementation, the calculation module 206 is specifically configured to:

[0176] Obtaining a comprehensive magnification, where the comprehensive magnification is the amount of electricity corresponding to each change of 1 in the electric energy representation value;

[0177] The user's time-sharing power consumption is calculated according to the comprehensive rate, the target hourly indication data and the electric energy indication value data.

[0178] In one possible implementation, the first preset time period is one hour before the target time at which the missing target hourly indication data is located, and the second preset time period is one hour after the target time at which the missing target hourly indication data is located.

[0179] The embodiment of the present application provides a user time-sharing electricity fitting calculation device, which includes a first acquisition module, a first determination module, a second determination module, a second acquisition module, a third acquisition module and a calculation module. The first acquisition module is used to acquire the electric energy representation value data of the target time period; the first determination module is used to determine whether the target hourly indication value data is missing based on the electric energy representation value data; the second determination module is used to determine the first preset time period and the second preset time period corresponding to the missing target hourly indication value data; the second acquisition module is used to use the first fitting method to acquire the target hourly indication value data if the electric energy representation value data exists in both the first preset time period and the second preset time period; the third acquisition module is used to use the time-sharing reference electricity calculation method and the second fitting method to acquire the target hourly indication value data if the electric energy representation value data does not exist in the first preset time period and / or the electric energy representation value data does not exist in the second preset time period; the calculation module is used to calculate the user's time-sharing electricity based on the target hourly indication value data and the electric energy representation value data. In this way, the indication data within the preset time of the hourly point where the indication data is missing is used to fit the target hourly indication data, thereby improving the integrity of the data and making the target hourly indication data have higher fitting accuracy; when the indication data is missing for a long time, the method of first fitting the hourly indication data and then calculating the time-sharing power is used to fit the time-sharing power, thereby avoiding the situation where the sum of the time-sharing power is inconsistent with the total power, and can improve the accuracy of the user's time-sharing power fitting calculation.

[0180] Based on the user time-sharing power fitting calculation method provided by the above method embodiment, the embodiment of the present application provides a user time-sharing power fitting calculation device, including: a processor, a memory, and a system bus;

[0181] The processor and the memory are connected via the system bus;

[0182] The memory is used to store one or more programs, and the one or more programs include instructions. When the instructions are executed by the processor, the processor executes the user time-sharing power fitting calculation method described in any one of the above embodiments.

[0183] Based on the user time-sharing electricity fitting calculation method provided in the above method embodiment, an embodiment of the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a device, the device executes the user time-sharing electricity fitting calculation method described in any of the above embodiments.

[0184] Each embodiment in this specification is described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple. For relevant parts, refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without expending creative work.

[0185] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0186] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A fitting calculation method for user time-sharing power consumption, characterized in that: The method comprises: Obtaining the electric energy value data for the target time period; Determining, based on the electric energy indication value data, whether target hourly indication value data is missing; Determine the first preset time period and the second preset time period corresponding to the missing target hourly indication data; If electric energy indication value data exists in both the first preset time period and the second preset time period, the target hourly indication value data is obtained by using a first fitting method; If there is no electric energy representative value data within the first preset time period, and / or if there is no electric energy representative value data within the second preset time period, then the target hourly representative value data is obtained by using the time-sharing reference power calculation method and the second fitting method; Calculating the user's time-sharing power consumption according to the target hourly indication data and the electric energy indication value data; If the electric energy representative value data does not exist within the first preset time period, and / or the electric energy representative value data does not exist within the second preset time period, the target hourly indication data is obtained by using the time-sharing reference power calculation method and the second fitting method, including: Determine the third preset time period corresponding to the missing target hourly indication data; Acquire third electric energy representation value data and fourth electric energy representation value data within the third preset time period, wherein the third electric energy representation value data is the first hourly representation value data within the third preset time period, and the fourth electric energy representation value data is the last hourly representation value data within the third preset time period; Determining a date attribute of the third preset time period; Determining a target time-sharing reference power calculation method from the time-sharing reference power calculation method according to the date attribute; Determine the time-sharing reference power for each hour in the third preset time period according to the target time-sharing reference power calculation method; Calculate the sum of the indication data increment and the time-sharing reference electricity quantity according to the time-sharing reference electricity quantity for each hour; The second fitting method is used to perform fitting calculation on the third electric energy representation value data, the fourth electric energy representation value data, the indication data increment and the sum of the time-sharing reference power to obtain the target hourly indication data.

2. The method according to claim 1, characterized in that If the electric energy indication value data exists in both the first preset time period and the second preset time period, the target hourly indication value data is obtained by using a first fitting method, including: Acquire first electric energy representative value data within the first preset time period and second electric energy representative value data within the second preset time period; determining a first label coefficient of the first electric energy representative value data and a second label coefficient of the second electric energy representative value data; The first fitting method is used to perform fitting calculation on the first electric energy representation value data, the second electric energy representation value data, the first label coefficient, and the second label coefficient to obtain the target hourly point representation value data.

3. The method according to claim 1, characterized in that The time-sharing benchmark electricity calculation method includes a method for calculating the time-sharing benchmark electricity using the time-sharing electricity data of the day, a method for calculating the time-sharing benchmark electricity using the time-sharing electricity data of 30 days, and a method for calculating the time-sharing benchmark electricity using the peak, flat and valley electricity data. The method of determining the target time-sharing benchmark electricity calculation method from the time-sharing benchmark electricity calculation method according to the date attribute includes: If the date attribute is a working day or a non-working day, determining that the target time-sharing benchmark power calculation method is the method of calculating the time-sharing benchmark power using the time-sharing power data of the day; If the date attribute includes working days and non-working days, and there is 30 days of time-sharing electricity data, then determining that the target time-sharing benchmark electricity calculation method is the method for calculating the time-sharing benchmark electricity using 30 days of time-sharing electricity data; If the date attributes include working days and non-working days, but there is no 30-day time-sharing electricity data, the target time-sharing benchmark electricity calculation method is determined to be the method for calculating time-sharing benchmark electricity using peak, flat and valley electricity data.

4. The method according to claim 1, wherein The calculating of the user's time-sharing power consumption according to the target hourly indication data and the electric energy indication value data includes: Obtaining a comprehensive magnification, where the comprehensive magnification is the amount of electricity corresponding to each change of 1 in the electric energy representation value; The user's time-sharing power consumption is calculated according to the comprehensive rate, the target hourly indication data and the electric energy indication value data.

5. The method according to claim 1, wherein The first preset time period is one hour before the target time at which the missing target hourly indication data is located, and the second preset time period is one hour after the target time at which the missing target hourly indication data is located.

6. A user time-sharing power fitting calculation device, characterized in that: The device comprises: A first acquisition module is used to obtain the electric energy value data of the target time period; A first determining module is configured to determine whether target hourly indication data is missing based on the electric energy indication value data; A second determining module is used to determine a first preset time period and a second preset time period corresponding to the missing target hourly indication data; a second acquisition module, configured to acquire the target hourly indication data by using a first fitting method if electric energy indication value data exists in both the first preset time period and the second preset time period; a third acquisition module, configured to acquire the target hourly indication data by using a time-sharing reference power calculation method and a second fitting method if no electric energy representative value data exists within the first preset time period and / or no electric energy representative value data exists within the second preset time period; A calculation module, configured to calculate the user's time-sharing power consumption according to the target hourly indication data and the electric energy indication value data; The third acquisition module includes: A first determining submodule is used to determine a third preset time period corresponding to the missing target hourly indication data; a first acquisition submodule, configured to acquire third electric energy representation value data and fourth electric energy representation value data within the third preset time period, wherein the third electric energy representation value data is the first hourly representation value data within the third preset time period, and the fourth electric energy representation value data is the last hourly representation value data within the third preset time period; A second determining submodule, configured to determine a date attribute of the third preset time period; A third determining submodule is configured to determine a target time-sharing reference power calculation method from the time-sharing reference power calculation method according to the date attribute; A fourth determining submodule is configured to determine the time-sharing reference power quantity for each hour in the third preset time period according to the target time-sharing reference power quantity calculation method; A calculation submodule, configured to calculate the sum of the indication data increment and the time-sharing reference electricity quantity according to the time-sharing reference electricity quantity of each hour; The second acquisition submodule is used to use the second fitting method to fit the third electric energy representation value data, the fourth electric energy representation value data, the indication data increment and the sum of the time-sharing reference power to obtain the target hourly indication data.

7. The device according to claim 6, characterized in that The second acquisition module is specifically used for: Acquire first electric energy representative value data within the first preset time period and second electric energy representative value data within the second preset time period; determining a first label coefficient of the first electric energy representative value data and a second label coefficient of the second electric energy representative value data; The first fitting method is used to perform fitting calculation on the first electric energy representation value data, the second electric energy representation value data, the first label coefficient, and the second label coefficient to obtain the target hourly point representation value data.

8. The device according to claim 6, characterized in that The time-sharing benchmark electricity calculation method includes a method for calculating the time-sharing benchmark electricity using the time-sharing electricity data of the day, a method for calculating the time-sharing benchmark electricity using the time-sharing electricity data of 30 days, and a method for calculating the time-sharing benchmark electricity using the peak, flat and valley electricity data. The third determination submodule is specifically used to: If the date attribute is a working day or a non-working day, determining that the target time-sharing benchmark power calculation method is the method of calculating the time-sharing benchmark power using the time-sharing power data of the day; If the date attribute includes working days and non-working days, and there is 30 days of time-sharing electricity data, then determining that the target time-sharing benchmark electricity calculation method is the method for calculating the time-sharing benchmark electricity using 30 days of time-sharing electricity data; If the date attributes include working days and non-working days, but there is no 30-day time-sharing electricity data, the target time-sharing benchmark electricity calculation method is determined to be the method for calculating time-sharing benchmark electricity using peak, flat and valley electricity data.

Citation Information

Patent Citations

  • Time-sharing missing meter code fitting method for electric meter of metering automation system

    CN111177651A