powsybl / powsybl-dev-tools

2 stars 1 forks source link

Allow PHASE_SHIFT_TRANSFORMER to appear in the ComponentFilterType enum #97

Open So-Fras opened 6 months ago

So-Fras commented 6 months ago

Describe the current behavior

The #93 PR allows users to filter voltage levels and substations according to a specific component type they contain:

    ALL,
    HVDC_LINE,
    SWITCH,
    BUSBAR_SECTION,
    LINE,
    TIE_LINE,
    TWO_WINDINGS_TRANSFORMER,
    THREE_WINDINGS_TRANSFORMER,
    GENERATOR,
    BATTERY,
    LOAD,
    SHUNT_COMPENSATOR,
    DANGLING_LINE,
    STATIC_VAR_COMPENSATOR,
    LCC_CONVERTER_STATION,
    VSC_CONVERTER_STATION,
    GROUND;

The above list does not include phase-shift transformers.

Describe the expected behavior

Phase-shift transformers should be added to this list.

This may involve refactoring.

Describe the motivation

It is useful to be able to quickly display a phase-shift transformer when working on that specific equipment.

Extra Information

No response