change layout of configuration settings

This commit is contained in:
martacki 2021-06-01 12:00:55 +02:00
parent eef8e3fe41
commit 9825fa32b2
4 changed files with 10 additions and 4 deletions

View File

@ -19,7 +19,9 @@ scenario:
countries: ['AL', 'AT', 'BA', 'BE', 'BG', 'CH', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GR', 'HR', 'HU', 'IE', 'IT', 'LT', 'LU', 'LV', 'ME', 'MK', 'NL', 'NO', 'PL', 'PT', 'RO', 'RS', 'SE', 'SI', 'SK'] countries: ['AL', 'AT', 'BA', 'BE', 'BG', 'CH', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GR', 'HR', 'HU', 'IE', 'IT', 'LT', 'LU', 'LV', 'ME', 'MK', 'NL', 'NO', 'PL', 'PT', 'RO', 'RS', 'SE', 'SI', 'SK']
simplify_to_substations: false # network is simplified to nodes with positive or negative power injection (i.e. substations or offwind connections) clustering:
simplify:
to_substations: false # network is simplified to nodes with positive or negative power injection (i.e. substations or offwind connections)
snapshots: snapshots:
start: "2013-01-01" start: "2013-01-01"

View File

@ -19,7 +19,9 @@ scenario:
countries: ['DE'] countries: ['DE']
simplify_to_substations: false # network is simplified to nodes with positive or negative power injection (i.e. substations or offwind connections) clustering:
simplify:
to_substations: false # network is simplified to nodes with positive or negative power injection (i.e. substations or offwind connections)
snapshots: snapshots:
start: "2013-03-01" start: "2013-03-01"

View File

@ -399,7 +399,7 @@ if __name__ == "__main__":
busmaps = [trafo_map, simplify_links_map, stub_map] busmaps = [trafo_map, simplify_links_map, stub_map]
if snakemake.config['simplify_to_substations']: if snakemake.config['clustering']['simplify']['to_substations']:
n, substation_map = aggregate_to_substations(n) n, substation_map = aggregate_to_substations(n)
busmaps.append(substation_map) busmaps.append(substation_map)

View File

@ -18,7 +18,9 @@ scenario:
countries: ['DE'] countries: ['DE']
simplify_to_substations: false # network is simplified to nodes with positive or negative power injection (i.e. substations or offwind connections) clustering:
simplify:
to_substations: false # network is simplified to nodes with positive or negative power injection (i.e. substations or offwind connections)
snapshots: snapshots:
start: "2013-03-01" start: "2013-03-01"