Power transformation and distribution system equipment data acquisition method and device

By screening similar historical parent time periods and adjusting the sampling frequency, and updating the predicted value based on actual electricity consumption, the problem of inaccurate electricity usage prediction in the existing power data acquisition methods is solved, and the accuracy of power distribution and data acquisition efficiency are improved.

CN118920707AActive Publication Date: 2024-11-08JIANGSU SHANGRONG ELECTRIC TECH CO LTD

Patent Information

Application Number
CN202411407885.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2024-11-08
Estimated Expiration
2044-10-10

AI Technical Summary

Technical Problem

The existing power data acquisition methods use a single frequency to predict, and the power consumption cannot be accurately estimated, resulting in inaccurate power distribution.

Method used

By obtaining the electricity consumption data of multiple electricity units, dividing them into historical time periods and time periods to be predicted, filtering similar historical parent time periods, combining the electricity consumption of similar electricity units to predict, and based on the actual electricity consumption, Update the prediction value and adjust the sampling frequency to improve prediction accuracy.

Benefits of technology

It improves the accuracy of electricity consumption prediction, reduces data acquisition and transmission pressure, and is suitable for the upgrading and transformation of old substation distribution systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118920707A_ABST
    Figure CN118920707A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, in particular to a power transformation and distribution system equipment data acquisition method and device, and the method comprises the steps: screening a similar historical mother time period of a mother time period of a to-be-predicted time period, a similar power utilization unit and a corresponding similarity degree, and obtaining the predicted power consumption of the to-be-predicted time period, the method comprises the following steps: acquiring actual electricity consumption, updating predicted electricity consumption according to the actual electricity consumption, adjusting a sampling frequency in combination with an electricity consumption similarity condition of a similar historical mother time period, and allocating electric power resources according to the adjusted sampling frequency of each electricity consumption unit and the updated predicted electricity consumption of the time period to be predicted. According to the method, the initial prediction curve is obtained by analyzing the historical electricity utilization habit, the initial prediction curve is compared with the actual electricity utilization habit, the prediction result is updated, prediction is more accurate, and tighter data acquisition intervals are performed during subsequent data acquisition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a method and device for collecting data of equipment in a power transformation and distribution system. Background Art

[0002] Electric energy is widely used as a convenient, clean and efficient energy source. The power system needs to distribute power resources according to the user's power consumption. By allocating the power system's resources, the waste of power resources can be avoided while improving the user's power consumption experience. It is possible to collect daily power data, perform predictive analysis on the acquired data, and dispatch power based on the predicted power usage. Power consumption forecasting involves the issue of forecast accuracy, and inaccurate forecasts will also have an erroneous impact on power distribution.

[0003] At present, when collecting power data, a single frequency is often used, and then prediction is made directly based on historical data. Due to the complexity of power consumption, the power consumption data of power users at different times are different, and the power load fluctuates greatly (uncertainty of commercial activities and rapid changes in power load), so using a single frequency to use historical data as prediction data has poor accuracy and cannot accurately estimate future power consumption. Summary of the invention

[0004] The present invention provides a data collection method and device for power transformation and distribution system equipment to solve the existing problems.

[0005] A data collection method and device for power distribution system equipment of the present invention adopts the following technical solutions: An embodiment of the present invention provides a method for collecting data of power distribution system equipment, the method comprising the following steps: Obtaining power consumption data of several power consumption units of any power transformation and distribution system, wherein the power consumption data includes several sampling times and corresponding power consumption; The electricity consumption data of any electricity user unit is divided into several time periods, wherein the time periods include several historical time periods and one time period to be predicted, and any time period and several time periods before the time period constitute the parent time period of the time period; According to the difference in electricity consumption between the time period to be predicted and the parent time period of any historical time period, similar historical parent time periods of the parent time period of the time period to be predicted are selected; Based on the similarity between any power consumption unit and other power consumption units regarding similar historical parent time periods, obtain similar power consumption units of any power consumption unit regarding any similar historical parent time period, and the degree of similarity between the power consumption unit and any similar power consumption unit regarding any corresponding similar historical parent time period; based on the degree of similarity between similar power consumption units regarding any corresponding similar historical parent time period, and in combination with the power consumption of similar historical parent time periods, make a prediction to obtain the predicted power consumption of the time period to be predicted; According to the difference between the predicted power consumption in the time period to be predicted and the actual power consumption at the time of sampling, the predicted power consumption in the time period to be predicted is updated; the sampling frequency is adjusted in combination with the similar power consumption in similar historical time periods to obtain the adjusted sampling frequency; Electric power resources are allocated according to the adjusted sampling frequency of each electricity consuming unit and the updated predicted power consumption in the time period to be predicted.

