Skip to content

Warn the user if the scenario.automated.yaml is outdated or non existent#85

Closed
lindnemi wants to merge 2 commits intomainfrom
warn-outdated-scenarios
Closed

Warn the user if the scenario.automated.yaml is outdated or non existent#85
lindnemi wants to merge 2 commits intomainfrom
warn-outdated-scenarios

Conversation

@lindnemi
Copy link
Collaborator

@lindnemi lindnemi commented May 7, 2025

The goal of this PR is to warn the user about some errors that might occur when using the scenario management in pypsa-de incorrectly

Ideally the workflow wouldn't just print a warning, but fail but i did not find out how to do that yet (because it should only fail when ariadne_all is called and not when build_scenarios is called)

Even more ideally, build_scenarios would be included in the default workflow, but that seems even more complicated to achieve as that means modifying the snakemake config in runtime.

Before asking for a review for this PR make sure to complete the following checklist:

  • Workflow with target rule ariadne_all completes without errors
  • The logic of export_ariadne_variables has been adapted to the changes
  • One or several figures that validate the changes in the PR have been posted as a comment
  • A brief description of the changes has been added to Changelog.md
  • The latest main has been merged into the PR
  • The config has a new prefix of the format YYYYMMDDdescriptive_title

cpschau pushed a commit that referenced this pull request Jul 14, 2025
* export firs trade variables

* add plotting for trade and issing policy variables

* added Trade|Secondary Energy|Liquids|Hydrogen|Volume and Trade|Primary Energy|Gas|Volume

* undo config changes

* fix undo config changes

* cleanup

---------

Co-authored-by: Michael Lindner <michaellindner@posteo.de>
@lindnemi lindnemi closed this Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant