Package com.powsybl.iidm.network
Interface Bus
- All Superinterfaces:
Extendable<Bus>
,Identifiable<Bus>
A bus is a set of equipments connected together through a closed switch.
It could be a configured object ot a result of a computation depending of the
context.
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getAngle()
Get the voltage angle of the bus in degree.Get batteries connected to the bus.Get batteries connected to the bus.Get the connected component that the bus is part of.int
Get the number of terminals connected to this bus.Get an iterable of the terminals connected to the bus.Get a stream of the terminals connected to the bus.default Iterable<DanglingLine>
Get all dangling lines connected to the bus.getDanglingLines
(DanglingLineFilter danglingLineFilter) Get dangling lines connected to the bus based on given filter.default Stream<DanglingLine>
Get all dangling lines connected to the bus.getDanglingLineStream
(DanglingLineFilter danglingLineFilter) Get dangling lines connected to the bus based on given filter.default double
default double
Get generators connected to the bus.Get generators connected to the bus.Get LCC converter stations connected to the bus.Get LCC converter stations connected to the bus.getLines()
Get the AC lines connected to the bus.Get the AC lines connected to the bus.getLoads()
Get loads connected to the bus.Get loads connected to the bus.double
getP()
Get the active power in MW injected by equipments connected to the bus.double
getQ()
Get the reactive power in MVAR injected by equiments connected to the bus.Get shunt compensators connected to the bus.Get shunt compensators connected to the bus.Get static VAR compensators connected to the bus.Get static VAR compensators connected to the bus.Get the synchronous component that the bus is part of.Get 3 windings transformers connected to the bus.Get 3 windings transformers connected to the bus.Get 2 windings transformer connected to the bus.Get 2 windings transformer connected to the bus.default IdentifiableType
getType()
Get identifiable type.double
getV()
Get the voltage magnitude of the bus in kV.Get the voltage level to which the bus belongs.Get VSC converter stations connected to the bus.Get VSC converter stations connected to the bus.boolean
Check if the bus belongs to the main connected componentboolean
Check if the bus belongs to the main synchronous componentsetAngle
(double angle) Set the voltage angle of the bus in degree.default Bus
setFictitiousP0
(double p0) default Bus
setFictitiousQ0
(double q0) setV
(double v) Set the voltage magnituge of the bus in kV.void
visitConnectedEquipments
(TopologyVisitor visitor) Visit equipments connected to the bus.void
Visit equipments connected or connectable to the bus.Methods inherited from interface com.powsybl.commons.extensions.Extendable
addExtension, getExtension, getExtensionByName, getExtensions, getImplementationName, newExtension, removeExtension
Methods inherited from interface com.powsybl.iidm.network.Identifiable
addAlias, addAlias, addAlias, addAlias, getAliases, getAliasFromType, getAliasType, getId, getNameOrId, getNetwork, getOptionalName, getParentNetwork, getProperty, getProperty, getPropertyNames, hasAliases, hasProperty, hasProperty, isFictitious, removeAlias, removeProperty, setFictitious, setName, setProperty
-
Method Details
-
getVoltageLevel
VoltageLevel getVoltageLevel()Get the voltage level to which the bus belongs. -
getV
double getV()Get the voltage magnitude of the bus in kV. -
setV
Set the voltage magnituge of the bus in kV. -
getAngle
double getAngle()Get the voltage angle of the bus in degree. -
setAngle
Set the voltage angle of the bus in degree. -
getP
double getP()Get the active power in MW injected by equipments connected to the bus. -
getQ
double getQ()Get the reactive power in MVAR injected by equiments connected to the bus. -
getFictitiousP0
default double getFictitiousP0() -
setFictitiousP0
-
getFictitiousQ0
default double getFictitiousQ0() -
setFictitiousQ0
-
getConnectedComponent
Component getConnectedComponent()Get the connected component that the bus is part of. -
isInMainConnectedComponent
boolean isInMainConnectedComponent()Check if the bus belongs to the main connected component- Returns:
- true if the bus belongs to the main connected component, false otherwise
-
getSynchronousComponent
Component getSynchronousComponent()Get the synchronous component that the bus is part of. -
isInMainSynchronousComponent
boolean isInMainSynchronousComponent()Check if the bus belongs to the main synchronous component- Returns:
- true if the bus belongs to the main synchronous component, false otherwise
-
getConnectedTerminalCount
int getConnectedTerminalCount()Get the number of terminals connected to this bus. -
getLines
Get the AC lines connected to the bus. -
getLineStream
Get the AC lines connected to the bus. -
getTwoWindingsTransformers
Iterable<TwoWindingsTransformer> getTwoWindingsTransformers()Get 2 windings transformer connected to the bus. -
getTwoWindingsTransformerStream
Stream<TwoWindingsTransformer> getTwoWindingsTransformerStream()Get 2 windings transformer connected to the bus. -
getThreeWindingsTransformers
Iterable<ThreeWindingsTransformer> getThreeWindingsTransformers()Get 3 windings transformers connected to the bus. -
getThreeWindingsTransformerStream
Stream<ThreeWindingsTransformer> getThreeWindingsTransformerStream()Get 3 windings transformers connected to the bus. -
getGenerators
Get generators connected to the bus. -
getGeneratorStream
Get generators connected to the bus. -
getBatteries
Get batteries connected to the bus. -
getBatteryStream
Get batteries connected to the bus. -
getLoads
Get loads connected to the bus. -
getLoadStream
Get loads connected to the bus. -
getShuntCompensators
Iterable<ShuntCompensator> getShuntCompensators()Get shunt compensators connected to the bus. -
getShuntCompensatorStream
Stream<ShuntCompensator> getShuntCompensatorStream()Get shunt compensators connected to the bus. -
getDanglingLines
Get dangling lines connected to the bus based on given filter. -
getDanglingLines
Get all dangling lines connected to the bus. -
getDanglingLineStream
Get dangling lines connected to the bus based on given filter. -
getDanglingLineStream
Get all dangling lines connected to the bus. -
getStaticVarCompensators
Iterable<StaticVarCompensator> getStaticVarCompensators()Get static VAR compensators connected to the bus. -
getStaticVarCompensatorStream
Stream<StaticVarCompensator> getStaticVarCompensatorStream()Get static VAR compensators connected to the bus. -
getLccConverterStations
Iterable<LccConverterStation> getLccConverterStations()Get LCC converter stations connected to the bus. -
getLccConverterStationStream
Stream<LccConverterStation> getLccConverterStationStream()Get LCC converter stations connected to the bus. -
getVscConverterStations
Iterable<VscConverterStation> getVscConverterStations()Get VSC converter stations connected to the bus. -
getVscConverterStationStream
Stream<VscConverterStation> getVscConverterStationStream()Get VSC converter stations connected to the bus. -
visitConnectedEquipments
Visit equipments connected to the bus.- Parameters:
visitor
- a handler to be notified for each equipment connected at the bus
-
visitConnectedOrConnectableEquipments
Visit equipments connected or connectable to the bus.- Parameters:
visitor
- a handler to be notified for each equipment
-
getConnectedTerminals
Get an iterable of the terminals connected to the bus. -
getConnectedTerminalStream
Get a stream of the terminals connected to the bus. -
getType
Description copied from interface:Identifiable
Get identifiable type.- Specified by:
getType
in interfaceIdentifiable<Bus>
- Returns:
- the identifiable type
-