[0006] Furthermore, the method of selecting similar historical parent time periods of the parent time period of the time period to be predicted according to the power consumption difference of the corresponding time period between the time period to be predicted and the parent time period of any historical time period includes the following specific methods: Obtain the electricity consumption fluctuation curve for any historical time period; Performing first-order difference processing on the electricity consumption fluctuation curve of any historical time period to obtain the first-order difference curve of the historical time period; Get the similarity of electricity consumption between any two historical time periods; Calculate the mean of the power consumption similarity of each corresponding time period between the parent time period of the time period to be predicted and the parent time period of all historical time periods, and record the parent time period of the historical time period whose mean of the power consumption similarity of each corresponding time period is greater than the preset first parameter as the similar historical parent time period of the parent time period of the time period to be predicted.

[0007] Furthermore, the electricity consumption fluctuation curve of any historical time period includes the following specific methods: For any historical period, A coordinate system is established with sampling time as the origin, sampling time as the horizontal axis, and power consumption as the vertical axis; a number of data points of the historical time period are obtained, wherein the data points include the sampling time and the corresponding power consumption, and the data points are fitted into a curve through spline interpolation, which is recorded as the power consumption fluctuation curve of the historical time period.

[0008] Furthermore, the specific method for obtaining the similarity of electricity consumption between any two historical time periods is as follows: For the first-order difference curves of any two historical time periods, the dynamic time warping algorithm is used with Euclidean distance as the distance measurement method to obtain the corresponding matching points of the two historical time periods, which are recorded as the DTW matching pairs of the first-order difference curves of the two historical time periods; in, Indicates the similarity of electricity consumption between any two historical time periods; Represents the number of DTW matching pairs of first-order difference curves between any two historical time periods; The first order difference curve of any two historical time periods The distance between DTW matching pairs; Represents an exponential function with a natural constant as its base.

[0009] Further, the method of obtaining similar power consumption units of any power consumption unit for any similar historical parent time period and the degree of similarity between the power consumption unit and any similar power consumption unit for any corresponding similar historical parent time period according to similar situations between any power consumption unit and other power consumption units for similar historical parent time period includes the following specific methods: For any similar historical parent time period of the parent time period of the time period to be predicted of any electricity consumption unit, obtain the electricity consumption units that have the same similar historical parent time period among all electricity consumption units, and record them as similar electricity consumption units of the electricity consumption unit with respect to the similar historical parent time period; calculate the average of the degree of electricity consumption similarity between any similar electricity consumption unit and each corresponding time period of the similar historical parent time period of the electricity consumption unit, and record them as the degree of similarity between the electricity consumption unit and any similar electricity consumption unit with respect to any corresponding similar historical parent time period.

[0010] Furthermore, the method of performing prediction based on the similarity of similar power consumption units with respect to any corresponding similar historical parent time period and combining the power consumption of similar historical parent time period to obtain the predicted power consumption of the time period to be predicted includes the following specific methods: Obtain the reference weight of the electricity consumption forecast value of any similar historical parent time period to the forecast time period; The forecast period The method for obtaining the predicted power consumption at a sampling time is: in, Indicates the number of similar historical parent time periods of the parent time period of the time period to be predicted. Indicates The reference weight of the electricity consumption forecast value of the forecast time period for similar historical time periods is Indicates The time period corresponding to the time period to be predicted in the similar historical parent time periods The power consumption during the sampling period; The predicted power consumption at each sampling time in the time period to be predicted is obtained to form the predicted power consumption data for the time period to be predicted.

[0011] Furthermore, the specific method for obtaining the reference weight of the power consumption forecast value of any similar historical parent time period to the forecast time period is: in, Indicates The reference weight of the electricity consumption forecast value of the forecast time period for the similar historical parent time period; Indicates the parent time period of the time period to be predicted and the The average value of the similarity of electricity consumption in each corresponding time period of similar historical parent time periods; Indicates the electricity consumption unit and the Similar electricity users The similarity between similar historical time periods, Indicates the number of similar electricity users to the electricity user in the time period to be predicted.

[0012] Furthermore, the specific method for updating the predicted power consumption of the time period to be predicted according to the difference between the predicted power consumption of the time period to be predicted and the actual power consumption at the time of collection is: The actual power consumption at the collected time is subtracted from the predicted power consumption at the corresponding time, and the absolute value is taken, and then normalized to obtain the difference between the actual power consumption at the collected time and the predicted power consumption at the corresponding time. When the difference is greater than the preset second parameter, the actual power consumption at the collected time is incorporated into the historical time period according to the method for obtaining the predicted power consumption for the time period to be predicted, and the predicted power consumption for the time period to be predicted is re-obtained.

