powsybl-core icon indicating copy to clipboard operation
powsybl-core copied to clipboard

Dangling line pairing refactoring

Open olperr1 opened this issue 1 year ago • 0 comments

Describe the current behavior

The code doing the dangling lines pairing when merging networks is hard to read (especially the TieLineUtil.findAndAssociateDanglingLines method) and to evolve.

Describe the expected behavior

Refactor the dangling lines pairing when merging networks to make it more maintainable.

TieLineUtil.findCandidateDanglingLines (introduced by #2740) can be called on both networks to merge in order to identify the dangling lines to pair.

Describe the motivation

No response

Extra Information

No response

olperr1 avatar Oct 05 '23 14:10 olperr1