Sie sind auf Seite 1von 5

% Load profile program

clc;
close all;
clear all;

% % from to AC CFL TV Fri Ir.B FAN Ove WaM Tube Mix Gea
Pum Comp
%
% Data=[0 2 40
% 2 4 40
% 4 6 40
% 6 8 50
% 8 10 50
% 10 12 60
% 12 14 50
% 14 16 50
% 16 18 70
% 18 20 70
% 20 22 40
% 22 24 40
% ];

% % from to AC CFL TV Fri Ir.B FAN Ove


WaM Tube Mix Gea Pum Comp
%
Data=[0 2 1500 0 0 200 0 100 0 0
0 0
2 4 1500 0 0 200 0 100 0 0
0 0
4 6 1500 0 0 200 0 100 0 0
0 0
6 8 0 0 200 200 700 0 0 1000
0 700
8 10 0 0 0 200 0 0 0 0
0 0
10 12 0 0 0 200 0 0 0 0
0 0
12 14 1500 0 0 200 0 100 0 0
0 0
14 16 0 0 0 200 0 100 0 0
0 0
16 18 0 0 0 200 0 0 0 0
0 0
18 20 0 20 0 200 0 0 0 0
40 0
20 22 1500 40 200 200 0 100 1700 0
40 700
22 24 1500 40 0 200 0 100 0 0
0 0
];

Rs=input('Enter the cost (Rs.) of unit kWh :');


[row col]=size(Data);
Units_cons=0;
con_load=0;
Max_tot=0;
for i=1:row
sum=0;
for j=3:col
sum=sum+Data(i,j);
end
Index(i)=i;
Max_ind(i)=max(Data(i,:));
Load(i)=sum;
con_load=con_load+Load(i);
Units_cons=Units_cons+Load(i)*(Data(i,2)-Data(i,1));
Max_tot= Max_tot+Max_ind(i);
%
% fprintf('The total load during the interval is %g
W\n',Max_ind(i))
% fprintf('The interval maximum load is %g is %g
W\n',i,Load(i))

end

[Index' Load' Max_ind']

Avg_load=Units_cons/24;
[Peak_Load hour]=max(Load);
Load_factor=100*Avg_load/Peak_Load;
Demand_factor=Peak_Load/con_load;
Diversity_factor=Max_tot/Peak_Load;

fprintf('\nThe sum of individual maximum loads is %g


kW\n',Max_tot/1000)
fprintf('The total connected load is %g kW\n',con_load/1000)
fprintf('The total units consumed during the day is %g kWh
\n',Units_cons/1000)
fprintf('The Average load during the day is %g
kW\n',Avg_load/1000)
fprintf('The Peak load in a day occurs during the interval %g
is %g kW\n',hour,Peak_Load/1000)
fprintf('\nThe Load factror for the day is %g\n',Load_factor)
fprintf('The Demand factror for the day is %g\n',Demand_factor)
fprintf('The Diversity factror for the day is
%g\n',Diversity_factor)
fprintf('\nThe cost of energy for the day is INR :
%g\n',Rs*Units_cons/1000)

bar(Load)
axis tight
xlabel('Interval')
ylabel('Load')
title('Load curve')
Result

Enter the cost (Rs.) of unit kWh :3

ans =

1 1800 1500

2 1800 1500

3 1800 1500

4 2800 1000

5 200 200

6 200 200

7 1800 1500

8 300 200

9 200 200

10 260 200

11 4480 1700

12 1840 1500

The sum of individual maximum loads is 11.2 kW

The total connected load is 17.48 kW

The total units consumed during the day is 34.96 kWh

The Average load during the day is 1.45667 kW

The Peak load in a day occurs during the interval 11 is 4.48 kW

The Load factror for the day is 32.5149

The Demand factror for the day is 0.256293

The Diversity factror for the day is 2.5

The cost of energy for the day is INR : 104.88


Load curve

4000

3500

3000

2500
Load

2000

1500

1000

500

0
1 2 3 4 5 6 7 8 9 10 11 12
Interval

Das könnte Ihnen auch gefallen