• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openego / eDisGo / 29430206786
83%
dev: 84%

Build:
Build:
LAST BUILD BRANCH: ci/oedb-test-reruns
DEFAULT BRANCH: dev
Ran 15 Jul 2026 05:46PM UTC
Jobs 1
Files 68
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Jul 2026 03:55PM UTC coverage: 83.013% (-0.8%) from 83.819%
29430206786

Pull #629

github

web-flow
Spatial complexity reduction for the run pipeline (partial) (#706)

* Change database from OEP to local

* feat: spatial complexity reduction for the run pipeline

Adds spatial_reduce/spatial_restore tasks bracketing optimize, so the OPF
can run on a spatially-reduced grid while reinforcement still runs on the
full topology. New core function apply_reduced_results_to_full_grid maps
optimized flexible-component dispatch (charging points, heat pumps, DSM
loads, storage) back onto the full grid, by name or disaggregated onto
old_name members per time step (weighted by each member's pre-OPF
flexibility envelope) when aggregation_mode=True. Reactive power is
recomputed on restore, mirroring how pm_optimize itself handles it.

optimize now also records its flexible-component name lists on ctx.flags
and declares provides={"optimized_dispatch"}, so the validator's existing
requires/provides system enforces spatial_restore running after both
spatial_reduce and optimize.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* fix: trim electromobility flexibility bands to the active time index

get_flexibility_bands only resamples bands to the active time-series
FREQUENCY, not the active date range - so after a manual/short
select_timesteps window, flexibility_bands kept spanning the full
underlying SimBEV data range with no later step ever trimming it down.
Any consumer indexing flexibility_bands by edisgo.timeseries.timeindex
(e.g. the OPF's charging-point constraint builder) could then hit missing
time steps. build_flexibility_bands now trims electromobility data to the
active time index right after building the bands.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* Add uc6_spatial_reduction preset and example runner

Standalone preset wiring spatial_reduce/spatial_restore around optimize,
disabled by default via spatial_reduction.enabled. run_example_06.py runs
it against a real ding0 grid.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic... (continued)
Pull Request #629: Edisgo run edisgo

716 of 1006 new or added lines in 24 files covered. (71.17%)

2 existing lines in 2 files now uncovered.

9461 of 11397 relevant lines covered (83.01%)

0.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
49
60.8
edisgo/run/tasks/timeseries.py
35
33.96
edisgo/run/tasks/flex.py
25
59.02
edisgo/run/tasks/analysis.py
21
82.05
edisgo/run/config.py
21
46.15
edisgo/run/context.py
20
76.19
edisgo/run/tasks/io.py
18
83.38
2.47% edisgo/tools/tools.py
17
73.44
edisgo/run/runner.py
16
68.0
edisgo/run/tasks/grid.py
15
45.54
-5.53% edisgo/io/db.py
13
35.0
edisgo/run/tasks/spatial.py
12
93.32
-1.01% edisgo/tools/spatial_complexity_reduction.py
8
86.07
1.63% edisgo/tools/temporal_complexity_reduction.py
6
92.46
-0.97% edisgo/io/powermodels_io.py
5
90.38
edisgo/run/validator.py
4
94.93
2.43% edisgo/opf/powermodels_opf.py
4
80.17
-1.05% edisgo/tools/config.py
1
78.49
0.01% edisgo/edisgo.py

Coverage Regressions

Lines Coverage ∆ File
1
92.46
-0.97% edisgo/io/powermodels_io.py
1
80.17
-1.05% edisgo/tools/config.py
Jobs
ID Job ID Ran Files Coverage
1 29430206786.1 15 Jul 2026 05:46PM UTC 68
83.01
GitHub Action Run
Source Files on build 29430206786
  • Tree
  • List 68
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #629
  • PR Base - dev (#28930710676)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc