Skip to content

Commit 7631c42

Browse files
committed
Improve transmission plots
1 parent e7fe2ae commit 7631c42

File tree

1 file changed

+6
-3
lines changed
  • switch_model/transmission/transport

1 file changed

+6
-3
lines changed

switch_model/transmission/transport/build.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,9 @@ def transmission_capacity(tools):
416416

417417

418418
@graph(
419-
"transmission_map", title="Total transmission capacity for the last period (in GW)"
419+
"transmission_map",
420+
title="Total transmission capacity for the last period (in GW)",
421+
note="Lines <1 GW not shown",
420422
)
421423
def transmission_map(tools):
422424
transmission = tools.get_dataframe(
@@ -433,12 +435,13 @@ def transmission_map(tools):
433435
)
434436
transmission = transmission[["from", "to", "value"]]
435437
transmission.value *= 1e-3
436-
tools.maps.graph_transmission(transmission)
438+
tools.maps.graph_transmission(transmission, cutoff=1)
437439

438440

439441
@graph(
440442
"transmission_buildout",
441443
title="New transmission capacity built across all periods (in GW)",
444+
note="Lines with <0.1 GW built not shown.",
442445
)
443446
def transmission_map(tools):
444447
transmission = tools.get_dataframe(
@@ -455,4 +458,4 @@ def transmission_map(tools):
455458
)
456459
# Rename the columns appropriately
457460
transmission.value *= 1e-3
458-
tools.maps.graph_transmission(transmission)
461+
tools.maps.graph_transmission(transmission, cutoff=0.1)

0 commit comments

Comments
 (0)