A method and system for predicting power load
By acquiring historical and meteorological data, a variety of power load forecasting models are established and combined with real-time data for prediction, which solves the problem of traditional power load forecasting methods discarding recent data and improves forecast accuracy.
Patent Information
- Application Number
- CN202011344929.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-26
- Publication Date
- 2024-08-20
- Estimated Expiration
- 2040-11-26
AI Technical Summary
The traditional power load forecasting method discards the power load data of the latest time period, resulting in inaccurate prediction results.
By periodically acquiring historical power load data, meteorological data and meteorological forecast data, we can establish a variety of power load forecast models, select the model that meets the preset error range, and combine the real-time data and historical data of the day for prediction, using gray models, wavelet neural Network and random forest models are used to predict power load data.
By combining current day and historical data and using multiple equally weighted models for prediction, the accuracy of power load prediction is improved and the problem of discarding data in the most recent time period is solved.
Smart Images

Figure CN112365083B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power forecasting, and in particular to a power load forecasting method and system. Background Art
[0002] With the rapid development of my country's market economy and power industry, the factors affecting power load have greatly increased, and are becoming increasingly socialized and complex. Faced with the increasingly complex laws of power load changes, the traditional human-based load forecasting method is difficult to adapt to the needs.
[0003] The conventional short-term load forecasting method is: at a certain time every day, such as 11:00 a.m., forecast the load value for the next day or for several consecutive days for 24 hours. Usually only the load data of yesterday and before is used, and the power load data before 11:00 a.m. of the same day is not used. This forecasting method discards the power load data of the most recent time period, making the forecast result not as accurate as possible. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a method and system for predicting power load, which is used to solve the problem that the existing prediction method discards the power load data of the most recent time period, so that the prediction result does not reach the highest level of accuracy.
[0005] The present invention provides a method for predicting power load, the method comprising:
[0006] Step S11, periodically acquiring historical power load data, historical meteorological data and meteorological forecast data, wherein the historical power load data includes acquiring real-time power load data of the day;
[0007] Step S12: predicting the power load data for the rest of the day based on the real-time power load data and historical power load data acquired on the day;
[0008] Step S13: establishing a plurality of power load forecasting models, and training the plurality of power load forecasting models according to the historical power load data;
[0009] Step S14: selecting a power load forecasting model that meets the preset error range from among the multiple trained power load forecasting models;
[0010] Step S15, assign the same weight to each power load forecasting model that meets the prediction error range, input the historical power load data, the power load data for the rest of the day, the historical meteorological data and the meteorological forecast data into each power load forecasting model that meets the preset error range, multiply the calculation results of each power load forecasting model that meets the preset error range by the weight and add them up to obtain the power load forecast data for future dates.
[0011] Furthermore, the step S12 specifically includes:
[0012] Find all similar days to the current day in the historical power load data;
[0013] Search for historical power load data within the same time as the real-time power load data of the day among all similar days, compare the real-time power load data of the day with the historical power load data within the same time as the real-time power load data of the day, and select the historical power load data of a similar day that is closest to the real-time power load data of the day as the power load data for the remaining time of the day.
[0014] Furthermore, the power load forecasting model includes a grey model, a wavelet neural network, a random forest model and a least squares combination grey model.
[0015] The present invention provides a power load forecasting system, the system comprising:
[0016] An acquisition unit, used to periodically acquire historical power load data, historical meteorological data and meteorological forecast data, wherein the historical power load data includes acquiring real-time power load data of the day;
[0017] A first prediction unit, configured to predict the power load data for the remaining time of the day based on the real-time power load data and historical power load data acquired on the day;
[0018] A training unit, used to establish a plurality of power load forecasting models, and train the plurality of power load forecasting models according to the historical power load data;
[0019] A screening unit, configured to select, according to a preset error range, a power load forecasting model that meets the preset error range from among the plurality of trained power load forecasting models;
[0020] The second prediction unit is used to assign the same weight to each power load prediction model that meets the prediction error range, input the historical power load data, the power load data for the remaining time of the day, the historical meteorological data and the meteorological forecast data into each power load prediction model that meets the preset error range, multiply the calculation results of each power load prediction model that meets the preset error range by the weight and add them up to obtain the power load forecast data for future dates.
[0021] Furthermore, the first prediction unit is specifically used for:
[0022] Find all similar days to the current day in the historical power load data;
[0023] Search for historical power load data within the same time as the real-time power load data of the day among all similar days, compare the real-time power load data of the day with the historical power load data within the same time as the real-time power load data of the day, and select the historical power load data of a similar day that is closest to the real-time power load data of the day as the power load data for the remaining time of the day.
[0024] Furthermore, the power load forecasting model includes a grey model, a wavelet neural network, a random forest model and a least squares combination grey model.
[0025] The implementation of the present invention has the following beneficial effects:
[0026] Through the present invention, the power load data of the day and the power load data before the day are combined to complete the power load data for the rest of the day, and further combined with historical meteorological data and meteorological forecast data, a variety of equally weighted models are used to predict future power load data; the problem that the existing prediction method abandons the power load data of the most recent time period, so that the prediction result does not reach the highest level of accuracy is solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] 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.
[0028] Figure 1 It is a flow chart of the power load forecasting method provided by an embodiment of the present invention.
[0029] Figure 2 It is a structural diagram of the power load forecasting system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In this patent, the specific implementation method is further described below in conjunction with the drawings and examples.
[0031] like Figure 1 As shown, an embodiment of the present invention provides a method for predicting power load, the method comprising:
[0032] Step S11: periodically obtain historical power load data, historical meteorological data and meteorological forecast data, wherein the historical power load data includes obtaining real-time power load data of the day.
[0033] It should be noted that, for example, at 11 o'clock today, the power marketing system or data management system is used to collect historical power load data. The historical power load data includes all power load data before today, and also includes all power load data from 0 o'clock to 10 o'clock. All power load data from 0 o'clock to 10 o'clock is the real-time power load data for the day.
[0034] Step S12: predicting the power load data for the rest of the day based on the real-time power load data and historical power load data acquired on the day.
[0035] Specifically, the step S12 specifically includes:
[0036] Find all similar days to the current day in the historical power load data;
[0037] Search for historical power load data within the same time as the real-time power load data of the day among all similar days, compare the real-time power load data of the day with the historical power load data within the same time as the real-time power load data of the day, and select the historical power load data of a similar day that is closest to the real-time power load data of the day as the power load data for the remaining time of the day.
[0038] It should be noted that in this embodiment, similar days refer to days with the same position in each week. For example, if the current day is Monday, all Monday data in the historical power load data are selected. Then, the power load data from 0 to 10 o'clock on the similar day is selected to be closest to the power load data from 0 to 10 o'clock on the current day, and the power load data from 11 to 24 o'clock on the remaining time of the similar day is used as the remaining power load data on the current day. The power load data for the remaining time is supplemented based on the data on the current day, so that the prediction is more accurate.
[0039] Step S13: Establish multiple power load prediction models, and train the multiple power load prediction models based on the historical power load data.
[0040] In this embodiment, the power load prediction model includes a grey model, a wavelet neural network, a random forest model and a least squares combination grey model, which are trained by using historical power load data so that their parameters are close to the optimal effect.
[0041] Step S14: According to a preset error range, a power load forecasting model that meets the preset error range is selected from the plurality of trained power load forecasting models.
[0042] By comparing historical data with the calculated data of various power load forecasting models, the power load forecasting model within the preset error range is selected.
[0043] Step S15, assign the same weight to each power load forecasting model that meets the prediction error range, input the historical power load data, the power load data for the rest of the day, the historical meteorological data and the meteorological forecast data into each power load forecasting model that meets the preset error range, multiply the calculation results of each power load forecasting model that meets the preset error range by the weight and add them up to obtain the power load forecast data for future dates.
[0044] It should be noted that, for example, if the selected power load forecasting models are A, B, and C, and the calculated results are A1, B1, and C1, the power load forecasting data for future dates is calculated by the formula 1 / 3A1+1 / 3B1+1 / 3C1. By adding the calculation results of multiple power load forecasting models, the power load forecasting data for future dates is more accurate.
[0045] like Figure 2 As shown, an embodiment of the present invention provides a power load forecasting system, the system comprising:
[0046] An acquisition unit 21, used to periodically acquire historical power load data, historical meteorological data and meteorological forecast data, wherein the historical power load data includes acquiring real-time power load data of the day;
[0047] A first prediction unit 22, configured to predict the power load data for the remaining time of the day according to the real-time power load data and historical power load data acquired on the day;
[0048] A training unit 23, used to establish a plurality of power load forecasting models, and train the plurality of power load forecasting models according to the historical power load data;
[0049] A screening unit 24 is used to select, according to a preset error range, a power load forecasting model that meets the preset error range from among the multiple trained power load forecasting models;
[0050] The second prediction unit 25 is used to assign the same weight to each power load prediction model that meets the prediction error range, input the historical power load data, the power load data for the rest of the day, the historical meteorological data and the meteorological forecast data into each power load prediction model that meets the preset error range, multiply the calculation results of each power load prediction model that meets the preset error range by the weight and then add them up to obtain the power load prediction data for future dates.
[0051] Furthermore, the first prediction unit 22 is specifically configured to:
[0052] Find all similar days to the current day in the historical power load data;
[0053] Search for historical power load data within the same time as the real-time power load data of the day among all similar days, compare the real-time power load data of the day with the historical power load data within the same time as the real-time power load data of the day, and select the historical power load data of a similar day that is closest to the real-time power load data of the day as the power load data for the remaining time of the day.
[0054] Furthermore, the power load forecasting model includes a grey model, a wavelet neural network, a random forest model and a least squares combination grey model.
[0055] The implementation of the present invention has the following beneficial effects:
[0056] Through the present invention, the power load data of the day and the power load data before the day are combined to complete the power load data for the rest of the day, and further combined with historical meteorological data and meteorological forecast data, a variety of equally weighted models are used to predict future power load data; the problem that the existing prediction method abandons the power load data of the most recent time period, so that the prediction result does not reach the highest level of accuracy is solved.
[0057] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A method for predicting power load, characterized in that: The method comprises: Step S11, periodically acquiring historical power load data, historical meteorological data and meteorological forecast data, wherein the historical power load data includes acquiring real-time power load data of the day; Step S12: predicting the power load data for the rest of the day based on the real-time power load data and historical power load data acquired on the day; Step S13, establishing a plurality of power load forecasting models, and training the plurality of power load forecasting models according to the historical power load data; the plurality of power load forecasting models include a grey model, a wavelet neural network, a random forest model and a least squares combination grey model; Step S14: selecting a power load forecasting model that meets the preset error range from among the multiple trained power load forecasting models; Step S15, assigning the same weight to each power load forecasting model that meets the preset error range, inputting the historical power load data, the power load data for the rest of the day, the historical meteorological data and the meteorological forecast data into each power load forecasting model that meets the preset error range, multiplying the calculation results of each power load forecasting model that meets the preset error range by the weight and then adding them up to obtain the power load forecasting data for the future date; The step S12 specifically includes: Find all similar days to the current day in the historical power load data; Search for historical power load data within the same time as the real-time power load data of the day among all similar days, compare the real-time power load data of the day with the historical power load data within the same time as the real-time power load data of the day, and select the historical power load data of a similar day that is closest to the real-time power load data of the day as the power load data for the remaining time of the day.
2. A power load forecasting system, characterized in that: The system further comprises: An acquisition unit, used to periodically acquire historical power load data, historical meteorological data and meteorological forecast data, wherein the historical power load data includes acquiring real-time power load data of the day; A first prediction unit, configured to predict the power load data for the remaining time of the day based on the real-time power load data and historical power load data acquired on the day; A training unit, used to establish a plurality of power load forecasting models, and train the plurality of power load forecasting models according to the historical power load data; the plurality of power load forecasting models include a grey model, a wavelet neural network, a random forest model and a least squares combination grey model; A screening unit, configured to select, according to a preset error range, a power load forecasting model that meets the preset error range from among the plurality of trained power load forecasting models; A second prediction unit is used to assign the same weight to each power load prediction model that meets the preset error range, input the historical power load data, the power load data for the rest of the day, the historical meteorological data and the meteorological forecast data into each power load prediction model that meets the preset error range, and multiply the calculation results of each power load prediction model that meets the preset error range by the weight and then add them up to obtain the power load forecast data for the future date; The first prediction unit is specifically used for: Find all similar days to the current day in the historical power load data; Search for historical power load data within the same time as the real-time power load data of the day among all similar days, compare the real-time power load data of the day with the historical power load data within the same time as the real-time power load data of the day, and select the historical power load data of a similar day that is closest to the real-time power load data of the day as the power load data for the remaining time of the day.
