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
15 stars 6 forks source link

Add messages to RaoResult #1137

Open pet-mit opened 1 week ago

pet-mit commented 1 week ago

Describe the current behavior

There is no way to add generic messages to RaoResult. If the RAO fails, the reason of the failure is accessible only after casting the RaoResult to a FailedRaoResult (#1102)

Describe the expected behavior

Add a way to put messages in RaoResult:

Describe the motivation

cleaner API + removing the steps enum kaes the RaoResult independent from its implementation

Extra Information

No response