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

Fix bug injection setpoint shunt compensator can be applied #1005

Closed pjeanmarie closed 6 months ago

pjeanmarie commented 6 months ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

Injection set point on shunt compensator cannot be applied (called by network action apply) if the setpoint is equal or below the max section count of the shunt compensator.

What is the new behavior (if this is a feature change)? Injection set point on shunt compensator cannot be applied (called by network action apply) if the setpoint is strictly above the max section count of the shunt compensator.

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

pet-mit commented 6 months ago

please fill PR description

pjeanmarie commented 6 months ago

please fill PR description

It change the behavior but it is a bug fix, so is it a breaking change?

pet-mit commented 6 months ago

please fill PR description

It change the behavior but it is a bug fix, so is it a breaking change?

no, not a breaking change