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

No longer make Leaf inherit from OptimizationResult #1026

Open bqth29 opened 5 months ago

bqth29 commented 5 months ago

Describe the current behavior

Leaf inherits from OptimizationResult bu thas an optimize method which does not seem quite logic.

Describe the expected behavior

Change this behaviour and break inheritance (Leaf can still have an OptimizationResult has a private attribute)

Describe the motivation

No response

Extra Information

No response