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

Use `powsybl-core` method `hasImpactOnNetwork` #1129

Open annetill opened 2 weeks ago

annetill commented 2 weeks ago

Describe the current behavior

The PR https://github.com/powsybl/powsybl-core/pull/3127 introduces a new method hasImpactOnNetwork which returns different status. The possible status are the values of enum NetworkModificationImpact:

Powsybl-open-rao does not use this method for the moment.

Describe the expected behavior

In powsybl-open-rao, methods canBeApplied and hasImpactOnNetwork should be replaced by this new method from core. Be careful because, in theory, this method has to be called just once. Plus, report if functionally some checks are wrong or incomplete.

Describe the motivation

No response

Extra Information

No response