add custom_extra_functionality param to solve_electricity rule

This commit is contained in:
Fabian Neumann 2024-01-02 16:00:41 +01:00
parent 79ca64382b
commit f28e9b47d2

View File

@ -11,6 +11,9 @@ rule solve_network:
co2_sequestration_potential=config["sector"].get( co2_sequestration_potential=config["sector"].get(
"co2_sequestration_potential", 200 "co2_sequestration_potential", 200
), ),
custom_extra_functionality=workflow.source_path(
config["solving"]["options"].get("custom_extra_functionality", "")
),
input: input:
network=RESOURCES + "networks/elec_s{simpl}_{clusters}_ec_l{ll}_{opts}.nc", network=RESOURCES + "networks/elec_s{simpl}_{clusters}_ec_l{ll}_{opts}.nc",
config=RESULTS + "config.yaml", config=RESULTS + "config.yaml",