Temporal complexity reduction: inject timestep selection into per-grid eDisGo runs#193
Open
MoritzSchloesser wants to merge 3 commits into
Open
Temporal complexity reduction: inject timestep selection into per-grid eDisGo runs#193MoritzSchloesser wants to merge 3 commits into
MoritzSchloesser wants to merge 3 commits into
Conversation
Wire the eDisGo run pipeline's configurable timestep selection (openego/eDisGo#663) through to eGo's per-grid runner. `_build_run_edisgo_config` now injects a top-level `timeseries_selection` block into each grid's runner config, mirroring the existing `overlying_grid` injection. The block is read from the scenario setting's `eDisGo.timeseries_selection` (a default applied to every grid) with an optional per-grid override from `eDisGo.timeseries_selection_per_grid`, keyed by MV grid id. This lets a run use auto (power_flow / residual_load) selection by default while pinning specific grids to a manual time series. Add `scenario_setting_uc5_example.json` demonstrating the feature: a residual_load auto default plus a manual per-grid override for grid 32355. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
|
EDIT: Problem fixed (see comment below) When I try to run it I run into: I use the following settings in eGo: Since I don't have the overlying grid data as files, I use "etrago" as the overlying_grid_source and a path to the etrago files. Before, these settings worked fine. Do you have any idea what might have changed? |
Contributor
|
Sorry, I found the reason for the problem in my config file. It is a bit misleading that you have to do some settings twice. It seems to be working now. I will do some additional tests |
ClaraBuettner
approved these changes
Jul 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Partial solution to #189 — the temporal complexity reduction only
(spatial reduction remains open in that issue).
Wires the eDisGo run pipeline's configurable timestep selection
(openego/eDisGo#663) through to eGo's per-grid runner.
EDisGoNetworks._build_run_edisgo_confignow injects a top-leveltimeseries_selectionblock into each grid's runner config, mirroring theexisting
overlying_gridinjection. The block resolves per grid from thescenario setting:
eDisGo.timeseries_selection— a default applied to every grid.eDisGo.timeseries_selection_per_grid— optional per-grid overrides,keyed by MV grid id (string). A grid's entry fully replaces the default.
If neither is present, no block is injected and eDisGo keeps its full-year
behaviour, so the change is backward compatible.
Why
Full-year optimization/reinforcement over every MVLV grid is prohibitively
expensive for the eGo milestone. This lets a run reduce each grid to a few
critical time intervals (auto
power_flow/residual_load) or pinspecific grids to a manual time series — mixing both in one run.
Example
scenario_setting_uc5_example.json(added) shows the feature: aresidual_loadauto default for all grids plus a manual 24-step overridefor grid
32355.Scope / follow-up
select_timestepstask thatreads the
timeseries_selectionblock). This PR is only the configplumbing on the eGo side.
Testing
override resolution).
timeseries_selectionblockproduce an unchanged runner config.
Part of #189.