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

openego / eDisGo / 39742610086
87%

Build:
DEFAULT BRANCH: dev
Ran 22 Oct 2026 08:36AM 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

22 Oct 2026 07:44AM UTC coverage: 84.214% (+0.004%) from 84.21%
39742610086

push

github

web-flow
fix(pypsa_io): include line shunt susceptance in per-grid to_pypsa export (#740)

* fix(pypsa_io): include line shunt susceptance in per-grid to_pypsa export

The mv/lv per-grid export path dropped the "b" column from lines_df
while the full-grid path (mode=None) kept it, so PyPSA silently
defaulted it to 0 instead of the real value on the per-grid path.
Align both paths to select the same Line columns, and add a
regression test that injects a distinguishing non-zero b to catch
the divergence (issue #654).

* test: update enhanced_reinforce_grid golden counts after Line b fix

* Pass line susceptance through one shared component helper

The full-network export now builds Load, Generator, StorageUnit and Line
with _get_grid_component_dict like the per-grid exports, so the column
sets cannot diverge again. Also cover mode="mvlv" in the test, describe
the current behaviour in the test comment and add a whatsnew entry, as
reinforcement results change for lines with non-zero b.

* Shorten to_pypsa transformer export and sharpen whatsnew for line b

Both the full-network and the mvlv export now get the MV/LV transformers
from _get_transformer_df. The whatsnew entry names the per-grid runs that
change and states that add_line_susceptance sets b only for MV lines by
default. The test explains why mode="mvlv" checks only the MV line.

---------

Co-authored-by: Jonas Danke <jonas.danke@rl-institut.de>

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

9789 of 11624 relevant lines covered (84.21%)

0.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39742610086.1 22 Oct 2026 08:36AM UTC 68
84.21
GitHub Action Run
Source Files on build 39742610086
  • Tree
  • List 68
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 223dfad0 on github
  • Prev Build on dev (#39730488906)
  • Next Build on dev (#39752753041)
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