|
25 | 25 | objective = 'cost' # set either 'cost' or 'CO2' as objective |
26 | 26 |
|
27 | 27 | # Choose Solver (cplex, glpk, gurobi, ...) |
28 | | -solver = 'glpk' |
| 28 | +solver = 'gurobi' |
29 | 29 |
|
30 | 30 | # simulation timesteps |
31 | | -(offset, length) = (0, 8760) # time step selection |
| 31 | +(offset, length) = (0, 24) # time step selection |
32 | 32 | timesteps = range(offset, offset+length+1) |
33 | 33 | dt = 1 # length of each time step (unit: hours) |
34 | 34 |
|
35 | 35 | # detailed reporting commodity/sites |
36 | 36 | report_tuples = [ |
37 | | - (year, 'North', 'Elec'), |
38 | | - (year, 'Mid', 'Elec'), |
39 | | - (year, 'South', 'Elec'), |
40 | | - (year, ['North', 'Mid', 'South'], 'Elec'), |
41 | | - (year+5, 'North', 'Elec'), |
42 | | - (year+5, 'Mid', 'Elec'), |
43 | | - (year+5, 'South', 'Elec'), |
44 | | - (year+5, ['North', 'Mid', 'South'], 'Elec'), |
45 | | - (year+10, 'North', 'Elec'), |
46 | | - (year+10, 'Mid', 'Elec'), |
47 | | - (year+10, 'South', 'Elec'), |
48 | | - (year+10, ['North', 'Mid', 'South'], 'Elec'), |
49 | | - (year+15, 'North', 'Elec'), |
50 | | - (year+15, 'Mid', 'Elec'), |
51 | | - (year+15, 'South', 'Elec'), |
52 | | - (year+15, ['North', 'Mid', 'South'], 'Elec'), |
| 37 | + (2019, 'North', 'Elec'), |
| 38 | + (2019, 'Mid', 'Elec'), |
| 39 | + (2019, 'South', 'Elec'), |
| 40 | + (2019, ['North', 'Mid', 'South'], 'Elec'), |
| 41 | + (2024, 'North', 'Elec'), |
| 42 | + (2024, 'Mid', 'Elec'), |
| 43 | + (2024, 'South', 'Elec'), |
| 44 | + (2024, ['North', 'Mid', 'South'], 'Elec'), |
| 45 | + (2029, 'North', 'Elec'), |
| 46 | + (2029, 'Mid', 'Elec'), |
| 47 | + (2029, 'South', 'Elec'), |
| 48 | + (2029, ['North', 'Mid', 'South'], 'Elec'), |
| 49 | + (2034, 'North', 'Elec'), |
| 50 | + (2034, 'Mid', 'Elec'), |
| 51 | + (2034, 'South', 'Elec'), |
| 52 | + (2034, ['North', 'Mid', 'South'], 'Elec'), |
53 | 53 | ] |
54 | 54 |
|
55 | 55 | # optional: define names for sites in report_tuples |
56 | 56 | report_sites_name = {('North', 'Mid', 'South'): 'All'} |
57 | 57 |
|
58 | 58 | # plotting commodities/sites |
59 | 59 | plot_tuples = [ |
60 | | - (year, 'North', 'Elec'), |
61 | | - (year, 'Mid', 'Elec'), |
62 | | - (year, 'South', 'Elec'), |
63 | | - (year, ['North', 'Mid', 'South'], 'Elec'), |
64 | | - (year+5, 'North', 'Elec'), |
65 | | - (year+5, 'Mid', 'Elec'), |
66 | | - (year+5, 'South', 'Elec'), |
67 | | - (year+5, ['North', 'Mid', 'South'], 'Elec'), |
68 | | - (year+10, 'North', 'Elec'), |
69 | | - (year+10, 'Mid', 'Elec'), |
70 | | - (year+10, 'South', 'Elec'), |
71 | | - (year+10, ['North', 'Mid', 'South'], 'Elec'), |
72 | | - (year+15, 'North', 'Elec'), |
73 | | - (year+15, 'Mid', 'Elec'), |
74 | | - (year+15, 'South', 'Elec'), |
75 | | - (year+15, ['North', 'Mid', 'South'], 'Elec'), |
| 60 | + (2019, 'North', 'Elec'), |
| 61 | + (2019, 'Mid', 'Elec'), |
| 62 | + (2019, 'South', 'Elec'), |
| 63 | + (2019, ['North', 'Mid', 'South'], 'Elec'), |
| 64 | + (2024, 'North', 'Elec'), |
| 65 | + (2024, 'Mid', 'Elec'), |
| 66 | + (2024, 'South', 'Elec'), |
| 67 | + (2024, ['North', 'Mid', 'South'], 'Elec'), |
| 68 | + (2029, 'North', 'Elec'), |
| 69 | + (2029, 'Mid', 'Elec'), |
| 70 | + (2029, 'South', 'Elec'), |
| 71 | + (2029, ['North', 'Mid', 'South'], 'Elec'), |
| 72 | + (2034, 'North', 'Elec'), |
| 73 | + (2034, 'Mid', 'Elec'), |
| 74 | + (2034, 'South', 'Elec'), |
| 75 | + (2034, ['North', 'Mid', 'South'], 'Elec'), |
76 | 76 | ] |
77 | 77 |
|
78 | 78 | # optional: define names for sites in plot_tuples |
|
0 commit comments