pypowsybl icon indicating copy to clipboard operation
pypowsybl copied to clipboard

High level visualization of the network graph

Open sylvlecl opened this issue 3 years ago • 3 comments

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

Feature

  • What is the current behavior?

pypowsybl does not provide any plotting capability for the network.

  • What is the expected behavior?

pypowsybl could provide some plotting capabilities, in particular for use in notebooks. We can take inspiration from the good work done on Grid2Op (thanks @BDonnot for the pointer). Also some more basic examples of graph plotting with plotly here.

  • What is the motivation / use case for changing the behavior?

Ability to visualize a network in order to understand its behaviour.

Note: Possibly in the future this could be enhanced with a dedicated notebook or dash component, possibly with some interactions, but this first step would already be a great feature.

sylvlecl avatar Jun 24 '21 14:06 sylvlecl

In complement to grid2op you have:

  • grid2viz https://github.com/rte-france/grid2viz that allows to inspect temporal data (lots of consecutive grid states, what happens globally, when does the grid changes etc.)
  • an "unamed" / "unfinished" project (still private but i can invite any of you if you want) more focused on interactivity (you can do some action, triggers a powerflow, and see the resulting state of the grid)

In grid2op we mainly use matplotlib

In the above two plots, we extensively used plotly and dash.

Let me know for extra information

EDIT: is usable a "grid2op backend", pypowsybl (work in progress on my side) will be directly compatible with all the aforementioned tools. Without any extra works.

BDonnot avatar Jun 24 '21 15:06 BDonnot

Any progress on this High level visualization of the network graph using pypowsybl?

XinFang88 avatar Apr 20 '22 21:04 XinFang88

We have network area diagrams: https://mybinder.org/v2/gh/powsybl/pypowsybl-notebooks/main?labpath=network_area_diagram.ipynb

geofjamg avatar Apr 20 '22 22:04 geofjamg