powsybl / powsybl-open-loadflow

An open source loadflow based on PowSyBl
Mozilla Public License 2.0
48 stars 7 forks source link

Add an option that allow checking unrealistic voltage only on final state of the loadflow. #1087

Open murgeyseb opened 2 months ago

murgeyseb commented 2 months ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

Feature

What is the current behavior?

Current implementation of unrealistic voltage check does stop computation with status Unrealistic Voltage each time any Newton Raphson iteration ends with a found voltage on any node outside the allowed range.

What is the new behavior (if this is a feature change)? Adds an option that allow checking unrealistic voltage only on final state of the loadflow. It allows outerl oops to fix some voltage issues before failing.

Does this PR introduce a breaking change or deprecate an API?

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
91.6% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud