Professional Documents
Culture Documents
Distribution System Load Forecasting
Distribution System Load Forecasting
y= F(x) = c0 f 0 ( x) c1 f 1 ( x) .......... c k f k ( x)
C = M-1 N
Gives
M =FTF and N = FT y
AKM/Distribution System Load-
02/07/21 forecasting 10
Consider a planner who has annual peak load data on each of his
company’s substations, going back for past ten years.
There are wide number of polynomials that he could use for the
curve fit. Suppose the polynomial is defined by;
L(1) 1 1 1 1
L ( 2) 8 a3
4 2 1 a
Or L(3) = 27 9 3 1 2
a1
L(n) (n) 3 a0
( n) 2 ( n) 1
i.e. L = PA
Suppose we have a data for past five (1:4 yrs) years as;
L= [100 210 280 400] MW,
We can get the 2nd order polynomial coefficients;
900
800
700
600
LOAD
500
400
300
200
100
1 2 3 4 5 6 7 8 9
Time
Above Figure shows the 4 year historical data ( Red) and next 6 year
forecasted data.
AKM/Distribution System Load-
02/07/21 forecasting 14
Simplified MATLAB Application
(if the curve is represented by polynomial)
If we use MATLAB programming only two command is sufficient
1. p = polyfit(x,y,n)
Finds the coefficients of a polynomial p(x) of degree n that fits the data,
p(x(i)) to y(i), in a least squares sense. The result p is a row vector of
length n+1 containing the polynomial coefficients in descending powers:
2. y = polyval(p,x)
Returns the value of the polynomial p evaluated at x.
Example: The polynomial
p( x ) 3 x 2 2 x 1
is evaluated at x = 5, 7, and 9 with
p = [3 2 1];
polyval(p,[5 7 9])
results in 86 162 262 Ans.
AKM/Distribution System Load-
02/07/21 forecasting 15
What order of polynomial ?
A least square error fit can give minimum possible
error (best fit) irrespective of the polynomial order.
Though High order polynomial can fit the curve
exactly, need not necessarily give accurate
forecast.
Experience has shown that up to third order can
give a fare degree of accuracy. Though best order
could differ depending on sample data available.
Let’s consider a result.
500
-500
-1000
LO A D
-1500
-2000
-2500
-3000
-3500
-4000
1 2 3 4 5 6 7 8 9 10 11
Time
AKM/Distribution System Load-
02/07/21 forecasting 17
Fitting of curves other than polynomial
The basic principle is same.
Only difference could be the definition of F (x)
Sometimes rearrangement in curves may be required to
convert in suitable format.
Exponential
L A(1 B ) t