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.
See CreateVoltageLevelTopologyBuilder.
Author:
Miora Vedelago <miora.ralambotiana at rte-france.com>
  • Method Details

    • getVoltageLevelId

      public String getVoltageLevelId()
    • getLowBusOrBusbarIndex

      public int getLowBusOrBusbarIndex()
    • getAlignedBusesOrBusbarCount

      public int getAlignedBusesOrBusbarCount()
    • getLowSectionIndex

      public int getLowSectionIndex()
    • getSectionCount

      public int getSectionCount()
    • getSwitchKinds

      public List<SwitchKind> getSwitchKinds()
    • 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.