-
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
Remote reactive power control support #266
Conversation
c87abcf
to
dc481b8
Compare
return targetValue; | ||
} | ||
|
||
public LfBus getControlledBus() { |
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.
You should have a getControlledBranch
.
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.
Yes this is still basically a copy of VoltageControl class. I will update that with the new information you have given me regarding DiscretePhaseControl class.
1be58df
to
de092d4
Compare
src/main/java/com/powsybl/openloadflow/util/ParameterConstants.java
Outdated
Show resolved
Hide resolved
d95a785
to
13b2173
Compare
…t by SetVoltageSetpoint. Signed-off-by: Bertrand Rix <[email protected]>
Signed-off-by: Bertrand Rix <[email protected]>
Signed-off-by: Bertrand Rix <[email protected]>
Signed-off-by: Bertrand Rix <[email protected]>
Signed-off-by: Bertrand Rix <[email protected]>
Signed-off-by: Bertrand Rix <[email protected]>
…faithful to what is implemented. Also rename the associated test. Signed-off-by: Bertrand Rix <[email protected]>
Signed-off-by: Hadrien <[email protected]>
… control whether reactivePowerRemoteControl is enabled or not. It is enabled by default. Signed-off-by: Bertrand Rix <[email protected]>
…to add remoteReactive power equation terms. Signed-off-by: Bertrand Rix <[email protected]>
Signed-off-by: Bertrand Rix <[email protected]>
Signed-off-by: Bertrand Rix <[email protected]>
Signed-off-by: Hadrien <[email protected]>
Signed-off-by: Hadrien <[email protected]>
Signed-off-by: Bertrand Rix <[email protected]>
Signed-off-by: Bertrand Rix <[email protected]>
Signed-off-by: Bertrand Rix <[email protected]>
Signed-off-by: Bertrand Rix <[email protected]>
Signed-off-by: Bertrand Rix <[email protected]>
Signed-off-by: Bertrand Rix <[email protected]>
Signed-off-by: Bertrand Rix <[email protected]>
47f553d
to
77cfd3b
Compare
Signed-off-by: Anne Tilloy <[email protected]>
Signed-off-by: Anne Tilloy <[email protected]>
Signed-off-by: Anne Tilloy <[email protected]>
Signed-off-by: Anne Tilloy <[email protected]>
Signed-off-by: Anne Tilloy <[email protected]>
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
Signed-off-by: Anne Tilloy <[email protected]>
Signed-off-by: Anne Tilloy <[email protected]>
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
src/main/java/com/powsybl/openloadflow/network/impl/AbstractLfGenerator.java
Outdated
Show resolved
Hide resolved
@@ -45,6 +45,9 @@ private static void createBusEquations(LfNetwork network, VariableSet<AcVariable | |||
createDiscreteVoltageControlEquation(bus, variableSet, equationSystem); | |||
} | |||
Equation<AcVariableType, AcEquationType> v = equationSystem.createEquation(bus.getNum(), AcEquationType.BUS_V); | |||
if (creationParameters.isReactivePowerControl()) { |
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.
Same concern with this, it it kind of hack that is done after createVoltageControlEquations. We could have a single place to configure control coming from generators.
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'm not sure I understood properly what you expected @geofjamg: I put this reactive power control code in a createGeneratorControlEquations
method, together with the content of createVoltageControlEquations
, using the fact that on LfBus it is also either voltage control or reactive power control
Signed-off-by: Florian Dupuy <[email protected]>
Signed-off-by: Florian Dupuy <[email protected]>
Signed-off-by: Florian Dupuy <[email protected]>
Signed-off-by: Florian Dupuy <[email protected]>
For both voltage control and remote reactive power control Signed-off-by: Florian Dupuy <[email protected]>
Signed-off-by: Florian Dupuy <[email protected]>
Useless as reactivePowerControl not created if parameter false Signed-off-by: Florian Dupuy <[email protected]>
Signed-off-by: Florian Dupuy <[email protected]>
Kudos, SonarCloud Quality Gate passed! |
Please check if the PR fulfills these requirements (please use
'[x]'
to check the checkboxes, or submit the PR and then click the checkboxes)What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Issue: #111
The goal of this PR is to introduce a new regulation mode based on remote reactive power.
It also use the new regulation mode for generator to be introduced in powsybl-core (Seen here )
What is the new behavior (if this is a feature change)?
TBD
Does this PR introduce a breaking change or deprecate an API? If yes, check the following: