Class SynchronousComponent

java.lang.Object
com.powsybl.iidm.network.components.AbstractSynchronousComponent
com.powsybl.iidm.network.components.SynchronousComponent
All Implemented Interfaces:
Component

public class SynchronousComponent extends AbstractSynchronousComponent
Author:
Mathieu Bague <[email protected]>
  • Constructor Details

    • SynchronousComponent

      public SynchronousComponent(Network network, int num, int size)
  • Method Details

    • getNetwork

      public Network getNetwork()
    • getNum

      public int getNum()
      Description copied from interface: Component
      Get the number of the component.

      The biggest one has the number zero and the smallest has the highest number.

      Specified by:
      getNum in interface Component
    • getSize

      public int getSize()
      Description copied from interface: Component
      Get the number of bus in the component.
      Specified by:
      getSize in interface Component
    • getBuses

      public Iterable<Bus> getBuses()
      Description copied from interface: Component
      Get buses in the component.
      Specified by:
      getBuses in interface Component
    • getBusStream

      public Stream<Bus> getBusStream()
      Description copied from interface: Component
      Get buses in the component.
      Specified by:
      getBusStream in interface Component