Class LfBusImpl
java.lang.Object
com.powsybl.openloadflow.network.AbstractPropertyBag
com.powsybl.openloadflow.network.AbstractElement
com.powsybl.openloadflow.network.impl.AbstractLfBus
com.powsybl.openloadflow.network.impl.LfBusImpl
- All Implemented Interfaces:
LfBus
,LfElement
,PropertyBag
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.powsybl.openloadflow.network.LfBus
LfBus.QLimitType
-
Field Summary
Fields inherited from class com.powsybl.openloadflow.network.impl.AbstractLfBus
angle, asym, branches, calculatedV, controllerShunt, distributedOnConformLoad, generationTargetP, generationTargetQ, generatorReactivePowerControlEnabled, generators, generatorVoltageControlEnabled, hvdcs, loads, LOGGER, p, q, qLimitType, reference, remoteControlReactivePercent, shunt, shuntVoltageControl, slack, svcShunt, transformerVoltageControl, v, zeroImpedanceNetwork
Fields inherited from class com.powsybl.openloadflow.network.AbstractElement
disabled, network, num
Fields inherited from class com.powsybl.openloadflow.network.AbstractPropertyBag
properties
-
Constructor Summary
ModifierConstructorDescriptionprotected
LfBusImpl
(com.powsybl.iidm.network.Bus bus, LfNetwork network, double v, double angle, LfNetworkParameters parameters, boolean participating) -
Method Summary
Modifier and TypeMethodDescriptionstatic LfBusImpl
create
(com.powsybl.iidm.network.Bus bus, LfNetwork network, LfNetworkParameters parameters, boolean participating) List<com.powsybl.security.results.BusResult>
Optional<com.powsybl.iidm.network.Country>
double
getId()
double
double
Get nominal voltage in Kv.double
double
boolean
boolean
void
updateState
(LfNetworkStateUpdateParameters parameters) Methods inherited from class com.powsybl.openloadflow.network.impl.AbstractLfBus
add, addBranch, addHvdc, dispatchQ, findNeighbors, getAngle, getAsym, getBranches, getCalculatedV, getControllerShunt, getGenerationTargetP, getGenerationTargetQ, getGeneratorReactivePowerControl, getGenerators, getGeneratorsControllingVoltageWithSlope, getGeneratorVoltageControl, getHighestPriorityMainVoltageControl, getLoads, getLoadTargetP, getLoadTargetQ, getMaxP, getMaxQ, getMinQ, getMismatchP, getOrCreateLfLoad, getP, getQ, getQLimitType, getRemoteControlReactivePercent, getShunt, getShuntVoltageControl, getSvcShunt, getTransformerVoltageControl, getType, getV, getVoltageControl, getVoltageControls, getZeroImpedanceNetwork, hasGeneratorReactivePowerControl, hasGeneratorsWithSlope, invalidateGenerationTargetP, isGeneratorReactivePowerControlEnabled, isGeneratorVoltageControlEnabled, isGeneratorVoltageControlled, isReference, isShuntVoltageControlled, isSlack, isTransformerVoltageControlled, isVoltageControlled, isVoltageControlled, removeGeneratorSlopes, setAngle, setAsym, setCalculatedV, setDisabled, setGenerationTargetQ, setGeneratorReactivePowerControl, setGeneratorReactivePowerControlEnabled, setGeneratorVoltageControl, setGeneratorVoltageControlEnabled, setP, setQ, setQLimitType, setReference, setRemoteControlReactivePercent, setShuntVoltageControl, setSlack, setTransformerVoltageControl, setV, setZeroImpedanceNetwork
Methods inherited from class com.powsybl.openloadflow.network.AbstractElement
getNetwork, getNum, getOriginalIds, isDisabled, notifyDisable, removeEvaluable, setNum, toString
Methods inherited from class com.powsybl.openloadflow.network.AbstractPropertyBag
getProperty, removeProperty, setProperty
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.powsybl.openloadflow.network.LfElement
getNetwork, getNum, getOriginalIds, isDisabled, removeEvaluable, setNum
Methods inherited from interface com.powsybl.openloadflow.network.PropertyBag
getProperty, removeProperty, setProperty
-
Constructor Details
-
LfBusImpl
protected LfBusImpl(com.powsybl.iidm.network.Bus bus, LfNetwork network, double v, double angle, LfNetworkParameters parameters, boolean participating)
-
-
Method Details
-
create
public static LfBusImpl create(com.powsybl.iidm.network.Bus bus, LfNetwork network, LfNetworkParameters parameters, boolean participating) -
getId
-
getVoltageLevelId
-
isFictitious
public boolean isFictitious() -
getNominalV
public double getNominalV()Description copied from interface:LfBus
Get nominal voltage in Kv.- Returns:
- nominal voltage in Kv
-
getLowVoltageLimit
public double getLowVoltageLimit() -
getHighVoltageLimit
public double getHighVoltageLimit() -
updateState
- Specified by:
updateState
in interfaceLfBus
- Overrides:
updateState
in classAbstractLfBus
-
isParticipating
public boolean isParticipating() -
createBusResults
-
getCountry
-
getTargetP
public double getTargetP()- Specified by:
getTargetP
in interfaceLfBus
- Overrides:
getTargetP
in classAbstractLfBus
-
getTargetQ
public double getTargetQ()- Specified by:
getTargetQ
in interfaceLfBus
- Overrides:
getTargetQ
in classAbstractLfBus
-