[0013] Furthermore, the sampling frequency is adjusted based on the electricity consumption of similar historical time periods to obtain the adjusted sampling frequency, including the following specific methods: Select the most similar historical parent time period to the time period to be predicted Similar historical time periods; Said is the default value; in, Indicates the degree of adjustment of the sampling frequency, Indicates the difference between the actual power consumption at the latest sampling time and the predicted power consumption at the corresponding sampling time; Indicates the number of similar historical parent time periods with the greatest similarity. The one with the greatest similarity The average value of the similarity of electricity consumption in each corresponding time period of the parent time period of the similar historical parent time period and the parent time period of the time period to be predicted; represents an exponential function with a natural constant as base; Multiply the sampling frequency by , and get the adjusted sampling frequency.

[0014] A data collection device for equipment in a power transformation and distribution system comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the processor implements any one of the steps of a data collection method for equipment in a power transformation and distribution system.

[0015] The beneficial effect of the technical solution of the present invention is that by analyzing the historical electricity usage habits, the electricity usage in the current stage can be predicted to a certain extent, and the weighted average of the daily historical electricity consumption fluctuation curves obtained can be calculated to obtain the initial prediction curve. When using the prediction data, the weighted similar historical data collection can be recalculated according to the difference between the currently collected data and the predicted data, and the data of the time period already obtained on the current day, so that the prediction results obtained are more accurate when the data increases with time. At the same time, the special situation of electricity consumption obtained in the current stage can also be analyzed through the prediction deviation, and a more rigorous data collection interval is required for subsequent data collection. The technical solution provided by the present invention requires less data to be collected, and the equipment pressure brought by data transmission, storage, and calculation is relatively small. There is no need to configure a large number of smart meters and high-end servers, which is particularly suitable for upgrading and transformation of old power transformation and distribution systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 The present invention is a flowchart of the steps of a method for collecting data of power distribution system equipment. DETAILED DESCRIPTION

[0018] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of a data acquisition method and device for power distribution system equipment proposed by the present invention, its specific implementation method, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0019] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0020] The specific scheme of a data collection method and device for power distribution system equipment provided by the present invention is described in detail below with reference to the accompanying drawings.

[0021] See also Figure 1 , which shows a flow chart of a method for collecting data of a power distribution system device provided by an embodiment of the present invention, the method comprising the following steps: Step S001: Obtain power consumption data of several power consumption units of any power transformation and distribution system.

[0022] It should be noted that this embodiment takes any commercial center as an example, and the commercial center includes several electricity-consuming units of different types or sizes, such as shopping malls and office buildings.

[0023] Specifically, in order to implement the data collection method for power distribution system equipment proposed in this embodiment, it is first necessary to collect power consumption data of the power distribution system. The specific process is as follows: In this embodiment, the power system distributes power through a low-voltage distribution device, and power sensors can be used to obtain power consumption data.

[0024] The power sensor is connected to the bus of the low-voltage area and the sub-lines of several power-consuming units, and the power consumption data of the power sensor is sampled at a preset sampling frequency to obtain the power consumption data of each power-consuming unit, wherein the power consumption data includes several sampling times and corresponding power consumption.

[0025] The electricity consumption data of any electricity consuming unit is divided into several time periods, wherein the time periods include several historical time periods and one time period to be predicted, and any time period and several time periods before the time period constitute a parent time period of the time period.

[0026] It should be noted that although the higher the sampling frequency, the higher the accuracy, the amount of data calculation will increase exponentially. Considering the sampling accuracy and data calculation amount, the optimal preset sampling frequency is 10 minutes / time, but it can also be adjusted according to actual conditions. This embodiment does not make any specific limitations.

[0027] It should be noted that, because the electricity consumption of different electricity users varies periodically, the optimal solution for civil power distribution is to set the time period to one day, that is, 24 hours, and set the parent time period to one week, that is, 7 days, but it can also be adjusted according to actual conditions, and this embodiment does not specifically limit it. For example, for an industrial park, the time period can be set to one week, that is, 7 days; and the parent time period can be set to one year, that is, 365 days.

[0028] So far, the power consumption data of several power consumption units in any power transformation and distribution system are obtained through the above method.

[0029] Step S002: based on the power consumption difference between the time period to be predicted and the parent time period of any historical time period, similar historical parent time periods of the parent time period of the time period to be predicted are selected.

