-
Notifications
You must be signed in to change notification settings - Fork 8
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
Sensitivity on the active power setpoint of an HVDC line #277
Conversation
Signed-off-by: Gael Macherel <gael.macherel@artelys.com>
Does not work in AC currently, I'm trying to figure out why |
double sensiChange = 10e-4; | ||
// test injection increase on loads | ||
Network network = HvdcNetworkFactory.createNetworkWithGenerators(); | ||
network.getGeneratorStream().forEach(gen -> gen.setMaxP(2 * gen.getMaxP())); |
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.
Why do you need this line on generator max P?
Signed-off-by: Gael Macherel <gael.macherel@artelys.com>
Signed-off-by: Gael Macherel <gael.macherel@artelys.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
sensiProvider.run(network, VariantManagerConstants.INITIAL_VARIANT_ID, Collections.singletonList(new Contingency("l25", new BranchContingency("l25"))), | ||
sensiParameters, reader, hvdcWriter); | ||
|
||
// FIXME |
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 have remplaced LCCs by VSCs but it still does not work with distributed slack.
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
@geofjamg I have after merge two unit tests that failed. The error is not obvious, so if you have any idea, it would be really helpful. Thanks a lot! |
Signed-off-by: Gael Macherel <gael.macherel@gmail.com>
# Conflicts: # src/main/java/com/powsybl/openloadflow/sensi/AbstractSensitivityAnalysis.java # src/test/java/com/powsybl/openloadflow/sensi/AbstractSensitivityAnalysisTest.java # src/test/java/com/powsybl/openloadflow/sensi/dc/DcSensitivityAnalysisContingenciesTest.java
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
# Conflicts: # src/test/java/com/powsybl/openloadflow/sensi/AbstractSensitivityAnalysisTest.java
Signed-off-by: Gael Macherel <gael.macherel@gmail.com>
Signed-off-by: Gael Macherel <gael.macherel@gmail.com>
Signed-off-by: Gael Macherel <gael.macherel@gmail.com>
Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@rte-france.com>
Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@rte-france.com>
Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@rte-france.com>
Kudos, SonarCloud Quality Gate passed! |
Signed-off-by: Gael Macherel gael.macherel@artelys.com
Please check if the PR fulfills these requirements (please use
'[x]'
to check the checkboxes, or submit the PR and then click the checkboxes)