-
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
Fictitious generators and condensers controlling voltage even if stopped #1044
Conversation
2b28410
to
43ea581
Compare
2ba368a
to
fea2d6b
Compare
43ea581
to
db34142
Compare
db34142
to
53b1117
Compare
…ven if stopped Signed-off-by: VIDAL Didier (Externe) <didier.vidal_externe@rte-france.com>
Signed-off-by: VIDAL Didier (Externe) <didier.vidal_externe@rte-france.com> Signed-off-by: Didier Vidal <didier.vidal_externe@rte-france.com>
Signed-off-by: VIDAL Didier (Externe) <didier.vidal_externe@rte-france.com> Signed-off-by: Didier Vidal <didier.vidal_externe@rte-france.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.
You should use the new condenser attribute of generator I think.
Signed-off-by: Didier Vidal <didier.vidal_externe@rte-france.com>
I have added the condenser currently modelled now as "generators" not generating power but controlling tension. |
Signed-off-by: Didier Vidal <didier.vidal_externe@rte-france.com>
@@ -120,6 +120,13 @@ public enum SlackDistributionFailureBehavior { | |||
|
|||
protected static final double GENERATOR_VOLTAGE_CONTROL_MIN_NOMINAL_VOLTAGE_DEFAULT_VALUE = -1d; | |||
|
|||
public enum FictitiousGeneratorVoltageControlMode { |
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 en enum here? What happens when the enum is NORMAL
?
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 mean instead of a boolean parameter ? No "need". I just saw the fictitiousGeneratorVoltageControlMode as a string param with values ALWAYS , NORMAL. ALWAYS meaning Always maintaining voltage, and NORMAL the normal behaviour - that is maintaining Voltage in started and target P between pmin and pmax.
src/main/java/com/powsybl/openloadflow/OpenLoadFlowParameters.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Quality Gate passedIssues Measures |
Note also that this solves a problem similar to powsybl/powsybl-core#2999 and needs coordination with resolution of that issue (generators controlling voltage whether they produce power or not).
Please check if the PR fulfills these requirements
What kind of change does this PR introduce?
Feature
What is the current behavior?
When modeling a network outside of the area of interest, the network is simplified and voltage control is sometime incorrect. In particular, a generator with a zero
targetP
is disabled from voltage control, but it is desirable to keep voltage control for external equivalents.What is the new behavior (if this is a feature change)?
In order to give a more realistic voltage behavior, we can use "fictitious" generators that may or may not provide active power, but that can also control voltage even when not generating active power.
A generator with status fictitious and controlling voltage will control voltage even if target P is zero or outside normal operating range. Note that
fictitiousGeneratorVoltageControlCheckMode
option is introduced and allows to return to previous behavior.Does this PR introduce a breaking change or deprecate an API?
fictitiousGeneratorVoltageControlCheckMode
toNORMAL
.