Professional Documents
Culture Documents
1
EXTRACTION OF IMPORTANT TECHNICAL DATA FROM SHORT
TERM LOAD CURVES AND LOAD DURATION CURVES AND USE
THE DATA FOR OPTIMAL POWER FLOW USING MATLAB
PURPOSE:
To learn
1. Review of basics of MATLAB
2. How to build a load curve, load duration curve and integrated load duration for
a given data.
3. Valuable information extracted from these load curves.
𝑨𝒗𝒆𝒓𝒂𝒈𝒆 𝑳𝒐𝒂𝒅
𝑳𝒐𝒂𝒅 𝑭𝒂𝒄𝒕𝒐𝒓 = (𝟏. 𝟏)
𝑴𝒂𝒙𝒊𝒎𝒖𝒎 𝑫𝒆𝒎𝒂𝒏𝒅
𝑴𝒂𝒙𝒊𝒎𝒖𝒎 𝑫𝒆𝒎𝒂𝒏𝒅
𝑫𝒆𝒎𝒂𝒏𝒅 𝒇𝒂𝒄𝒕𝒐𝒓 = (𝟏. 𝟐)
𝑪𝒐𝒏𝒏𝒆𝒄𝒕𝒆𝒅 𝑳𝒐𝒂𝒅
𝑨𝒗𝒆𝒓𝒂𝒈𝒆 𝑳𝒐𝒂𝒅
𝑷𝒍𝒂𝒏𝒕 𝑪𝒂𝒑𝒂𝒄𝒊𝒕𝒚 𝑭𝒂𝒄𝒕𝒐𝒓 = (𝟏. 𝟑)
𝑷𝒍𝒂𝒏𝒕 𝑪𝒂𝒑𝒂𝒄𝒊𝒕𝒚
PROCEDURE:
Generally load curves are built by recording the values of load demands for every instant during
a certain time interval and plot a graph of load demands against a time for which it occurs. The
procedure for plotting Load Curves in MATLAB is as:
1. Open a new M-file in MATLAB.
2. A function is initialized that takes input variable data and in output we obtain plot of
load cycle for a given interval.
Function[ ]= loadcurve(data)
3. First of demand interval and load is defined by the variable data in a three column
matrix.
For Example:
4. The first two columns are the demand interval and third column is load value. The
demand interval may be minutes, hours, and months in ascending order and load values
are generally in KW or MW. In above example first row of data variable shows that for
first two hours (00-02) load demand is 6 MW.
6. Save the commands above in your thumb drive directory, save as loadcurve.m
7. Now execute the above function and following load curve plot will be obtained.
However, the procedure for plotting a load duration curve is different from load curves
that is given below:
8. Determine the peak load and duration for which it occurs.
9. Then take the next lower load and find the total time during the year when this and the
previous greater load occurs.
10. Plot the load against the number of hours during the year, month or day for which it
occurs, or against the percentage of time during the year.
11. Further some useful information can also be extracted from these curves. i.e. Total
Energy from area under the curve, load factor etc.
E=pp’*(t2-t1)
Pavg=W/sum(t2-t1)
Peak=max(pp)
LF=(Pavg/Peak)*100;
Load (KW) 15 35 70 80 90 15
data=[0 4 15
4 8 35
8 18 70
18 20 80
20 22 90
22 24 15];
C=data(:,3);
D=data(:,2)-data(:,1); %% it will take the difference of column 2 and 1
Total_unit_counsumed_in_a_day_in_KWh=(C'*D) %% it will give area under the
curve
load(data) %% it calls the function
title("load Curve 18-EE-523") %% it gives title to the graph
xlabel("Time,Hr") %% it label the x-axis of the graph
ylabel("P,KW") %% it will label the y-axis of the graph
Load Curve:
(ii) Load Duration Curve:
1. First of all peak load demand and duration for which it is occurs are determined. In this
example peak demand is 90 MW and it occurs for 2 hours.
2. Starting from peak load demand following table is constructed to determine various
points on load duration curve.
data=[0 2 90
2 4 80
4 14 70
14 18 35
18 24 15];
C=data(:,3);
D=data(:,2)-data(:,1); %% it will take the difference of column 2 and 1
Total_unit_counsumed_in_a_day_in_KWh=(C'*D)
load(data) %% it calls the function
title("load duration Curve 18-EE-523") %% it gives title to the graph
xlabel("Time,Hr") %% it label the x-axis of the graph
ylabel("P,KW") %% it will label the y-axis of the graph
Code:
function load(data)
L=length(data);
tt=[data(:,1) data(:,2)];
t=sort(reshape(tt,1,2*L));
pp=data(:,3);
for n=1:L
p(2*n-1)=pp(n);
p(2*n)=pp(n);
end
plot(t,p)
data=[0 6 20
6 10 25
10 12 30
12 16 25
16 20 35
20 24 20];
C=data(:,3);
D=data(:,2)-data(:,1);
A=(C'*D); %it will give area under the curve
Peak_in_kW=max(C) % it will give Maximum Demand
Units_generated_per_day_kWh=A%units generated per day = Area under the
curve
Pavg_in_kW=Units_generated_per_day_kWh/24 % average load per day
Lf=Pavg_in_kW/Peak_in_kW %It give load factor
Lf_in_percentage=Lf*100 % this will give load factor in percentage
load(data) %% it calls the function
title("load Curve 18-EE-511") %% it gives title to the graph
xlabel("Time,Hour") %% it label the x-axis of the graph
ylabel("P,KW") %% it will label the y-axis of the graph
T=table(Units_generated_per_day_kWh,Peak_in_kW,Pavg_in_kW,Lf_in_percentage)
Load Curve:
Maximum Demand:
Code:
Peak_in_kW=max(C) %it will give Maximum Demand
Result:
Load Factor:
Code:
Lf=Pavg_in_kW/Peak_in_kW %It give load factor
Lf_in_percentage=Lf*100 % this will give load factor in percentage
Result:
Table:
COMPARRISON TABLE:
Table:
Time 0-5 5-18 18-19 19-21 21-24
Load 200 0 700 1000 500
(W)
Total bulbs=12
Load of one bulb=100W
Total load connected=1200W
Code:
function task2(data)
L=length(data);
tt=[data(:,1) data(:,2)];
t=sort(reshape(tt,1,2*L));
pp=data(:,3);
for n=1:L
p(2*n-1)=pp(n);
p(2*n)=pp(n);
end
plot(t,p)
data=[0 5 200
5 18 0
18 19 700
19 21 1000
21 24 500];
C=data(:,3);
D=data(:,2)-data(:,1);
A=(C'*D); %it will give area under the curve
Peak_in_W=max(C) % it will give Maximum Demand
Demand_factor=Peak_in_W/1200 %DF=Max demand/total connected load which is
of 1200W
Energy_consumption_during_24_hr=A %Energy_consumption_during_24_hr= Area
under the curve
Pavg_in_W=Energy_consumption_during_24_hr/24 %it will give average load
per day
Lf=Pavg_in_W/Peak_in_W %It give load factor
Lf_in_percentage=Lf*100 % this will give load factor in percentage
task2(data)
title("load Curve 18-EE-523")
xlabel("Time,Hr")
ylabel("P,W")
T=table(Energy_consumption_during_24_hr,Peak_in_W,Demand_factor,Pavg_in_W,L
f_in_percentage)
Load Curve:
Result:
Demand Factor:
Formula:
Code:
Demand_factor=Peak_in_W/1200 %DF=Max demand/total connected load which
is of 1200W
Result:
Average Load:
Code:
Pavg_in_W=Energy_consumption_during_24_hr/24 %it will give average load
per day
Result:
Maximum Demand:
Code:
Peak_in_kW=max(C) % it will give Maximum Demand
Result:
Load Factor:
Code:
Lf=Pavg_in_W/Peak_in_W %It give load factor
Lf_in_percentage=Lf*100 % this will give load factor in
percentage
Result:
Table:
COMPARRISON TABLE:
TASK:
After going through the questions and answers related to the experiment, submit a
separate report which should include the analysis of the results of the experiment.