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

Add getI() method to DanglingLine's boundary #3168

Open caioluke opened 2 days ago

caioluke commented 2 days ago

Please check if the PR fulfills these requirements

What kind of change does this PR introduce?

Feature

What is the current behavior?

Boundary nodes do not have a getI() method, whereas terminals do. Therefore, for paired dangling lines, we can not get the current from both sides of the half line easily.

What is the new behavior (if this is a feature change)? Add the getI() method for boundary nodes.

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)

Add the getI() method for the Boundary implementations.

sonarcloud[bot] commented 2 days ago

Quality Gate Failed Quality Gate failed

Failed conditions
64.3% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud