Skip to content

Commit 1067571

Browse files
committed
update P5 figures
1 parent 75e5a33 commit 1067571

File tree

7 files changed

+10
-52
lines changed

7 files changed

+10
-52
lines changed

Project5_Integration/change_fig_dims.m

-42
This file was deleted.

Project5_Integration/figures/CO2.pdf

356 Bytes
Binary file not shown.
-13 Bytes
Binary file not shown.
-162 Bytes
Binary file not shown.
-154 Bytes
Binary file not shown.
12 Bytes
Binary file not shown.

Project5_Integration/part5_results.m

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
function part5_results()
33
% Generate
4-
%total_cost_scenario
5-
%CO2
4+
total_cost_scenario
5+
CO2
66
E_bought
7-
%E_gen
8-
%gas_bought
7+
E_gen
8+
gas_bought
99
end
1010

1111

@@ -26,7 +26,7 @@ function total_cost_scenario()
2626
xlabel('Scenarios')
2727
ylabel('Total Cost [MCHF/yr]')
2828
legend('CAPEX', 'OPEX', 'Location', 'northeast');
29-
figExport(5, 4, 'Cost_scenario')
29+
figExport(8, 6, 'Cost_scenario')
3030

3131
end
3232

@@ -40,7 +40,7 @@ function CO2()
4040
xlabel('Scenarios')
4141
ylabel('CO_2 Emissions [t/yr]')
4242

43-
figExport(5, 4, 'CO2')
43+
figExport(8, 6, 'CO2')
4444
end
4545

4646
function E_bought()
@@ -66,8 +66,8 @@ function E_bought()
6666
bar(t)
6767
xlabel('Time period')
6868
ylabel('Electricity bought from grid [kW]')
69-
legend('min OPEX', 'min TOTEX', 'Self-sufficient', 'CO2', 'Location', 'northwest');
70-
figExport(5, 4, 'E_bought')
69+
legend('min OPEX', 'min TOTEX', 'Self-sufficient', 'CO2', 'Location', 'southwest');
70+
figExport(8, 6, 'E_bought')
7171

7272

7373
end
@@ -95,7 +95,7 @@ function E_gen()
9595
xlabel('Time period')
9696
ylabel('Electricity generated [kW]')
9797
legend('min OPEX', 'min TOTEX', 'Self-sufficient', 'CO2', 'Location', 'northwest');
98-
figExport(5, 4, 'E_gen')
98+
figExport(8, 6, 'E_gen')
9999

100100
end
101101

@@ -123,7 +123,7 @@ function gas_bought()
123123
xlabel('Time period')
124124
ylabel('Natural gas from grid [kW]')
125125
legend('min OPEX', 'min TOTEX', 'Self-sufficient', 'CO2', 'Location', 'northwest');
126-
figExport(5, 4, 'gas_bought')
126+
figExport(8, 6, 'gas_bought')
127127

128128
end
129129

0 commit comments

Comments
 (0)