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

openego / eDisGo / 33615564738
84%
dev: 84%

Build:
Build:
LAST BUILD BRANCH: 739-task-decouple_regular_test_suite_from_live_OEP_access
DEFAULT BRANCH: dev
Ran 02 Sep 2026 11:09AM 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

02 Sep 2026 09:39AM UTC coverage: 83.805%. First build
33615564738

push

github

joda9
fix(tools): do not raise on a district heating area without a heat pump

`aggregate_district_heating_components` picked the components of an area with
more than one power-to-heat unit by indexing `[0]` into a sector filter:

    district_hp = district_hps[district_hps.sector == "district_heating"].index[0]
    district_rh = district_hps[
        district_hps.sector == "district_heating_resistive_heater"
    ].index[0]

Both raise `IndexError: index 0 is out of bounds for axis 0 with size 0` when
the area holds several units but none of that sector.

That is reachable from real data, not just a constructed case. Central heat
pumps and central resistive heaters are fetched by independent per-carrier
queries and integrated independently in io.heat_pump_import, including a
fallback that integrates a resistive heater as a component of its own when it
cannot be attached to an existing heat pump. An area holding two resistive
heaters and no heat pump therefore exists, and the whole generator import of
that grid died on it.

Both filters are now evaluated once, up front. An area that does not hold one
unit of each type keeps its components and gets a warning naming the sectors
it does contain; the heat demand target falls back to the first unit, which is
what the single-unit branch already did. Areas with one heat pump and one
resistive heater are unaffected.

The feed-in subtraction still happens for such an area — only the merge is
skipped, since there is nothing to merge into.

The defect predates this branch. It was unreachable while the function had no
production caller; the `aggregate_district_heating` task added earlier on this
branch puts it in the path of every district heating run.

8 of 8 new or added lines in 1 file covered. (100.0%)

9496 of 11331 relevant lines covered (83.81%)

0.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33615564738.1 02 Sep 2026 11:09AM UTC 68
83.81
GitHub Action Run
Source Files on build 33615564738
  • Tree
  • List 68
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 862b1af3 on github
  • Next Build on fix/ego-202-district-heating-feedin-runner (#33632913940)
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