[0030] It should be noted that when dispatching power resources, it is necessary to analyze the power demand of each power user, adjust the resource dispatch, obtain the power demand of each power user according to the power user's historical power consumption habits, and predict the historical power consumption data of the stage that has not yet occurred through historical data. The predicted value can be used as the power demand of each power user. At the same time, it can also be judged based on the prediction results that when there is a large difference between the currently collected power data and the predicted value, it means that there may be a large change in power demand, which can be used to adjust the data collection situation and monitor it closely.

[0031] It should be noted that when calculating the predicted data through the acquired historical data, it is possible to analyze whether there is similar data in the history through the data close to the current stage, and take a joint weighted average of the acquired similar historical data and the data acquired within a period of time to determine the initial predicted power consumption, and determine whether to adjust the model based on the judgment of the actual collected data and the predicted data, and recalculate the similar historical data through the data already collected in the current stage.

[0032] First, obtain the electricity consumption fluctuation curve of any historical time period.

[0033] It should be noted that the electricity consumption of commercial centers has certain periodic distribution characteristics. By analyzing historical electricity consumption habits, the current stage of electricity usage can be predicted to a certain extent. The electricity demand of commercial centers is similar under normal business conditions. For example, the mall is open from 10 am to 11 pm, and its maximum electricity demand is during this period. At the same time, due to the existence of working days and holidays, electricity consumption has cycles.

[0034] For any historical period, A coordinate system is established with sampling time as the origin, sampling time as the horizontal axis, and power consumption as the vertical axis; a number of data points of the historical time period are obtained, wherein the data points include the sampling time and the corresponding power consumption, and the data points are fitted into a curve through spline interpolation, which is recorded as the power consumption fluctuation curve of the historical time period.

[0035] It should be noted that spline interpolation is an existing mathematical method for generating a smooth curve through a series of data points, so it is not described in detail in this embodiment.

[0036] Secondly, the first-order difference processing is performed on the electricity consumption fluctuation curve of any historical time period to obtain the first-order difference curve of the historical time period.

[0037] It should be noted that the electricity consumption data of shopping malls has a strong seasonal trend, and differential processing can reduce the impact of seasonality.

[0038] It should be noted that the first-order difference is an existing calculation method, so it is not described in detail in this embodiment.

[0039] Then, the similarity of electricity consumption between any two historical time periods is obtained.

[0040] It should be noted that when obtaining the forecast data for the time period to be predicted, since the time period to be predicted has not yet generated electricity consumption data, it is impossible to compare the similarity between the known data and historical data for the time period to be predicted, and it is impossible to determine similar historical data to obtain the forecast data. However, due to the existence of periodicity, other time periods within the parent time period of the time period to be predicted can be compared with historical time periods to obtain the similarity between other time periods within the parent time period of the time period to be predicted and any historical time period, thereby obtaining similar historical time periods of other time periods within the parent time period of the time period to be predicted.

[0041] In one embodiment of the present application, a method for obtaining the similarity of electricity consumption between any two historical time periods is as follows: For the first-order difference curves of any two historical time periods, the dynamic time warping algorithm is used with Euclidean distance as the distance measurement method to obtain the corresponding matching points of the two historical time periods, which are recorded as the DTW matching pairs of the first-order difference curves of the two historical time periods; in, Indicates the similarity of electricity consumption between any two historical time periods; Represents the number of DTW matching pairs of first-order difference curves between any two historical time periods; The first order difference curve of any two historical time periods The distance between DTW matching pairs; Represents an exponential function with a natural constant as its base.

[0042] It should be noted that the Euclidean distance is an existing way of expressing the distance between two points, and the dynamic time warping algorithm is an existing method for calculating the distance between two time series, so it is not described in detail in this embodiment.

[0043] It should be noted that The mean distance between each DTW matching pair of the first-order difference curves of any two historical time periods represents the overall difference in electricity consumption data between the two historical time periods, which is inversely proportional to the similarity of electricity consumption between the two historical time periods.

[0044] In another embodiment of the present application, the sampling frequency is 10 minutes / time, the time period is 24 hours, the main time period is one week, and 1007 data points need to be collected in one main time period for each power consumer unit; the calculation of one main time period including 1000 power consumers only needs to process 1.007 million data, and the data calculation work can be completed using an ordinary PC.

[0045] Finally, the mean of the similarity of electricity consumption between the parent time period of the time period to be predicted and the parent time period of all historical time periods is calculated, and the parent time period of the historical time period whose mean of the similarity of electricity consumption of each corresponding time period is greater than the preset first parameter is recorded as the similar historical parent time period of the parent time period of the time period to be predicted.

[0046] It should be noted that the preset first parameter is set to 0.7 based on experience, and can be adjusted according to actual conditions, and is not specifically limited in this embodiment.

[0047] Step S003: Based on the similarity between any electricity consuming unit and other electricity consuming units regarding similar historical parent time periods, obtain similar electricity consuming units of any electricity consuming unit regarding any similar historical parent time period, and the degree of similarity between the electricity consuming unit and any similar electricity consuming unit regarding any corresponding similar historical parent time period; based on the degree of similarity between similar electricity consuming units regarding any corresponding similar historical parent time period, and combined with the electricity consumption of similar historical parent time periods, make a prediction to obtain the predicted electricity consumption for the time period to be predicted.

[0048] It should be noted that the similar historical parent time periods of the parent time period of the time period to be predicted of any power consumption unit are obtained by step S002, but the similarity of each similar historical parent time period is not the same, and the availability of the predicted power consumption of the predicted time period is also different. Therefore, it is necessary to obtain the availability of the predicted power consumption of each similar historical parent time period for the predicted time period. The availability of each similar historical parent time period can be analyzed by other power consumption units. When there are other power consumption units that have the same similar historical parent time period as the power consumption unit, it can be considered that the power consumption unit has similar power consumption units and similar power consumption conditions. Then, the availability of each similar historical parent time period can be obtained through the similar conditions of similar power consumption units with respect to each similar historical parent time period.

[0049] Step 3.1, based on the similarity between any electricity consumer and other electricity consumers regarding similar historical mother time periods, obtain similar electricity consumers of any electricity consumer regarding any similar historical mother time period, as well as the degree of similarity between the electricity consumer and any similar electricity consumer regarding any corresponding similar historical mother time period.

[0050] It should be noted that if there are the same similar historical parent time periods between the time periods to be predicted of different electricity consuming units, then the time periods to be predicted should also be similar. At the same time, the more electricity consuming units there are with the same similar historical parent time periods, the higher the degree of similarity of the similar historical parent time periods.

[0051] Specifically, for any similar historical parent time period of the parent time period of the time period to be predicted of any electricity consuming unit, obtain the electricity consuming units that have the same similar historical parent time period among all the electricity consuming units, and record them as the similar electricity consuming units of the electricity consuming unit with respect to the similar historical parent time period; calculate the average of the degree of electricity consumption similarity between any similar electricity consuming unit and the similar historical parent time period of the electricity consuming unit in each corresponding time period, and record them as the degree of similarity between the electricity consuming unit and any similar electricity consuming unit with respect to any corresponding similar historical parent time period.

[0052] Step 3.2, based on the similarity of similar electricity consumption units with respect to any corresponding similar historical parent time period, and in combination with the electricity consumption of similar historical parent time periods, a prediction is made to obtain the predicted electricity consumption of the time period to be predicted.

[0053] First, obtain the reference weight of the power consumption forecast value of the forecast time period for any similar historical parent time period.

[0054] It should be noted that the reference weight of any similar historical parent time period of the time period to be predicted for any electricity consuming unit is related to the degree of similarity in electricity consumption between the parent time period of the time period to be predicted and each corresponding time period of the similar historical parent time period. If the degree of similarity in electricity consumption in the corresponding time periods is large, then the degree of similarity between the parent time period of the time period to be predicted and the similar historical parent time period will be higher, and the reference weight of the similar historical parent time period will be greater. At the same time, the more similar electricity consuming units there are and the higher the degree of similarity, the greater the reference weight of the corresponding similar historical parent time period will be.

[0055] As an embodiment, a method for obtaining a reference weight of a power consumption forecast value of a time period to be forecasted for any similar historical parent time period is as follows: in, Indicates The reference weight of the electricity consumption forecast value of the forecast time period for the similar historical parent time period; Indicates the parent time period of the time period to be predicted and the The average value of the similarity of electricity consumption in each corresponding time period of similar historical parent time periods; Indicates the electricity consumption unit and the Similar electricity users The similarity between similar historical time periods, Indicates the number of similar power consumption units to the power consumption unit in the time period to be predicted; Represents the normalization function.

[0056] It should be noted that It represents the sum of the similarity of all similar units of the electricity consumption unit to which the time period to be predicted belongs with respect to the same similar historical parent time period, and represents the occurrence of the similar historical parent time period.

[0057] Secondly, the reference weight of each similar historical parent time period of the time period to be predicted is combined with the power consumption data of the time period corresponding to the time period to be predicted in the similar historical parent time period to obtain the predicted power consumption data of the time period to be predicted.

[0058] As an embodiment, a method for obtaining the predicted power consumption at the fth sampling time in the time period to be predicted is: in, represents the predicted power consumption at the fth sampling time in the time period to be predicted, Indicates the number of similar historical parent time periods of the parent time period of the time period to be predicted. Indicates The reference weight of the electricity consumption forecast value of the forecast time period for similar historical time periods is Indicates The power consumption at the fth sampling time of the time period corresponding to the time period to be predicted in the similar historical parent time periods.

[0059] It should be noted that It means that the reference weight of the electricity consumption forecast value of the time period to be predicted is taken as the weight, and the power consumption of the corresponding sampling time of the time period corresponding to the time period to be predicted in all similar historical time periods is weighted averaged as the predicted power consumption at any sampling time of the time period to be predicted.

[0060] The predicted power consumption at each sampling time in the time period to be predicted is obtained to form the predicted power consumption data for the time period to be predicted.

[0061] Step S004: Update the predicted power consumption of the time period to be predicted based on the difference between the predicted power consumption of the time period to be predicted and the actual power consumption at the time of sampling; adjust the sampling frequency based on the similar power consumption of similar historical parent time periods to obtain the adjusted sampling frequency.

[0062] It should be noted that, due to the large fluctuations in the power load of the power consumption data of the commercial center, the predicted power consumption data obtained for the time period to be predicted may differ greatly from the actual power consumption data. Therefore, when distributing power, the actual power consumption data that has been obtained can be compared with the predicted power consumption data, and similar historical parent time periods can be recalculated to re-predict the power consumption data that has not yet been obtained, so that the prediction results can be more accurate as more actual power consumption data is obtained. At the same time, the deviation of the predicted power consumption data can also be analyzed to analyze the special situation of power consumption in the current stage, and the subsequent data collection frequency can be adjusted to further increase the accuracy of the prediction.

[0063] Specifically, in step 4.1, the predicted power consumption of the time period to be predicted is updated according to the difference between the predicted power consumption of the time period to be predicted and the actual power consumption at the time of collection.

[0064] It should be noted that when the predicted electricity consumption is significantly different from the actual electricity consumption, there will be deviations in the allocation of electricity consumption and the adjustment of the collection frequency. Therefore, it is necessary to update the subsequent predicted electricity consumption in a timely manner and incorporate the actual electricity consumption obtained into the historical time period to make the prediction result more accurate.

[0065] The actual power consumption at the collected time is subtracted from the predicted power consumption at the corresponding time, and the absolute value is taken, and then normalized to obtain the difference between the actual power consumption at the collected time and the predicted power consumption at the corresponding time. When the difference is greater than the preset second parameter, the actual power consumption at the collected time is incorporated into the historical time period according to the method for obtaining the predicted power consumption for the time period to be predicted, and the predicted power consumption for the time period to be predicted is re-obtained.

[0066] It should be noted that the preset second parameter is set to 0.5 based on experience, and can be adjusted according to actual conditions, and is not specifically limited in this embodiment.

[0067] Step 4.2, adjusting the sampling frequency based on similar electricity consumption in similar historical time periods to obtain an adjusted sampling frequency.

[0068] First, select the most similar historical parent time period in the time period to be predicted. A similar historical period.

[0069] It should be noted that N is a preset value, and not all similar historical mother time periods are available. Similar historical mother time periods with low similarity have little reference significance for adjusting the sampling frequency. According to experience, N is set to 5 and can be adjusted according to actual conditions. This embodiment does not make any specific limitations.

[0070] Secondly, according to the difference between the actual power consumption and the predicted power consumption, and the similarity of power consumption between all similar historical parent time periods and the parent time period of the time period to be predicted, the adjustment degree of the sampling frequency of any power consumption unit is obtained.

[0071] It should be noted that when the difference between actual electricity consumption and predicted electricity consumption is large, it means that the current sampling frequency is not appropriate and the degree of adjustment should be greater; at the same time, the greater the similarity of electricity consumption between all similar historical parent time periods and the parent time period of the time period to be predicted, the greater the degree to which the sampling frequency should be adjusted.

[0072] As an embodiment, a method for obtaining the adjustment degree of the sampling frequency of any power consumption unit is as follows: in, Indicates the degree of adjustment of the sampling frequency, Indicates the difference between the actual power consumption at the latest sampling time and the predicted power consumption at the corresponding sampling time; Indicates the number of similar historical parent time periods with the greatest similarity. The one with the greatest similarity The average value of the similarity of electricity consumption in each corresponding time period of the parent time period of the similar historical parent time period and the parent time period of the time period to be predicted; Represents an exponential function with a natural constant as its base.

[0073] It should be noted that Indicates the greatest similarity The average values ​​of the power consumption similarity of each corresponding time period of the similar historical parent time periods and the parent time period of the time period to be predicted are summed up to represent the overall similarity between the similar historical parent time periods and the parent time period of the time period to be predicted.

[0074] Finally, multiply the sampling frequency by , obtain the adjusted sampling frequency, and use the adjusted sampling frequency of any power consumption unit to subsequently collect the power consumption data of the power consumption unit.

[0075] Through the above steps, the data collection of the power transformation and distribution system equipment is completed.

[0076] An embodiment of the present invention provides a data collection device for equipment in a power transformation and distribution system, the device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of the steps of the data collection method for equipment in a power transformation and distribution system when executing the computer program.

[0077] This embodiment can predict the current stage of electricity usage to a certain extent by analyzing historical electricity usage habits, and calculate the weighted average of the daily historical electricity consumption fluctuation curve to obtain the initial prediction curve. When using the prediction data, the weighted similar historical data collection can be recalculated based on the difference between the currently collected data and the predicted data, and the data of the time period already obtained on the current day, so that the prediction results obtained are more accurate as time goes by and the data increases. At the same time, the special situation of electricity consumption obtained in the current stage can also be analyzed through the prediction deviation, and a more rigorous data collection interval is required for subsequent data collection.

[0078] It should be noted that the The model is only used to represent negative correlation and constrain the output of the model to be in In the specific implementation, it can be replaced by other models with the same purpose. This embodiment is only based on The model is described as an example without any specific limitation. is the input to the model.

[0079] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A data collection method for power transformation and distribution system equipment, characterized in that: The method comprises the following steps: Obtaining power consumption data of several power consumption units of any power transformation and distribution system, wherein the power consumption data includes several sampling times and corresponding power consumption; The electricity consumption data of any electricity user unit is divided into several time periods, wherein the time periods include several historical time periods and one time period to be predicted, and any time period and several time periods before the time period constitute the parent time period of the time period; According to the difference in electricity consumption between the time period to be predicted and the parent time period of any historical time period, similar historical parent time periods of the parent time period of the time period to be predicted are selected; Based on the similarity between any power consumption unit and other power consumption units regarding similar historical parent time periods, obtain similar power consumption units of any power consumption unit regarding any similar historical parent time period, and the degree of similarity between the power consumption unit and any similar power consumption unit regarding any corresponding similar historical parent time period; based on the degree of similarity between similar power consumption units regarding any corresponding similar historical parent time period, and in combination with the power consumption of similar historical parent time periods, make a prediction to obtain the predicted power consumption of the time period to be predicted; According to the difference between the predicted power consumption in the time period to be predicted and the actual power consumption at the time of sampling, the predicted power consumption in the time period to be predicted is updated; the sampling frequency is adjusted in combination with the similar power consumption in similar historical time periods to obtain the adjusted sampling frequency; Electric power resources are allocated according to the adjusted sampling frequency of each electricity consuming unit and the updated predicted power consumption in the time period to be predicted.

2. According to claim 1, a data collection method for power distribution system equipment is characterized in that: The specific method of selecting similar historical parent time periods of the parent time period of the time period to be predicted according to the power consumption difference of the corresponding time periods between the time period to be predicted and the parent time period of any historical time period is as follows: Obtain the electricity consumption fluctuation curve for any historical time period; Performing first-order difference processing on the electricity consumption fluctuation curve of any historical time period to obtain the first-order difference curve of the historical time period; Get the similarity of electricity consumption between any two historical time periods; Calculate the mean of the power consumption similarity of each corresponding time period between the parent time period of the time period to be predicted and the parent time period of all historical time periods, and record the parent time period of the historical time period whose mean of the power consumption similarity of each corresponding time period is greater than the preset first parameter as the similar historical parent time period of the parent time period of the time period to be predicted.

3. According to claim 1, a data collection method for power distribution system equipment is characterized in that: The electricity consumption fluctuation curve of any historical time period includes the following specific methods: For any historical period, A coordinate system is established with sampling time as the origin, sampling time as the horizontal axis, and power consumption as the vertical axis; a number of data points of the historical time period are obtained, wherein the data points include the sampling time and the corresponding power consumption, and the data points are fitted into a curve through spline interpolation, which is recorded as the power consumption fluctuation curve of the historical time period.

