-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add configuration of reactive slacks repartition #41
Conversation
…ode. Signed-off-by: parvy <pierre.arvy@artelys.com>
Signed-off-by: parvy <pierre.arvy@artelys.com>
Signed-off-by: parvy <pierre.arvy@artelys.com>
Signed-off-by: parvy <pierre.arvy@artelys.com>
Signed-off-by: parvy <pierre.arvy@artelys.com>
Signed-off-by: parvy <pierre.arvy@artelys.com>
Signed-off-by: parvy <pierre.arvy@artelys.com>
Signed-off-by: parvy <pierre.arvy@artelys.com>
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.
please change the value of buses_with_reactive_slacks to have an explicit description of the behavior
Signed-off-by: parvy <pierre.arvy@artelys.com>
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.
AMPL CODE OK
# Conflicts: # open-reac/src/main/java/com/powsybl/openreac/parameters/input/OpenReacParameters.java # open-reac/src/main/java/com/powsybl/openreac/parameters/input/json/OpenReacParametersDeserializer.java # open-reac/src/main/java/com/powsybl/openreac/parameters/input/json/OpenReacParametersSerializer.java # open-reac/src/test/java/com/powsybl/openreac/OpenReacParametersTest.java # open-reac/src/test/java/com/powsybl/openreac/OpenReacRunnerTest.java # open-reac/src/test/java/com/powsybl/openreac/parameters/input/json/OpenReacJsonModuleTest.java # open-reac/src/test/resources/expected_inputs/param_algo.txt # open-reac/src/test/resources/expected_inputs/param_buses_with_reactive_slack.txt # open-reac/src/test/resources/openreac-output-ieee14/reactiveopf_results_indic.txt # open-reac/src/test/resources/openreac-output-real-network/reactiveopf_results_generators.csv # open-reac/src/test/resources/openreac-output-real-network/reactiveopf_results_indic.txt # open-reac/src/test/resources/openreac-output-shunt/reactiveopf_results_indic.txt # open-reac/src/test/resources/openreac-output-shunt/reactiveopf_results_shunts.csv # open-reac/src/test/resources/openreac-output-svc/reactiveopf_results_indic.txt # open-reac/src/test/resources/openreac-output-transfo/reactiveopf_results_generators.csv # open-reac/src/test/resources/openreac-output-transfo/reactiveopf_results_indic.txt # open-reac/src/test/resources/openreac-output-vsc/reactiveopf_results_indic.txt # open-reac/src/test/resources/parameters.json
Signed-off-by: parvy <pierre.arvy@artelys.com>
Signed-off-by: parvy <pierre.arvy@artelys.com>
Signed-off-by: parvy <pierre.arvy@artelys.com>
Signed-off-by: parvy <pierre.arvy@artelys.com>
@@ -0,0 +1,3 @@ | |||
#amplId powsyblId |
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.
powsyblId :-) everything here is powsybl
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.
I agree with this. We have to change the write function of AbstractElementInput class then :)
"#num id" would be consistent with other input/output AMPL files. Do you agree ?
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.
If it is in core, it is too late...
@@ -190,6 +200,15 @@ public OpenReacParameters setMaxPlausibleHighVoltageLimit(double maxPlausibleHig | |||
return this; | |||
} | |||
|
|||
public OpenReacBusesWithReactiveSlackConfig getBusesWithReactiveSlackConfig() { |
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.
Java doc missing.
Signed-off-by: parvy <pierre.arvy@artelys.com>
Kudos, SonarCloud Quality Gate passed! |
…ode.
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
#20
What kind of change does this PR introduce?
The high limit on reactive slack variables is removed. Slacks are now at each node of the network.
What is the current behavior?
The reactive slack variables have upper bound = 500 MVar. Only buses without generator, vsc and svc have reactive slacks.
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change or deprecate an API?
Other information: