Class CreateBranchFeederBays
java.lang.Object
com.powsybl.iidm.modification.AbstractNetworkModification
com.powsybl.iidm.modification.topology.CreateBranchFeederBays
- All Implemented Interfaces:
NetworkModification
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 <miora.ralambotiana at rte-france.com>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Connectable<?>
add()
void
apply
(Network network, NamingStrategy namingStrategy, boolean throwException, ComputationManager computationManager, ReportNode reportNode) Applies the modification to the given network.protected String
getBusOrBusbarSectionId
(int side) protected ConnectablePosition.Direction
getDirection
(int side) protected ConnectablePositionAdder.FeederAdder<?>
getFeederAdder
(int side, ConnectablePositionAdder<?> connectablePositionAdder) getFeederName
(int side) protected int
getNode
(int side, Connectable<?> connectable) protected Integer
getPositionOrder
(int side) protected VoltageLevel
getVoltageLevel
(int side, Connectable<?> connectable) protected void
protected void
-
Field Details
-
sides
protected final int[] sides
-
-
Method Details
-
getBusOrBusbarSectionId
-
setBus
-
setNode
-
add
-
getVoltageLevel
-
getPositionOrder
-
getFeederName
-
getDirection
-
getNode
-
getFeederAdder
protected ConnectablePositionAdder.FeederAdder<?> getFeederAdder(int side, ConnectablePositionAdder<?> connectablePositionAdder) -
apply
public void apply(Network network, NamingStrategy namingStrategy, boolean throwException, ComputationManager computationManager, ReportNode reportNode) 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.
-