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

openego / eDisGo / 34829438930
87%

Build:
DEFAULT BRANCH: dev
Ran 14 Sep 2026 11:14AM 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

14 Sep 2026 09:42AM UTC coverage: 83.805% (+0.1%) from 83.676%
34829438930

push

github

web-flow
Route the overlying grid's district-heating feed-in into the runner pipeline (#749)

* fix(run): route the overlying grid's district-heating feed-in into the pipeline

openego/eGo#202: the overlying grid's ``feedin_district_heating`` reached
nothing. Its only consumer,
``edisgo.tools.tools.aggregate_district_heating_components``, is invoked by
no registered task -- the in-eGo pipeline that used to call it
(``_run_edisgo_task_optimisation``) was replaced by the runner, and the
call was not carried over.

Two consequences, both visible in the reported results:

* the district heating heat demand is overstated by whatever other heat
  sources contribute, since that feed-in is never subtracted; and
* the heat pump and the resistive heater of an area are never merged, which
  is why a grid shows ``..._district_heating_resistive_heater_...`` loads
  with no counterpart in the overlying-grid data. They are not missing an
  equivalent -- the aggregation that would have removed them never ran.

Add an ``aggregate_district_heating`` task doing both, and put it in the
three presets that import overlying-grid data, right after the import and
before the OPF -- the same position the in-eGo pipeline used. It is a no-op
with an info-log on grids without district heating, so it is safe in a
generic pipeline.

Two registry declarations keep a wrong pipeline from failing silently:

* ``ts_altering=True``, because the task drops the resistive heater's power
  series and re-applies the heat-pump operating strategy -- the validator now
  rejects a pipeline that places it after ``reactive_power``, whose result
  would otherwise be stale;
* ``requires={"overlying_grid"}``, newly provided by
  ``import_overlying_grid_data``. Placing the aggregation before the import
  used to validate and then take the "no feed-in" branch, i.e. reintroduce
  this very bug without any error.

Also normalise the district-heating column labels at the import boundary.
Both consumers address the a... (continued)

52 of 55 new or added lines in 4 files covered. (94.55%)

9506 of 11343 relevant lines covered (83.8%)

0.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
43.48
-3.03% edisgo/run/tasks/grid.py
Jobs
ID Job ID Ran Files Coverage
1 34829438930.1 14 Sep 2026 11:14AM UTC 68
83.8
GitHub Action Run
Source Files on build 34829438930
  • Tree
  • List 68
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f36e716d on github
  • Prev Build on dev (#33606063197)
  • Next Build on dev (#35713700688)
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