We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba3ce9b commit 431e83cCopy full SHA for 431e83c
1 file changed
rules/build_sector.smk
@@ -1658,10 +1658,12 @@ def input_gas_network(w):
1658
if gas_network or h2_retrofit:
1659
inputs["clustered_gas_network"] = resources("gas_network_base_s_{clusters}.csv")
1660
1661
- gas_imports = "gas" in import_carriers
1662
- h2_imports_not_tyndp = "H2" in import_carriers and not h2_topology_tyndp
+ gas_imports = imports_enabled and "gas" in import_carriers
+ h2_imports_not_tyndp = (
1663
+ imports_enabled and "H2" in import_carriers and not h2_topology_tyndp
1664
+ )
1665
- if gas_network or (imports_enabled and (gas_imports or h2_imports_not_tyndp)):
1666
+ if gas_network or gas_imports or h2_imports_not_tyndp:
1667
inputs["gas_input_nodes_simplified"] = resources(
1668
"gas_input_locations_s_{clusters}_simplified.csv"
1669
)
0 commit comments