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

openego / eDisGo / 41996504366
87%

Build:
DEFAULT BRANCH: dev
Ran 05 Nov 2026 09:47AM UTC
Jobs 1
Files 67
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

05 Nov 2026 08:42AM UTC coverage: 86.776% (+0.05%) from 86.723%
41996504366

push

github

web-flow
Limit the threads of the OPF and the spatial reduction (#834)

* Limit Gurobi to 8 threads in the OPF by default

Without a Threads setting, Gurobi used all cores of the machine, which
slowed down other processes and parallel runs of several grids. The new
parameter threads (default 8, 0 for all cores) of EDisGo.pm_optimize and
of the runner step optimize is handed to Main.jl as sixth argument and
set as Gurobi's Threads parameter.

* Limit the thread pools of the spatial reduction to 1 thread by default

The k-means clustering of scikit-learn (OpenMP) and numpy/scipy (BLAS)
used all cores of the machine during the spatial complexity reduction,
which slowed down parallel runs on shared servers. More threads hardly
speed up the reduction, as most of its run time is spent in
single-threaded code (networkx, pandas). The new parameter threads
(default 1, 0 for all cores) of EDisGo.spatial_complexity_reduction and
of the runner block spatial_reduction limits the pools with
threadpoolctl. threadpoolctl is already a dependency of scikit-learn; it
is now listed explicitly because eDisGo imports it directly.

Closes #844

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

2 existing lines in 1 file now uncovered.

10256 of 11819 relevant lines covered (86.78%)

0.87 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
94.84
0.65% edisgo/opf/powermodels_opf.py
Jobs
ID Job ID Ran Files Coverage
1 41996504366.1 05 Nov 2026 09:47AM UTC 67
86.78
GitHub Action Run
Source Files on build 41996504366
  • Tree
  • List 67
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6172ebe7 on github
  • Prev Build on dev (#41803348028)
  • Next Build on dev (#42053336231)
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