Class CreateCouplingDevice
- java.lang.Object
-
- com.powsybl.iidm.modification.AbstractNetworkModification
-
- com.powsybl.iidm.modification.topology.CreateCouplingDevice
-
- All Implemented Interfaces:
NetworkModification
public class CreateCouplingDevice extends AbstractNetworkModification
Adds a coupling device between two busbar sections. If topology extensions are present, then it creates open disconnectors to connect the breaker to every parallel busbar section, else does not create them. If there are exactly two busbar sections and that they must have the same sectionIndex, then no open disconnector is created.- Author:
- Coline Piloquet
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
apply(Network network, boolean throwException, ComputationManager computationManager, Reporter reporter)
Applies the modification to the given network.String
getBbsId1()
Deprecated.UsegetBusOrBbsId1()
instead.String
getBbsId2()
Deprecated.UsegetBusOrBbsId2()
instead.String
getBusOrBbsId1()
String
getBusOrBbsId2()
Optional<String>
getSwitchPrefixId()
-
Methods inherited from class com.powsybl.iidm.modification.AbstractNetworkModification
apply, apply, apply, apply, apply, logOrThrow
-
-
-
-
Method Detail
-
getBusOrBbsId1
public String getBusOrBbsId1()
-
getBbsId1
@Deprecated public String getBbsId1()
Deprecated.UsegetBusOrBbsId1()
instead.
-
getBusOrBbsId2
public String getBusOrBbsId2()
-
getBbsId2
@Deprecated public String getBbsId2()
Deprecated.UsegetBusOrBbsId2()
instead.
-
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.
-
-