In build_scenarios, custom configurations of the sector parameter get overwritten within the function write_to_scenario_yaml. A check if the key already exists is required:
if "sector" not in config[scenario]:
config[scenario]["sector"] = {}
|
config[scenario]["sector"] = {} |
In
build_scenarios, custom configurations of thesectorparameter get overwritten within the functionwrite_to_scenario_yaml. A check if the key already exists is required:pypsa-de/scripts/pypsa-de/build_scenarios.py
Line 187 in c1e59d1