Class CreateBranchFeederBays

  • All Implemented Interfaces:
    NetworkModification

    public class CreateBranchFeederBays
    extends AbstractNetworkModification
    This class allows to add a new branch's feeders on existing busbar sections. The voltage level containing the busbar section should be described in node/breaker topology. The branch is created and connected to the busbar sections with a breaker and a closed disconnector each. The branch is also connected to all the parallel busbar sections, if any, with an open disconnector.
    Author:
    Miora Vedelago
    • Field Detail

      • sides

        protected final int[] sides
    • Method Detail

      • getBusOrBusbarSectionId

        protected String getBusOrBusbarSectionId​(int side)
      • setBus

        protected void setBus​(int side,
                              Bus bus,
                              String voltageLevelId)
      • setNode

        protected void setNode​(int side,
                               int node,
                               String voltageLevelId)
      • getPositionOrder

        protected Integer getPositionOrder​(int side)
      • getFeederName

        protected Optional<String> getFeederName​(int side)
      • getNode

        protected int getNode​(int side,
                              Connectable<?> connectable)
      • apply

        public void apply​(Network network,
                          boolean throwException,
                          ComputationManager computationManager,
                          Reporter reporter)
        Description copied from interface: NetworkModification
        Applies the modification to the given network. If throwException is set to true, then in case of error, an exception will be thrown. Otherwise, computation will continue but the injection will not be added to the network in case of error.