4. According to claim 2, a data collection method for power distribution system equipment is characterized in that: The specific method for obtaining the similarity of electricity consumption between any two historical time periods is as follows: For the first-order difference curves of any two historical time periods, the dynamic time warping algorithm is used with Euclidean distance as the distance measurement method to obtain the corresponding matching points of the two historical time periods, which are recorded as the DTW matching pairs of the first-order difference curves of the two historical time periods; in, Indicates the similarity of electricity consumption between any two historical time periods; Represents the number of DTW matching pairs of first-order difference curves between any two historical time periods; The first order difference curve of any two historical time periods The distance between DTW matching pairs; Represents an exponential function with a natural constant as its base.

5. The data collection method for power distribution system equipment according to claim 1 is characterized in that: The method of obtaining similar power consumption units of any power consumption unit for any similar historical parent time period and the degree of similarity between the power consumption unit and any similar power consumption unit for any corresponding similar historical parent time period according to similar situations of any power consumption unit and other power consumption units for similar historical parent time period includes the following specific methods: For any similar historical parent time period of the parent time period of the time period to be predicted of any power consumption unit, obtain power consumption units having the same similar historical parent time period among all power consumption units, and record them as similar power consumption units of the power consumption unit with respect to the similar historical parent time period; The average of the similarity between any similar electricity consuming unit and each corresponding time period of the similar historical parent time period of the electricity consuming unit is calculated, and recorded as the similarity between the electricity consuming unit and any similar electricity consuming unit with respect to any corresponding similar historical parent time period.

6. The data collection method for power distribution system equipment according to claim 1 is characterized in that: The method of performing prediction based on the similarity of similar power consumption units with respect to any corresponding similar historical parent time period and combining the power consumption of similar historical parent time period to obtain the predicted power consumption of the time period to be predicted includes the following specific methods: Obtain the reference weight of the electricity consumption forecast value of any similar historical parent time period to the forecast time period; The forecast period The method for obtaining the predicted power consumption at a sampling time is: in, Indicates the number of similar historical parent time periods of the parent time period of the time period to be predicted. Indicates The reference weight of the electricity consumption forecast value of the forecast time period for similar historical parent time periods is Indicates The time period corresponding to the time period to be predicted in the similar historical parent time periods The power consumption during the sampling period; The predicted power consumption at each sampling time in the time period to be predicted is obtained to form the predicted power consumption data for the time period to be predicted.

7. A method for collecting data of power distribution system equipment according to claim 6, characterized in that: The specific method for obtaining the reference weight of the power consumption forecast value of the forecast time period to be treated as any similar historical parent time period is as follows: in, Indicates The reference weight of the electricity consumption forecast value of the forecast time period for the similar historical parent time period; Indicates the parent time period of the time period to be predicted and the The average value of the similarity of electricity consumption in each corresponding time period of similar historical parent time periods; Indicates the electricity consumption unit and the Similar electricity users The similarity between similar historical time periods, Indicates the number of similar electricity users to the electricity user in the time period to be predicted.

8. A method for collecting data of power distribution system equipment according to claim 6, characterized in that: The specific method for updating the predicted power consumption of the time period to be predicted according to the difference between the predicted power consumption of the time period to be predicted and the actual power consumption at the time of collection is: The actual power consumption at the collected time is subtracted from the predicted power consumption at the corresponding time, and the absolute value is taken, and then normalized to obtain the difference between the actual power consumption at the collected time and the predicted power consumption at the corresponding time. When the difference is greater than the preset second parameter, the actual power consumption at the collected time is incorporated into the historical time period according to the method for obtaining the predicted power consumption for the time period to be predicted, and the predicted power consumption for the time period to be predicted is re-obtained.

9. The data collection method for power distribution system equipment according to claim 1, characterized in that: The sampling frequency is adjusted based on the electricity consumption of similar historical time periods to obtain the adjusted sampling frequency, including the following specific methods: Select the most similar historical parent time period to the time period to be predicted Similar historical time periods; Said is the default value; in, Indicates the degree of adjustment of the sampling frequency, Indicates the difference between the actual power consumption at the latest sampling time and the predicted power consumption at the corresponding sampling time; Indicates the number of similar historical parent time periods with the greatest similarity. The one with the greatest similarity The average value of the similarity of electricity consumption in each corresponding time period of the parent time period of the similar historical parent time period and the parent time period of the time period to be predicted; represents an exponential function with a natural constant as base; Multiply the sampling frequency by , and get the adjusted sampling frequency.

10. A data acquisition device for equipment in a power transformation and distribution system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Residential electricity consumption prediction method based on historical similar days and probability statistics and application thereof

    CN116485428A

  • Power grid intelligent scheduling method and system based on user demands

    CN118199049A

Cited By

  • Intelligent auxiliary decision-making method and system for distribution network wheeling

    CN120184951A