powsybl / powsybl-open-loadflow

An open source loadflow based on PowSyBl
Mozilla Public License 2.0
45 stars 7 forks source link

At most one flow/factor states calculation for one contingency in DC sensitivity analysis #1061

Closed p-arvy closed 2 months ago

p-arvy commented 2 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?

What is the current behavior?

Multiple modified flow states calculations can be performed for a given contigency in DC sensitivity analysis, e.g. when the connectivity changed and a pst is lost. Same for factor states.

What is the new behavior (if this is a feature change)? At most one flow/factor states calculation is performed for each contingency.

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 2 months ago

Quality Gate Passed Quality Gate passed

Issues
3 New issues
0 Accepted issues

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

See analysis details on SonarCloud