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

fix(rao-result): exclude ARA/CRA PSTs from 2nd preventive #1033

Closed MartinBelthle closed 3 months ago

MartinBelthle commented 3 months ago

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? Bug fix

What is the current behavior? Due to the PR https://github.com/powsybl/powsybl-open-rao/pull/924 we did no longer filter out ARAs/CRAs from the 2nd preventive. This impacted the RaoResult that were wrong because of this.

What is the new behavior (if this is a feature change)? The ARAs/CRAs are filtered back again and it fixes the issue.

Does this PR introduce a breaking change or deprecate an API?