-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] DC Area Interchange Control Outer Loop #1099
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: vmouradian <[email protected]>
Signed-off-by: vmouradian <[email protected]>
Signed-off-by: vmouradian <[email protected]>
Signed-off-by: vmouradian <[email protected]>
Signed-off-by: vmouradian <[email protected]>
Signed-off-by: vmouradian <[email protected]>
Signed-off-by: vmouradian <[email protected]>
Signed-off-by: vmouradian <[email protected]>
Signed-off-by: vmouradian <[email protected]>
Signed-off-by: vmouradian <[email protected]>
Signed-off-by: vmouradian <[email protected]>
Signed-off-by: vmouradian <[email protected]>
Signed-off-by: vmouradian <[email protected]>
Signed-off-by: vmouradian <[email protected]>
src/test/java/com/powsybl/openloadflow/ac/AreaInterchangeControlTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Damien Jeandemange <[email protected]>
Signed-off-by: vmouradian <[email protected]>
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation to be updated.
This PR is a quite long, we might want to break it in multiple pieces:
- DC outerloop refactoring
- AreaInterchangeControl
if (parameters.isDistributedSlack()) { | ||
distributeSlack(network, network.getBuses(), parameters.getBalanceType(), parameters.getNetworkParameters().isUseActiveLimits()); | ||
double slackBusActivePowerMismatch = getActivePowerMismatch(network.getBuses()); | ||
double distributedActivePower = 0.0; | ||
if (parameters.isDistributedSlack() || parameters.isAreaInterchangeControl()) { | ||
distributedActivePower = distributeSlack(network, network.getBuses(), parameters.getBalanceType(), parameters.getNetworkParameters().isUseActiveLimits()); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was like this before, but here we do not account for slack distribution failure behavior parameter.
Could be in another PR, in this case just add a // FIXME
.
Important note: in the case of AIC, failing here may not be relevant. Here is done only global slack distribution. But we may have the case of distribution failure when distributing mismatch globally, and at the same time no failure when distributing per area later on in the outerloops.
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?
AIC not supported for DC Loadflow
What is the new behavior (if this is a feature change)?
AIC outerloop is supported for DC Loadflow
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: