A distribution line load forecasting method based on decoupling mechanism
By combining neural networks and probabilistic methods, CNN-LSTM and BiLSTM networks are used to predict the timing of load data, which solves the problem that load forecasting in the existing technology is difficult to reflect timing and trends, and improves the accuracy and precision of load forecasting.
Patent Information
- Application Number
- CN202111663680.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-12-31
AI Technical Summary
Existing load forecasting methods are difficult to reflect the timing and trend of load data, and a single neural network is difficult to fully learn the short-term fluctuations of historical data, resulting in inaccurate prediction results.
Using a method based on the decoupling mechanism, the neural network method is combined with the probability method, and the load per unit curve and the load benchmark value are separately predicted, and the CNN-LSTM hybrid neural network and BiLSTM neural network are used to predict the daily maximum load and daily minimum load respectively. Consider the timing characteristics and timing of load data.
The accuracy of load forecasting is improved, and the obtained results are more consistent with the randomness and timing of power loads. Compared with a single neural network model, it is more accurate and can better capture the trend and timing characteristics of load changes.
Smart Images

Figure CN114330902B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of short-term prediction of electric load, and specifically relates to a distribution line load prediction method based on a decoupling mechanism. According to historical load data and corresponding meteorological factor data and date factor data, a decoupling mechanism is adopted to separately predict the load per unit curve and the load reference value, and the time series correlation between the load data is taken into consideration to establish a distribution line load short-term prediction model. Background Art
[0002] Accurate short-term load forecasting can help power plants formulate reasonable power production plans and provide data support to ensure the stable operation of the power system. It is difficult to store large amounts of electricity in the power system and the power demand is constantly changing. The production and consumption of electricity need to maintain a dynamic balance. Therefore, load forecasting plays a particularly important role in the planning and operation of modern power systems.
[0003] The randomness and nonlinearity of power load fluctuations are the core and difficulty of establishing a load forecasting model. Power load is affected by multiple factors such as season, weather, and date. The existing load forecasting method is to conduct statistical analysis on a large amount of historical load data and multiple factors affecting load changes, and directly predict the load value of the next day through a neural network. This method is difficult to reflect the time series and trend between load data, and a single neural network is difficult to fully learn the short-term fluctuations of historical data. Summary of the invention
[0004] The purpose of the present invention is to provide a distribution line load forecasting method based on a decoupling mechanism. The forecasting method of the present invention combines a neural network method with a probability method, and uses the neural network method and the probability method to realize the load forecast for the next day based on the temporal nature of load data changes, so that the forecast result is more in line with the temporal nature of load changes.
[0005] To achieve the purpose of the present invention, the following technical solution is adopted: a distribution line load prediction method based on a decoupling mechanism, characterized in that the prediction method comprises the following steps:
[0006] The first step is to obtain the historical load data of the same region and the corresponding meteorological factor data and date factor data to form a historical data set M; the historical load data is the actual load data collected at fixed time intervals, which is a time series data of load values with time tags, and the duration of a historical load data is one day;
[0007] The second step is to establish a load per unit curve prediction model, which specifically includes the following steps:
[0008] Step 2.1: Based on the historical data set M, eight factors, including daily maximum temperature, daily minimum temperature, daily average temperature, weather type, season, month, week type, and date type, are used as the research objects for analyzing the impact of load changes. The nonlinear correlation between each influencing factor and the daily maximum load is quantitatively analyzed through MIC. The calculation formula is shown in formulas (1)-(2):
[0009]
[0010]
[0011] Where p(x, y) is the joint probability density function of random variables x and y, p(x) and p(y) are the marginal probability density functions of random variables; N is the total number of data, B(N) is the constraint condition for the total number of grid divisions, and B(N) = N 0.6 ; The MIC value range is [0,1]. The stronger the correlation between the two variables, the closer the MIC result is to 1;
[0012] Through MIC analysis, the data of m main factors with MIC>0.3 are selected to construct the daily feature vector. The daily feature vector of the day to be predicted is T0. The historical days p days before the day to be predicted are selected as the similar day screening samples. The m-dimensional historical daily feature vectors T1, T2, …, T p days before the day to be predicted are constructed in the same way. p ;
[0013]
[0014] Where T0 is the feature vector of the day to be predicted, T i is the feature vector of the i-th historical day, T 0k is the characteristic value of the influencing factor of the kth dimension;
[0015] Step 2.2: Calculate the grey correlation coefficients of the factors affecting the day to be predicted and each historical day, form a grey correlation matrix, and thus obtain the grey correlation degree between the day to be predicted and each historical day;
[0016]
[0017]
[0018]
[0019] In the formula, r i (k) is the grey correlation coefficient of the k-th dimension influencing factor in the feature vector of the i-th historical day, ρ is the resolution coefficient, which is generally taken as 0.5; r is the grey correlation matrix; R(i) is the grey correlation degree of the i-th historical day;
[0020] Step 2.3: Arrange the grey correlation degrees obtained in step 2.2 from large to small, select the historical day corresponding to the maximum grey correlation degree as the similar day of the day to be predicted, and standardize the load of the similar day with the daily maximum load and daily minimum load as the reference value to obtain the similar day load standard curve;
[0021]
[0022] Where P0 is the similar daily load curve, P 0max is the maximum value of similar daily load, P 0min is the minimum value of similar daily load, P′0 is the per unit load curve of similar daily load;
[0023] The third step is to establish a daily maximum load forecasting model based on the CNN-LSTM hybrid neural network, which specifically includes the following steps:
[0024] Step 3.1: Based on the historical data set M, 18 factors, including daily maximum temperature, daily minimum temperature, daily average temperature, weather type, previous day maximum temperature, previous day minimum temperature, previous day average temperature, season, month, week type, date type, previous day maximum load, previous two days maximum load, previous three days maximum load, previous four days maximum load, previous five days maximum load, previous six days maximum load, and previous seven days maximum load, are used as the research objects for analyzing the influence of load change. The nonlinear correlation strength between each influencing factor and the daily maximum load is quantitatively analyzed through MIC, and the data of the factors with MIC>0.3 are selected as feature data, and the corresponding actual value of daily maximum load is added to establish a special data set for CNN-LSTM hybrid neural network; wherein, the data before the day to be predicted in the special data set is used as the training data set for training the neural network;
[0025] Step 3.2: The feature data in the training data set is used as the input of the CNN-LSTM hybrid neural network to complete parameter initialization, the predicted value of the daily maximum load is used as the output of the neural network, and the mean square error function is selected as the network loss function, as shown in formula (8):
[0026]
[0027] Where P i is the actual value of the daily maximum load at the i-th point, The daily maximum load forecast value of the i-th point, n is the number of samples in the training data set;
[0028] According to the value of the loss function, the parameters of the CNN-LSTM hybrid neural network are adjusted in reverse. If the value of the loss function obtained by the current network parameters is less than the preset value or the number of iterations is reached, the network parameter training is completed;
[0029] Step 3.3: Input the feature data of the day to be predicted that is the same as the training data set into the CNN-LSTM hybrid neural network model that has completed parameter training in step 3.2 to obtain the daily maximum load forecast value P of the day to be predicted. premax ;
[0030] The fourth step is to establish a daily minimum load forecasting model based on the load time series characteristics, which specifically includes the following steps:
[0031] Step 4.1: Count the daily maximum load data and daily minimum load data in the load data of the historical data set M, and use ecdf to obtain the daily maximum load data P and max With the daily minimum load data P min The corresponding cumulative distribution function is as follows:
[0032]
[0033] Where P max , P min are the daily maximum load and daily minimum load variables, p1 is P max The probability of falling within (0, P1), p2 is P min The probability of falling within (0,P2);
[0034] Step 4.2: Use the createFit function in MATLAB software to obtain the inverse function of the cumulative distribution function of the daily maximum load and daily minimum load data. The inverse function is as follows:
[0035]
[0036] Step 4.3: Use the probability values of the daily maximum load cumulative distribution function and the probability values of the daily minimum load cumulative distribution function obtained in step 4.1 to construct a BiLSTM neural network dedicated data set. The data before the day to be predicted in the BiLSTM neural network dedicated data set is used as a training data set to train the BiLSTM neural network. The probability value of the daily maximum load cumulative distribution function in the BiLSTM neural network dedicated data set is used as the input of the BiLSTM neural network to complete parameter initialization, and the corresponding predicted value of the daily minimum load cumulative distribution function probability value is used as the output of the neural network, and the mean square error function is selected as the network loss function;
[0037] The parameters of the BiLSTM neural network are adjusted in reverse according to the value of the loss function. If the value of the loss function obtained by the current network parameters is less than the preset value or the number of iterations is reached, the network parameter training is completed;
[0038] Step 4.4: The maximum daily load value P obtained in the third step is premaxSubstitute it into the cumulative distribution function of the daily maximum load to obtain its corresponding probability value p1; input p1 into the trained BiLSTM neural network to obtain the probability value p2 of the cumulative distribution function of the minimum load on the day to be tested; substitute p2 into the inverse function of the cumulative distribution function of the minimum load on the day to be tested, and the value obtained is the minimum value P of the load on the day to be tested. premin ;
[0039] The fifth step is to compare the load per unit curve of the day to be measured obtained in the second step with the maximum load value P of the day to be measured obtained in the third step. premax And the minimum load value P of the day to be measured obtained in the fourth step premin , and the daily load curve to be tested is obtained by combining:
[0040] P=P′0*(P premax -P premin )+P premin (11)
[0041] Where, P is the load curve of the day to be measured, P′0 is the per unit load curve of the day to be measured, and P premax is the maximum load prediction value, P premin is the minimum load prediction value.
[0042] Compared with the existing method, the beneficial effects of the present invention are:
[0043] (1) Compared with the previous method of directly using neural networks to establish load forecasting models, this method fully considers the time series and trend of loads, and the results obtained are more consistent with the randomness and time series of power loads themselves.
[0044] (2) This method establishes a daily maximum load forecasting model based on a CNN-LSTM hybrid neural network, which makes full use of the CNN network's good processing capabilities for high-dimensional input features and LSTM's good processing capabilities for time series. Compared with a single neural network model, this method has higher accuracy.
[0045] (3) This method analyzes the correlation between the daily maximum load and the minimum load, establishes the relationship between the two through a probability method, and then obtains the minimum load prediction result through the daily maximum load prediction result. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 The figure is a flow chart of the principle of the prediction method of the present invention.
[0047] Figure 2 This is a structural diagram of a CNN-LSTM hybrid neural network model in the third step of an embodiment of the prediction method of the present invention.
[0048] Figure 3 This is a graph showing the changing relationship between the daily maximum load and the daily minimum load in the historical data in Example 1.
[0049] Figure 4 It is a cumulative distribution function diagram of historical daily maximum load obtained based on the historical data in Example 1.
[0050] Figure 5 It is a cumulative distribution function diagram of historical daily minimum load obtained based on the historical data in Example 1.
[0051] Figure 6 This is a curve chart of the load forecast value and the actual value obtained by predicting December 2, 2020 in the historical data set using the prediction method of the present invention based on the historical data in Example 1.
[0052] Figure 7 This is a graph showing the result of load forecasting on January 1, 2021 using the forecasting method of the present invention based on the historical data in Example 1. DETAILED DESCRIPTION
[0053] The specific embodiments of the present invention are given below. The specific embodiments are only used to further illustrate the present invention in detail and do not limit the protection scope of the present application.
[0054] The present invention provides a distribution line load prediction method based on a decoupling mechanism, the prediction method comprising the following steps:
[0055] The first step is to obtain at least one year of historical load data and corresponding meteorological factor data and date factor data in the same area to form a historical data set M; the historical load data is the actual load data collected at fixed time intervals, which is a time series data of load values with time tags, and the duration of a historical load data is one day;
[0056] The second step is to establish a load per unit curve prediction model, which specifically includes the following steps:
[0057] Step 2.1: Based on the historical data set M, eight factors, including daily maximum temperature, daily minimum temperature, daily average temperature, weather type, season, month, week type, and date type, are used as the research objects for analyzing the impact of load changes. The strength of the nonlinear correlation between each influencing factor and the daily maximum load is quantitatively analyzed by MIC (maximum information coefficient). The calculation formula is shown in formulas (1)-(2):
[0058]
[0059]
[0060] Where p(x,y) is the joint probability density function of random variables x and y, p(x) and p(y) are the marginal probability density functions of random variables, N is the total number of data, B(N) is the constraint condition for the total number of grid divisions, and in general B(N) = N0.6 The MIC value range is [0,1]. The stronger the correlation between the two variables, the closer the MIC result is to 1.
[0061] Through MIC analysis, the data of m main factors with MIC>0.3 are selected to construct the daily feature vector. The daily feature vector of the day to be predicted is T0. The historical days p days before the day to be predicted are selected as the similar day screening samples. The m-dimensional historical daily feature vectors T1, T2, …, T p days before the day to be predicted are constructed in the same way. p ;
[0062]
[0063] Where T0 is the feature vector of the day to be predicted, T i is the feature vector of the i-th historical day, T 0k is the characteristic value of the k-th influencing factor (i.e., the data value of the K-th factor among the m main factors).
[0064] Step 2.2: Calculate the grey correlation coefficients of the factors affecting the day to be predicted and each historical day, form a grey correlation matrix, and thus obtain the grey correlation degree between the day to be predicted and each historical day;
[0065]
[0066]
[0067]
[0068] In the formula, r i (k) is the grey correlation coefficient value of the k-th dimension influencing factor in the feature vector of the i-th historical day, ρ is the resolution coefficient, which is generally taken as 0.5; r is the grey correlation matrix; R(i) is the grey correlation degree of the i-th historical day (i=1,2,...,p).
[0069] Step 2.3: Arrange the grey correlation degrees obtained in step 2.2 from large to small, select the historical day corresponding to the maximum grey correlation degree as the similar day of the day to be predicted, and standardize the load of the similar day with the daily maximum load and daily minimum load as the reference value to obtain the similar day load standard curve;
[0070]
[0071] Where P0 is the similar daily load curve, P 0max is the maximum value of similar daily load, P 0min is the minimum value of similar daily load, and P′0 is the per-unit load curve of similar daily load.
[0072] The third step is to establish a daily maximum load forecasting model based on the CNN-LSTM hybrid neural network, which specifically includes the following steps:
[0073] Step 3.1: Based on the historical data set M, 18 factors, including daily maximum temperature, daily minimum temperature, daily average temperature, weather type, previous day maximum temperature, previous day minimum temperature, previous day average temperature, season, month, week type, date type, previous day maximum load, previous two days maximum load, previous three days maximum load, previous four days maximum load, previous five days maximum load, previous six days maximum load, and previous seven days maximum load, are taken as the research objects for analyzing the impact of load changes. The nonlinear correlation between each influencing factor and the daily maximum load is quantitatively analyzed through MIC, and the data of the factors with MIC>0.3 are screened out as feature data, plus the corresponding actual value of the daily maximum load, to establish a special data set for the CNN-LSTM hybrid neural network; wherein, the data on the day to be predicted in the special data set is used as the training data set for training the neural network.
[0074] Step 3.2: The feature data in the training data set is used as the input of the CNN-LSTM hybrid neural network to complete parameter initialization, the predicted value of the daily maximum load is used as the output of the neural network, and the mean square error function is selected as the network loss function, as shown in formula (8):
[0075]
[0076] Where P i is the actual value of the daily maximum load at the i-th point, The daily maximum load forecast value of the i-th point, n is the number of samples in the training data set.
[0077] The parameters of the CNN-LSTM hybrid neural network are adjusted in reverse according to the value of the loss function. If the value of the loss function obtained by the current network parameters is less than the preset value or reaches the number of iterations, the network parameter training is completed.
[0078] Step 3.3: Input the feature data of the day to be predicted that is the same as the training data set into the CNN-LSTM hybrid neural network model that has completed parameter training in step 3.2 to obtain the daily maximum load forecast value P of the day to be predicted. premax .
[0079] The fourth step is to establish a daily minimum load forecasting model based on the load time series characteristics, which specifically includes the following steps:
[0080] Step 4.1: Count the daily maximum load data and daily minimum load data in the load data of the historical data set M, and use MATLAB software to use ecdf (empirical distribution function) to obtain the daily maximum load data P max With the daily minimum load data Pmin The corresponding cumulative distribution function is as follows:
[0081]
[0082] Where P max , P min are the daily maximum load and daily minimum load variables, p1 is P max The probability of falling within (0, P1), p2 is P min The probability of falling within (0,P2);
[0083] Step 4.2: Use the createFit function in MATLAB software to obtain the inverse function of the cumulative distribution function of the daily maximum load and daily minimum load data. The inverse function is as follows:
[0084]
[0085] Step 4.3: Use the probability values of the daily maximum load cumulative distribution function and the probability values of the daily minimum load cumulative distribution function obtained in step 4.1 to construct a BiLSTM neural network dedicated data set. Among them, the data before the day to be predicted in the BiLSTM neural network dedicated data set is used as the training data set to train the BiLSTM neural network. The probability value of the daily maximum load cumulative distribution function in the BiLSTM neural network dedicated data set is used as the input of the BiLSTM neural network to complete the parameter initialization, and the corresponding predicted value of the daily minimum load cumulative distribution function probability value is used as the output of the neural network, and the mean square error function is selected as the network loss function; the parameters of the BiLSTM neural network are adjusted in reverse according to the value of the loss function. If the value of the loss function obtained by the current network parameters is less than the preset value or the number of iterations is reached, the network parameter training is completed;
[0086] Step 4.4: The maximum daily load value P obtained in the third step is premax Substitute it into the cumulative distribution function of the daily maximum load to obtain its corresponding probability value p1; input p1 into the trained BiLSTM neural network to obtain the probability value p2 of the cumulative distribution function of the minimum load on the day to be tested; substitute p2 into the inverse function of the cumulative distribution function of the minimum load on the day to be tested, and the value obtained is the minimum value P of the load on the day to be tested. premin ;
[0087] The fifth step is to compare the load per unit curve of the day to be measured obtained in the second step with the maximum load value P of the day to be measured obtained in the third step. premax And the minimum load value P of the day to be measured obtained in the fourth step premin , and the daily load curve to be tested is obtained by combining:
[0088] P=P′0*(P premax-P premin )+P premin (11)
[0089] Where, P is the load curve of the day to be measured, P′0 is the per unit load curve of the day to be measured, and P premax is the maximum load prediction value, P premin is the minimum load prediction value.
[0090] Example 1
[0091] This embodiment provides a distribution line load prediction method based on a decoupling mechanism, and the prediction method includes the following steps:
[0092] The first step is to obtain the load data of a distribution line in Tianjin in 2020 for the whole year, as well as the corresponding meteorological factor data and date factor data, to form a historical data set M, where the historical load data is one point every 15 minutes, with a total of 96 sampling points per day;
[0093] The second step is to establish a load per unit curve prediction model, which specifically includes the following steps:
[0094] Step 2.1: Based on the historical data set M, eight factors, including daily maximum temperature, daily minimum temperature, daily average temperature, weather type, season, month, week type, and date type, are used as the research objects for analyzing the impact of load changes. The nonlinear correlation between each influencing factor and the daily maximum load is quantitatively analyzed by MIC (maximum information coefficient). Before the MIC analysis, for seasonal factors and date type factors that cannot be described by specific data, artificial values are assigned through differentiation. For weather type factors, quantification is achieved by recording sunny, cloudy, overcast, rainy and snowy as 1, 2, 3, and 4 respectively; for seasonal factors, quantification is achieved by recording spring, summer, autumn, and winter as 1, 2, 3, and 4 respectively; for date type factors, quantification is achieved by setting working diary to 0 and non-working diary to 1. Week type is quantified by 1, 2, 3, 4, 5, 6, and 7 corresponding to Monday to Sunday respectively.
[0095] The MIC calculation formula is shown in formula (1)-(2):
[0096]
[0097]
[0098] Where p(x,y) is the joint probability density function of random variables x and y, p(x) and p(y) are the marginal probability density functions of random variables, N is the total number of data, B(N) is the constraint condition for the total number of grid divisions, and in general B(N) = N 0.6The MIC value range is [0,1]. The stronger the correlation between the two variables, the closer the MIC result is to 1.
[0099] Table 1 MIC values of 8 factors
[0100]
[0101] The MIC analysis results are shown in Table 1. External influencing factors with MIC>0.3 are selected to construct daily feature vectors. The data of the 6-dimensional correlation factors (daily maximum temperature, daily minimum temperature, daily average temperature, season, month and date type) are used to construct daily feature vectors. The daily feature vector of the day to be predicted is T0. The historical days 30 days before the day to be predicted are selected as similar day screening samples. The 6-dimensional historical daily feature vectors T1, T2, …, T30 days before the day to be predicted are constructed in the same way. p (p=30);
[0102]
[0103] Where T0 is the feature vector of the day to be predicted, T i is the feature vector of the i-th historical day, T 0k is the eigenvalue of the k-th dimension influencing factor (k=1,2…,6).
[0104] Step 2.2: Calculate the grey correlation coefficients of the factors affecting the day to be predicted and each historical day, form a grey correlation matrix, and thus obtain the grey correlation degree between the day to be predicted and each historical day;
[0105]
[0106]
[0107]
[0108] In the formula, r i (k) is the grey correlation coefficient value of the k-th dimension influencing factor in the feature vector of the i-th historical day, ρ is the resolution coefficient, which is generally taken as 0.5; r is the grey correlation matrix; R(i) is the grey correlation degree of the i-th historical day (i=1,2,...,30).
[0109] Step 2.3: Arrange the grey correlation degrees obtained in step 2.2 from large to small, select the historical day corresponding to the maximum grey correlation degree as the similar day of the day to be predicted, and standardize the load of the similar day with the daily maximum load and daily minimum load as the reference value to obtain the similar day load standard curve;
[0110]
[0111] Where P0 is the similar daily load curve, P0max is the maximum value of similar daily load, P 0min is the minimum value of similar daily load, and P′0 is the per-unit curve of similar daily load.
[0112] The third step is to establish a daily maximum load forecasting model based on the CNN-LSTM hybrid neural network, which specifically includes the following steps:
[0113] Step 3.1: Based on the historical data set M, 18 factors, including daily maximum temperature, daily minimum temperature, daily average temperature, weather type, previous day maximum temperature, previous day minimum temperature, previous day average temperature, season, month, week type, date type, previous day maximum load, previous two days maximum load, previous three days maximum load, previous four days maximum load, previous five days maximum load, previous six days maximum load, and previous seven days maximum load, are used as the research objects for analyzing the influence of load change. The nonlinear correlation between each influencing factor and the daily maximum load is quantitatively analyzed through MIC, and the data of the factors with MIC>0.3 are selected as feature data, and the corresponding actual value of daily maximum load is added to establish a special data set for CNN-LSTM hybrid neural network; wherein, the data of the day to be predicted in the special data set is used as the training data set for training the neural network. The MIC calculation results are shown in Table 2, and a total of 16 factors with MIC>0.3 are selected as feature data.
[0114] Table 2 MIC values of 18 factors
[0115]
[0116]
[0117] Step 3.2: The feature data in the training data set is used as the input of the CNN-LSTM hybrid neural network to complete parameter initialization, the predicted value of the daily maximum load is used as the output of the neural network, and the mean square error function is selected as the network loss function, as shown in formula (8):
[0118]
[0119] Where P i is the actual value of the daily maximum load at the i-th point, The daily maximum load forecast value of the i-th point, n is the number of samples in the training data set.
[0120] The parameters of the CNN-LSTM hybrid neural network are adjusted in reverse according to the value of the loss function. If the value of the loss function obtained by the current network parameters is less than the preset value or reaches the number of iterations, the network parameter training is completed.
[0121] Step 3.3: Input the feature data of the day to be predicted that is the same as the training data set into the CNN-LSTM hybrid neural network model that has completed parameter training in step 3.2 to obtain the daily maximum load forecast value P of the day to be predicted. premax .
[0122] The fourth step is to establish a daily minimum load forecasting model based on the load time series characteristics, which specifically includes the following steps:
[0123] Step 4.1: Count the daily maximum load data and daily minimum load data in the load data of the historical data set M, and use MATLAB software to use ecdf (empirical distribution function) to obtain the daily maximum load data P max With the daily minimum load data P min The corresponding cumulative distribution function is as follows:
[0124]
[0125] Where P max , P min are the daily maximum load and daily minimum load variables, p1 is P max The probability of falling within (0, P1), p2 is P min The probability of falling within (0,P2);
[0126] Step 4.2: Use the createFit function in MATLAB software to obtain the inverse function of the cumulative distribution function of the daily maximum load and daily minimum load data. The inverse function is as follows:
[0127]
[0128] Step 4.3: Use the probability values of the daily maximum load cumulative distribution function and the probability values of the daily minimum load cumulative distribution function obtained in step 4.1 to construct a BiLSTM neural network dedicated data set. Among them, the data before the day to be predicted in the BiLSTM neural network dedicated data set is used as the training data set to train the BiLSTM neural network. The probability value of the daily maximum load cumulative distribution function in the BiLSTM neural network dedicated data set is used as the input of the BiLSTM neural network to complete the parameter initialization, and the corresponding predicted value of the daily minimum load cumulative distribution function probability value is used as the output of the neural network, and the mean square error function is selected as the network loss function; the parameters of the BiLSTM neural network are adjusted in reverse according to the value of the loss function. If the value of the loss function obtained by the current network parameters is less than the preset value or the number of iterations is reached, the network parameter training is completed;
[0129] Step 4.4: The maximum daily load value P obtained in the third step is premaxSubstitute it into the cumulative distribution function of the daily maximum load to obtain its corresponding probability value p1; input p1 into the trained BiLSTM neural network to obtain the probability value p2 of the cumulative distribution function of the minimum load on the day to be tested; substitute p2 into the inverse function of the cumulative distribution function of the minimum load on the day to be tested, and the value obtained is the minimum value P of the load on the day to be tested. premin ;
[0130] The fifth step is to compare the load per unit curve of the day to be measured obtained in the second step with the maximum load value P of the day to be measured obtained in the third step. premax And the minimum load value P of the day to be measured obtained in the fourth step premin The daily load curve to be tested is obtained by combining:
[0131] P=P′0*(P premax -P premin )+P premin (11)
[0132] Where, P is the load curve of the day to be measured, P′0 is the per unit load curve of the day to be measured, and P premax is the maximum load prediction value, P premin is the minimum load prediction value.
[0133] In order to verify the feasibility of the method of the present invention, December 2, 2020 is first selected as the forecast day, and the load forecast for that day is performed according to the above forecast method. The curve of the predicted value and the actual value of the load is shown in Figure 6 , indicating that the prediction method of the present invention has good reliability. The prediction method of the present invention is used to predict the load on January 1, 2021, and the prediction results are shown in Figure 7 .
[0134] Any matters not described in the present invention are applicable to the prior art.
Claims
1. A distribution line load forecasting method based on a decoupling mechanism, characterized in that: The prediction method includes the following steps: The first step is to obtain the historical load data of the same region and the corresponding meteorological factor data and date factor data to form a historical data set M; the historical load data is the actual load data collected at fixed time intervals, which is a time series data of load values with time tags, and the duration of a historical load data is one day; The second step is to establish a load per unit curve prediction model, which specifically includes the following steps: Step 2.1: Based on the historical data set M, eight factors, including daily maximum temperature, daily minimum temperature, daily average temperature, weather type, season, month, week type, and date type, are used as the research objects for analyzing the impact of load changes. The nonlinear correlation between each influencing factor and the daily maximum load is quantitatively analyzed through MIC. The calculation formula is shown in formulas (1)-(2): Where p(x, y) is the joint probability density function of random variables x and y, p(x) and p(y) are the marginal probability density functions of random variables; N is the total number of data, B(N) is the constraint condition for the total number of grid divisions, and B(N) = N 0.6 ; The MIC value range is [0,1]. The stronger the correlation between the two variables, the closer the MIC result is to 1; Through MIC analysis, the data of m main factors with MIC>0.3 are selected to construct the daily feature vector. The daily feature vector of the day to be predicted is T0. The historical days p days before the day to be predicted are selected as the similar day screening samples. The m-dimensional historical daily feature vectors T1, T2, …, T p days before the day to be predicted are constructed in the same way. p ; Where T0 is the feature vector of the day to be predicted, T i is the feature vector of the i-th historical day, T 0k is the characteristic value of the k-th dimension influencing factor; Step 2.2: Calculate the grey correlation coefficients of the factors affecting the day to be predicted and each historical day, form a grey correlation matrix, and thus obtain the grey correlation degree between the day to be predicted and each historical day; In the formula, r i (k) is the grey correlation coefficient of the k-th dimension influencing factor in the feature vector of the i-th historical day, ρ is the resolution coefficient, which is 0.5; r is the grey correlation matrix; R(i) is the grey correlation degree of the i-th historical day; Step 2.3: Arrange the grey correlation degrees obtained in step 2.2 from large to small, select the historical day corresponding to the maximum grey correlation degree as the similar day of the day to be predicted, and standardize the load of the similar day with the daily maximum load and daily minimum load as the reference value to obtain the similar day load standard curve; Where P0 is the similar daily load curve, P 0max is the maximum value of similar daily load, P 0min is the minimum value of similar daily load, P′0 is the per unit load curve of similar daily load; The third step is to establish a daily maximum load forecasting model based on the CNN-LSTM hybrid neural network, which specifically includes the following steps: Step 3.1: Based on the historical data set M, 18 factors, including daily maximum temperature, daily minimum temperature, daily average temperature, weather type, previous day maximum temperature, previous day minimum temperature, previous day average temperature, season, month, week type, date type, previous day maximum load, previous two days maximum load, previous three days maximum load, previous four days maximum load, previous five days maximum load, previous six days maximum load, and previous seven days maximum load, are used as the research objects for analyzing the influence of load change. The nonlinear correlation strength between each influencing factor and the daily maximum load is quantitatively analyzed through MIC, and the data of the factors with MIC>0.3 are selected as feature data, and the corresponding actual value of daily maximum load is added to establish a special data set for CNN-LSTM hybrid neural network; wherein, the data before the day to be predicted in the special data set is used as the training data set for training the neural network; Step 3.2: The feature data in the training data set is used as the input of the CNN-LSTM hybrid neural network to complete parameter initialization, the predicted value of the daily maximum load is used as the output of the neural network, and the mean square error function is selected as the network loss function, as shown in formula (8): Where P i is the actual value of the daily maximum load at the i-th point, The daily maximum load forecast value of the i-th point, n is the number of samples in the training data set; According to the value of the loss function, the parameters of the CNN-LSTM hybrid neural network are adjusted in reverse. If the value of the loss function obtained by the current network parameters is less than the preset value or the number of iterations is reached, the network parameter training is completed; Step 3.3: Input the feature data of the day to be predicted that is the same as the training data set into the CNN-LSTM hybrid neural network model that has completed parameter training in step 3.2 to obtain the daily maximum load forecast value P of the day to be predicted. premax ; The fourth step is to establish a daily minimum load forecasting model based on the load time series characteristics, which specifically includes the following steps: Step 4.1: Count the daily maximum load data and daily minimum load data in the load data of the historical data set M, and use MATLAB software to use ecdf (empirical distribution function) to obtain the daily maximum load data P max With the daily minimum load data P min The corresponding cumulative distribution function is as follows: Where P max , P min are the daily maximum load and daily minimum load variables, p1 is P max The probability of falling within (0, P1), p2 is P min The probability of falling within (0,P2); Step 4.2: Use the createFit function in MATLAB software to obtain the inverse function of the cumulative distribution function of the daily maximum load and daily minimum load data. The inverse function is as follows: Step 4.3: Construct a BiLSTM neural network dedicated data set using the probability values of the daily maximum load cumulative distribution function and the probability values of the daily minimum load cumulative distribution function obtained in step 4.1; wherein, the data before the day to be predicted in the BiLSTM neural network dedicated data set is used as a training data set for training the BiLSTM neural network; the probability value of the daily maximum load cumulative distribution function in the BiLSTM neural network dedicated data set is used as the input of the BiLSTM neural network to complete parameter initialization, and the corresponding predicted value of the probability value of the daily minimum load cumulative distribution function is used as the output of the neural network, and the mean square error function is selected as the network loss function; the parameters of the BiLSTM neural network are reversely adjusted according to the value of the loss function. If the value of the loss function obtained by the current network parameters is less than the preset value or the number of iterations is reached, the network parameter training is completed; Step 4.4: The maximum daily load value P obtained in the third step is premax Substitute it into the cumulative distribution function of the daily maximum load to obtain its corresponding probability value p1; input p1 into the trained BiLSTM neural network to obtain the probability value p2 of the cumulative distribution function of the minimum load on the day to be tested; substitute p2 into the inverse function of the cumulative distribution function of the minimum load on the day to be tested, and the value obtained is the minimum value P of the load on the day to be tested. premin ; The fifth step is to compare the load per unit curve of the day to be measured obtained in the second step with the maximum load value P of the day to be measured obtained in the third step. premax And the minimum load value P of the day to be measured obtained in the fourth step premin , and the daily load curve to be tested is obtained by combining: P=P′0*(P premax -P premin )+P premin (11) Where, P is the load curve of the day to be measured, P′0 is the per unit load curve of the day to be measured, and P premax is the maximum load prediction value, P premin is the minimum load prediction value.
2. A distribution line load forecasting method based on a decoupling mechanism according to claim 1, characterized in that: The time length of the historical data set M is at least one consecutive year.
3. A distribution line load forecasting method based on a decoupling mechanism according to claim 1, characterized in that: The historical load data in the historical data set M is a point every 15 minutes, with a total of 96 sampling points per day.
4. A distribution line load forecasting method based on a decoupling mechanism according to claim 1, characterized in that: In the second step, the historical days 30 days before the test date are selected as similar day screening samples.
Citation Information
Patent Citations
Power load forecasting method based on long short term memory neuron network
CN106960252A
A microgrid short-term load prediction method based on deep learning
CN109934392A
