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

Improve performance of sensi computations with applied RAs #1061

Open pet-mit opened 3 months ago

pet-mit commented 3 months ago

Describe the current behavior

When computing sensitivity values with applied RAs, a network clone is created for every state with applied RAs.

Describe the expected behavior

Improve performance by avoiding the creation of new clone, and instead re-using existing clones (but we will have to un-apply RAs in-between states). (see TODO in SystematicSensitivityAdapter around line 111)

Describe the motivation

Performance boost

Extra Information

No response