powsybl / powsybl-core

A framework to build power system oriented software
https://www.powsybl.org
Mozilla Public License 2.0
124 stars 40 forks source link

Boundary P, Q, angle and voltage with zero impedance #3048

Closed annetill closed 4 months ago

annetill commented 4 months ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem?

No. We have:

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

Values at boundary are not calculated correctly when dangling lines have zero impedance.

What is the new behavior (if this is a feature change)? Calculations of boundary magnitudes in IIDM boundary implementation and DanglingLineData now have support for zero impedance. Zero impedance check for dangling lines is kept at DanglingLineData. Zero impedance paired dangling lines (inside tie lines) are also calculated correctly.

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

If yes, please check if the following requirements are fulfilled

What changes might users need to make in their application due to this PR? (migration steps)

Other information:

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

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

See analysis details on SonarCloud