A short-term power load forecasting method based on data mining
Through variational mode decomposition and Copula theory analysis, combined with the least squares support vector machine model optimized by hybrid kernel function and cuckoo search algorithm, the problem of insufficient consideration of influencing factors and improper handling of nonlinear characteristics in short-term power load forecasting is solved. Significantly improved prediction accuracy and model reliability.
Patent Information
- Application Number
- CN202011016983.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-24
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-09-24
AI Technical Summary
Existing short-term power load forecasting methods have shortcomings in considering influencing factors and processing nonlinear characteristics, resulting in low forecasting accuracy.
The variational mode decomposition method is used to decompose the original power load sequence into sub-modal components with different limited bandwidths, and the correlation of influencing factors is analyzed through Copula theory, and a least squares support vector machine model based on the hybrid kernel function is constructed, using cuckoo Bird search algorithm optimizes model parameters.
It effectively reduces the non-stationarity of the power load sequence, improves the prediction accuracy, considers the influence of multiple loads such as heat, cooling, and gas loads, and enhances the reliability of the prediction model.
Smart Images

Figure CN112132347B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of energy and power technology, and more specifically, to a short-term power load forecasting method based on data mining. Background Art
[0002] Short-term power load forecasting is an important guarantee for the power energy management system to reasonably arrange production scheduling, achieve energy conservation, and economic operation. However, short-term power load is affected by many factors such as weather, day type (day type includes, for example, working days, holidays, etc.), and market, which increases the difficulty of accurate power load forecasting. Therefore, improving the accuracy of short-term power load forecasting has become an important research topic.
[0003] For a long time, domestic and foreign scholars have conducted a lot of research on short-term power load forecasting. In terms of the influencing factors considered, existing studies mainly include weather factors, time, historical loads, etc. A common approach is to select three factors, namely average temperature, relative humidity and rainfall, to predict short-term power loads by performing principal component analysis on several influencing factors. Another approach is to improve the prediction accuracy by comprehensively considering the two influencing factors of temperature and time to predict short-term loads. However, there are relatively few existing studies that consider the correlation between multiple loads such as heat and cold loads and power loads. In terms of short-term power load forecasting methods, traditional forecasting methods and artificial intelligence forecasting methods are mainly used to forecast short-term power loads. Although traditional forecasting methods represented by regression analysis, time forecasting and other methods are simple to calculate and easy to implement, they have poor ability to process power load data with nonlinear characteristics and cannot achieve ideal prediction accuracy.
[0004] In summary, the existing short-term power load forecasting has problems such as insufficient consideration of influencing factors, improper processing of non-stationary data characteristics, and the need for algorithm optimization.
[0005] Therefore, a short-term power load forecasting method is needed to solve the above problems. Summary of the invention
[0006] To this end, the present invention provides a short-term power load forecasting method based on data mining, in an effort to solve or at least alleviate at least one of the above problems.
[0007] According to one aspect of the present invention, there is provided a method for short-term power load forecasting based on data mining, which is suitable for execution in a computing device and comprises the steps of: using a variational mode decomposition method to decompose an original power load sequence into sub-modal components of different finite bandwidths; determining the input variables corresponding to each sub-modal component; and inputting the input variables into a power load forecasting model to obtain a prediction result of the power load.
[0008] Optionally, the method according to the present invention further comprises the step of: pre-constructing a power load prediction model.
[0009] Optionally, in the method according to the present invention, the step of pre-constructing the power load prediction model includes: constructing a least squares support vector machine model based on a hybrid kernel function; and optimizing the parameters of the least squares support vector machine model using a cuckoo search algorithm to obtain the power load prediction model.
[0010] Optionally, in the method according to the present invention, the mixed kernel function includes: a global kernel function and a local kernel function.
[0011] Optionally, in the method according to the present invention, the step of decomposing the original power load sequence into sub-modal components with different finite bandwidths by using a variational modal decomposition method includes: decomposing the original power load sequence into multiple sub-modal components with finite bandwidths having a center frequency by constructing a variational function.
[0012] Optionally, in the method according to the present invention, the step of determining the input variables corresponding to each sub-modal component includes: calculating the correlation between the electric load component and the sequence of preset influencing factors under each sub-modal component; and taking the sequence of preset influencing factors with high correlation as the input variable corresponding to the sub-modal component.
[0013] Optionally, in the method according to the present invention, the preset influencing factors include: coupling relationship of heat, cold and air loads, temperature, humidity and day type.
[0014] Optionally, in the method according to the present invention, the step of calculating the correlation between the electric load component and the sequence of preset influencing factors under each sub-modal component includes: calculating the correlation using the Kendall rank correlation coefficient.
[0015] According to another aspect of the present invention, there is provided a computing device, comprising: one or more processors; and a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for executing any of the methods described above.
[0016] According to another aspect of the present invention, a computer-readable storage medium storing one or more programs is provided. The one or more programs include instructions. When the instructions are executed by a computing device, the computing device performs any of the methods described above.
[0017] In summary, according to the solution of the present invention, the original power load sequence is decomposed by using the variational mode decomposition method, which can effectively reduce the non-stationarity of the power load sequence and improve the prediction accuracy of the model. At the same time, the impact of multiple loads (such as heat, cold, gas load, etc.) in the energy system on the power load is considered, and the input variables of the prediction model are selected by calculating the correlation, which effectively improves the reliability of the prediction model. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] To achieve the above and related purposes, certain illustrative aspects are described herein in conjunction with the following description and accompanying drawings, which indicate various ways in which the principles disclosed herein can be practiced, and all aspects and their equivalents are intended to fall within the scope of the claimed subject matter. The above and other purposes, features and advantages of the present disclosure will become more apparent by reading the following detailed description in conjunction with the accompanying drawings. Throughout the present disclosure, the same reference numerals generally refer to the same parts or elements.
[0019] Figure 1 A schematic diagram showing the structure of a computing device 100 according to an embodiment of the present invention is shown;
[0020] Figure 2 A flow chart of a method 200 for short-term power load forecasting based on data mining according to an embodiment of the present invention is shown; and
[0021] Figure 3 A schematic diagram of a process for performing parameter optimization on a least squares support vector machine model according to an embodiment of the present invention is shown;
[0022] Figure 4 A schematic diagram of an original power load sequence according to an embodiment of the present invention is shown;
[0023] Figure 5 A schematic diagram showing the result of decomposing the original power load sequence according to an embodiment of the present invention is shown;
[0024] FIG. 6A to FIG. 6D A schematic diagram showing the comparison of prediction results of using different models to predict short-term power load. DETAILED DESCRIPTION
[0025] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0026] Figure 11 is a block diagram of an example computing device 100. In a basic configuration 102, computing device 100 typically includes a system memory 106 and one or more processors 104. A memory bus 108 may be used for communication between processor 104 and system memory 106.
[0027] Depending on the desired configuration, the processor 104 can be any type of processor, including but not limited to: a microprocessor (μP), a microcontroller (μC), a digital information processor (DSP), or any combination thereof. The processor 104 can include one or more levels of cache such as a first-level cache 110 and a second-level cache 112, a processor core 114, and registers 116. An example processor core 114 can include an arithmetic logic unit (ALU), a floating point unit (FPU), a digital signal processing core (DSP core), or any combination thereof. An example memory controller 118 can be used with the processor 104, or in some implementations, the memory controller 118 can be an internal part of the processor 104.
[0028] Depending on the desired configuration, the system memory 106 can be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. The system memory 106 may include an operating system 120, one or more applications 122, and program data 124. In some embodiments, the application 122 may be arranged to operate on the operating system using the program data 124. In some embodiments, the computing device 100 is configured to execute the method 200 for determining the operational risk of a new energy power generation system, and the program data 124 includes instructions for executing the above method.
[0029] The computing device 100 may also include an interface bus 140 that facilitates communication from various interface devices (e.g., output devices 142, peripheral interfaces 144, and communication devices 146) to the basic configuration 102 via the bus / interface controller 130. Example output devices 142 include a graphics processing unit 148 and an audio processing unit 150. They can be configured to facilitate communication with various external devices such as a display or speakers via one or more A / V ports 152. Example peripheral interfaces 144 may include a serial interface controller 154 and a parallel interface controller 156, which may be configured to facilitate communication with external devices such as input devices (e.g., keyboards, mice, pens, voice input devices, image input devices) or other peripherals (e.g., printers, scanners, etc.) via one or more I / O ports 158. Example communication devices 146 may include a network controller 160, which may be arranged to facilitate communication with one or more other computing devices 162 via a network communication link via one or more communication ports 164.
[0030] A network communication link can be an example of a communication medium. The communication medium can generally be embodied as a computer-readable instruction, data structure, program module in a modulated data signal such as a carrier wave or other transmission mechanism, and can include any information delivery medium. A "modulated data signal" can be a signal in which one or more of its data sets or its changes can be performed in a manner that encodes information in the signal. As a non-limiting example, the communication medium may include a wired medium such as a wired network or a dedicated line network, and various wireless media such as sound, radio frequency (RF), microwave, infrared (IR) or other wireless media. The term computer-readable medium used here may include both storage media and communication media. In some embodiments, one or more programs are stored in a computer-readable medium, and the one or more programs include instructions for executing the short-term power load forecasting method based on data mining according to the present invention.
[0031] The computing device 100 is configured to execute the short-term power load forecasting method 200 based on data mining according to the present invention. The computing device 100 can be implemented as a part of a small-sized portable (or mobile) electronic device, which can be a cellular phone, a digital camera, a personal digital assistant (PDA), a personal media player device, a wireless network browsing device, a personal head-mounted device, an application-specific device, or a hybrid device that can include any of the above functions. The computing device 100 can also be implemented as a personal computer including a desktop computer and a notebook computer configuration.
[0032] The following will be combined Figure 2, a process of a short-term power load forecasting method 200 based on data mining according to an embodiment of the present invention is introduced in detail.
[0033] like Figure 2 As described above, the method 200 starts at step S210. In step S210, the original power load sequence is decomposed into sub-modal components with different finite bandwidths using a variational mode decomposition (VMD) method.
[0034] VMD is an adaptive signal processing method proposed by Dragomiretskiy et al. It iteratively searches for the optimal solution of the variational mode, continuously updates each modal function and center frequency, and obtains several modal functions with a certain broadband. It is highly robust to sampling and noise.
[0035] According to an implementation of the present invention, taking into account the characteristics of short-term power loads such as nonlinearity, non-stationarity and randomness, the VMD method provides a solution to its non-stationarity problem. Therefore, in an embodiment of the present invention, by constructing a variational function, the original power load sequence is decomposed into multiple sub-modal components with finite bandwidth and center frequency.
[0036] The following briefly explains the process of constructing variational functions and solving variations.
[0037] (1) Constructing a variational function. Assuming that the original signal f can be decomposed into K modal components with a finite bandwidth and a center frequency, according to one embodiment of the present invention, the original signal f is the original power load sequence. To minimize the sum of the estimated bandwidths of each mode, the corresponding constrained variational expression is:
[0038]
[0039] In the above formula, K is the number of modes to be decomposed (the value of K is generally a positive integer), {u k}、{ω k} respectively correspond to the kth modal component and center frequency after decomposition, and different modal components u k The center frequency ω k Different, δ(t) is the Dirac function and * is the convolution operator.
[0040] (2) By introducing the Lagrangian multiplication operator η, the constrained variational problem is transformed into an unconstrained variational problem, and the augmented Lagrangian expression is obtained as follows:
[0041]
[0042] In the formula, α is the quadratic penalty factor, which aims to reduce the interference of Gaussian noise.
[0043] (3) Using the alternating direction multiplier (ADMM) iterative algorithm, combined with Parseval / Plancherel and Fourier isometric transform, the modal components and center frequencies are optimized, and the saddle points of the augmented Lagrangian function are searched. k ,ω k The expressions of and η are as follows:
[0044]
[0045]
[0046]
[0047] In the formula, γ is the noise tolerance, which meets the fidelity requirements of signal decomposition. and Corresponding to u i The Fourier transform of f(t), f(t) and η(t).
[0048] (4) Solve VMD and output the final and ω k , its main iterative solution process is as follows:
[0049] 1) Initialization η 1 and the maximum number of iterations N;
[0050] 2) Update according to formula (3) and formula (4) and ω k ;
[0051] 3) Update according to formula (5)
[0052] 4) If not satisfied If n < N, return to 2), otherwise complete the iteration and output the final and ω k .
[0053] According to an embodiment of the present invention, the final power load components obtained by decomposing the original power load sequence are The center frequency ω k It gradually increases from low frequency to high frequency. Among them, the low-frequency component reflects the overall trend of the original power load sequence; the medium-frequency component reflects the impact of various factors on the power load time series at different frequencies; the high-frequency component reflects the white noise contained in the power load data, which affects the accuracy of the model. The smaller the amplitude fluctuation, the more thorough the VMD decomposition of the high-frequency part. As a result, the non-stationarity problem of the original power load sequence is better handled.
[0054] Then in step S220, the input variables corresponding to each sub-modal component are determined.
[0055] According to an embodiment of the present invention, the establishment of a short-term power load forecasting model should not only consider the historical load, but also its coupling relationship with heat, cold and gas loads, as well as influencing factors such as climate and day type (day type includes, for example, working days, holidays, etc.). In one embodiment, by analyzing the correlation between each submodal component and the above-mentioned influencing factors, the corresponding input variables to be input into the forecasting model are determined.
[0056] First, the correlation between the electric load component and the sequence of preset influencing factors under each sub-modal component is calculated. In one embodiment of the present invention, the preset influencing factors include: coupling relationship of heat, cold and air loads, temperature, humidity and day type.
[0057] In order to more intuitively demonstrate the correlation between the electric load in the energy system and the above-mentioned preset influencing factors (such as other loads and climate factors), this paper uses Copula theory to perform correlation analysis.
[0058] Copula function is used to describe the nonlinear correlation between variables. Sklar theorem effectively combines multivariate distribution and Copula function, that is, if the random variable A = [A1, A2, ..., A n ] T The marginal distribution functions F1(a1), F2(a2), ..., F n (a n ) is continuous, then there exists a Copula function C(u1,u2,…,u n ),satisfy:
[0059] F(X)=C(F1(a1),F2(a2),…,F n (a n )) (6)
[0060] In addition, the quantitative analysis of nonlinear correlation between random variables generally adopts the method of rank correlation coefficient, and the commonly used ones are Spearman rank correlation coefficient and Kendall rank correlation coefficient. Since the Spearman rank correlation coefficient does not exist in all Copula functions, and the Kendall rank correlation coefficient can not only describe the nonlinear relationship between two variables, but also exists in all Copula functions. Therefore, according to an embodiment of the present invention, the Kendall rank correlation coefficient r is used to describe the correlation between the variables.
[0061] For the joint distribution function F(j,k) of the two-dimensional random variable (J,K), the marginal distribution functions F1(j) and F2(k) exist and are continuous, and are represented by u and v respectively. In one embodiment, when calculating the Kendall rank correlation coefficient between a certain load component and an influencing factor, u and v respectively represent the marginal distribution functions of the joint distribution function of the load component and the influencing factor. After calculation and goodness of fit test, the obtained Copula function is represented by C(u,v), and the Kendall rank correlation coefficient r can be expressed as
[0062]
[0063] When r>0, it indicates that the influencing factor is positively correlated with the load component; when r<0, it indicates that the influencing factor is negatively correlated with the load component; when r=0, the correlation between the two cannot be determined.
[0064] Generally speaking, all load distributions obey normal distribution, and Gaussian function is used to describe normal distribution. Therefore, this paper selects Gaussian Copula function to couple multivariate loads, and the corresponding calculation is shown in formula (8):
[0065]
[0066] In the formula, is the inverse function of the standard normal distribution.
[0067] The Kendall rank correlation coefficient r corresponding to the Gaussian Copula function can be expressed as:
[0068]
[0069] The Kendall rank correlation coefficient between each load component and the preset influencing factors such as multivariate load and temperature can be calculated by formulas (7) to (9), thereby obtaining the degree of correlation between them.
[0070] Then, the sequence of preset influencing factors with high correlation is used as the input variable corresponding to the sub-modal component.
[0071] According to the scheme of the present invention, based on the Kendall rank correlation coefficient between electric load and heat, cold, gas load and temperature, variables with strong correlation with each component of the electric load sequence are selected as input variables of the load prediction model, which can significantly improve the prediction accuracy of the electric load.
[0072] Then in step S230, the input variables are input into the power load prediction model to obtain the power load prediction result.
[0073] It should be noted that, before executing step S230, method 200 further includes the step of pre-constructing a power load prediction model. In this way, after determining the input variables corresponding to each sub-modal component, the input variables can be directly input into the pre-constructed power load prediction model, and after being processed by the prediction model, the prediction result of the power load is output.
[0074] In one embodiment, the power load forecasting model is based on the LSSVR model (Least Squares Support Vector Regression). The LSSVR model is a machine learning method that follows the principle of structural risk minimization and was proposed by Suykens et al. by improving the support vector regression (SVR) theory. By converting the inequality constraints in SVR into equality constraints, the convex quadratic programming problem is transformed into a problem of solving a system of linear equations, which can achieve efficient fitting of short-term power loads with nonlinear characteristics.
[0075] The following describes in detail the steps for constructing a power load forecasting model.
[0076] The first step is to construct a least squares support vector machine model based on the hybrid kernel function.
[0077] Assume that the training set S train ={(x1,y1),(x2,y2),…,(x l ,y l ),…,(x L ,y L )}, where L = |S train | is the sample size of the training set, x l ∈R n is the input variable, i.e., the sequence of influencing factors with strong correlation with each component determined by Copula theory, y l ∈R is the actual value of each component of the sample. For the training set, the LSSVR optimization problem can be expressed as formula (10)~(11).
[0078]
[0079]
[0080] In the formula, υ is the weight vector, τ is the regularization parameter, and ε l is the error variable, b is the offset, It is a nonlinear mapping from input space to high-dimensional feature space.
[0081] For the above optimization problem, the Lagrangian function is constructed as shown in formula (12).
[0082]
[0083] In the formula, λ l is the Lagrange multiplier.
[0084] Solving the KKT condition for equation (12), we get the following matrix:
[0085]
[0086] Where I = (1,…,1) T ,λ=(λ1,…,λ L ) T ,Y=(y1,…,y L ) T , is the kernel function matrix.
[0087] According to the Mercer condition, the kernel function can be written as x i is the i-th influencing factor sequence of the load component of all samples in the training set, and x is the influencing factor sequence of the corresponding test set.
[0088] Finally, the function estimation of LSSVR is shown in formula (14).
[0089]
[0090] In the formula, the non-zero element λ i The corresponding sample (x i ,y i ) is the support vector.
[0091] The key to the LSSVR model is the selection of kernel functions, which can convert low-dimensional nonlinear data into high-dimensional linear data. Therefore, selecting a suitable kernel function helps improve the accuracy of the model. In an embodiment of the present invention, considering that the global kernel function has a strong generalization ability and the local kernel function has a strong learning ability, the global kernel function and the local kernel function are combined to form a hybrid kernel function to take into account the advantages of the generalization ability of the global kernel function and the learning ability of the local kernel function. The hybrid kernel function according to an embodiment of the present invention is defined as:
[0092] H mix =μH Global +(1-μ)H Local (15)
[0093] In the formula, H mix is the mixed kernel function, H Global is the global kernel function, H Local is the local kernel function, μ∈[0,1] is the combination weight coefficient.
[0094] Further, in an embodiment according to the present invention, a polynomial (Poly) kernel function is selected as a global kernel function, and a radial basis function (RBF) kernel function is selected as a local kernel function. Therefore, the hybrid kernel function is expressed as shown in formula (16).
[0095]
[0096] In the formula, H poly is the polynomial kernel function, H RBF is the radial basis kernel function.
[0097] Finally, the least squares support vector machine LSSVR model is obtained as shown in formula (17).
[0098]
[0099] Here, y(x) represents the output prediction value for each input variable x (ie, the influencing factor sequence).
[0100] The second step is to optimize the parameters of the LSSVR model constructed above to obtain the final power load forecasting model.
[0101] In one embodiment, the parameters to be optimized include: regularization parameter τ, polynomial order q, radial basis kernel parameter σ, and combination weight coefficient μ. According to an embodiment of the present invention, a least squares support vector machine model is optimized using a cuckoo search algorithm (CS) to obtain a power load forecasting model.
[0102] The cuckoo search algorithm is a meta-heuristic search algorithm developed based on the cuckoo's nest parasitism breeding strategy and Levy flight strategy. The CS algorithm has frequent short-distance local search capabilities and a few long-distance global search capabilities, maintaining a balance between local and global walks, and is very effective for global optimization problems.
[0103] According to an embodiment of the present invention, the CS algorithm is used to perform global parameter optimization on the LSSVR model, and its flow chart is as follows: Figure 3 As shown, the optimization steps are as follows.
[0104] In step S310, the CS algorithm parameters are initialized, including: the number of iterations T, the number of bird nests L, the probability of being discovered by the host P (a) , the value range of regularization parameter τ, polynomial order q, radial basis kernel parameter σ, and combination weight coefficient μ.
[0105] Then in step S320, the bird nests are randomly initialized. The positions of L bird nests are randomly generated. The position consists of parameters (τ, q, σ, μ).
[0106] Then in step S330, the optimal nest position is searched. In an embodiment of the present invention, the mean square error (MSE) is used as the fitness function, as shown in formula (18). The fitness value of each nest is calculated, and the current minimum fitness value and the corresponding position are found.
[0107]
[0108] In the formula, is the fitness value of the i-th sample, is the actual value of the i-th sample, is the predicted value of the i-th sample, and L is the number of samples.
[0109] Then in step S340, the positions of the bird nests are updated. The positions of the L bird nests are updated by Levy flight, and the fitness of the new bird nest is calculated. If the fitness value of the new bird nest is better than that of the previous generation, the position of the bird nest is updated, otherwise the previous position is maintained.
[0110] Next, in step S350, the random number κ∈[0,1] is compared with P (a) , if κ≤P (a) , then the nest position is not changed, and other nest positions are changed with random steps. If the new nest fitness value is better, the original nest position is replaced, otherwise the original nest position is retained, and the latest nest position is generated.
[0111] Then in step S360, the optimal nest position in step S350 is found. If the number of iterations is reached, the position is the optimal position, and the optimal value of the parameter in the hybrid kernel function LSSVR is obtained. Otherwise, return to step S340 and execute again.
[0112] The short-term power load forecasting method 200 based on data mining of the present invention, firstly, in view of the non-stationary characteristics of the power load, VMD is used to decompose the original load sequence into sub-modal components with different limited bandwidths. Secondly, the influence of heat, cold and gas loads on the power load is considered, and the Copula theory is used to perform correlation analysis on the influencing factors such as multivariate loads, climate, day type, etc., to determine the input variables of each sub-modal component. Thirdly, the global kernel function is combined with the local kernel function as a hybrid kernel function to balance the learning ability and generalization ability of sample training, and the cuckoo algorithm is used to optimize the parameters of LSSVR to construct the LSSVR power load forecasting model.
[0113] To further illustrate that the method 200 has good prediction capability in short-term power compliance prediction, an example is used below to illustrate the execution process and prediction result of the method 200.
[0114] The hourly power load of a certain area from January to June 2017 is selected as a data set. The first 2928 data of the data set are used as a training set, and the last 1464 data are used as a test set to verify the accuracy of the power load forecasting model constructed in this paper. The original power load sequence is as follows Figure 4 shown.
[0115] 1) VMD decomposition
[0116] The original power load sequence is decomposed by VMD. In one embodiment, the modal number K is determined by observing the center frequency. The modal number is taken from small to large. When the center frequency of the last layer component remains relatively stable, the optimal modal number K is determined. In this embodiment, the optimal modal number K is determined to be 6. The decomposition result is as follows: Figure 5 shown.
[0117] Depend on Figure 5 It can be seen that the fluctuation frequency of the decomposed components gradually increases from u1 to u6. Among them, the low-frequency component u1 is the trend item of the original sequence, reflecting the overall trend of the power load; the medium-frequency components u2~u5 contain the details of the original sequence, reflecting the impact of various factors on the power load time series at different frequencies; the high-frequency component u6 affects the accuracy of the model, reflecting the white noise contained in the power load data, and the amplitude fluctuation is small, indicating that VMD decomposes the high-frequency part more thoroughly.
[0118] 2) Correlation analysis
[0119] As mentioned above, the Kendall rank correlation coefficient in Copula theory is used to determine the input variables of each component, as shown in Table 1. t-1 、E t-2 、E t-3 Denote the power load sequences of the corresponding components at hour t-1, t-2 and t-3 respectively, D t-1 , D t-2 , D t-3 They represent the day types of the corresponding components at hours t-1, t-2, and t-3, respectively. t-1 , T t-2 , T t-3 represents the temperature of the corresponding component at t-1, t-2 and t-3 hours, W t-1 , W t-2 , W t-3 represents the humidity of the corresponding components at t-1, t-2 and t-3 hours, H t-1 , H t-2 , H t-3 represents the heat load sequence of the corresponding components at t-1, t-2 and t-3 hours, C t-1 , C t-2 , C t-3They represent the cooling load sequences of the corresponding components at hour t-1, t-2 and t-3 respectively, G t-1 , G t-2 , G t-3 They represent the gas load sequences of the corresponding components at hours t-1, t-2 and t-3 respectively.
[0120] Table 1 Input variables of each component model
[0121]
[0122] As can be seen from Table 1, the input variables corresponding to the components after the decomposition of the original power load sequence are significantly different, indicating that these factors have a multi-scale influence relationship on the power load. Therefore, it is necessary to use Copula theory to study the correlation between each factor and the power load. The variables in Table 1 are used as the input variables of the LSSVR model of each component, and the power load forecast of each component is used as the output variable to predict the short-term power load.
[0123] 3) Comparative analysis of prediction results
[0124] In the LSSVR experiment based on hybrid kernel function and CS algorithm parameter optimization, the number of iterations T of CS algorithm optimization, the number of bird nests L, and the probability of being discovered by the host P are set. (a) The range of values of regularization parameter τ, polynomial order q, radial basis kernel parameter σ is [0.01, 1000], and the range of value of combination weight coefficient μ is [0, 1]. The final short-term power load forecasting results based on Copula theory and improved VMD-LSSVR are as follows: Fig. 6A shown.
[0125] In order to verify the accuracy of the prediction of the LSSVR model according to the embodiment of the present invention, the following three other models are used to predict the power load of the test set. The other three models are: LSSVR improved by VMD-RBF kernel function and CS algorithm, LSSVR improved by VMD-Poly kernel function and CS algorithm, and LSSVR improved by EMD-hybrid kernel function and CS algorithm. FIG. 6B to FIG. 6D shown.
[0126] At the same time, the mean absolute percentage error (MAPE) and root mean square error (RMSE) are used to evaluate the prediction effects of the above three models (Model 2-Model 4) and the prediction model according to an embodiment of the present invention (Model 1). The comparison of the prediction errors of each model is shown in Table 2.
[0127] Table 2 Comparison of prediction errors of various models
[0128]
[0129] Combined with Table 2 and Figure 6A to Figure 6D It can be seen that the prediction accuracy of model 1 is higher than that of model 2 and model 3, which shows that the selection of mixed kernel function in LSSVR model can balance the learning ability and generalization ability of samples, so that the prediction model has better regression effect. Model 1 is better than model 4, which shows that VMD is better than EMD in achieving data stability by decomposing variables, thereby improving the prediction accuracy of short-term power load.
[0130] In summary, among the four prediction models, the VMD-hybrid kernel function and CS optimized LSSVR model (i.e., Model 1) has the best prediction accuracy, with MAPE and RMSE of 4.518% and 10.582kW respectively. Therefore, it is very important to reasonably select the decomposition method and related parameters when conducting short-term power load forecasting.
[0131] In order to improve the prediction accuracy of short-term power load, according to the solution of the present invention, the influence of heat, cold and gas loads in the energy system on the power load is considered, and a short-term power load prediction model of LSSVR optimized by Copula theory, VMD-hybrid kernel function and CS algorithm is proposed. The following conclusions are obtained through example analysis: First, VMD can effectively reduce the non-stationarity of the power load sequence and improve the prediction accuracy of the model; second, the selection of the hybrid kernel function mechanism in the LSSVR model can balance the learning ability and generalization ability of the model, and it is necessary to optimize the parameters of the LSSVR model with the CS algorithm, which can reduce the prediction error; third, it is proved by Copula theory that there is a strong correlation between heat, cold, gas load and power load. Therefore, considering the influence of multiple loads in the energy system when predicting the power load can improve the reliability of the model.
[0132] It should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: that the claimed invention requires more features than those explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.
[0133] Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in the devices described in the embodiment, or alternatively may be located in one or more devices different from the devices in the examples. The modules in the foregoing examples may be combined into one module or may be divided into multiple submodules.
[0134] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0135] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0136] In addition, some of the embodiments are described herein as methods or combinations of method elements that can be implemented by a processor of a computer system or by other devices that perform the functions. Therefore, a processor with necessary instructions for implementing the method or method elements forms a device for implementing the method or method elements. In addition, the elements described herein of the device embodiments are examples of devices for implementing the functions performed by the elements for the purpose of implementing the invention.
[0137] As used herein, unless otherwise specified, the use of ordinal numbers "first," "second," "third," etc. to describe common objects merely indicates that different instances of similar objects are involved, and is not intended to imply that the objects so described must have a given order in time, space, order, or in any other manner.
[0138] Although the present invention has been described according to a limited number of embodiments, it will be apparent to those skilled in the art, with the benefit of the above description, that other embodiments may be envisioned within the scope of the invention thus described. In addition, it should be noted that the language used in this specification is selected primarily for readability and teaching purposes, rather than for explaining or defining the subject matter of the present invention. Therefore, many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the appended claims. The disclosure of the present invention is illustrative, not restrictive, with respect to the scope of the present invention, which is defined by the appended claims.
Claims
1. A method for short-term power load forecasting based on data mining, the method being suitable for execution in a computing device, the method comprising the steps of: The variational mode decomposition method is used to decompose the original power load sequence into sub-modal components with different finite bandwidths. By analyzing the correlation between each submodal component and each preset influencing factor, the input variable corresponding to each submodal component is determined, and the preset influencing factors include: the coupling relationship of heat, cold and air loads, temperature, humidity, and day type; Input the input variables into the power load prediction model to obtain the power load prediction result, Wherein, determining the input variables corresponding to each sub-modal component includes: using the Kendall rank correlation coefficient to calculate the correlation between the electric load component and the sequence of the preset influencing factors under each sub-modal component, wherein the Kendall rank correlation coefficient r is expressed as: Wherein, u and v represent the marginal distribution functions of the joint distribution function of the electric load component and the preset influencing factor, respectively, and C(u,v) represents the Copula function of u and v. The sequence of preset influencing factors with high correlation is used as the input variable corresponding to the submodal component.
2. The method according to claim 1, further comprising the steps of: The power load forecasting model is constructed in advance.
3. The method according to claim 2, in, The step of pre-constructing the power load forecasting model comprises: Construct a least squares support vector machine model based on a hybrid kernel function; The cuckoo search algorithm is used to optimize the parameters of the least squares support vector machine model to obtain a power load prediction model.
4. The method according to claim 3, in, The hybrid kernel function includes: a global kernel function and a local kernel function.
5. The method according to any one of claims 1 to 4, in, The step of using the variational modal decomposition method to decompose the original power load sequence into sub-modal components with different finite bandwidths includes: By constructing a variational function, the original power load sequence is decomposed into multiple sub-modal components with limited bandwidth and central frequency.
6. A computing device, include: one or more processors; and Memory; One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for executing any one of the methods according to claims 1-5.
7. A computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions, and when the instructions are executed by a computing device, the computing device performs any one of the methods according to claims 1-5.
Citation Information
Patent Citations
Method for quantifying isotropic diffusion and / or anisotropic diffusion in a sample
CA2936624A1
Short-term load prediction method of variational mode decomposition and deep belief network
CN107392364A
PSO-LSSVM short-term load prediction method based on improved variational mode decomposition
CN109583621A
Power system short-term load prediction method under a Hadoop framework
CN109614384A
short-term power load prediction model establishment method based on a VMD-PSO-LSSVM
CN109657882A
