powsybl-open-loadflow
powsybl-open-loadflow copied to clipboard
[WIP] HVDC AC emulation outerloop
Please check if the PR fulfills these requirements
- [ ] The commit message follows our guidelines
- [ ] 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? No
What kind of change does this PR introduce? This PR introduces an outerloop to model the ability of AcEmulationControl to be bounded by Pmax and to change feeding side.
What is the current behavior? Currently, those abilities are directly model in equation terms, leading to discontinuity in the computed derivatives.
What is the new behavior (if this is a feature change)? An outerloop is introduced to control that an HVDC line in AcEmulation mode can be bounded by its Pmax values and that a loss coefficient is applied at the fed side.
Does this PR introduce a breaking change or deprecate an API?
- [ ] Yes
- [x] No