powsybl / powsybl-open-rao

A toolbox based on powsybl framework dedicated to power systems coordinated capacity calculation and security analysis projects
Mozilla Public License 2.0
13 stars 5 forks source link

Use powsybl-core's network modifications inside RangeAction implementations #1019

Open pet-mit opened 1 month ago

pet-mit commented 1 month ago

Describe the current behavior

OpenRAO has its own remedial action definition for range actions, using only the ID of an object in the iidm network

Describe the expected behavior

Like what was done in https://github.com/powsybl/powsybl-open-rao/pull/920, try to use generic powsybl network modifications as a base for range actions. This will be trickier, since "range" remedial actions do not exist in powsybl-core.
We will have to define extra layers, or maybe add new things to powsybl-core. We can discuss options in this issue.

Describe the motivation

Better integration with powsybl, less redundancy in code, and improved generecity.

Extra Information

No response

pet-mit commented 1 month ago

One idea would be to build a RangeAction as a sum of three concepts:

  1. the powsybl network modification
  2. the name of the attribute of the network modification that is not fixed, but rather in a range
  3. the allowed range for the attribute (actually, a set of ranges, and we have to compute the intersection, like currently)
pet-mit commented 1 week ago

To share your opinion @annetill @phiedw @pjeanmarie @obrix