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

Intern cells overlapping for busbar sections doubly connected

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

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

  • What is the current behavior? Intern cell

  • 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 2 busbar sections, doubly connected to each other with a breaker. The switch drawn are overlapping

  • What is the expected behavior? One expects that the two connections do not overlap

  • What is the motivation / use case for changing the behavior? Real case of two busbar sections connections overlapping: screenshot 1B is doubly connected to 1C:

    • once with a disconnector - breaker - disconnector chain
    • once with a disconnector - breaker - breaker - disconnector - chain

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

@BenoitJeanson do you have any thoughts about how we should draw this double connection? Does this double connection make any sense by the way?

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

I don't think this double connection makes any sense, nevertheless, if you encountered it, we should handle it. The problem is that both are considered FLAT... we should limit the number of FlatCell between 2 given busBars to only one FLAT (there is no such test today), and then one will be FLAT and the other will be overlapping.

BenoitJeanson avatar Jan 06 '22 11:01 BenoitJeanson

Ah, ok, thanks for explaining! I hadn't seen the FLAT origin of the problem

I saw something similar but a bit trickier in another file, it happens than two busbar sections are doubly connected with a single switch connected to a busbar section on one side with two disconnectors in paralllel, that makes two LegPrimaryBlock in an horizontal LegParallelBlock. I think that's something else, so I'll open another issue for that

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