Package com.powsybl.openloadflow.network
Interface LfGenerator
- All Superinterfaces:
PropertyBag
- All Known Subinterfaces:
LfStaticVarCompensator
,LfVscConverterStation
- All Known Implementing Classes:
AbstractLfGenerator
,LfBatteryImpl
,LfDanglingLineGenerator
,LfGeneratorImpl
,LfStaticVarCompensatorImpl
,LfVscConverterStationImpl
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
static enum
-
Method Summary
Modifier and TypeMethodDescriptiongetAsym()
getBus()
double
com.powsybl.iidm.network.TwoSides
default double
getDroop()
getId()
double
double
getMaxP()
double
getMaxQ()
double
getMinP()
double
getMinQ()
default double
double
getRangeQ
(LfGenerator.ReactiveRangeMode reactiveRangeMode) double
default double
getSlope()
double
double
double
boolean
default boolean
boolean
default boolean
static boolean
isTargetVoltageNotPlausible
(double targetV, double minPlausibleTargetVoltage, double maxPlausibleTargetVoltage) static double
kToQ
(double k, LfGenerator generator) k is a normalized value of reactive power that ensure that at q min k is -1 and at q max k is + 1 q = 1 / 2 * (k * (qmax - qmin) + qmax + qmin)static double
qToK
(LfGenerator generator, double q) void
setAsym
(LfAsymGenerator asym) void
void
setCalculatedQ
(double calculatedQ) void
setDisabled
(boolean disabled) void
setGeneratorControlType
(LfGenerator.GeneratorControlType generatorControlType) void
setParticipating
(boolean participating) default void
setSlope
(double slope) void
setTargetP
(double targetP) void
Methods inherited from interface com.powsybl.openloadflow.network.PropertyBag
getProperty, removeProperty, setProperty
-
Method Details
-
kToQ
k is a normalized value of reactive power that ensure that at q min k is -1 and at q max k is + 1 q = 1 / 2 * (k * (qmax - qmin) + qmax + qmin) -
qToK
-
isTargetVoltageNotPlausible
static boolean isTargetVoltageNotPlausible(double targetV, double minPlausibleTargetVoltage, double maxPlausibleTargetVoltage) -
getId
String getId() -
getOriginalId
String getOriginalId() -
getBus
LfBus getBus() -
setBus
-
isFictitious
boolean isFictitious() -
hasRemoteReactivePowerControl
boolean hasRemoteReactivePowerControl() -
getGeneratorControlType
LfGenerator.GeneratorControlType getGeneratorControlType() -
setGeneratorControlType
-
getTargetV
double getTargetV() -
getRemoteControlReactiveKey
OptionalDouble getRemoteControlReactiveKey() -
getTargetQ
double getTargetQ() -
getInitialTargetP
double getInitialTargetP() -
getTargetP
double getTargetP() -
setTargetP
void setTargetP(double targetP) -
getMinP
double getMinP() -
getMaxP
double getMaxP() -
getMinQ
double getMinQ() -
getMaxQ
double getMaxQ() -
getRangeQ
-
isParticipating
default boolean isParticipating() -
setParticipating
void setParticipating(boolean participating) -
getDroop
default double getDroop() -
getParticipationFactor
default double getParticipationFactor() -
getCalculatedQ
double getCalculatedQ() -
setCalculatedQ
void setCalculatedQ(double calculatedQ) -
updateState
void updateState() -
getControlledBus
LfBus getControlledBus() -
getSlope
default double getSlope() -
setSlope
default void setSlope(double slope) -
getControlledBranch
LfBranch getControlledBranch() -
getControlledBranchSide
com.powsybl.iidm.network.TwoSides getControlledBranchSide() -
getRemoteTargetQ
double getRemoteTargetQ() -
isDisabled
default boolean isDisabled() -
setDisabled
void setDisabled(boolean disabled) -
getAsym
LfAsymGenerator getAsym() -
setAsym
-