You are on page 1of 3

2009 International Conference on Energy and Environment Technology

Medium and Long-Term Load Forecasting Based on PCA and BP Neural Network
Method

Shi Zhang Dingwei Wang


Institute of Systems Engineering, College of Institute of Systems Engineering, College of
Information Science and Engineering, Northeastern Information Science and Engineering, Northeastern
University University
Shenyang, China Shenyang, China
E-mail: zhangshi2001@163.com E-mail: dwwang@mail.neu.edu.cn

Abstract—To settle the problem which the precision and


genera-lization performance of forecast model is affected easily II. PRINCIPLE OF PCA
by input variable, the method which reconstructs the original
input space of back-propagation neural network by principal The operation object of PCA, sample data matrix of
component analysis that can eliminate the relevance of value is
process variables, are recombined and extracted a small
researched. The method can not only reduce duplicated
information but also extract the leading factors. Its can also
amount of the number of the integrated variables which can
optimize its network structure as well as enhance the be summed up most of information of the original data
network’s forecast precision. The effectiveness of the proposed matrix[12].
algorithm is verified by the practical data. The data compression of principal component analysis
method is essentially the spectral decomposition process of
Keywords-principal component analysis; back-propagation the covariance matrix of data matrix X. X is a standardized
neural network(BPNN); load forecasting; power system data matrix, X ∈ R n×m , where n is sampling frequency of data
and m is the number of variables.
I. INTRODUCTION XT X (1)
Cov( X ) =
Medium and long-term load forecasting of power system n −1
is considered as an important basis for the work of the The spectral decomposition can be determined by the
depart-ment such as power system programming, planning, following equation:
market transactions, scheduling etc[1]. Scientific forecast can X = t1 p1T + t2 p2T + " t k pkT + E (2)
ensure current result and current and it is very important to Where, ti is principal component and pi is load vector and E
forecast currently and reasonably to electricity demand for is covariance matrix.
stable operation of power system. Medium and long-term The following formula will be determined when formula
load fore-casting which is easily affected by economic, (2) is multiplied by pi .
policy, industrial and many other factors is a typical non-
linear system[2,4]. Artificial neural network algorithm has ti = X p i (3)
achieved satisfactory results and actual outcome to non- If the score vector is arranged according to below length:
linear system and was used to power load forecasting by t1 > t2 > " > tm (4)
scholars at home and abroad[5-9].
Then load vector p1 represents the biggest change direction
Back-propagation neural network is used to predict the
following year electricity load of a certain city in which load of the data matrix X and pm represents the smallest change
data and economic data of whole society can be acquired. direction of the data matrix X. The change of matrix X is
However, the generalization performance of the network is mainly manifested by the forefront sever load vector. The
reduced due to high dimension and serious relevance of the final small load vector that is caused by noise might be
network, resulting in decreased prediction accuracy. The written by the residual matrix and neglected to reduce noise
characteristics of principal component analysis method effect. Therefore, the thumb rule which judges accumulation
which can eliminate correlation between variables is used to contribution factor of the first k principal components
analyze the principal component relations of observational whether to be bigger than 85% is used to determinate
data, which not only reduces the dimension of variables, but reasonably to the number of the principal component.
also retain the original information[10,11]. The method can Empirical formula can be determined by the equation (5).
optimize network structure as well as enhance generalization k m
ability of network. The effectiveness of the proposed ∑λ ∑λ i i > 85% (5)
algorithm is verified by the practical data. i =1 i =1

The research was partly support by the National Natural Science


Found- ation of China(No. 70171021)

978-0-7695-3819-8/09 $26.00 © 2009 IEEE 389


DOI 10.1109/ICEET.2009.559
III. PCA-BPNN FORECAST MODEL AND original load data to compress the dimension of forecast data
EXAMPLE APPLICATION and extract principal feature component. These very few
The basic philosophy of PCA algorithm is that the high new variables can summarize behavioral trait of overall
space which is composed of a lot of load data is projected to system. Therefore, PCA of forecast load data is very
low dimension model space which is constituted of a few meaningful. The combination forecast model used in this
independent new variables that is a linear combination of the paper is shown in figure 1.

Load data BPNN1

PCA BPNN2 Return of Load


PCA forcast data

BPNNn

Figure 1. Combination forecast model

A. Annual Electricity Demand Forecast factors affecting annual electricity demand of a city are as
Whether a factor affects the electricity demand or not follows: the gross products of the nation Pn, the gross
depends on the length of the predicting term. If hourly products of the primary, secondary and tertiary industry Pp,
demand is to be predicted, the weather conditions including Ps, Pt and the total population P.
temperature, humidity, and so on[13-15], should be mainly The annual electricity demands can also be considered
considered. But, if monthly or annual demand is to be as a time series. As a result, the electricity demand of the
predicted, some important economical indices should be previous years is also considered as the affecting factors of
considered. If the predicting term is even longer, some annual electricity demand L. The primary data is shown
political factors should also be taken into account[16]. table 1.
This paper takes electricity consumption of a certain
urban as the example to forecast its electricity demand. The

TABLE I. PRIMARY DATA

Year Pn Pp Ps Pt P L

1995 7.82

1996 71.96 13.32 35.61 23.05 67.08 8.05

1997 78.63 14.05 39.36 25.22 67.51 8.27

1998 84.50 12.01 42.87 29.62 67.94 8.72

1999 89.55 12.59 44.64 32.32 68.05 9.39

2000 97.65 12.82 48.02 36.82 67.92 9.59

2001 103.30 12.94 49.72 40.66 67.78 10.43

2002 112.80 13.42 54.32 45.03 67.93 11.71

2003 122.10 13.68 60.36 49.05 67.92 13.39

2004 134.30 13.34 66.46 54.51 68.11 15.60

2005 160.40 14.91 79.70 65.75 68.01 17.66

390
B. PCA Optimization of Network principal component analysis that can eliminate relevance of
The electricity consumed L and all the factors are firstly value is researched. The method can not only reduce
unified to the range of [-1, 1] respectively and the plot of duplicated information but also extract the leading factors.
score by PCA is shown in figure 2. The score of 5th and 6th Its can also optimize its net work structure as well as
principal components had already achieved 95.97%, has enhance the network’s forecast precision. After actual load
conformed to the formula(5). Therefore, the 5th, 6th principal forecast experiment, the load forecast method based on
components may replace the original forecast matrix to take PCA-BPNN is applicable in question of relevant variable
the input neuron of the neural network, has realized considerable like load forecasting of power system.
optimization of the network structure. The corresponding REFERENCES
principal components coefficient vectors are shown by the
following formula. [1] W. Wei, D. X. Niu, and Z. Chang, “New development of load
forecast technology,” Journal of North China Electric Power
v5 = [0.1377,0.8427,0.0741, University, vol. 29, no. 1, pp. 10–15, 2002.
0.1177, −0.4512, 0.2189]T [2] M. Ghiassi, D. K. Zimbra, and H. Saidane, “Medium term system
load forecasting with a dynamic artificial neural network model,”
v6 = [0.4646, −0.1047, 0.4690, Electric Power Systems Research, Vol. 76, pp. 302–316, 2006.
0.4637, 0.3641, 0.4534]T [3] C. Q. Kang, Q. Xia, B. M. Zhang, “Review of power system load
forecasting and its development,” Automation of Electric Power
Systems, Vol. 28, no. 17, pp. 1–11, 2004.
[4] C. Q. Kang , Q. Xia, Z. H. Hu, and B. M. Zhang, “New connotation
of forecasting issues in electricity market,” Automation of Electric
Pwer systems, Vol. 28, no. 18, pp. 1–6, 2004.
[5] R. Xu, G. K. Venayamoorthy, and D. C. Wunsch, “Modeling of
gene regulatory networks with hybrid differential evoltion and
particle swarm optimization,” Neural Networks, Vol. 20, pp. 917–
927, 2007.
[6] A. Azadeh, S. F. Ghaderi, S. Tarverdian, and M. Saberi, “Integration
of artificial neural networks and genetic algorithm to predict
electrical energy consumption,” Applied Mathematics and
Compution, Vol. 186, pp. 1731–1741, 2007.
[7] B. F. Hobbs, S. Jitprapaikulsarn, and S. Konda, “Analysis of the
value for unit commitment of improved load forecasts,” IEEE Trans
on Power Systems, Vol. 14, no. 4, pp. 1342–1348, 1999.
Figure 2. Principal component contribution
[8] S. A. Billings, and X. Hong, “Dual-orthogonal radial basis function
networks for nonlinear time series prediction,” Neural Networks, Vol.
C. Forecasting Results and Analysis 18, pp. 479–493, 1998.
[9] L. Yue, Y. Zhang, Q. Zhong, and Z. Wang, “Mid-long term load
The method that new vectors as the input neuron of forecasting based on fuzzy logic clustering neural network
network has trained forcast electricity consumption of local approach,” Journal of North China Electric Power University, Vol.
2003 to 2005. The forecasting results are shown in Table 2. 35, no. 2, pp. 42–46, 2008.
[10] C. Q. Yin, L. F. Kang, W. Sun, and Y. J. He, “Shor-term load
TABLE II. FORECASTING RESULTS forecasting based on rough set and principal component analysis,”
Journal of North China Electric Power University, Vol. 34, no. 1, pp.
Given BPNN BPNN PCA- PCA-BPNN 1–4, 2007.
Year
values FR Errors BPNN FR Errors [11] S. Zhang, Q. Yang, D. Z. Wang, and D. S. Wu, “DPCA embedded
2003 13.39 13.08 -2.32 13.23 -1.20 MSPCA method based in application to process monitoring,”
Electronic Techology, Vol. 9, 140–142, 2007.
2004 15.6 14.01 -10.19 14.45 -7.37 [12] J. H. Yu, and W. Q. Yang, Multivariate Statistical Analysis and
Application, guangzhou: Zhong Shan Press, 2005.
2005 17.66 15.50 -12.23 16.27 -7.87 [13] K. Liu, S. Subbarayan, and R. R. Shoults, “Comparison of very
short-term load forecasting techniques,” IEEE Trans on Power
Systems, Vol. 11, no. 2, pp. 877–882, 1996.
The experiment may obtain that the PCA-BP neural [14] C. B. Li, P. Yang, W. Liu, D. Y. Li, and Y. Wang, “An analysis of
method has simplified architecture of the network accumulative effect of temperature in short-term load forecasting,”
effectively, and enhanced forecast precision. Automation of Electric Power Systems, Vol. 33, no. 9, pp.96–99,
2009.
IV. CONCLUSION [15] P. Wang, N. L. Tai, B. Wang, and H. Q. Zhai, “Ashort-term load
forecasting correction method considering climatic factors,”
A forecast model for annual electricity demand is built in Automation of Electric Pwer Systems, Vol. 32, no. 13, pp. 92–96,
this paper. Not only some important economical indexes of 2008.
the year to be forecasted, such as the gross products, but also [16] C. X. Li, D. X. Niu, and L. M. Meng, “A comprehensive Model for
the electricity demand of the previous two years, are Long- and Medium-term load forecasting based on analysic hierarchy
considered in the forecast model. The method of the process and radial basis function neural network,” Power System
Technology, Vol. 33, no. 2, pp. 99–104, 2009.

391

You might also like