CN113326985A - Short-term load prediction method and device - Google Patents

Short-term load prediction method and device Download PDF

Info

Publication number
CN113326985A
CN113326985A CN202110604166.4A CN202110604166A CN113326985A CN 113326985 A CN113326985 A CN 113326985A CN 202110604166 A CN202110604166 A CN 202110604166A CN 113326985 A CN113326985 A CN 113326985A
Authority
CN
China
Prior art keywords
historical
load data
holiday
load
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110604166.4A
Other languages
Chinese (zh)
Other versions
CN113326985B (en
Inventor
李伟
周俊宇
吴海江
唐鹤
黄斐
花洁
黄炳翔
陈凯阳
梁锦来
骆国铭
陈晓彤
钟童科
陈刚
何引生
区允杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Power Grid Co Ltd
Foshan Power Supply Bureau of Guangdong Power Grid Corp
Original Assignee
Guangdong Power Grid Co Ltd
Foshan Power Supply Bureau of Guangdong Power Grid Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Power Grid Co Ltd, Foshan Power Supply Bureau of Guangdong Power Grid Corp filed Critical Guangdong Power Grid Co Ltd
Priority to CN202110604166.4A priority Critical patent/CN113326985B/en
Publication of CN113326985A publication Critical patent/CN113326985A/en
Application granted granted Critical
Publication of CN113326985B publication Critical patent/CN113326985B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • G06N20/10Machine learning using kernel methods, e.g. support vector machines [SVM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply

Abstract

The application discloses a short-term load prediction method and a short-term load prediction device, which are used for solving the technical problems that prediction indexes selected by the existing load prediction technology are not representative, and the prediction means is lack of pertinence, so that the deviation of a prediction result is large. The method specifically comprises the following steps: acquiring short-term date attributes, wherein the short-term date attributes comprise a time attribute and a week attribute; if the current day is judged to be a holiday according to the short-term date attribute, predicting the current holiday load data according to the historical associated day load data, the historical holiday load data and the current holiday associated day load data based on a holiday before-load similarity principle; and if the current day is judged to be a non-holiday according to the short-term date attribute, predicting the load data of the current day by adopting a preset step length prediction model according to the historical associated time point temperature and the historical associated time point load data.

Description

Short-term load prediction method and device
Technical Field
The present application relates to the field of load prediction technologies, and in particular, to a short-term load prediction method and apparatus.
Background
The method is basically assumed to be two days with similar influence factors such as external meteorological conditions and the like, the load characteristics and the curve shape are approximately similar, and the holiday prediction curve is obtained by selecting the meteorological similar day as a reference based on the assumption. Non-holidays generally assume that the load has a periodic change rule and a trend is stable, and are usually predicted by adopting a prediction method such as a support vector machine.
However, the existing short-term load prediction scheme has some technical problems, for example, for a specific holiday, the current holiday prediction is performed by directly referring to historical holidays of the same type, and in addition, the load fluctuation is influenced by various factors, and the load characteristics of similar days selected only according to weather sometimes do not have high similarity. These technical problems directly result in large load prediction deviation, so that the accuracy of the prediction result is low.
Disclosure of Invention
The application provides a short-term load prediction method and device, which are used for solving the technical problems that prediction indexes selected by the existing load prediction technology are not representative, and the prediction means is lack of pertinence, so that the deviation of a prediction result is large.
In view of the above, a first aspect of the present application provides a short-term load prediction method, including:
acquiring short-term date attributes, wherein the short-term date attributes comprise a time attribute and a week attribute;
if the current day is judged to be a holiday according to the short-term date attribute, predicting the current holiday load data according to the historical associated day load data, the historical holiday load data and the current holiday associated day load data based on a holiday before-load similarity principle;
and if the current day is judged to be a non-holiday according to the short-term date attribute, predicting the load data of the current day by adopting a preset step prediction model according to the historical associated time point temperature and the historical associated time point load data.
Preferably, if it is determined that the current day is a holiday according to the short-term date attribute, predicting the current holiday load data according to the historical associated day load data, the historical holiday load data, and the current holiday associated day load data based on a holiday association rule includes:
if the current day is judged to be a holiday according to the short-term date attribute, acquiring historical associated daily load data and historical holiday load data, corresponding to historical holidays with the same type as the current day, of a plurality of historical years to obtain a historical load data set, wherein the historical associated daily load data are load data of different moments of a preset day before the historical holiday;
according to a preset historical power transfer information table, eliminating historical associated daily load data and historical holiday load data corresponding to historical years of power transfer operation to obtain a screened historical load data set;
if the screened historical load data set is a non-empty set, calculating annual load similarity according to the historical associated daily load data and the current holiday associated daily load data, and keeping the historical associated daily load data and the historical holiday load data of the year corresponding to the maximum annual load similarity;
calculating a historical time smooth value and a current time smooth value corresponding to different times according to the historical associated daily load data and the current holiday associated daily load data of the year corresponding to the maximum annual load similarity;
and predicting the current holiday load data through the historical time smooth value, the historical holiday load data and the current time smooth value.
Preferably, if the filtered historical load data set is a non-empty set, calculating annual load similarity according to the historical associated daily load data and the current holiday associated daily load data, and retaining the historical associated daily load data and the historical holiday load data of a year corresponding to the maximum annual load similarity, the method further includes:
and if the screened historical load data set is an empty set, acquiring historical holiday load data of the recent historical year at each moment of the historical holiday with the type different from that of the current day, and performing mean calculation to obtain the current holiday load data.
Preferably, the obtaining historical associated daily load data and historical holiday load data corresponding to historical holidays of a plurality of historical years and the current day type is the same to obtain a historical load data set, and then further includes:
and performing holiday alignment operation on the historical associated day load data and the historical holiday load data in the historical load data set according to the holiday type of the current day.
Preferably, if the current day is judged to be a non-holiday according to the short-term date attribute, predicting the load data of the current day according to the history associated time point temperature and the history associated time point load data by using a preset step prediction model, including:
if the current day is judged to be a non-holiday according to the short-term date attribute, acquiring historical association time point temperature and historical association time point load data in a preset time period before the current day;
calculating the correlation between the temperature and the load according to the historical associated time point temperature and the historical associated time point load data;
if the correlation is larger than a correlation threshold value, constructing a preset time sequence feature vector according to the historical correlation time point temperature and the historical correlation time point load data;
judging whether the load has a preset load fluctuation condition according to the historical associated time point load data, if so, adopting a preset short step prediction model to predict the load according to the preset time sequence characteristic vector to obtain the current day load data;
if not, a preset long-step prediction model is adopted to carry out load prediction according to the preset time sequence characteristic vector to obtain the current daily load data;
the preset step length prediction model comprises a preset short step length prediction model and a preset long step length prediction model.
Preferably, if the correlation is greater than a correlation threshold, constructing a preset time series feature vector according to the historical associated time point temperature and the historical associated time point load data, further including:
and if the correlation is smaller than the correlation threshold value, constructing the preset time sequence feature vector according to the load data of the historical associated time point.
Preferably, if the current day is judged to be a non-holiday according to the short-term date attribute, acquiring a history associated time point temperature and history associated time point load data in a preset time period before the current day, and then further comprising:
and performing preset data processing on the temperature at the historical associated time point and the load data at the historical associated time point, wherein the preset data processing comprises data filling, data replacement and data association establishment.
A second aspect of the present application provides a short-term load prediction apparatus, including:
the date acquisition module is used for acquiring short-term date attributes, wherein the short-term date attributes comprise a time attribute and a week attribute;
a holiday prediction module for predicting the current holiday load data according to the historical associated day load data, the historical holiday load data and the current holiday associated day load data based on a holiday before load similarity principle if the current day is judged to be a holiday according to the short-term date attribute;
and the non-holiday prediction module is used for predicting the load data of the current day according to the historical associated time point temperature and the historical associated time point load data by adopting a preset step prediction model if the current day is judged to be a non-holiday according to the short-term date attribute.
Preferably, the holiday prediction module comprises:
a first load obtaining submodule, configured to obtain historical associated day load data and historical holiday load data corresponding to historical holidays of the same type as the current day in a plurality of historical years if it is determined that the current day is a holiday according to the short-term date attribute, to obtain a historical load data set, where the historical associated day load data are load data of different times of a preset day before the historical holiday;
the load removing submodule is used for removing the historical associated daily load data and the historical holiday load data corresponding to the historical years of the power transferring operation according to a preset historical power transferring information table to obtain a screened historical load data set;
a first similarity calculation submodule, configured to calculate annual load similarity according to the historical associated daily load data and the current holiday associated daily load data if the filtered historical load data set is a non-empty set, and retain the historical associated daily load data and the historical holiday load data of a year corresponding to a maximum annual load similarity;
a smoothing value operator module, configured to calculate, according to the historical associated daily load data and the current holiday associated daily load data of the year corresponding to the maximum annual load similarity, a historical time smoothing value and a current time smoothing value corresponding to different times;
and the holiday prediction submodule is used for predicting the current holiday load data through the historical time smooth value, the historical holiday load data and the current time smooth value.
Preferably, the non-holiday prediction module comprises:
the second load obtaining submodule is used for obtaining the historical association time point temperature and the historical association time point load data in the preset time period before the current day if the current day is judged to be a non-holiday according to the short-term date attribute;
the second similarity calculation submodule is used for calculating the correlation between the temperature and the load according to the historical association time point temperature and the historical association time point load data;
the characteristic vector construction submodule is used for constructing a preset time sequence characteristic vector according to the historical association time point temperature and the historical association time point load data if the correlation is larger than a correlation threshold value;
the first non-holiday prediction submodule is used for judging whether a preset load fluctuation condition exists in the load according to the historical associated time point load data, if yes, a preset short step prediction model is adopted to carry out load prediction according to the preset time sequence characteristic vector to obtain current day load data;
the second non-holiday prediction submodule is used for performing load prediction according to the preset time sequence characteristic vector by adopting a preset long-step prediction model if the current holiday load data is not the current holiday load data;
the preset step length prediction model comprises a preset short step length prediction model and a preset long step length prediction model.
According to the technical scheme, the embodiment of the application has the following advantages:
the application provides a short-term load prediction method, which comprises the following steps: acquiring short-term date attributes, wherein the short-term date attributes comprise a time attribute and a week attribute; if the current day is judged to be a holiday according to the short-term date attribute, predicting the current holiday load data according to the historical associated day load data, the historical holiday load data and the current holiday associated day load data based on a holiday before-load similarity principle; and if the current day is judged to be a non-holiday according to the short-term date attribute, predicting the load data of the current day by adopting a preset step length prediction model according to the historical associated time point temperature and the historical associated time point load data.
According to the short-term load prediction method, attribute division is carried out on the current day through the acquired short-term date attribute information, different load prediction schemes are selected according to different date attributes of the current day, specifically, historical holiday load data are considered in the holiday load prediction schemes, historical holiday load data and current holiday associated load data are used in the current holiday load data prediction process, and the load data are adopted for prediction and need to be based on a holiday before load similarity principle, namely the selected load data and the current holiday have certain similarity, the reliability of the prediction result cannot be influenced, and therefore the accuracy of the load prediction result is improved. In the scheme of predicting the load in the holiday instead, the preset step prediction model which can be set is adopted, and the load prediction is carried out by combining the relation between the temperature and the load, so that the prediction precision of the model can be guaranteed. Therefore, the method and the device can solve the technical problems that the prediction indexes selected by the existing load prediction technology are not representative, the prediction means is lack of pertinence, and the prediction result deviation is large.
Drawings
Fig. 1 is a schematic flowchart of a short-term load prediction method according to an embodiment of the present disclosure;
fig. 2 is another schematic flow chart of a short-term load prediction method according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a short-term load prediction apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
For easy understanding, referring to fig. 1, a first embodiment of a short-term load prediction method provided in the present application includes:
step 101, acquiring a short-term date attribute, wherein the short-term date attribute comprises a time attribute and a week attribute.
The short-term date attribute includes not only the time attribute of a specific year, month, day, time, etc., but also important week attribute, that is, the date and day of the week, so that an accurate attribute judgment can be made on the current day according to the short-term date attribute, for example, whether the current day is a holiday, a holiday name, a year, month, etc. to which the holiday belongs.
And 102, if the current day is judged to be a holiday according to the short-term date attribute, predicting the current holiday load data according to the historical associated day load data, the historical holiday load data and the current holiday associated day load data based on a holiday before-load similarity principle.
The set list can be directly formed for each holiday of a year, the list can be a holiday list, the list is closely related to time, and the attribute judgment result of the current day can be obtained by comparing the short-term date attribute with the holiday list. The specific holiday category comprises 7 legal holidays such as New year, spring festival, Qingming festival, early noon festival, labor festival, mid-autumn festival, national day festival and the like, holiday setting can be added according to needs, and the holiday category can be set as a working day or a weekend.
The load similarity principle before holiday is set according to the characteristics of the acquired load data, and the acquired load data not only comprises the load data of historical holidays, but also comprises the load data of historical associated days and the load data of current holidays associated days; therefore, the selected historical associated daily load needs a certain similarity regulation with the current holiday associated daily load, and the load data of the selected historical associated daily load can be used for predicting the current daily load instead of the random historical associated daily load. The reliability of the prediction result can be ensured to the maximum extent by performing load prediction according to various closely related load data selected based on the section-false pre-load similarity principle.
The association day is a period of time close to the holiday, and the load fluctuation in the period of time has certain relevance with the holiday; the specific time length can be set according to the actual load fluctuation condition, and a preset day before holidays, such as 6 days, is generally selected; the historical associated day load data is load data of a preset day before the holiday in the historical year; the load data of the current holiday associated day is the load data of a preset day before the current holiday of the current year, and the load data which are generated and exist can be obtained.
And 103, if the current day is judged to be a non-holiday according to the short-term date attribute, predicting the load data of the current day according to the historical associated time point temperature and the historical associated time point load data by adopting a preset step prediction model.
If the current day is a working day or a weekend, the current day is defined as a non-holiday, the short-term load prediction mechanism is a prediction model, the prediction model can adaptively set the step length, the change of the load is automatically sensed, and the robustness of model prediction is improved. The selected indexes are historical associated time point temperature and historical associated time point load data; the historical association time point temperature is the temperature values of similar dates in the historical year at different time points, and the temperature values can be obtained by selecting the time points; the load data at the historical association time point is associated with the acquiring process of the temperature at the historical association time point, and the load data and the temperature at the historical association time point are in one-to-one correspondence, namely, each time point can acquire one temperature value and one corresponding load data.
The short-term load prediction method provided by the embodiment of the application includes the steps that attribute division is carried out on the current day through acquired short-term date attribute information, different load prediction schemes are selected according to different date attributes of the current day, specifically, historical holiday load data are considered in the holiday load prediction schemes, historical holiday load data and current holiday associated load data are used in the current holiday load data prediction process, and the load data are adopted for prediction and need to be based on a holiday before-load similarity principle, namely the selected load data and the current holiday have certain similarity, the reliability of prediction results cannot be affected, and therefore the accuracy of the load prediction results is improved. In the scheme of predicting the load in the holiday instead, the preset step prediction model which can be set is adopted, and the load prediction is carried out by combining the relation between the temperature and the load, so that the prediction precision of the model can be guaranteed. Therefore, the method and the device for predicting the load can solve the technical problems that the prediction indexes selected by the existing load prediction technology are not representative, the prediction means is lack of pertinence, and the prediction result deviation is large.
The above is an embodiment of a short-term load prediction method provided by the present application, and the following is another embodiment of a short-term load prediction method provided by the present application.
For easy understanding, referring to fig. 2, the present application provides a second embodiment of a short-term load prediction method, including:
step 201, short-term date attributes are acquired, and the short-term date attributes comprise a time attribute and a week attribute.
Acquiring date attributes of the year, month, day, hour, minute, second and day of week of the current day; meanwhile, the preset day-time attribute and the preset week attribute before the current day are also obtained, so that the subsequent time analysis is facilitated.
Step 202, if the current day is judged to be a holiday according to the short-term date attribute, acquiring historical associated daily load data and historical holiday load data, corresponding to historical holidays with the same type as the current day, of a plurality of historical years to obtain a historical load data set.
The historical associated daily load data is load data of different times of a preset day before the historical holidays. In this embodiment, the time 6 days before the current day is selected as the preset day. Therefore, the preset days before the historical holidays are the load data at different times 6 days before the historical holidays. The historical holiday load data is the load data of the historical holiday. The last three years can be selected from a plurality of historical years, for example, the current day is the year's day of 2021 year's day, and then the historical years can obtain the year's day of 2020, 2019 and 2018 years of day's day.
Further, step 202 is followed by:
and performing holiday alignment operation on the historical associated daily load data and the historical holiday load data in the historical load data set according to the holiday type of the current day.
And aligning the acquired historical holidays and historical associated days of the historical years according to the current holiday, taking the current day as a 2021 year New year day example, and aligning by taking the public 1 month and 1 day of the historical years as a reference, so that the 2021 year New year date is 12 months and 30 days, 12 months and 31 days, and 2021 month and 1 day of the 2021 year. Date alignment facilitates subsequent date-based joint analysis of load data.
Step 203, according to a preset historical power transfer information table, historical associated daily load data and historical holiday load data corresponding to the historical years including power transfer operation are removed, and a screened historical load data set is obtained.
The preset historical power transfer information table records a main transformer ID, a main transformer name, power transfer starting time and power transfer ending time. In the prior art, the situation that the load of the power supply is changed suddenly is not taken into deep consideration, but the load prediction result is directly influenced by sudden change or fluctuation of the load, so that the relevant load data of the historical years with the power supply switching operation is removed in the embodiment, and the influence of the relevant load data on the load prediction result of the current day is avoided. The process is a process of screening the historical load data set, and the accuracy of the prediction result is ensured by controlling the reliability of the index data.
The removing process comprises the following steps: acquiring a main transformer ID from a preset historical power transfer information table, searching power transfer data based on the main transformer ID, if the historical holiday time interval is contained in the power transfer data, indicating that power transfer operation occurs during the holiday of the year, and intensively removing the year data from historical load data.
And 204, if the screened historical load data set is a non-empty set, calculating annual load similarity according to the historical associated daily load data and the current holiday associated daily load data, and keeping the historical associated daily load data and the historical holiday load data of the year corresponding to the maximum annual load similarity.
If there is any historical load data in the screening historical load data set, the calculation of the load similarity of the associated day may be started, specifically, D may be defined as the screening historical load data set, and expressed as D { (D)1,h1),(d2,h2),(d3,h3) .., wherein (d)i,hi) Load data of the i-th year, diAssociated daily load data, h, representing 6 days before the historical holidayiThe data are load data of a plurality of moments of each day. Definition (d)n,h'n) Load data for the current year, wherein dnIs the associated daily load data, h 'of the preset day before the current day'nIs the current holiday load data to be predicted. The similarity of the annual load calculated by calculating the historical associated daily load data and the current holiday associated daily load data can be expressed as:
Figure BDA0003093637440000091
where k is the load data length and abs (·) is the absolute value function.
Every year, a similarity value s can be calculatediFinding the maximum annual load similarity, and retaining the historical associated daily load data and the historical holiday load data of the corresponding year, namely (d)s,hs)。
Further, step 204 further includes:
and if the screened historical load data set is an empty set, acquiring historical holiday load data of the recent historical year at each moment of the historical holiday with different types from the current day, and performing mean calculation to obtain the current holiday load data.
And if the screening historical load data set is an empty set, the selected holiday related load data of all the years are related to power supply transferring operation, and all the holiday related load data are removed from the data set in the screening stage. The occurrence probability of the condition of lack of the referenceable historical data is relatively low, and once the condition occurs, the average value can be directly calculated according to the historical holiday load data of the historical holiday with the type different from that of the current day in the latest historical year, and the average value is used as the current holiday load data.
And step 205, calculating a historical time smooth value and a current time smooth value corresponding to different times according to the historical associated daily load data and the current holiday associated daily load data of the year corresponding to the maximum annual load similarity.
Defining the load of t moment of j day in N related days selected before the current holiday of the year as dnjtThe load at the t moment of the j day of the N associated days selected before the holiday of the most similar year is dsjtWhere larger j indicates closer to holidays on the time axis. Taking the load value at the predicted time t as an example, t has 96 times, and t is {1,2,3.. 96}, and first, the smoothed values a at the time t of the current year and the date related to the most similar year before the festival are calculated respectively1t,A2t
Figure BDA0003093637440000101
Figure BDA0003093637440000102
Wherein N is 6
Wherein, alpha is a smoothing coefficient of point-by-point load, generally takes the value of alpha as [0.1,0.9], and the optimal parameter value is found to be 0.618 through experimental verification.
And step 206, predicting the current holiday load data through the historical time smooth value, the historical holiday load data and the current time smooth value.
The specific prediction process can be expressed as:
Figure BDA0003093637440000103
wherein h isstIs a smoothed value A1tAnd load data of the corresponding historical holiday at the time t on the day. And predicting the load value of each moment of the current holiday according to the formula to obtain a load prediction curve of the current holiday.
And step 207, if the current day is judged to be a non-holiday according to the short-term date attribute, acquiring the historical associated time point temperature and the historical associated time point load data in a preset time period before the current day.
The preset time period may be set according to actual conditions, such as 10 days in the previous month of the current day of the current year, or data of the previous days. The load fluctuation of non-holidays is generally smaller, so that more load data can be referred to, mainly the selection of data indexes and the optimization of models. In addition to temperature data and load data, week attributes may be obtained as needed.
Further, step 207, thereafter, further includes:
and performing preset data processing on the temperature at the historical associated time point and the load data at the historical associated time point, wherein the preset data processing comprises data filling, data replacement and data association establishment.
The acquired data quality may have differences due to various reasons, and the data is subjected to preset data processing operation, so that the data quality can be improved, and a prediction result is guaranteed. The data recording is missing due to the failure of the metering equipment and other reasons, for example, the data at 96 time points selected in one day has a plurality of missing data, and the missing data needs to be filled; aiming at the holiday periods contained in the historical data, filling data with non-holidays with same-week attributes to ensure that all the data are non-holiday data and the integrity of the time sequence is ensured; the outlier data points are smoothed and replaced.
In addition, data association is needed, and the normalization data including line numbers, dates, times, loads, temperature values and other multivariate data are associated together according to the dates and the time points to form a data wide table, so that extraction and processing are facilitated.
And step 208, calculating the correlation between the temperature and the load according to the historical associated time point temperature and the historical associated time point load data.
Recording temperature vector X ═ X at each historical associated time point1,x2,...]And the load vector Y ═ Y1,y2,...]Correlation of (c) corr:
Figure BDA0003093637440000111
where n is the total number of data points acquired.
And 209, if the correlation is greater than the correlation threshold, constructing a preset time sequence feature vector according to the historical associated time point temperature and the historical associated time point load data.
In this embodiment, it is defined that if abs (corr) is greater than 0.5, it is determined that there is a strong correlation between the temperature and the load, otherwise, it is determined that there is not a large correlation between the temperature and the load. If the correlation between the temperature and the load is strong, a preset time sequence feature vector is constructed according to the historical correlation time point temperature and the historical correlation time point load data, and besides the two index data, data such as historical temperature average value, historical day attribute, current day temperature value, current day attribute and current day average temperature value can be added to construct a multichannel preset time sequence feature vector.
Further, step 209 further includes:
and if the correlation is smaller than the correlation threshold value, constructing a preset time sequence feature vector according to the historical associated time point load data.
If the correlation between the temperature and the load is not large, temperature data in the index data, including historical temperature data and current day temperature data, needs to be removed, a preset time sequence feature vector is constructed according to historical associated time point load data, and a multi-channel preset time sequence feature vector can be constructed by adding the historical day attribute and the current day attribute. In this embodiment, 96 time points are selected every day, and 96 preset time sequence feature vectors can be generated according to the time points.
And step 210, judging whether the load has a preset load fluctuation condition according to the load data of the historical associated time points, if so, performing load prediction according to a preset time sequence characteristic vector by adopting a preset short-step prediction model to obtain the load data of the current day.
By analyzing the change condition of the load data at the historical associated time point, whether the load has large fluctuation or not is judged, namely the preset load fluctuation condition is judged, an upper threshold value and a lower threshold value can be set, and the out-of-limit value is judged to have large fluctuation, which indicates that the load fluctuation is not stable and has sudden change. And at the moment, a preset short-step-length prediction model is adopted to process preset time sequence characteristic vectors, load prediction is carried out, and current daily load data are obtained. The step size of the preset short-step prediction model may be selected to be 2 days.
And step 211, if not, performing load prediction by using a preset long-step prediction model according to a preset time sequence characteristic vector to obtain current daily load data.
The preset step prediction model comprises a preset short step prediction model and a preset long step prediction model. The model can automatically sense the fluctuation situation of the load, and the prediction precision and robustness of the model are improved.
When the load sudden change amplitude is small, the load fluctuation is stable, the influence of the temperature accumulation effect and the periodicity on the load fluctuation is mainly considered, and accurate current daily load data can be predicted and obtained by adopting a preset long-step prediction model. The step size of the preset long-step prediction model can be selected to be 7 days.
The load fluctuation in the steady state has certain periodicity, but the periodicity in the non-steady state is broken, and the load fluctuation state cannot be sensed in time only by the periodicity law, so that prediction hysteresis of a certain degree is caused. Therefore, the preset step prediction model selected in the embodiment of the application can realize load prediction by automatically sensing the load fluctuation situation to alleviate the technical problem.
The above is an embodiment of a short-term load prediction method provided by the present application, and the following is an embodiment of a short-term load prediction apparatus provided by the present application.
For ease of understanding, referring to fig. 3, the present application further provides an embodiment of a short term load prediction apparatus, comprising:
a date acquisition module 301, configured to acquire a short-term date attribute, where the short-term date attribute includes a time attribute and a week attribute;
a holiday prediction module 302, configured to predict current holiday load data according to the historical associated day load data, the historical holiday load data, and the current holiday associated day load data based on a holiday preload similarity principle if the current day is judged to be a holiday according to the short-term date attribute;
and a non-holiday prediction module 303, configured to, if it is determined that the current day is a non-holiday according to the short-term date attribute, predict load data of the current day according to the history associated time point temperature and the history associated time point load data by using a preset step prediction model.
Further, the holiday prediction module 302 includes:
a first load obtaining submodule 3021, configured to, if it is determined that the current day is a holiday according to the short-term date attribute, obtain history associated day load data and history holiday load data corresponding to history holidays of the same type as the current day in a plurality of history years, to obtain a history load data set, where the history associated day load data is load data of different times of a preset day before the history holiday;
the load removing submodule 3022 is configured to remove historical associated daily load data and historical holiday load data corresponding to a historical year including a power transfer operation according to a preset historical power transfer information table, so as to obtain a filtered historical load data set;
the first similarity calculation submodule 3023 is configured to, if the filtered historical load data set is a non-empty set, calculate annual load similarity according to the historical associated daily load data and the current holiday associated daily load data, and retain the historical associated daily load data and the historical holiday load data of the year corresponding to the maximum annual load similarity;
a smoothing value operator module 3024, configured to calculate a smoothing value at a historical time and a smoothing value at a current time corresponding to different times according to the historical associated daily load data and the current holiday associated daily load data of the year corresponding to the maximum annual load similarity;
a holiday prediction sub-module 3025 for predicting the current holiday load data from the historical time smooth value, the historical holiday load data and the current time smooth value.
Further, the non-holiday prediction module 303 includes:
a second load obtaining submodule 3031, configured to obtain a history associated time point temperature and history associated time point load data in a preset time period before a current day if it is determined that the current day is a non-holiday according to the short-term date attribute;
the second similarity calculation submodule 3032 is used for calculating the correlation between the temperature and the load according to the historical association time point temperature and the historical association time point load data;
the feature vector construction submodule 3033 is configured to construct a preset time sequence feature vector according to the historical associated time point temperature and the historical associated time point load data if the correlation is greater than the correlation threshold;
the first non-holiday prediction submodule 3034 is used for judging whether the load has a preset load fluctuation condition according to the load data of the historical association time point, if so, a preset short-step prediction model is adopted to carry out load prediction according to a preset time sequence eigenvector to obtain load data of the current day;
a second non-holiday prediction submodule 3035, configured to perform load prediction according to a preset time sequence feature vector by using a preset long-step prediction model if the current holiday load data is not the current holiday load data;
the preset step prediction model comprises a preset short step prediction model and a preset long step prediction model.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for executing all or part of the steps of the method described in the embodiments of the present application through a computer device (which may be a personal computer, a server, or a network device). And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A method for short-term load prediction, comprising:
acquiring short-term date attributes, wherein the short-term date attributes comprise a time attribute and a week attribute;
if the current day is judged to be a holiday according to the short-term date attribute, predicting the current holiday load data according to the historical associated day load data, the historical holiday load data and the current holiday associated day load data based on a holiday before-load similarity principle;
and if the current day is judged to be a non-holiday according to the short-term date attribute, predicting the load data of the current day by adopting a preset step prediction model according to the historical associated time point temperature and the historical associated time point load data.
2. The method according to claim 1, wherein if it is determined that the current day is a holiday based on the short-term date attribute, predicting current holiday load data based on the historical associated day load data, the historical holiday load data, and the current holiday associated day load data based on a holiday association rule, comprises:
if the current day is judged to be a holiday according to the short-term date attribute, acquiring historical associated daily load data and historical holiday load data, corresponding to historical holidays with the same type as the current day, of a plurality of historical years to obtain a historical load data set, wherein the historical associated daily load data are load data of different moments of a preset day before the historical holiday;
according to a preset historical power transfer information table, eliminating historical associated daily load data and historical holiday load data corresponding to historical years of power transfer operation to obtain a screened historical load data set;
if the screened historical load data set is a non-empty set, calculating annual load similarity according to the historical associated daily load data and the current holiday associated daily load data, and keeping the historical associated daily load data and the historical holiday load data of the year corresponding to the maximum annual load similarity;
calculating a historical time smooth value and a current time smooth value corresponding to different times according to the historical associated daily load data and the current holiday associated daily load data of the year corresponding to the maximum annual load similarity;
and predicting the current holiday load data through the historical time smooth value, the historical holiday load data and the current time smooth value.
3. The method of short term load prediction according to claim 2, wherein if the filtered historical load data set is a non-empty set, calculating annual load similarity from the historical associated daily load data and the current holiday associated daily load data, and retaining the historical associated daily load data and the historical holiday load data for a year corresponding to a maximum annual load similarity, further comprising:
and if the screened historical load data set is an empty set, acquiring historical holiday load data of the recent historical year at each moment of the historical holiday with the type different from that of the current day, and performing mean calculation to obtain the current holiday load data.
4. The short-term load prediction method according to claim 2, wherein the obtaining historical associated daily load data and historical holiday load data corresponding to the historical holidays of the same type as the current day for a plurality of historical years to obtain a historical load data set further comprises:
and performing holiday alignment operation on the historical associated day load data and the historical holiday load data in the historical load data set according to the holiday type of the current day.
5. The method according to claim 1, wherein if the current day is judged to be a non-holiday day according to the short-term date attribute, predicting the current daily load data according to the historical associated time point temperature and the historical associated time point load data by using a preset step prediction model, comprises:
if the current day is judged to be a non-holiday according to the short-term date attribute, acquiring historical association time point temperature and historical association time point load data in a preset time period before the current day;
calculating the correlation between the temperature and the load according to the historical associated time point temperature and the historical associated time point load data;
if the correlation is larger than a correlation threshold value, constructing a preset time sequence feature vector according to the historical correlation time point temperature and the historical correlation time point load data;
judging whether the load has a preset load fluctuation condition according to the historical associated time point load data, if so, adopting a preset short step prediction model to predict the load according to the preset time sequence characteristic vector to obtain the current day load data;
if not, a preset long-step prediction model is adopted to carry out load prediction according to the preset time sequence characteristic vector to obtain the current daily load data;
the preset step length prediction model comprises a preset short step length prediction model and a preset long step length prediction model.
6. The short-term load prediction method as claimed in claim 5, wherein if the correlation is greater than a correlation threshold, constructing a preset time-series feature vector according to the historical associated time point temperature and the historical associated time point load data, further comprising:
and if the correlation is smaller than the correlation threshold value, constructing the preset time sequence feature vector according to the load data of the historical associated time point.
7. The method according to claim 5, wherein if the current day is judged to be a non-holiday according to the short-term date attribute, the method further comprises the following steps of obtaining historical associated time point temperature and historical associated time point load data in a preset time period before the current day:
and performing preset data processing on the temperature at the historical associated time point and the load data at the historical associated time point, wherein the preset data processing comprises data filling, data replacement and data association establishment.
8. A short-term load prediction apparatus, comprising:
the date acquisition module is used for acquiring short-term date attributes, wherein the short-term date attributes comprise a time attribute and a week attribute;
a holiday prediction module for predicting the current holiday load data according to the historical associated day load data, the historical holiday load data and the current holiday associated day load data based on a holiday before load similarity principle if the current day is judged to be a holiday according to the short-term date attribute;
and the non-holiday prediction module is used for predicting the load data of the current day according to the historical associated time point temperature and the historical associated time point load data by adopting a preset step prediction model if the current day is judged to be a non-holiday according to the short-term date attribute.
9. The short term load prediction device as claimed in claim 8, wherein the holiday prediction module comprises:
a first load obtaining submodule, configured to obtain historical associated day load data and historical holiday load data corresponding to historical holidays of the same type as the current day in a plurality of historical years if it is determined that the current day is a holiday according to the short-term date attribute, to obtain a historical load data set, where the historical associated day load data are load data of different times of a preset day before the historical holiday;
the load removing submodule is used for removing the historical associated daily load data and the historical holiday load data corresponding to the historical years of the power transferring operation according to a preset historical power transferring information table to obtain a screened historical load data set;
a first similarity calculation submodule, configured to calculate annual load similarity according to the historical associated daily load data and the current holiday associated daily load data if the filtered historical load data set is a non-empty set, and retain the historical associated daily load data and the historical holiday load data of a year corresponding to a maximum annual load similarity;
a smoothing value operator module, configured to calculate, according to the historical associated daily load data and the current holiday associated daily load data of the year corresponding to the maximum annual load similarity, a historical time smoothing value and a current time smoothing value corresponding to different times;
and the holiday prediction submodule is used for predicting the current holiday load data through the historical time smooth value, the historical holiday load data and the current time smooth value.
10. The short term load prediction device as claimed in claim 8, wherein the non-holiday prediction module comprises:
the second load obtaining submodule is used for obtaining the historical association time point temperature and the historical association time point load data in the preset time period before the current day if the current day is judged to be a non-holiday according to the short-term date attribute;
the second similarity calculation submodule is used for calculating the correlation between the temperature and the load according to the historical association time point temperature and the historical association time point load data;
the characteristic vector construction submodule is used for constructing a preset time sequence characteristic vector according to the historical association time point temperature and the historical association time point load data if the correlation is larger than a correlation threshold value;
the first non-holiday prediction submodule is used for judging whether a preset load fluctuation condition exists in the load according to the historical associated time point load data, if yes, a preset short step prediction model is adopted to carry out load prediction according to the preset time sequence characteristic vector to obtain current day load data;
the second non-holiday prediction submodule is used for performing load prediction according to the preset time sequence characteristic vector by adopting a preset long-step prediction model if the current holiday load data is not the current holiday load data;
the preset step length prediction model comprises a preset short step length prediction model and a preset long step length prediction model.
CN202110604166.4A 2021-05-31 2021-05-31 Short-term load prediction method and device Active CN113326985B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110604166.4A CN113326985B (en) 2021-05-31 2021-05-31 Short-term load prediction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110604166.4A CN113326985B (en) 2021-05-31 2021-05-31 Short-term load prediction method and device

Publications (2)

Publication Number Publication Date
CN113326985A true CN113326985A (en) 2021-08-31
CN113326985B CN113326985B (en) 2023-01-20

Family

ID=77422862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110604166.4A Active CN113326985B (en) 2021-05-31 2021-05-31 Short-term load prediction method and device

Country Status (1)

Country Link
CN (1) CN113326985B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113705929A (en) * 2021-09-15 2021-11-26 中国南方电网有限责任公司 Spring festival holiday load prediction method based on load characteristic curve and typical characteristic value fusion
CN114221353A (en) * 2021-12-06 2022-03-22 中国南方电网有限责任公司超高压输电公司检修试验中心 Power grid regulation and control method, device, equipment, storage medium and computer program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100153035A1 (en) * 2008-12-12 2010-06-17 Square D Company Progressive Humidity Filter For Load Data Forecasting
WO2016136323A1 (en) * 2015-02-27 2016-09-01 株式会社E.I.エンジニアリング Energy predict system, energy predict method, computer program for causing execution thereof, recording medium whereupon said program is recorded, and operation assistance system
CN106600463A (en) * 2016-12-21 2017-04-26 广东电网有限责任公司电力调度控制中心 Local shape similarity ultra short-period load prediction method and apparatus
CN109190856A (en) * 2018-10-30 2019-01-11 深圳供电局有限公司 A kind of urban distribution network short-term load forecasting method that distinguishing day to be predicted and system
CN111553529A (en) * 2020-04-27 2020-08-18 新奥数能科技有限公司 Load prediction method and device, computer readable storage medium and electronic equipment
CN112232600A (en) * 2020-11-17 2021-01-15 烟台海颐软件股份有限公司 Short-term power load prediction method and system based on variational modal decomposition

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100153035A1 (en) * 2008-12-12 2010-06-17 Square D Company Progressive Humidity Filter For Load Data Forecasting
WO2016136323A1 (en) * 2015-02-27 2016-09-01 株式会社E.I.エンジニアリング Energy predict system, energy predict method, computer program for causing execution thereof, recording medium whereupon said program is recorded, and operation assistance system
CN106600463A (en) * 2016-12-21 2017-04-26 广东电网有限责任公司电力调度控制中心 Local shape similarity ultra short-period load prediction method and apparatus
CN109190856A (en) * 2018-10-30 2019-01-11 深圳供电局有限公司 A kind of urban distribution network short-term load forecasting method that distinguishing day to be predicted and system
CN111553529A (en) * 2020-04-27 2020-08-18 新奥数能科技有限公司 Load prediction method and device, computer readable storage medium and electronic equipment
CN112232600A (en) * 2020-11-17 2021-01-15 烟台海颐软件股份有限公司 Short-term power load prediction method and system based on variational modal decomposition

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113705929A (en) * 2021-09-15 2021-11-26 中国南方电网有限责任公司 Spring festival holiday load prediction method based on load characteristic curve and typical characteristic value fusion
CN114221353A (en) * 2021-12-06 2022-03-22 中国南方电网有限责任公司超高压输电公司检修试验中心 Power grid regulation and control method, device, equipment, storage medium and computer program product
CN114221353B (en) * 2021-12-06 2023-09-26 中国南方电网有限责任公司超高压输电公司检修试验中心 Power grid regulation method, device, equipment, storage medium and computer program product

