Next Article in Journal
Modelling Treated Laundry Greywater Reuse for Irrigation Using an Affordable Treatment Method and Seed Germination Test
Next Article in Special Issue
Fault Detection of Wind Turbine Blades Using Multi-Channel CNN
Previous Article in Journal
Barriers to Urban Food Action: Relevance of Food Pedagogies
Previous Article in Special Issue
Electricity Substitution Potential Prediction Based on Tent-CSO-CG-SSA-Improved SVM—A Case Study of China
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Residential Electricity Load Forecasting Based on Fuzzy Cluster Analysis and LSSVM with Optimization by the Fireworks Algorithm

1
State Key Laboratory of Alternate Electrical Power System with Renewable Energy Sources, North China Electric Power University, Beijing 102206, China
2
Zhejiang Huayun Clean Energy Co., Ltd., Hangzhou 310012, China
*
Author to whom correspondence should be addressed.
Sustainability 2022, 14(3), 1312; https://doi.org/10.3390/su14031312
Submission received: 16 December 2021 / Revised: 14 January 2022 / Accepted: 20 January 2022 / Published: 24 January 2022

Abstract

:
As the construction of the energy internet progresses, the proportion of residential electricity consumption in end-use energy consumption is increasing, the peak load on the grid is growing year on year, and seasonal and regional peak power supply tensions, mainly for residential electricity consumption, have become common problems across the country. Accurate residential load forecasting can provide strong data support for the operation of electricity demand response and the incentive setting of the response. For the accuracy and stability of residential electricity load forecasting, a forecasting model is presented in this paper based on fuzzy cluster analysis (FC), least-squares support vector machine (LSSVM), and a fireworks algorithm (FWA). First of all, to reduce the redundancy of input data, it is necessary to reduce the dimension of data features. Then, FWA is used to optimize the arguments γ and σ2 of LSSVM, where γ is the penalty factor and σ2 denotes the kernel width. Finally, a load forecasting method of FC–FWA–LSSVM is developed. Relevant data from Beijing, China, are selected for training tests to demonstrate the effectiveness of the proposed model. The results show that the FC–FWA–LSSVM hybrid model proposed in this paper has high accuracy in residential power load forecasting, and the model has good stability and versatility.

1. Introduction

With a rapidly growing economy, the massive consumption of non-renewable energy, the deterioration of people’s living environment, and the energy crisis, how to improve energy utilization and achieve the coordinated development of economy and energy have become the focus of attention for countries around the globe. Reasonable electricity dispatch is one of the favorable means to improve energy utilization. A reasonable forecast of residential electricity load can help power suppliers formulate reasonable demand response strategies, prompt residents to change their inherent electricity consumption habits, reduce customers’ electricity costs, and achieve the purpose of peak and valley reduction.
Over the years, the techniques and methods of load forecasting have been developed continuously, and there are two main research methods: classical forecasting methods and modern intelligent load forecasting methods. Classical load forecasting methods principally include time series methods [1], regression analysis methods [2], gray theory methods [3], etc. These methods are simple to calculate and more mature in theory, but all have certain defects leading to less than ideal forecasting accuracy. Among them, the time series method only analyzes the time factor as a variable, ignoring the influence of other external factors, so when the external environment changes significantly, its prediction results will produce a large error [4]. Regression forecasting methods are sometimes speculative in the selection of explanatory variables or the way in which the explanatory variables are expressed, which affects the diversity of explanatory variables and the unpredictability of some explanatory variables to a certain extent, resulting in the limitation of regression analysis methods in predicting the load of distributed energy systems [5]. The gray prediction method has a better fitting effect for the original data as a smooth discrete series, while the influencing factors of residential electricity load are mostly discrete and subjective data, so the accuracy of the prediction will be greatly reduced when the gray prediction method is used to study such problems [6]. In summary, classical forecasting methods are not suitable for residential electricity load forecasting research.
At the present stage, scholars have gradually applied intelligent algorithms to the field of load prediction. Since intelligent algorithms such as artificial neural networks can simulate the human brain mechanism, the prediction accuracy has been improved with the help of their self-learning and self-seeking functions to simulate the changing pattern of the predicted object and build a suitable model [7]. BPNN is a typical representative of artificial neural network algorithms, and a previous study in the literature [8] took full account of the weather factors and established a short-term load forecasting model based on BPNN. Another study [9], on the other hand, proposed a load forecasting model based on improvement differential evolution and wavelet neural network. Forecasting by artificial neural network models can control the error in a small range; however, the disadvantage of this algorithm is that it is slow to converge and tends to be bogged down in local operations [10], so some scholars use SVM for load forecasting to prevent the problems of neural network structure selection and local optimization. Studies by [11,12] constructed load prediction models based on the SVM algorithm, respectively, and the prediction accuracy was improved, compared with BP neural net model, but the support vector machine algorithm is often not suitable when the amount of training data are too large, and the effect is poor in dealing with multi-classification problems.
Therefore, some scholars have improved the SVM by proposing the least-squares support vector machine (LSSVM), using kernel functions to transform the prediction problem into solutions of equations and thereby transforming unequal constraints into equation constraints. In addition to the significant improvement in the accuracy of load forecasting, this method also increases the operation speed [13]. Thus, some researchers sought to use LSSVM for load forecasting of other power systems, for example, one study [14] proposed an LSSVM-based electricity load forecasting model and also used a rolling mechanism to forecast the annual electricity consumption in China, and the results showed that, in contrast with the single prediction model, this model has better prediction performance [15]. Another study [16], on the other hand, applied the cuckoo algorithm to optimize the LSSVM and applied the optimized LSSVM model for short-term electricity load forecasting, which achieved more satisfactory forecasting results. Considering the relatively satisfactory results achieved by LSSVM in these studies, it was decided to use the LSSVM model for prediction in this paper. However, although the performance of the LSSVM model is superior to the SVM model in the process of load forecasting, it continues to be plagued by a blind selection of penalty coefficients and kernel arguments, and the selection of appropriate penalty coefficients and kernel arguments is crucial to enhance learning and generalize the capabilities of LSSVM, so suitable intelligent algorithms need to be selected to optimize it. At present, the main intelligent algorithms used include genetic algorithm [17], particle swarm algorithm [18], CS algorithm [19], bat algorithm [20], etc. However, genetic algorithms suffer from premature maturity, being computationally cumbersome, small processing scale, difficulty in dealing with nonlinear constraints, and poor stability. The particle swarm algorithm, on the other hand, has low local search accuracy and cannot fully meet the needs of the LSSVM model in the problem of parameter optimization. The CS and bat algorithms cannot converge to the optimal point, so they are susceptible to slip into local optimization, which leads to the reduction in load forecasting accuracy. For this reason, this paper proposes to use the fireworks algorithm to optimize the arguments of LSSVM. The fireworks algorithm does not affect the performance of the algorithm, to a large extent, due to small changes in the arguments, and arguments of the method are selected with low difficulty; therefore, the fireworks algorithm has good global convergence and high computational stability [21].
In addition, the residential electrical system is a complex system, with very many influencing factors; when all impact conditions are given as input data to the forecasting model, extensive redundant data will be generated in the process of operation, so it is necessary to select the input index data [22]. Fuzzy clustering is a statistical method for categorizing objective matters in accordance with specific demands and laws based on the attribute characteristics between factors [23]. Considering that the load curves are basically the same between dates with similar factors influencing the daily load of filling residential electricity consumption, better prediction results can be achieved by using similar daily load samples for prediction. Thus, this paper decided to use the fuzzy cluster analysis method to process and analyze the influencing factors.
Therefore, this paper analyzes the influencing factors of residential electricity load and constructs a residential electricity load forecasting model (FC–FWA–LSSVM) based on fuzzy cluster analysis and the fireworks algorithm to optimize LSSVM. The arrangement of the remaining parts of the paper is as follows: Section 2 describes the algorithms utilized in this paper, including the fuzzy cue analysis, the LSSVM model, and the fireworks algorithm, and constructs a complete forecasting framework. Section 3 selects practical cases to investigate the accuracy and stability of the model proposed in this paper. In Section 4, four typical scenarios are selected to validate the prediction results. In Section 5, the research results of the article are summarized.

2. Contributions

The main contributions of this paper are as follows:
(1)
Based on support vector machines, this paper proposes a method for short-term load prediction, which effectively reduces the difficulty of prediction by least-squares support vector machines while alleviating the possibility of overfitting and improving the inductive ability of learners and prediction accuracy.
(2)
This paper proposes a feature extraction method for data compression through fuzzy cluster analysis and parameter optimization using the fireworks algorithm, which can reduce the redundancy of data more effectively, further improve the prediction effect, and reduce the difficulty of prediction, compared with traditional cluster analysis.
(3)
Based on an empirical analysis of a residential neighborhood in China, this paper validates the effectiveness of the proposed method. Compared with traditional methods, the proposed method in this paper can reduce RMSE to 2.32%, MAPE to 2.21%, and AAE to 2.1%, which is suitable for high accuracy load prediction under large-scale features.

3. Materials and Methods

3.1. Fuzzy Clustering Analysis

