@@ -132,47 +132,51 @@ This triggers a workflow of multiple preceding jobs that depend on each rule's i
132132 graph[bgcolor=white, margin=0];
133133 node[shape=box, style=rounded, fontname=sans, fontsize=10, penwidth=2];
134134 edge[penwidth=2, color=grey];
135- 0[label = "solve_network", color = "0.38 0.6 0.85", style="rounded"];
136- 1[label = "prepare_network\n ll: copt", color = "0.53 0.6 0.85", style="rounded"];
137- 2[label = "add_extra_components", color = "0.01 0.6 0.85", style="rounded"];
138- 3[label = "cluster_network\n clusters: 6", color = "0.03 0.6 0.85", style="rounded"];
139- 4[label = "simplify_network\n simpl: ", color = "0.42 0.6 0.85", style="rounded"];
140- 5[label = "add_electricity", color = "0.10 0.6 0.85", style="rounded"];
141- 6[label = "build_renewable_profiles\n technology: solar", color = "0.50 0.6 0.85", style="rounded"];
142- 7[label = "base_network", color = "0.22 0.6 0.85", style="rounded"];
143- 8[label = "build_shapes", color = "0.44 0.6 0.85", style="rounded"];
144- 9[label = "retrieve_databundle", color = "0.29 0.6 0.85", style="rounded"];
145- 10[label = "retrieve_cutout\n cutout: be-03-2013-era5", color = "0.49 0.6 0.85", style="rounded"];
146- 11[label = "build_renewable_profiles\n technology: onwind", color = "0.50 0.6 0.85", style="rounded"];
147- 12[label = "build_renewable_profiles\n technology: offwind-ac", color = "0.50 0.6 0.85", style="rounded"];
148- 13[label = "build_ship_raster", color = "0.19 0.6 0.85", style="rounded"];
149- 14[label = "retrieve_ship_raster", color = "0.35 0.6 0.85", style="rounded"];
150- 15[label = "build_renewable_profiles\n technology: offwind-dc", color = "0.50 0.6 0.85", style="rounded"];
151- 16[label = "build_line_rating", color = "0.60 0.6 0.85", style="rounded"];
152- 17[label = "retrieve_cost_data\n year: 2030", color = "0.59 0.6 0.85", style="rounded"];
153- 18[label = "build_powerplants", color = "0.06 0.6 0.85", style="rounded"];
154- 19[label = "build_electricity_demand", color = "0.13 0.6 0.85", style="rounded"];
155- 20[label = "retrieve_electricity_demand", color = "0.49 0.6 0.85", style="rounded"];
156- 21[label = "retrieve_synthetic_electricity_demand", color = "0.41 0.6 0.85", style="rounded"];
135+ 0[label = "solve_network", color = "0.21 0.6 0.85", style="rounded"];
136+ 1[label = "prepare_network\n ll: copt\n opts: ", color = "0.51 0.6 0.85", style="rounded"];
137+ 2[label = "add_extra_components", color = "0.43 0.6 0.85", style="rounded"];
138+ 3[label = "cluster_network\n clusters: 6", color = "0.17 0.6 0.85", style="rounded"];
139+ 4[label = "simplify_network\n simpl: ", color = "0.49 0.6 0.85", style="rounded"];
140+ 5[label = "add_electricity", color = "0.26 0.6 0.85", style="rounded"];
141+ 6[label = "build_renewable_profiles\n technology: solar", color = "0.02 0.6 0.85", style="rounded"];
142+ 7[label = "base_network", color = "0.35 0.6 0.85", style="rounded"];
143+ 8[label = "build_shapes", color = "0.62 0.6 0.85", style="rounded"];
144+ 9[label = "retrieve_databundle", color = "0.24 0.6 0.85", style="rounded"];
145+ 10[label = "retrieve_cutout\n cutout: be-03-2013-era5", color = "0.36 0.6 0.85", style="rounded"];
146+ 11[label = "build_renewable_profiles\n technology: solar-hsat", color = "0.02 0.6 0.85", style="rounded"];
147+ 12[label = "build_renewable_profiles\n technology: onwind", color = "0.02 0.6 0.85", style="rounded"];
148+ 13[label = "build_renewable_profiles\n technology: offwind-ac", color = "0.02 0.6 0.85", style="rounded"];
149+ 14[label = "build_ship_raster", color = "0.08 0.6 0.85", style="rounded"];
150+ 15[label = "retrieve_ship_raster", color = "0.28 0.6 0.85", style="rounded"];
151+ 16[label = "build_renewable_profiles\n technology: offwind-dc", color = "0.02 0.6 0.85", style="rounded"];
152+ 17[label = "build_renewable_profiles\n technology: offwind-float", color = "0.02 0.6 0.85", style="rounded"];
153+ 18[label = "build_line_rating", color = "0.07 0.6 0.85", style="rounded"];
154+ 19[label = "retrieve_cost_data\n year: 2030", color = "0.47 0.6 0.85", style="rounded"];
155+ 20[label = "build_powerplants", color = "0.11 0.6 0.85", style="rounded"];
156+ 21[label = "build_electricity_demand", color = "0.05 0.6 0.85", style="rounded"];
157+ 22[label = "retrieve_electricity_demand", color = "0.58 0.6 0.85", style="rounded"];
158+ 23[label = "retrieve_synthetic_electricity_demand", color = "0.11 0.6 0.85", style="rounded"];
157159 1 -> 0
158160 2 -> 1
159- 17 -> 1
161+ 19 -> 1
160162 3 -> 2
161- 17 -> 2
163+ 19 -> 2
162164 4 -> 3
163- 17 -> 3
165+ 19 -> 3
164166 5 -> 4
165- 17 -> 4
167+ 19 -> 4
166168 7 -> 4
167169 6 -> 5
168170 11 -> 5
169171 12 -> 5
170- 15 -> 5
171- 7 -> 5
172+ 13 -> 5
172173 16 -> 5
173174 17 -> 5
175+ 7 -> 5
174176 18 -> 5
175177 19 -> 5
178+ 20 -> 5
179+ 21 -> 5
176180 8 -> 5
177181 7 -> 6
178182 9 -> 6
@@ -186,21 +190,30 @@ This triggers a workflow of multiple preceding jobs that depend on each rule's i
186190 10 -> 11
187191 7 -> 12
188192 9 -> 12
189- 13 -> 12
190193 8 -> 12
191194 10 -> 12
195+ 7 -> 13
196+ 9 -> 13
192197 14 -> 13
198+ 8 -> 13
193199 10 -> 13
194- 7 -> 15
195- 9 -> 15
196- 13 -> 15
197- 8 -> 15
198- 10 -> 15
200+ 15 -> 14
201+ 10 -> 14
199202 7 -> 16
203+ 9 -> 16
204+ 14 -> 16
205+ 8 -> 16
200206 10 -> 16
207+ 7 -> 17
208+ 9 -> 17
209+ 14 -> 17
210+ 8 -> 17
211+ 10 -> 17
201212 7 -> 18
202- 20 -> 19
203- 21 -> 19
213+ 10 -> 18
214+ 7 -> 20
215+ 22 -> 21
216+ 23 -> 21
204217 }
205218
206219|
@@ -219,7 +232,7 @@ In the terminal, this will show up as a list of jobs to be run:
219232 build_electricity_demand 1
220233 build_line_rating 1
221234 build_powerplants 1
222- build_renewable_profiles 4
235+ build_renewable_profiles 6
223236 build_shapes 1
224237 build_ship_raster 1
225238 cluster_network 1
@@ -232,7 +245,7 @@ In the terminal, this will show up as a list of jobs to be run:
232245 retrieve_synthetic_electricity_demand 1
233246 simplify_network 1
234247 solve_network 1
235- total 22
248+ total 24
236249
237250
238251 ``snakemake `` then runs these jobs in the correct order.
@@ -241,16 +254,15 @@ A job (here ``simplify_network``) will display its attributes and normally some
241254
242255.. code :: bash
243256
244- [Mon Feb 19 17:06:17 2024]
245257 rule simplify_network:
246- input: resources/test/networks/elec.nc, data /costs_2030.csv, resources/test/regions_onshore.geojson, resources/test/regions_offshore.geojson
247- output: resources/test/networks/elec_s.nc, resources/test/regions_onshore_elec_s.geojson, resources/test/regions_offshore_elec_s.geojson, resources/test/busmap_elec_s.csv, resources/test/connection_costs_s.csv
248- log: logs/test-elec /simplify_network/elec_s.log
258+ input: resources/test/networks/elec.nc, resources/test /costs_2030.csv, resources/test/regions_onshore.geojson, resources/test/regions_offshore.geojson
259+ output: resources/test/networks/elec_s.nc, resources/test/regions_onshore_elec_s.geojson, resources/test/regions_offshore_elec_s.geojson, resources/test/busmap_elec_s.csv
260+ log: logs/test/simplify_network/elec_s.log
249261 jobid: 4
250- benchmark: benchmarks/test-elec /simplify_network/elec_s
251- reason: Missing output files: resources/test/regions_offshore_elec_s.geojson, resources/test/busmap_elec_s.csv, resources/test/regions_onshore_elec_s.geojson, resources/test/networks/elec_s.nc ; Input files updated by another job: resources/test/regions_offshore.geojson, resources/test/networks/elec.nc, resources/test/regions_onshore.geojson, data/costs_2030.csv
262+ benchmark: benchmarks/test/simplify_network/elec_s
263+ reason: Forced execution
252264 wildcards: simpl=
253- resources: tmpdir=/tmp , mem_mb=12000, mem_mib=11445
265+ resources: tmpdir=< TBD > , mem_mb=12000, mem_mib=11445
254266
255267 Once the whole worktree is finished, it should state so in the terminal.
256268
0 commit comments