Skip to content

Add unitless solver tolerance option - #3070

Open
Ehsanpoly wants to merge 2 commits into
e2nIEE:release/v4.0.0from
Ehsanpoly:add-unitless-solver-tolerance
Open

Add unitless solver tolerance option#3070
Ehsanpoly wants to merge 2 commits into
e2nIEE:release/v4.0.0from
Ehsanpoly:add-unitless-solver-tolerance

Conversation

@Ehsanpoly

Copy link
Copy Markdown
Contributor

Fixes #2750.

This PR adds solver_tolerance as a unitless power-flow solver tolerance option for pandapower 4.

The existing tolerance_mva option is kept as a backward-compatible alias, but the documentation is updated to clarify that the value is treated as a solver tolerance rather than an MVA quantity.

No numerical solver behavior is changed in this PR.

@codecov

codecov Bot commented Jul 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.04%. Comparing base (e924e12) to head (c5259f8).

Additional details and impacted files
@@               Coverage Diff               @@
##           release/v4.0.0    #3070   +/-   ##
===============================================
  Coverage           75.03%   75.04%           
===============================================
  Files                 357      357           
  Lines               39553    39558    +5     
===============================================
+ Hits                29679    29685    +6     
+ Misses               9874     9873    -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Ehsanpoly
Ehsanpoly force-pushed the add-unitless-solver-tolerance branch from dc2bdd8 to fa14dc9 Compare July 12, 2026 20:30
@vogt31337

Copy link
Copy Markdown
Contributor

@Ehsanpoly , thanks for the PR. I like your change, I'll discuss if we can somehow mark tolerance_mva as deprecated. But If I remember correctly this is not so easily be done.

@sonarqubecloud

sonarqubecloud Bot commented Aug 6, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants