Skip to content

Commit 1d3cfdd

Browse files
committed
scalablity instances added
1 parent 63270d2 commit 1d3cfdd

17 files changed

+3933
-5
lines changed

examples/House/House_1_week.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
}
173173
},
174174
"timesteps" : "./time_series/1_week_Manual.txt",
175-
"years" : [2015, 2030],
175+
"years" : [2015, 2020, 2025, 2030, 2035, 2040, 2045, 2050, 2055, 2060],
176176
"carriers": {
177177
"Dummy": {},
178178
"Vehicles_Propulsion": {
@@ -186,7 +186,7 @@
186186
"Import_Electricity": {
187187
"carrier_in": "Dummy",
188188
"carrier_out": "Electricity",
189-
"operational_cost_energy": 0.60,
189+
"operational_cost_energy": 0.50,
190190
"process_color": "lightcyan",
191191
"process_order": 1
192192
},
Lines changed: 233 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,233 @@
1+
{
2+
"_comment1": "House Model",
3+
"_comment2": "The parser will ignore any key that starts with '_comment', such as this one.",
4+
"_comment3": "",
5+
"units": {
6+
"_comment": "Each entity must have 'input', 'output' and 'scale' keys.",
7+
"power":{"input": "kW", "scale": 1, "output": "kW"},
8+
"energy": {"input": "kWh", "scale": 1, "output": "kWh"},
9+
"co2_emissions": {"input": "kg", "scale": 1, "output": "kg"},
10+
"cost_energy": {"input": "EUR/kWh", "scale": 1, "output": "EUR/kWh"},
11+
"cost_power": {"input": "EUR/kW", "scale": 1, "output": "EUR/kW"},
12+
"co2_spec": {"input": "kg/kWh", "scale": 1, "output": "kg/kWh"},
13+
"money": {"input": "EUR", "scale": 1, "output": "EUR"}
14+
},
15+
"parameters": {
16+
"_comment1": "This dictionary contains the definition of parameters. The 'type' and 'sets' keys are mandatory in all parameter definitions.",
17+
"_comment2": "The value of the 'type' key must be an integer, float, boolean or string.",
18+
"_comment3": "A parameter can have either a 'value' or a 'default' key, but not both at the same time.",
19+
"_comment4": "The value of the 'sets' key could be [],['Y'],['C'],['P'],['P','Y'],['P','T']. Replace the surrounding quotes with double quotes.",
20+
"_comment5": "If 'sets' is equal to [] or ['Y'] then the 'value' must be defined here in the definition of the parameter.",
21+
"discount_rate": {
22+
"type": "Float",
23+
"sets": [],
24+
"value": 0.05
25+
},
26+
"dt": {
27+
"type": "Integer",
28+
"sets": [],
29+
"value": 1
30+
},
31+
"annual_co2_limit": {
32+
"type": "Float",
33+
"sets": ["Y"],
34+
"unit": "co2_emissions",
35+
"value": 0
36+
},
37+
"co2_price": {
38+
"type": "Float",
39+
"sets": ["Y"],
40+
"unit": "money",
41+
"value": 0
42+
},
43+
"is_storage": {
44+
"type": "Boolean",
45+
"sets": ["P"],
46+
"default": false
47+
},
48+
"charge_efficiency": {
49+
"type": "Float",
50+
"sets": ["P"],
51+
"default": 1
52+
},
53+
"c_rate": {
54+
"type": "Float",
55+
"sets": ["P"]
56+
},
57+
"max_legacy_capacity": {
58+
"type": "Float",
59+
"sets": ["P","Y"],
60+
"unit": "power",
61+
"default": 0
62+
},
63+
"min_legacy_capacity": {
64+
"type": "Float",
65+
"sets": ["P","Y"],
66+
"unit": "power"
67+
},
68+
"max_capacity": {
69+
"type": "Float",
70+
"sets": ["P","Y"],
71+
"unit": "power"
72+
},
73+
"min_capacity": {
74+
"type": "Float",
75+
"sets": ["P","Y"],
76+
"unit": "power"
77+
},
78+
"operational_cost_energy": {
79+
"type": "Float",
80+
"sets": ["P","Y"],
81+
"unit": "cost_energy",
82+
"default": 0
83+
},
84+
"operational_cost_power": {
85+
"type": "Float",
86+
"sets": ["P","Y"],
87+
"unit": "cost_power",
88+
"default": 0
89+
},
90+
"capital_cost_power": {
91+
"type": "Float",
92+
"sets": ["P","Y"],
93+
"unit": "cost_power",
94+
"default": 0
95+
},
96+
"min_fraction_in": {
97+
"type": "Float",
98+
"sets": ["P","Y"]
99+
},
100+
"min_fraction_out": {
101+
"type": "Float",
102+
"sets": ["P","Y"]
103+
},
104+
"max_fraction_in": {
105+
"type": "Float",
106+
"sets": ["P","Y"]
107+
},
108+
"max_fraction_out": {
109+
"type": "Float",
110+
"sets": ["P","Y"]
111+
},
112+
"max_energy_out": {
113+
"type": "Float",
114+
"sets": ["P","Y"],
115+
"unit": "energy"
116+
},
117+
"min_energy_out": {
118+
"type": "Float",
119+
"sets": ["P","Y"],
120+
"unit": "energy"
121+
},
122+
"availability_profile": {
123+
"type": "Float",
124+
"sets": ["P","T"],
125+
"normalized": false
126+
},
127+
"output_profile": {
128+
"type": "Float",
129+
"sets": ["P","T"],
130+
"normalized": true
131+
},
132+
"lifetime": {
133+
"type": "Integer",
134+
"sets": ["P"],
135+
"default": 100
136+
},
137+
"technical_availability": {
138+
"type": "Float",
139+
"sets": ["P"],
140+
"default": 1
141+
},
142+
"specific_co2": {
143+
"type": "Float",
144+
"sets": ["P"],
145+
"default": 0,
146+
"unit": "co2_spec"
147+
},
148+
"efficiency": {
149+
"type": "Float",
150+
"sets": ["P"],
151+
"default": 1
152+
},
153+
"carrier_color": {
154+
"_comment": "https://juliagraphics.github.io/Colors.jl/dev/namedcolors/",
155+
"type": "String",
156+
"sets": ["C"]
157+
},
158+
"carrier_order": {
159+
"_comment": "Order of plotting: The lowest order appears in the lowest position.",
160+
"type": "Integer",
161+
"sets": ["C"]
162+
},
163+
"process_color": {
164+
"_comment": "https://juliagraphics.github.io/Colors.jl/dev/namedcolors/",
165+
"type": "String",
166+
"sets": ["P"]
167+
},
168+
"process_order": {
169+
"_comment": "Order of plotting: The lowest order appears in the lowest position.",
170+
"type": "Integer",
171+
"sets": ["P"]
172+
}
173+
},
174+
"timesteps" : "./time_series/1_week_Manual.txt",
175+
"years" : [2015, 2030],
176+
"carriers": {
177+
"Dummy": {},
178+
"Vehicles_Propulsion": {
179+
"carrier_color": "tomato1"
180+
},
181+
"Electricity": {
182+
"carrier_color": "orange"
183+
}
184+
},
185+
"processes": {
186+
"Import_Electricity": {
187+
"carrier_in": "Dummy",
188+
"carrier_out": "Electricity",
189+
"operational_cost_energy": 0.60,
190+
"process_color": "lightcyan",
191+
"process_order": 1
192+
},
193+
"Demand_Electricity": {
194+
"carrier_in": "Electricity",
195+
"carrier_out": "Dummy",
196+
"min_energy_out": 2500,
197+
"output_profile": "./time_series/Electricity_Demand_Corrected.txt",
198+
"process_color": "magenta1",
199+
"process_order": 301
200+
},
201+
"PP_PV": {
202+
"carrier_in": "Dummy",
203+
"carrier_out": "Electricity",
204+
"lifetime": 20,
205+
"operational_cost_power": 15,
206+
"capital_cost_power": 1200,
207+
"availability_profile": "./time_series/PV_availability_rescaled.txt",
208+
"process_color": "darkgoldenrod1",
209+
"process_order": 406
210+
},
211+
"PP_Wind": {
212+
"carrier_in": "Dummy",
213+
"carrier_out": "Electricity",
214+
"lifetime": 25,
215+
"operational_cost_power": 20,
216+
"capital_cost_power": 3500,
217+
"availability_profile": "./time_series/Onshore_Wind_Availability_rescaled.txt",
218+
"process_color": "royalblue1",
219+
"process_order": 409
220+
},
221+
"Battery": {
222+
"_comment": "energy storage capacity of the battery is equal to the capacity of the conversion process(max power in and out) divided by c_rate",
223+
"carrier_in": "Electricity",
224+
"carrier_out": "Electricity",
225+
"lifetime": 15,
226+
"capital_cost_power": 2000,
227+
"is_storage": true,
228+
"c_rate": 0.3,
229+
"process_color": "green2",
230+
"process_order": 1001
231+
}
232+
}
233+
}

0 commit comments

Comments
 (0)