Also Published As

Publication number Publication date
CN113326985B (en) 2023-01-20

Similar Documents

Publication Publication Date Title
US7421460B2 (en) Method for determining execution of backup on a database
CN113326985B (en) Short-term load prediction method and device
US10580095B2 (en) Method and system for water production and distribution control
US8065098B2 (en) Progressive humidity filter for load data forecasting
CN111064614A (en) Fault root cause positioning method, device, equipment and storage medium
CN111831704B (en) Determination method and device of abnormal data, storage medium and electronic equipment
CN109682436B (en) Method for additionally reading meter reading data of gas meter of Internet of things
CN103154904B (en) Operational administrative equipment, operation management method and program
JP6245030B2 (en) Power consumption prediction method, power consumption prediction program, and power consumption prediction apparatus
CN111459761A (en) Redis configuration method, device, storage medium and equipment
CN110544130A (en) flow transaction monitoring method and device, computer equipment and storage medium
CN116362410B (en) MES-based production time prediction method, system and storage medium
CN111158999B (en) Formatting time calculation method and device
CN115576267A (en) Hub machining dimension error correction method based on digital twinning
JP6012860B2 (en) Work time estimation device
CN112307002A (en) Data compensation method, system and computer readable storage medium
CN111737233A (en) Data monitoring method and device
CN112926801B (en) Load curve combined prediction method and device based on quantile regression
CN112767056B (en) Service data prediction method, device, computer equipment and storage medium
CN115424826B (en) Method, device, equipment and storage medium for determining cooling performance of converter transformer
CN112732544B (en) Computer hardware adaptation intelligent analysis system
CN112988664B (en) Data archiving method, device, equipment and storage medium
CN116450280A (en) Container mixed expansion and contraction method and system based on machine learning
JP2023183921A (en) Determination apparatus, determination system, determination method, and program
CN115062015A (en) Data export method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant