Skip to content

Conversation

@DEUCE1957
Copy link
Contributor

Extended PlotMatplot to support changing:

  • The size of the markers representing loads, generators, energy storage and busbars
  • The color map used to color markers and/or powerlines
  • Coloring support for loads and generators (interface does not exactly match BasePlot, however)
  • The normalization of the color map (can pass a matplotlib cmap name like "viridis", or a list of numbers [0.0, 1.0] to normalize the colors between)
  • The attribute used to color markers and/or powerlines (e.g. "rho" for ratio of thermal limit)
  • The attribute used to display information next to the markers / powerlines (e.g. "v" for voltage and "p" for active power)
    This included a refactor of the class using Dataclasses, which should make future changes easier to propagate.

There may be additional potential to refactor, since there is some repetition across the draw_load, draw_gen, etc.

  • Documentation
  • Jupyter Notebook
  • Additional Unit Tests

@sonarqubecloud
Copy link

@BDonnot BDonnot changed the base branch from dev_1.11.1 to dev_1.12.1 July 29, 2025 11:41
@BDonnot BDonnot changed the base branch from dev_1.12.1 to dev_1.12.2 August 28, 2025 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant