Class CreateVoltageLevelTopology
- java.lang.Object
-
- com.powsybl.iidm.modification.AbstractNetworkModification
-
- com.powsybl.iidm.modification.topology.CreateVoltageLevelTopology
-
- All Implemented Interfaces:
NetworkModification
public class CreateVoltageLevelTopology extends AbstractNetworkModification
Creates symmetrical matrix topology in a given voltage level, containing a given number of busbar with a given number of sections each. SeeCreateVoltageLevelTopologyBuilder
.- Author:
- Miora Vedelago
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Network network, boolean throwException, ComputationManager computationManager, Reporter reporter)
Applies the modification to the given network.int
getBusbarCount()
int
getLowBusbarIndex()
int
getLowSectionIndex()
int
getSectionCount()
List<SwitchKind>
getSwitchKinds()
String
getVoltageLevelId()
-
-
-
Method Detail
-
getVoltageLevelId
public String getVoltageLevelId()
-
getLowBusbarIndex
public int getLowBusbarIndex()
-
getBusbarCount
public int getBusbarCount()
-
getLowSectionIndex
public int getLowSectionIndex()
-
getSectionCount
public int getSectionCount()
-
getSwitchKinds
public List<SwitchKind> getSwitchKinds()
-
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.
-
-