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

Intern cell coordinates computation missing

Open flo-dup opened this issue 3 years ago • 0 comments

  • Do you want to request a feature or report a bug? Bug

  • What is the current behavior? In some specific intern cells coordinates computation is missing

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem Create a network with two busbar sections, connect them doubly with a single switch connected to the first busbar section with a disconnector, and connected to the other busbar section with two disconnectors in paralllel. The coordinates of the two disconnectors in parallel are not computed, as they produce two LegPrimaryBlock in an horizontal LegParallelBlock, whose coordHorizontalCase implementation is empty. They are therefore drawn in (0,0); see example below: screenshot

  • What is the expected behavior? The disconnectors coordinates are computed so that they are drawn with no overlapping

  • What is the motivation / use case for changing the behavior? Real case encountered drawn above.

flo-dup avatar Jan 06 '22 11:01 flo-dup