Interface Bus

  • All Superinterfaces:
    Extendable<Bus>, Identifiable<Bus>

    public interface Bus
    extends 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
    • Method Detail

      • 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

        Bus setV​(double v)
        Set the voltage magnituge of the bus in kV.
      • getAngle

        double getAngle()
        Get the voltage angle of the bus in degree.
      • setAngle

        Bus setAngle​(double angle)
        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.
      • 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

        Iterable<Line> getLines()
        Get the AC lines connected to the bus.
      • getLineStream

        Stream<Line> getLineStream()
        Get the AC lines connected to the bus.
      • getTwoWindingsTransformerStream

        Stream<TwoWindingsTransformer> getTwoWindingsTransformerStream()
        Get 2 windings transformer connected to the bus.
      • getThreeWindingsTransformerStream

        Stream<ThreeWindingsTransformer> getThreeWindingsTransformerStream()
        Get 3 windings transformers connected to the bus.
      • getGenerators

        Iterable<Generator> getGenerators()
        Get generators connected to the bus.
      • getGeneratorStream

        Stream<Generator> getGeneratorStream()
        Get generators connected to the bus.
      • getBatteries

        Iterable<Battery> getBatteries()
        Get batteries connected to the bus.
      • getBatteryStream

        Stream<Battery> getBatteryStream()
        Get batteries connected to the bus.
      • getLoads

        Iterable<Load> getLoads()
        Get loads connected to the bus.
      • getLoadStream

        Stream<Load> getLoadStream()
        Get loads connected to the bus.
      • getShuntCompensatorStream

        Stream<ShuntCompensator> getShuntCompensatorStream()
        Get shunt compensators connected to the bus.
      • getDanglingLines

        Iterable<DanglingLine> getDanglingLines()
        Get dangling lines connected to the bus.
      • getDanglingLineStream

        Stream<DanglingLine> getDanglingLineStream()
        Get dangling lines connected to the bus.
      • getStaticVarCompensatorStream

        Stream<StaticVarCompensator> getStaticVarCompensatorStream()
        Get static VAR compensators connected to the bus.
      • getLccConverterStationStream

        Stream<LccConverterStation> getLccConverterStationStream()
        Get LCC converter stations connected to the bus.
      • getVscConverterStationStream

        Stream<VscConverterStation> getVscConverterStationStream()
        Get VSC converter stations connected to the bus.
      • visitConnectedEquipments

        void visitConnectedEquipments​(TopologyVisitor visitor)
        Visit equipments connected to the bus.
        Parameters:
        visitor - a handler to be notified for each equipment connected at the bus
      • visitConnectedOrConnectableEquipments

        void visitConnectedOrConnectableEquipments​(TopologyVisitor visitor)
        Visit equipments connected or connectable to the bus.
        Parameters:
        visitor - a handler to be notified for each equipment
      • getConnectedTerminals

        default Iterable<? extends Terminal> getConnectedTerminals()
        Get an iterable of the terminals connected to the bus.
      • getConnectedTerminalStream

        default Stream<? extends Terminal> getConnectedTerminalStream()
        Get a stream of the terminals connected to the bus.