Fuzzy clustering is a statistical method for categorizing objective matters in accordance with specific demands by establishing fuzzy similarity relationships based on different characteristics, closeness, and similarity between them [24]. In this paper, we used the fuzzy equivalence matrix dynamic cluster analysis method.
x = [ x 1 ,   x 2 ,   ,   x n ]
x j = [ x j 1 ,   x j 2 ,   ,   x j m ] T ,   ( j = 1 ,   2 ,   ,   n )
Let the set of n samples for the forecast date as shown in Equation (1) and each sample x j has m characteristic indicators, i.e., the sample x j can be expressed as Equation (2).
The concrete steps of the cluster analysis are as follows:
(1)
Specification of data: Each characteristic indicator has a different scale and order of magnitude and needs to be normalized. The following Equation (3) was used to process the historical data:
x j k = ( x j k x k min / ( x k max x k min ) , ( j = 1 ,   2 ,   n ;   k = 1 ,   2 ,   m )
where x j k is the original datum; x k m i n is the minimum value; x k m a x is the maximum value in x 1 k ,   x 2 k ,   ,   x n k ; x j k is the datum after specification.
(2)
Establishing fuzzy similarity relationship matrix: To measure the similarity between the samples that need to be classified, a fuzzy similarity relationship matrix R = { R i j } was established. The methods to determine r i j are similarity coefficient method, distance method, closeness method, etc., and the absolute value index method was used in this paper [25].
The formula is
r i j = exp ( k = 1 m | x i k x j k | ) , ( i = 1 ,   2 ,   n ;   j = 1 ,   2 ,   n ;   k = 1 ,   2 ,   m )
After obtaining the fuzzy similarity relation matrix, the squared self-synthesis method was used to construct the transfer closure R* of R.
(3)
Dynamic clustering: We had to choose a reasonable threshold L to truncate R*. The size of the clustering level L directly affects the clustering results, and the classification gradually merges from coarse to fine as L decreases from 1 to 0, forming a kinetic gathering plot. The optimal L value can be obtained by using the rate of change of L [26].
C i = L i 1 L i n i n i 1
where i is the number of aggregation order from high to low L , n i , and n i 1 is the number of elements in the i and i 1 clustering; L i and L i 1 are the confidence levels in the i and i 1 clustering. If C j = max ( C j ) , then the confidence level L i clustering is considered the optimal threshold.
d i j = 1 m k = 1 m ( x i k x j k ) 2
where x i k is the vector of characteristic indicators for the forecast day, and x j k is the vector of characteristic indicators for each category. Finally, the Euclidean distance had to be calculated, and therefore, the category associated with the minimum value was picked as the category for the forecast date, and the corresponding prediction models for forecasting were established.

3.2. Fireworks Optimization Algorithm

The fireworks algorithm (FWA) [27] is the calculation of the total firework blast sequence. Fireworks explode to make sparks, and the sparks make more new sparks at the same time, so as to constitute rich patterns. Converting the process of exploding fireworks into a computational process for FWA and viewing fireworks as a practical alternative for optimizing the problem-solving scope allowed us to comprehend the process of the spark generated as a way of seeking the perfect solution. In the process of achieving the perfect solution, the influencing factors of FWA include the number of sparks, the blast radius, and the best set of fireworks and sparklers to be selected by the next explosion (search process).
FWA has a superior self-regulation mechanism of local search capability and global search capability. In the FWA model, each firework has a different blast radius and the number of sparks that explode. A larger blast radius of fireworks with a poor adaptation value empowers the firework more “ability to explore”—exploration capabilities. Additionally, fireworks that have good fitness values have lower blast radii, enabling them to have greater “ability of excavation”—exploitability around the location. In addition, to further increase the variety of the population, the introduction of Gaussian mutation spark is very necessary.
Therefore, it can be seen that the three most vital elements of FWA are the explosion operator, mutation operator, and selection strategy.
(1)
Explosion operator: According to the adaptation value of fireworks, we can calculate the number of sparks produced by each firework blast and the blast radius. The formulas for calculating the number of fireworks S I and blast radius A i toward the fireworks x i ( i = 1 ,   2 ,   ,   N ) are as follows:
S i = M × y max f ( x i ) + ε i = 1 N ( y max f ( x i ) ) + ε
R i = R ^ × f ( x i ) y min + ε i = 1 N ( f ( x i ) y min ) + ε
In Equations (7) and (8), y m a x ,   y m i n stands for largest and least adaptive values of the current population, respectively; the adaptation value of the fireworks x i is expressed in f ( x i ) ; M adjusts the number of blast sparks as a constant; in addition, R ^ is to resize the blast radius of fireworks as a constant; moreover, ε is intended to prevent zero operation as the minimum machine value.
(2)
Mutation operator: Mutation operators can add to the variety of the sparks population. The variation sparks in FWA are the Gaussian mutation sparks produced by the explosion sparks through Gaussian mutation. When selecting fireworks x i for Gaussian mutation, the k-dimensional Gaussian mutation exercise is used as x ^ i k = x i k × e , where x ^ i k delegates k-dimensional variation spark, and e delegates obeying Gaussian distribution.
In FWA, when the explosion sparks and abrupt sparks that are created by the explosion arithmetic and abruptness arithmetic drop out of the search space, they are required to be plotted to a new place; the formula is as follows:
x ^ i k = x L B , k + | x ^ i k | % ( x U B , k x L B , k )
where x U B , k , x L B , k represent the upper and lower search spaces on the k dimension.
(3)
Selection strategy: A certain number of individuals need to be selected for the next generation of fireworks in explosion fireworks and mutation sparks, in order to transmit more complete data and information to the next generation of fireworks.
Candidates with the best fitness value were identified as the next generation of fireworks when K individuals were picked, and N is the size of the population. For the remaining N 1 fireworks, the selection was carried out in a proportional manner. For fireworks x i , the odds of being selected were computed as follows:
p ( x i ) = R ( x i ) x j K x j
R ( x i ) = x j K d ( x i x j ) = x j K x i x j
where R ( x ) is the ratio of distances among all individuals in the present individual candidate set. In the candidate set, the probability that the individual is selected will decrease when the individual has a higher density, which also means there are other candidates around this individual.
According to the foregoing statement, the concrete stages of FWA are as follows [28]:
Step 1. Randomly pick N fireworks in the solution volume and normalize their parameters;
Step 2. Calculate the fitness value f ( x i ) for every firework and calculate the explosion radius R i and number of sparks S i for every firework. Randomly pick the Z D coordinate in K D to update the coordinates.
Step 3. Generate M ^ Gaussian mutation sparks; randomly pick the spark x i ; then, calculate the result x ^ i k of M ^ Gaussian mutation sparks based on the Gaussian mutation formula, and save them to the population of Gaussian mutation sparks;
Step 4. Use the probability selection formula to pick N individuals from the fireworks, blast sparks, and populations of Gaussian mutation sparks as the fireworks for next-generation heterogeneous computation;
Step 5. Determine the stop condition. If the stop condition is met, the program is exited and the optimal result is output; otherwise, return to Step 2 to continue the cycle.

3.3. LSSVM

LSSVM is an extension of the SVM, which replaces the inequality constraint of the support vector machine with an equation constraint and transforms the quadratic programming problem in SVM into finding the solution of a linear system of equations. As a result, the convergence speed of the model is significantly improved [29].
Let the given specimen group T { ( x i ,   y i ) } i = 1 N , N be the total size of the group; then, the retrospective model of the samples is
y ( x ) = w T × ϕ ( x ) + b
where ϕ ( ) is the training group projected onto a high-dimensional universe, w is the weighted vector, and b is the bias.
For LSSVM, the optimization issue becomes
m i n 1 2 w T w + 1 2 γ i = 1 N ξ i 2
y i = w T f ( x i ) + b + ξ i ,   i = 1 ,   2 ,   3 ,   L N
where γ is the penalty factor, which is utilized to ensure the balance between sophistication and precision of the model; ξ i is the estimation error.
To address the above issue, establishing the Lagrangian function yields
L ( w ,   b ,   ξ i ,   α i ) = 1 2 w T w + 1 2 γ i = 1 N ξ i 2 i = 1 N α i [ w T ϕ ( x i ) + b + ξ i y i ]
where α i   is the Lagrangian multiplier. Taking the differentiator for every parameter of the function and making it 0 gives
{ L w = 0 w = i = 1 N α i ϕ ( x i ) L b = 0 i = 1 N α i = 0 L ξ = 0 α i = γ ξ i L α = 0 w T + b + ξ i y i = 0
Eliminating w and ξ i   translates into the following expression:
[ 0 e n T e n Ω + γ 1 I ] [ b a ] = [ 0 y ]
where
Ω = ϕ T ( x i ) ϕ ( x i )
e n = [ 1 ,   1 ,   ,   1 ] T
α = [ α 1 ,   α 2 ,   ,   α n ]
y = [ y 1 ,   y 2 ,   ,   y n ] T
Solving the above system of linear equations yields
y ( x ) = i = 1 N α i K ( x i ,   x ) + b
where K ( x i ,   x ) is the kernel function that satisfies the mercer condition. Viewing that the radial basis RBF kernel function has a broad convergence domain and a wide range of applicability, it was chosen in this paper as the kernel function for the least-squares support vector machine with the following Equation (23):
K ( x i ,   x ) = exp { x x i 2 / 2 σ 2 }
where σ2 denotes the kernel width, reflecting the features of the training dataset and having implications for the system’s ability to mineralize genes.
From the above analysis, it is clear that the difficulty in building the LSSVM prediction model is the determination of the arguments of the model—the kernel function parameter σ2 and the penalty parameter γ. The selection of appropriate σ2 and γ is crucial to increasing model learning and summarization skills.

3.4. Model Construction

The factors influencing the load forecast include seasonal type, maximum temperature, minimum temperature, weather type, day type, and historical load values. In this paper, we first analyzed the influencing factors of residential electricity load and used fuzzy cluster analysis to extract the dates with similar influencing factors to be predicted day and form similar day load samples as the training samples of the prediction model; then, we used the fireworks algorithm to optimize LSSVM, so as to gain best results of γ and σ2, and eventually, obtained the prediction results and analyzed the results. The proposed combined forecasting framework is shown in Figure 1.

4. Example Analysis

In this paper, a residential neighborhood in China was selected as a case study for analysis, the arithmetic data of the neighborhood were selected as the load data from October 2018 to October 2019, and the training set was used from 1 October 2018 to 30 October 2019; the test set was used from 31 October 2019, with 30 min as the data collection frequency.

4.1. Input Variable Selection and Processing

In this paper, seasonal type, maximum temperature, minimum temperature, weather type, day type, and load values at the same moment 4 days before the forecast day were selected as input variables. The seasonal-type data were divided into 4 categories: 1 for spring, 2 for summer, 3 for autumn, and 4 for winter. The weather-type data were divided into 2 categories: 1 for sunny and cloudy type, and 0.5 for rain and snow type. The day-type data were divided into 2 categories: 1 for weekdays and 0.5 for weekends. The temperature data and load data had to be normalized according to Equation (24).
Y = { y i } = x i x min x max x min i = 1 ,   2 ,   3 ,   ,   n
where x i is the real value, x m i n and x m a x are the minimum and maximum sample data, and y i is the normalized load value.
(1)
Relative error (RE)
RE = x i x ^ i x i × 100 %
(2)
Root-mean-squared error (RMSE)
RMSE = 1 n i = 1 n ( x i x ^ i x i ) 2
(3)
Mean absolute percentage error (MAPE)
MAPE = 1 n i = 1 n | ( x i x ^ i ) / x i | 100 %
(4)
Average absolute error (AAE)
AAE = 1 n ( i = 1 n | x i x ^ i | ) / ( 1 n i = 1 n x i )
In the above Equations (25)–(28), x is the actual value of the load, x ^ is the predicted value of the load, and n is the number of datasets. The smaller the value of the above indicators, the higher the prediction accuracy [27].

4.2. Evaluation Indices of Forecasting Results

Initialize the FWA parameter: The highest size of cycles is M a x g e n = 1000 , the size of the population is P o p N u m = 40 , the size of spark determines the constant M = 150 , and the radius of blast determines the constant x ^ = 200 . To validate the performance of the prediction method presented in this article, this study relied on the test sample data and conducted comparison experiments using the fireworks-algorithm-optimized LSSVM model (FWA–LSSVM), the standard LSSVM model, and the standard BPNN model. Figure 2 and Table 1 show the forecasting results of the proposed model, FWA–LSSVM, LSSVM, and BPNN models for loads in this paper. Figure 3 and Table 2 show the RE of each prediction model.
From Figure 2 and Figure 3, we can infer that the prediction errors of the proposed model are controlled within (−3%, 3%) for all time points, with the smallest absolute value of 0.50% and the highest point of 2.99%; only three of them are outside the range of (−1.5%, 1.5%)—namely, −2.52% at 4:30, −2.99% at 10:00, and 2.81% at 22:30. The FWA–LSSVM prediction model has five time points with relative errors controlled in the range of (−3%, 3%)—namely, 2.01% at 0:30, 1.85% at 2:00, 1.45% at 7:00, 1.46% at 15:00, and 2.53% at 22:00, with the smallest absolute value of 1.45% and the highest point of 4.98%. The LSSVM model prediction results have the smallest absolute value of 1.62% and the highest point of 6.98%, and the majority of the time points are in the range of (−1.5%, 1.5%), with the smallest absolute value 1.62% and the highest point of −4%. The smallest absolute value of the relative error of the BPNN model is −1.55%, and the maximum value is 9.97%, and the errors of the majority of the time points are between (−7%, −5%) and (5%, 7%), with a large fluctuation. From this perspective, the FC–FWA–LSSVM model has the highest forecasting precision, followed by the FWA–LSSVM model and the LSSVM model, and the worst is the BPNN model. It can be seen that fuzzy clustering analysis can effectively prevent ignorance in choosing similar days by manual experience. Compared with the traditional LSSVM model, the FWA-optimized LSSVM model improved its prediction accuracy because it found better model arguments.
Figure 4 and Table 3 show the RMSE, MAPE, and AAE of each model for the overall prediction results. It is evident that the RMSE of the method presented in this article is calculated as 2.32%, while the RMSE of the FWA–LSSVM, LSSVM, and BPNN models are calculated as 4.25%, 6.12%, and 8.26%, respectively. This shows that the forecasting outcome of the model introduced in this article has small errors and the highest general precision of forecasting. Additionally, the FC–FWA–LSSVM model has the best-calculated results for MAPE (2.21%) and AAE (2.10%). Compared with the FWA–LSSVM model, fuzzy clustering analysis overcomes, to some extent, the negative impact of non-conventional load data on LSSVM training due to unexpected changes in influencing agents. Contrasting this with the LSSVM model reveals that its generalization capability and forecasting precision can be enhanced by enhancing the arguments of the LSSVM. In contrast to the BPNN model, the LSSVM model can protect against the disadvantages of delayed restraint and the tendency to become stuck in a local optimum of the BPNN model. Overall, the FC–FWA–LSSVM model has the best forecasting performance, the FWA–LSSVM model and the LSSVM model are the next best, and the BPNN model has the worst prediction performance.

5. Scenario Validation

To remove the specificity of the target day and to check the generalization behavior of the model, one day of data from each of the four seasons was picked as the test sample: 17 April as the spring test sample; 21 July as the summer test day; 9 October as the autumn test day; 28 January as the winter test day.
Figure 5 shows the curve of the forecasting load values against the true values of the load for the four seasons of spring, summer, autumn, and winter.
By comparing the predicted and true load values for the four seasons, it can be concluded that the total predicted tendency of all four models is near to the true value, which validates the advantages of the model proposed in this paper for residential electricity load forecasting.
From Table 4, it can be concluded that the RMSE, MAPE, and MAE values of the FC–FWA–LSSVM forecasting model proposed in this paper are the lowest for the four seasonal test samples, as shown in the table. The RMSE, MAPE, and MAE values for spring load forecasting are 1.3901%, 1.4112%, and 1.4349%, respectively; the RMSE, MAPE, and MAE values for summer load forecasting are 1.3912%, 1.5812%, and 1.4424%; the RMSE, MAPE, and MAE values for summer load forecasting are 1.5123%, 1.4671%, and 1.4291%; the RMSE, MAPE, and MAE values for winter load forecasting are 1.3941%, 1.4214%, and 1.4042%, all of which are lower than the other models; this, again, illustrates the optimal overall prediction performance of the prediction model proposed in this paper.

6. Conclusions

In this article, we presented a hybrid load forecasting model that combines fuzzy cluster analysis and LSSVM and is optimized by FWA. First, to forecast residential electric load loads, fuzzy cluster analysis was used to select the input features. In addition, FWA was used to optimize the criteria of LSSVM. Finally, upon acquiring an optimized feed subset and the optimal values of γ and σ2, the proposed model was used for residential electricity load forecasting. Based on these studies, several conclusions can be drawn as follows: (a) By using fuzzy clustering analysis, the influence of uncorrelated factors can be mitigated, which effectively improves forecasting capabilities; (b) the optimization algorithm FWA increases the global search capability of the model, and the LSSVM model optimized by FWA shows good performance; (c) based on the error evaluation criteria, with SVM, LSSVM achieves better prediction results, indicating that the method of improving SVM by introducing least-squares linear system is effective. The model based on FCA and KELM optimized with FWA proposed in this paper offers a new research direction for load forecasting and is highly feasible. In the example of load forecasting, the desired forecasting results were obtained. In future research, the forecasting model can be applied to develop demand corresponding strategies to contribute to peak and valley reduction in electricity loads.

Author Contributions

System modeling, control strategy algorithm design, writing—original draft preparation, X.Z.; conceptualization, technical support, G.L.; algorithm study, B.S. and L.L.; writing—review and editing, D.L. and M.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This study received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Research data are not shared.

Acknowledgments

This research was supported by the project of Development of Household Energy Efficiency Management System (Zhejiang Huayun Clean Energy Co., Ltd.).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Fan, Y.N.; Chen, C.H.; Xu, J.Y.; Xu, L.; Yu, D. Medium- and long term power load forecasting based on MATLAB gray Elman network. Tech. Autom. Appl. 2021, 40, 93–98. [Google Scholar]
  2. Chen, J.P.; Hu, Z.J.; Chen, W.N.; Gao, M.; Du, Y.; Lin, M. Load prediction of integrated energy system based on combination of quadratic modal decomposition and deep bidirectional long short-term memory and multiple linear regression. Autom. Electr. Power Syst. 2021, 45, 85–94. [Google Scholar]
  3. Zhang, H.; Li, S.X.; Shi, J.; Liu, X.; Wang, K.; Sun, X. Short-term load forecasting method based on serial GA-BP. Proc. CSU-EPSA 2021, 33, 97–101. [Google Scholar]
  4. Li, Z.W.; Hu, J.A.; Liu, X.; Deng, Y.; Tang, P.; Wang, Y. Multi-factor short-term load prediction model based on PCA-DBILSTM. Proc. CSU-EPSA 2020, 32, 32–39. [Google Scholar]
  5. Bozorg, M.; Bracale, A.; Caramia, P.; Carpinelli, G.; Carpita, M.; De Falco, P. Bayesian bootstrap quantile regression for probabilistic photovoltaic power forecasting. Prot. Control Mod. Power Syst. 2020, 5, 218–229. [Google Scholar] [CrossRef]
  6. Xi, Y.W.; Wu, J.Y.; Shi, C.; Zhu, X.; Cai, R. A refined load forecasting based on historical data and real-time influencing factors. Power Syst. Prot. Control 2019, 47, 80–87. [Google Scholar]
  7. Chen, H.; Zhang, J.; Tao, Y.; Tan, F. Asymmetric GARCH type models for asymmetric volatility characteristics analysis and wind power forecasting. Prot. Control Mod. Power Syst. 2019, 4, 29. [Google Scholar] [CrossRef] [Green Version]
  8. Cheng, C. Improved BP Neural Network Based on Genetic Algorithm for Short-Term Load Forecasting of Power System. Master’s Thesis, Xi’an University of Technology, Xi’an, China, 2020. [Google Scholar]
  9. Zhao, P.; Dai, Y.M. Power load forecasting of SVM based on real-time price and weighted grey relational projection algorithm. Power Syst. Technol. 2020, 44, 1325–1332. [Google Scholar]
  10. Lin, Z.R.; Li, J.C.; Yang, D.Q.; Jun-Yun, W.U. Network traffic prediction based on wavelet neural network with improved differential evolution algorithm. Comput. Eng. Design. 2019, 40, 3413–3418. [Google Scholar]
  11. Liang, Y.; Wang, H.C.; Hong, W.C. Sustainable Development Evaluation of Innovation and Entrepreneurship Education of Clean Energy Major in Colleges and Universities Based on SPA-VFS and GRNN Optimized by Chaos Bat Algorithm. Sustainability 2021, 13, 5960. [Google Scholar] [CrossRef]
  12. Yan, C.; Tang, Y.; Dai, J.; Wang, C.; Wu, S. Uncertainty modeling of wind power frequency regulation potential considering distributed characteristics of forecast errors. Prot. Control Mod. Power Syst. 2021, V6, 276–288. [Google Scholar] [CrossRef]
  13. Wang, Y.L.; Zhou, M.H.; Yao, S.H.; Wei, M.J.; Yang, Y.; Liu, Z.; Hu, M.J. Multi-load cooperative prediction model of integrated energy system based on multi-energy coupling mechanism. J. North China Electr. Power Univ. (Nat. Sci. Ed.) 2021, 1–10. Available online: https://kns.cnki.net/kcms/detail/13.1212.tm.20210705.1544.002.html (accessed on 15 December 2021).
  14. Hu, L.J.; Guo, C.Z.; Wang, J.S. Short-term Power Load Forecasting Based on ISSA-LSSVM Model. Sci. Technol. Eng. 2021, 21, 9916–9922. [Google Scholar]
  15. Wang, H.; Liang, Y.; Ding, W.; Niu, D.; Li, S.; Wang, F. The Improved Least Square Support Vector Machine Based on Wolf Pack Algorithm and Data Inconsistency Rate for Cost Prediction of Substation Projects. Math. Probl. Eng. 2020, 2020, 6663006. [Google Scholar] [CrossRef]
  16. Liu, X.D.; Zou, Y.N.; Xiong, X.D.; Cheng, C.; Yang, H.Y. A regional load forecasting method based on improved Cuckoo Search LSSVM. Inf. Technol. 2021, 45, 41–47. [Google Scholar]
  17. Han, P.P.; Pan, W.; Zhang, N.; Wu, H.; Qiu, R.; Zhang, Z. Optimization method for artificial phase sequence based on load forecasting and non-dominated sorting genetic algorithm. Autom. Electr. Power Syst. 2020, 44, 71–78. [Google Scholar]
  18. Guan, S.H.; Shen, Y.X. Power load forecasting based on PSO RBF-NN. Transducer Microsyst. Technol. 2021, 40, 128–131. [Google Scholar]
  19. Erdiwansyah, M.; Husin, H.; Nasaruddin, M.Z.; Muhibbuddin, A. Critical review of the integration of renewable energy sources with various technologies. Prot. Control Mod. Power Syst. 2021, 6, 37–54. [Google Scholar] [CrossRef]
  20. Wu, Y.; Lei, J.W.; Bao, L.S.; Li, C.Z. Short-term load forecasting based on improved grey correlation analysis and neural network optimized by bat algorithm. Autom. Electr. Power Syst. 2018, 42, 67–72. [Google Scholar]
  21. Wang, Y.F.; Zheng, Y.P.; Xue, H. Optimal dispatch of mobile energy storage for peak load shifting based on enhanced firework algorithm. Autom. Electr. Power Syst. 2021, 45, 48–56. [Google Scholar]
  22. Soh, W.; Kim, H.; Yum, B.-J. Application of kernel principal component analysis to multi-characteristic parameter design problems. Ann. Oper. Res. 2018, 263, 69–91. [Google Scholar] [CrossRef]
  23. Xie, L.; Li, Z.; Zeng, J.; Kruger, U. Block adaptive kernel principal component analysis for nonlinear process monitoring. AIChE J. 2016, 62, 4334–4345. [Google Scholar] [CrossRef]
  24. Wang, R.; Chen, S.W.; Lu, J. Time-division refined short term load forecasting based on BOA-SVR and Fuzzy Clustering. Eng. J. Wuhan Univ. 2021, 1–10. [Google Scholar]
  25. Filho, J.B.O.S.; Diniz, P.S.R. A Fixed-Point Online Kernel Principal Component Extraction Algorithm. IEEE Trans. Signal Process. 2017, 65, 6244–6259. [Google Scholar] [CrossRef]
  26. Omar Noureldeen, I. Hamdan. A novel controllable crowbar based on fault type protection technique for DFIG wind energy conversion system using adaptive neuro-fuzzy inference system. Prot. Control Mod. Power Syst. 2018, 3, 328–339. [Google Scholar]
  27. Dong, W.C.; Li, S.H. Reliability sensitivity of wind power system considering correlation of forecast errors based on multivariate NSTPNT method. Prot. Control Mod. Power Syst. 2021, 6, 136–146. [Google Scholar] [CrossRef]
  28. Shang, L.; Zhu, W.; Li, P.; Guo, H. Maximum power point tracking of PV system under partial shading conditions through flower pollination algorithm. Prot. Control Mod. Power Syst. 2018, 3, 400–406. [Google Scholar] [CrossRef]
  29. Zheng, D.; Eseye, A.; Zhang, J.; Li, H. Short-term wind power forecasting using a double-stage hierarchical ANFIS approach for energy management in microgrids. Prot. Control Mod. Power Syst. 2017, 2, 136–145. [Google Scholar] [CrossRef] [Green Version]
Figure 1. The proposed composite prediction framework.
Figure 1. The proposed composite prediction framework.
Sustainability 14 01312 g001
Figure 2. Prediction results.
Figure 2. Prediction results.
Sustainability 14 01312 g002
Figure 3. RE of each prediction model.
Figure 3. RE of each prediction model.
Sustainability 14 01312 g003
Figure 4. RMSE, MAPE, and AAE of the prediction results.
Figure 4. RMSE, MAPE, and AAE of the prediction results.
Sustainability 14 01312 g004
Figure 5. Electricity load forecast graph.
Figure 5. Electricity load forecast graph.
Sustainability 14 01312 g005
Table 1. Prediction results.
Table 1. Prediction results.
TimeActual ValueBPNNLSSVMFWA–LSSVMFC–FWA–LSSVM
0:0093578683990497439239
0:30967610,41810,29698709785
1:0010,3739487977610,74410,469
1:30976310,57010,27310,1689874
2:0095108817976596859452
2:30989410,718928910,32610,030
3:00946110,226999191619527
19:0011,52412,36912,23510,97611,582
19:3011,48312,29912,07410,94211,586
20:0010,644972010,04911,10710,503
20:3010,97211,91211,72011,30411,038
21:0010,62411,49211,18710,26110,493
21:3011,17311,97911,89711,56811,310
22:0010,852993011,53711,12611,006
22:3010,55911,45511,21410,17310,856
23:0010,53111,473988410,91110,393
23:30974610,470921210,1689879
Table 2. RE of each prediction model.
Table 2. RE of each prediction model.
TimeBPNN (%)LSSVM (%)FWA–LSSVM (%)FC–FWA–LSSVM (%)
0:00−7.1995.854.13−1.265
0:307.6676.412.011.133
1:00−8.546−5.7573.5750.924
1:308.275.2324.1561.136
2:00−7.2842.6851.848−0.61
2:308.321−6.1154.3681.376
3:008.095.601−3.1650.7
19:007.3356.168−4.7540.501
19:307.115.15−4.7130.899
20:00−8.68−5.5914.348−1.322
20:308.5736.8213.0290.603
21:008.1695.3−3.42−1.234
21:307.2156.4813.5371.222
22:00−8.4966.3062.5261.418
22:308.4846.206−3.6582.813
23:008.943−6.1493.6−1.317
23:307.427−5.4754.3251.367
Table 3. RMSE, MAPE, and AAE of the prediction results.
Table 3. RMSE, MAPE, and AAE of the prediction results.
BPNNLSSVMFWA–LSSVMFC–FWA–LSSVM
RMSE8.26%6.12%4.25%2.32%
MAPE8.15%6.09%4.16%2.21%
AAE8.11%6.07%4.12%2.10%
Table 4. RMSE, MAPE, and AAE of the prediction results.
Table 4. RMSE, MAPE, and AAE of the prediction results.
SeasonIndexFC–FWA–LSSVM
SpringRMSE2.09%
MAPE2.21%
MAE2.03%
SummerRMSE2.01%
MAPE2.08%
MAE2.44%
AutumnRMSE2.21%
MAPE2.17%
MAE2.03%
WinterRMSE2.19%
MAPE2.32%
MAE2.40%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zhao, X.; Shen, B.; Lin, L.; Liu, D.; Yan, M.; Li, G. Residential Electricity Load Forecasting Based on Fuzzy Cluster Analysis and LSSVM with Optimization by the Fireworks Algorithm. Sustainability 2022, 14, 1312. https://doi.org/10.3390/su14031312

AMA Style

Zhao X, Shen B, Lin L, Liu D, Yan M, Li G. Residential Electricity Load Forecasting Based on Fuzzy Cluster Analysis and LSSVM with Optimization by the Fireworks Algorithm. Sustainability. 2022; 14(3):1312. https://doi.org/10.3390/su14031312

Chicago/Turabian Style

Zhao, Xinyue, Baoxing Shen, Lin Lin, Daohong Liu, Meng Yan, and Gengyin Li. 2022. "Residential Electricity Load Forecasting Based on Fuzzy Cluster Analysis and LSSVM with Optimization by the Fireworks Algorithm" Sustainability 14, no. 3: 1312. https://doi.org/10.3390/su14031312

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop