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 CIM Angle CNEC creation #1010

Closed pet-mit closed 4 months ago

pet-mit commented 4 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?

When importing an angle CNEC from CIM CRAC, two thresholds are created:

What is the new behavior (if this is a feature change)? The expected behavior is to only set max=quantity (the user can define another AdditionalConstraint_Series with inverted exporting & imported elements if they want to set a min)

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