Professional Documents
Culture Documents
% type
avg. daily consumption
no.
appliance_data = [ 1
1.5;
1
2.5;
1
1.5;
1
3.5;
1
2.5;
1
2.5;
1
1.5;
1
1.0;
1
3.0;
1
15;
1
2.75;
1
1.5;
0
25;
0
25;
0
1.00;
0
0.75;
0
7.0;
0
10.0; ];
price_data = [0.2500
0.4500
0.4500
2.4500
4.3500
0.8000]';
0.1500
0.5200
6.5500
1
1
1
1
1
1
1
1
1
1
1
5
5
1
1
1
5
rating
min
1.2
0.1
% dishwasher
1.0
0.1
% a/c
4.0
0.8
% cloth-dryer
0.4
0.0
% w/m
5.0
0.5
% phev
5.0
0.5
% phev
1.5
0.25
%Water heater
1.00
0.3
%Room heater
1.00
0.3
%Room heater
0.15
0.075
%Refrigerator
1.00
0.3
%Air conditioner
0.75
0.2
%Pump motor
0.10
0.0
%Lamps
0.04
0.0
%Tube Lights
1.00
0.0
%Electric Iron
0.75
0.0
%Toaster
0.2
0.0
%television
0.1
0.0
%fans
0.35000
0.5500
6.2000
0.3000
0.4550
5.1000
alpha
beta
10
12
11
17
15
22
17
24
10
22
24
23
12
17
24
24
24
24
24
24
0.3500
1.4500
5.4500
0.4000
2.5000
3.4500
0.4500
2.0000
1.5500
usch_cost =
65.3147
sch_cost =
58.8904
actual_usch_cost =
98.6247
final_cost =
92.2004
model 2:
% Residential Appliance Data...............................................
% type
no.
avg. daily consumption
appliance_data = [ 1
1.5;
1
2.5;
1
1.5;
1
3.5;
1
2.5;
1
2.5;
1
1.5;
1
1.0;
1
3.0;
1
15;
1
2.75;
1
1.5;
0
25;
0
25;
0
1
1
1
1
1
1
1
1
1
1
1
1
5
5
1
rating
min
alpha
1.2
0.1
7
% dishwasher
1.0
0.1
9
% a/c
4.0
0.8
11
% cloth-dryer
0.4
0.0
15
% w/m
5.0
0.5
17
% phev
5.0
0.5
1
% phev
1.5
0.25
7
%Water heater
1.00
0.3
22
%Room heater
1.00
0.3
1
%Room heater
0.15
0.075 2
%Refrigerator
1.00
0.3
12
%Air conditioner
0.75
0.2
5
%Pump motor
0.10
0.0
1
%Lamps
0.04
0.0
1
%Tube Lights
1.00
0.0
1
beta
delta
10
2.0
12
1.5
17
1.3
22
1.2
24
1.0
1.0
10
1.1
24
1.1
1.1
23
1.5
17
1.7
1.5
24
1.0
24
1.0
24
1.0
1.00;
0
0.75;
7.0;
10.0;
];
%Electric Iron
0.75
0.0
1
%Toaster
0.2
0.0
1
%television
0.1
0.0
1
%fans
24
1.0
24
1.0
24
1.0
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1: All deltas are kept 1
fval =
107.9654
exitflag =
1
non_sch_cost =
33.3100
usch_cost =
65.3147
sch_cost =
58.8904
actual_usch_cost =
98.6247
final_cost =
92.2004
% Residential Appliance Data...............................................
% type
no.
avg. daily consumption
appliance_data = [ 1
1.5;
1
2.5;
1
1.5;
1
1
1
1
1
rating
1.2
min
0.1
% dishwasher
1.0
0.1
% a/c
4.0
0.8
% cloth-dryer
0.4
0.0
alpha
beta
delta
10
10.0
12
10.0
11
17
10.0
15
22
10.0
3.5;
% w/m
1
2.5;
1
1.5;
1.0;
3.0;
15;
2.75;
1.5;
25;
25;
1.00;
0.75;
7.0;
];
fval =
62.8329
exitflag =
1
non_sch_cost =
33.3100
usch_cost =
65.3147
sch_cost =
59.0329
actual_usch_cost =
98.6247
0.5
17
24
10.0
5.0
0.5
1
% phev
1.5
0.25
7
%Water heater
1.00
0.3
22
%Room heater
1.00
0.3
1
%Room heater
0.15
0.075 2
%Refrigerator
1.00
0.3
12
%Air conditioner
0.75
0.2
5
%Pump motor
0.10
0.0
1
%Lamps
0.04
0.0
1
%Tube Lights
1.00
0.0
1
%Electric Iron
0.75
0.0
1
%Toaster
0.2
0.0
1
%television
0.1
0.0
1
%fans
5.0
10
30.0
24
10.0
10.0
23
1.0
17
1.0
70.0
24
1.0
24
1.0
24
1.0
24
1.0
24
1.0
24
1.0
% phev
2.5;
10.0;
5.0
final_cost =
92.3429
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Residential Appliance Data...............................................
% type
no.
avg. daily consumption
appliance_data = [ 1
1.5;
1
2.5;
1
1.5;
1
3.5;
1
2.5;
1
2.5;
1
1.5;
1
1.0;
1
3.0;
1
15;
1
2.75;
1
1.5;
0
25;
0
25;
0
1.00;
0
0.75;
0
7.0;
0
10.0; ];
fval =
72.7468
exitflag =
1
1
1
1
1
1
1
1
1
1
1
1
1
5
5
1
1
1
5
rating
1.2
min
alpha
0.1
7
% dishwasher
1.0
0.1
9
% a/c
4.0
0.8
11
% cloth-dryer
0.4
0.0
15
% w/m
5.0
0.5
17
% phev
5.0
0.5
1
% phev
1.5
0.25
7
%Water heater
1.00
0.3
22
%Room heater
1.00
0.3
1
%Room heater
0.15
0.075 2
%Refrigerator
1.00
0.3
12
%Air conditioner
0.75
0.2
5
%Pump motor
0.10
0.0
1
%Lamps
0.04
0.0
1
%Tube Lights
1.00
0.0
1
%Electric Iron
0.75
0.0
1
%Toaster
0.2
0.0
1
%television
0.1
0.0
1
%fans
beta
delta
10
10.0
12
10.0
17
10.0
22
10.0
24
10.0
5.0
10
30.0
24
10.0
10.0
23
1.0
17
1.0
70.0
24
1.0
24
1.0
24
1.0
24
1.0
24
1.0
24
1.0
non_sch_cost =
33.3100
usch_cost =
65.3147
sch_cost =
59.5929
actual_usch_cost =
98.6247
final_cost =
92.9029
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2:This one seems to be okay
% Residential Appliance Data...............................................
% type
no.
avg. daily consumption
appliance_data = [ 1
1.5;
1
2.5;
1
1.5;
1
3.5;
1
2.5;
1
2.5;
1
1.5;
1
1.0;
1
3.0;
1
15;
1
2.75;
1
1.5;
1
1
1
1
1
1
1
1
1
1
1
1
rating
1.2
min
alpha
0.1
7
% dishwasher
1.0
0.1
9
% a/c
4.0
0.8
11
% cloth-dryer
0.4
0.0
15
% w/m
5.0
0.5
17
% phev
5.0
0.5
1
% phev
1.5
0.25
7
%Water heater
1.00
0.3
22
%Room heater
1.00
0.3
1
%Room heater
0.15
0.075 2
%Refrigerator
1.00
0.3
12
%Air conditioner
0.75
0.2
5
%Pump motor
beta
delta
10
10.0
12
10.0
17
1.0
22
10.0
24
10.0
1.0
10
30.0
24
1.0
10.0
23
1.5
17
1.7
1.5
25;
25;
1.00;
0.75;
7.0;
10.0;
];
0.10
0.0
%Lamps
0.04
0.0
%Tube Lights
1.00
0.0
%Electric Iron
0.75
0.0
%Toaster
0.2
0.0
%television
0.1
0.0
%fans
24
1.0
24
1.0
24
1.0
24
1.0
24
1.0
24
1.0
fval =
86.6324
exitflag =
1
non_sch_cost =
33.3100
usch_cost =
65.3147
sch_cost =
59.5179
actual_usch_cost =
98.6247
final_cost =
92.8279
3:
vob = [0
0
0
0
0
0
1.2000
0.4000
0.1000
0.1000
0
0
0
0
0
0
0
0
0
0
0
0
0
0]
vob2 = [0
0
0
0
0
0
0.5667
0.5667
0.5667
0.1000
0
0
0
0
0
0
0
0
0
0
0
0
0
0]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3.:
fval =
56.4775
exitflag =
1
non_sch_cost =
33.3100
usch_cost =
65.3147
sch_cost =
62.9466
actual_usch_cost =
98.6247
final_cost =
96.2566
p1 = [0.2000
00
0.4000
00
4.2000
00];
% p2 = [0.3000
6000
0.6000
3000
4.5000
1000];
p2 = [0.3000
00
0.6000
00
8.5000
00];
0.1000
0.5000
6.2000
0.2000
0.6000
6.6000
0.2000
0.6000
2.6000
0.3000
0.5000
6.2000
0.2000
0.6000
6.3000
0.2000
0.6000
3.3000
0.3000
0.5000
5.0000
0.4000
0.6000
5.1000
0.4000
0.6000
8.1000
0.3000
1.5000
5.2000
0.4000
1.3000
5.4000
0.4000
1.3000
2.4000
0.3000
2.0000
3.5000
0.5000
2.2000
3.4000
0.5000
4.2000
7.4000
0.5000
2.0000
1.5000
0.4000
2.2000
1.6000
0.4000
4.2000
4.6000
0.40
2.50
1.00
0.
2.
1.
0.60
1.00
4.10
% p3 = [0.3500
0.2500
0.2500
0.3500
0.3800
0.4500
0.4400 0.55
000 0.7500
0.6500
0.4500
0.4050
3.0000
2.6500
2.2100
2.35
00
4.5700
6.4500
6.3500
5.5000
5.5000
3.4800
1.6500
0.90
00];
p3 = [0.7500
0.2500
0.3500
0.3500
0 0.7500
0.6500
0.4500
0.4050
0
4.5700
6.4500
6.3500
3.5000
0];
% p4 = [0.1000
5000
0.5500
4000
4.2500
0.2200
0.5600
6.3000
0.2000
0.4000
6.2500
0.3200
0.5550
5.3000
0.3800
3.0000
5.5000
0.4500
4.0000
5.3000
0.4500
2.6500
3.4800
0.3500
2.1000
3.6000
0.4400 0.5500
2.2100
3.350
1.6500
0.900
0.5500
2.5000
1.4000
0.
2.
1.
1000];
p4 = [0.1000
00
0.5500
00
6.2500
00];
0.5200
0.5600
3.3000
0.1000
0.7000
4.2500
0.7200
0.9550
5.3000
0.6000
4.0000
2.3000
0.7500
5.1000
4.6000
0.1500
4.5000
3.4000
0.80
2.40
3.10
p5 = [0.2500
00
0.4500
00
4.3500
00];
0.1500
0.5200
6.5500
0.35000
0.5500
6.2000
0.3000
0.4550
5.1000
0.3500
1.4500
5.4500
0.4000
2.5000
3.4500
0.4500
2.0000
1.5500
0.45
2.45
0.80
% p6 = [0.4500
2200
0.7000
4500
3.3500
2000];
0.2500
0.3500
5.5500
0.50000
0.6600
5.2000
0.1000
0.4650
5.5000
0.7500
3.4500
4.7500
0.3000
3.0000
2.4500
0.6500
2.5000
2.0000
0.
1.
1.
p6 = [0.4500
00
0.7000
00
7.3500
00];
0.2500
0.3500
5.5500
0.50000
0.6600
5.2000
0.1000
0.4650
7.5000
0.7500
3.4500
3.7500
0.3000
3.0000
5.4500
0.6500
2.5000
2.0000
0.22
1.45
3.20
p7 = [0.2500
0
0.45000
00
4.2500
00];
0.1000
0.7000
7.5500
0.2500
0.3000
7.2000
0.3000
0.5550
8.5000
0.4500
5.4500
7.7500
0.5000
2.7000
4.5500
0.7000
2.7000
3.4500
0.450
3.45
2.70
d1 = [6.0000
50
3.3750
50
2.5750
00];
6.1500
1.2438
1.2750
1.1083
1.9938
1.0750
1.1083
2.8938
1.5750
1.3708
1.9250
1.7750
1.0375
1.6750
2.2750
0.6438
2.2750
5.6750
2.22
2.27
5.90
d2 = [1.4000
50
1.7300
0
2.3750
0];
6.1500
1.4800
5.6750
6.1500
2.1300
1.2750
0.9500
3.0300
1.5750
1.2125
1.6750
6.6750
0.8500
1.6750
1.8750
3.1125
1.8750
1.6750
0.95
2.525
1.400
d3 = [0.8000
50
1.0750
50
2.3750
00];
6.1500
1.1250
1.2750
3.8500
2.3500
1.0750
3.8500
3.6500
1.7750
1.2750
1.6750
1.7750
0.8500
1.6750
2.2750
3.0500
2.5250
5.6750
1.12
2.27
5.90
d4 = [6.0000
50
2.3500
250
2.3750
000];
1.5500
1.8000
1.6750
6.1500
2.1500
1.2750
0.9500
2.2750
1.5750
1.1500
1.6750
6.6750
0.7750
1.6750
1.8750
3.1750
1.8750
1.6750
0.82
2.5
5.4
d5 = [6.0000
33
2.9333
50
2.5750
00];
6.1500
1.1250
1.2750
0.9500
1.3750
1.0750
1.5500
3.5750
1.5750
1.2750
1.9250
1.7750
0.8500
1.6750
2.2750
1.5833
2.2750
5.6750
1.78
2.27
5.90
d6 = [0.9000
50
1.0750
50
2.3750
00];
6.1500
2.1000
1.2750
0.9500
1.6750
1.2750
6.1500
3.6500
1.5750
1.0750
1.6750
2.1750
1.3500
1.6750
1.8750
0.7000
2.2750
6.2750
3.37
2.52
5.30
d7 = [3.7000
67
3.4167
6.1500
0.8250
3.8500
2.7500
0.9500
2.5750
1.1917
1.6750
0.8500
1.8000
0.6250
2.4000
2.26
2.27
50
2.7750
00];
1.2750
1.0750
1.5750
1.7750
2.0750
5.6750
5.90