scenario management: use "shared_cutouts" instead of "dedicated_cutouts"

This commit is contained in:
Fabian 2022-09-13 14:51:36 +02:00
parent 8cfe975247
commit b694337541
4 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ configfile: "config.yaml"
run = config.get("run", {}) run = config.get("run", {})
RDIR = run["name"] + "/" if run.get("name") else "" RDIR = run["name"] + "/" if run.get("name") else ""
CDIR = RDIR if run.get("dedicated_cutouts", True) else "" CDIR = RDIR if not run.get("shared_cutouts") else ""
COSTS = "resources/" + RDIR + "costs.csv" COSTS = "resources/" + RDIR + "costs.csv"
ATLITE_NPROCESSES = config['atlite'].get('nprocesses', 4) ATLITE_NPROCESSES = config['atlite'].get('nprocesses', 4)

View File

@ -11,7 +11,7 @@ logging:
run: run:
name: "" # use this to keep track of runs with different settings name: "" # use this to keep track of runs with different settings
dedicated_cutouts: True # set to false to use the default cutout(s) shared_cutouts: false # set to true to share the default cutout(s) across runs
scenario: scenario:

View File

@ -34,7 +34,7 @@ PyPSA-Eur 0.6.0 (10th September 2022)
setting ``excluder_resolution``. setting ``excluder_resolution``.
* The software now supports running the workflow with different settings within the same directory. A new config section ``run`` was created that specifies under which scenario ``name`` the created resources, networks and results should be stored. If ``name`` is not specified, the workflow uses the default paths. The entry ``dedicated_cutouts`` specifies whether the run should use cutouts from the default root directory and use run-specific cutouts. * The software now supports running the workflow with different settings within the same directory. A new config section ``run`` was created that specifies under which scenario ``name`` the created resources, networks and results should be stored. If ``name`` is not specified, the workflow uses the default paths. The entry ``shared_cutouts`` specifies whether the run should use cutouts from the default root directory or use run-specific cutouts.
PyPSA-Eur 0.5.0 (27th July 2022) PyPSA-Eur 0.5.0 (27th July 2022)
===================================== =====================================