powsybl / pypowsybl

A PowSyBl and Python integration based on GraalVM native image
Mozilla Public License 2.0
55 stars 12 forks source link

Get bus/breaker view buses dataframe #748

Closed geofjamg closed 4 months ago

geofjamg commented 4 months ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

Feature

What is the current behavior?

We cannot easily get a full list of buses from the bus/breaker view. We need to use the bus/breaker topology object voltage level by voltage level to have it.

What is the new behavior (if this is a feature change)? We now have a get_bus_breaker_view_buses() directly from the network.

Does this PR introduce a breaking change or deprecate an API?

If yes, please check if the following requirements are fulfilled

What changes might users need to make in their application due to this PR? (migration steps)

Other information: