Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using config_provider exlusively in additional_functionality #1197

Closed
wants to merge 3 commits into from

Conversation

toniseibold
Copy link
Contributor

@toniseibold toniseibold commented Aug 5, 2024

Prerequisite for PyPSA/pypsa-ariadne#154

Changes proposed in this Pull Request

Adding parameters in the rule with config_provider to ensure handing over scenario specific configs properly.

Checklist

  • I tested my contribution locally and it seems to work fine.
  • Code and workflow changes are sufficiently documented.
  • Changed dependencies are added to envs/environment.yaml.
  • Changes in configuration options are added in all of config.default.yaml.
  • Changes in configuration options are also documented in doc/configtables/*.csv.
  • A release note doc/release_notes.rst is added.

@toniseibold toniseibold requested a review from lindnemi August 5, 2024 08:45
@toniseibold toniseibold marked this pull request as ready for review August 5, 2024 08:45
limits_capacity_max=config_provider("limits_capacity_max"),
limits_volume_min=config_provider("limits_volume_min"),
limits_volume_max=config_provider("limits_volume_max"),
co2_budget_national=config_provider("co2_budget_national"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@toniseibold just a comment: as these keys are specifications coming from the ariadne workflow (which stand-alone pypsa-eur does not use), perhaps we can rather take a modular approach and collect these entries under solving -> constraints in the ariadne repo, rather than explicitly making pypsa-eur aware of them?

@toniseibold
Copy link
Contributor Author

Added configs for boundary conditions in solving as proposed by @FabianHofmann

@toniseibold toniseibold closed this Aug 5, 2024
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.

2 participants