powsybl / powsybl-optimizer

2 stars 2 forks source link

Add concise and detailed logs for shunt compensators activation #70

Closed FranckLecuyer closed 4 months ago

FranckLecuyer commented 5 months ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem?

What kind of change does this PR introduce?

Feature

What is the current behavior?

No logs are generated for shunt compensators, when the delta between the discretized reactive value and the optimal reactive value given by the optimizer is too big, and thus can lead to further loadflow divergence problem.

What is the new behavior (if this is a feature change)? Concise and detailed logs are now generated for shunt compensators activation, when the delta between the discretized reactive value and the optimal reactive value is over a configured threshold.

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

If yes, please check if the following requirements are fulfilled

What changes might users need to make in their application due to this PR? (migration steps)

Other information:

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
91.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud