-
Notifications
You must be signed in to change notification settings - Fork 249
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
Scenario management #724
Scenario management #724
Conversation
@fneum if you want you can already have a look, I will test it further locally for my project. |
4934d4c
to
32eb114
Compare
add create_scenarios.py
…eve_electricity_demand
…rovider to some direct inputs
Note: Sweeping across years also works with this. For example using the scenario.yaml network2013:
snapshots:
start: "2013-01-01"
end: "2014-01-01"
inclusive: 'left'
network2019:
snapshots:
start: "2019-01-01"
end: "2020-01-01"
inclusive: 'left'
renewable:
onwind:
cutout: europe-2019-era5
offwind-ac:
cutout: europe-2019-era5
offwind-dc:
cutout: europe-2019-era5
solar:
cutout: europe-2019-era5
hydro:
cutout: europe-2019-era5
will create two resource and result folders with distinct years. |
Oh, I am excited about this! |
prepare_sector: insert set_scenario_config
for more information, see https://pre-commit.ci
…ints without function
for more information, see https://pre-commit.ci
…arios: enable: true
… scenario-management
for more information, see https://pre-commit.ci
… scenario-management
|
||
# Define all possible combinations of config values. | ||
# This must define all config values that are used in the template. | ||
config_values = dict(config_value=["true", "false"], config_value2=[1, 2, 3, 4]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
config_value=
should probably be called config_key=
in this line to avoid confusion
merged via 184f3a0 |
From release notes:
PyPSA-EUR now supports the simultaneous execution of multiple scenarios. For this purpose, a scenarios.yaml file has been introduced which contains customizable scenario names with corresponding configuration overrides. To enable it, set the
run: scenarios:
key toTrue
and define the scenario names to run underrun: name:
in the configuration file. The latter must be a subset of toplevel keys in the scenario file.Checklist
envs/environment.yaml
.config.default.yaml
.doc/configtables/*.csv
.doc/release_notes.rst
is added.