Only bus faults are available as input of the short-circuit analysis.
Describe the expected behavior
Branch faults exist in powsybl-core and should be wrapped in pypowsybl.
For the modelisation of the faults I am not sure. It could be in the same dataframe with an additional column for the proportional_location field (field that does not exist for bus faults). Or we could add another column indicating the fault type.
We could also split the function to create the faults in two functions: create_bus_fault and create_branch_fault.
In any case, some checks should be perform to assess that the faults are describing a branch or a bus.
Describe the current behavior
Only bus faults are available as input of the short-circuit analysis.
Describe the expected behavior
Branch faults exist in powsybl-core and should be wrapped in pypowsybl. For the modelisation of the faults I am not sure. It could be in the same dataframe with an additional column for the proportional_location field (field that does not exist for bus faults). Or we could add another column indicating the fault type. We could also split the function to create the faults in two functions: create_bus_fault and create_branch_fault. In any case, some checks should be perform to assess that the faults are describing a branch or a bus.
I am not sure what is the best way for now.
Describe the motivation
Be able to run simulation of branch fault.
Extra Information
No response