03 - Lectures of Load Forecasting - Nnat
03 - Lectures of Load Forecasting - Nnat
01/02/85
1930 1893 1893
2721 2613 2500
01/03/85
1892 1839 1835
2657 2526 2412
01/04/85
1856 1803 1806
2716 2620 2537
01/05/85
1793 1720 1672
2509 2314 2170
06/2000 Short-term load forecasting 13
Definitions and Expected Results
(Big picture)
01/02/85
1930 1893 1893
2721 2613 2500
01/03/85
1892 1839 1835
2657 2526 2412
01/04/85
1856 1803 1806
2716 2620 2537
01/05/85
1793 1720 1672
2509 2314 2170
Statisticalmethods
Artificial Neural Networks
Fuzzy logic
Evolutionary programming
Simulated Annealing and expert system
Combination of the above methods
Model selection
Calculation and update of model
parameters
Testing the model performance
Update/modification of the model if the
performance is not satisfactory
Model selection
Selection of mathematical techniques that
match with the local requirements
Calculation and update of model
parameters
This includes the determination of the constants and
selection of the method to update the constants
values as the circumstance varies. (seasonal
changes)
06/2000 Short-term load forecasting 39
Concept of STLF Model
Development
w1 w2 w3 w4 w5
1 2 3 4 5
1 2 3
X1 X2 X3
Hj 1
n
W X
ij j
1 e i 1
06/2000 Short-term load forecasting 51
Building Blocks of
a Feed Forward Network
Y 1
h
w H
j 1 j j
1 e
06/2000 Short-term load forecasting 53
Training of the
Feed Forward Neural Network
In the equations:
Yactual is the true value of the output load
is learning factor (0.3-0.8)
n is the number of learning cycles
Xj is the input value belongs to Yactual
A numerical example demonstrates the
use of neural forecasting method.
06/2000 Short-term load forecasting 57
Training of the
Feed Forward Neural Network
Derivation of Learning
Algorithm
1
E ( X 2 ,n Y ) 2
2
1 1 1
H
j I h1 h2
W X 1 e
ij i
i1
1 e
1 1 1
Y
J 1 e Y1 Y 2
w H
j j
j 1
1 e
1 1
E ( X 2 ,n Y ) 2 u 2
2 2
06/2000 Short-term load forecasting 78
Derivation of Learning
Algorithm
The derivation of the error function results in :
dE d 1 2 du du du
2 u dw u dw ( X 2 ,i Y) dw
dw j du j j j
du d dY
(X 2,i Y)
dw j dw j dw j
dY
d
Y 2 2
1 dY 2 1 dY 2
1 dY 2
dw j dY 2 dw j Y 2 dw j (1 e ) dw j
Y1 2
1 dY 2 2 dY 2
2
Y
dw j dw j
J
w X
j i
1 e 0
w j H j
dY 2
d
dw j dY1
1 e Y1
dY1
dw j
e Y1
dY1
dw j
e
dY1
dw j
dY1 d J
dw j dw j 0
w j H j Hj
dH j
d
h2 1 dh 2 1 2 dh 2 1 h1 2 dh 2
dw j dh 2 dWi j h 2 dWi j (1 e ) dWi j
1 dh 2 2 dh 2
2
Hj
dWi j dWi j
I
Wi j X
i
1 e 0
1 e
Xj
dh 2 d dh1 h1 dh1
ij
dh1
h1
e e
dWi j dh1 dWi j dWi j dWi j
dh1 d I W X X
dWi j dWi j 0
ij j
j
dE
dW ( X Y ) Y ( 1 Y ) H (1 H ) X
ij dW 2n j j i
ij
06/2000 Short-term load forecasting 87
Derivation of Learning
Algorithm
Substituting the results in the equations which is used to
iterate the wj value :
k
dE
Wikj 1 Wikj dW Wikj
ij k
dWi j
Wikj ( X k2 ,n Y k ) Y k ( 1 Y k ) H kj ( H kj 1) X ki
w k 1
j w ( X Y ) Y (1 Y ) H
k
j
k
2n
k k k k
j
Wikj 1 Wikj ( X k2 ,n Y k ) Y k ( 1 Y k ) H kj ( H kj 1) X ki
Wikj dw kj ( H kj 1) X ki