powsybl-core
powsybl-core copied to clipboard
LoadflowResultsCompletion: Zero impedance flows
Please check if the PR fulfills these requirements (please use '[x]'
to check the checkboxes, or submit the PR and then click the checkboxes)
- [x] The commit message follows our guidelines
- [x] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
Does this PR already have an issue describing the problem ? If so, link to this issue using '#XXX'
and skip the rest
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...) Feature
What is the current behavior? (You can also link to an open issue here)
Zero impedance flow is only calculated for lines
What is the new behavior (if this is a feature change)? A complete review has been done:
- Converter stations are now considered.
- Zero impedance flows have been extended to twoWindingsTransformers, threeWindingsTransformers and danglingLines.
- Balance mismatches have been distributed between the corresponding active and reactive power controls (Only continuous controls are considered).
Does this PR introduce a breaking change or deprecate an API? If yes, check the following:
- [ ] The Breaking Change or Deprecated label has been added
- [ ] The migration guide has been updated in the github wiki (What changes might users need to make in their application due to this PR?)
Other information:
(if any of the questions/checkboxes don't apply, please delete them entirely)