Class AbstractTripping

java.lang.Object
com.powsybl.iidm.modification.AbstractNetworkModification
com.powsybl.iidm.modification.tripping.AbstractTripping
All Implemented Interfaces:
NetworkModification, Tripping
Direct Known Subclasses:
AbstractInjectionTripping, BranchTripping, BusbarSectionTripping, BusTripping, HvdcLineTripping, SwitchTripping, ThreeWindingsTransformerTripping, TieLineTripping

public abstract class AbstractTripping extends AbstractNetworkModification implements Tripping
Author:
Mathieu Bague <mathieu.bague at rte-france.com>
  • Field Details

    • id

      protected final String id
  • Constructor Details

    • AbstractTripping

      protected AbstractTripping(String id)
  • Method Details

    • getId

      public String getId()
    • 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.
      Specified by:
      apply in interface NetworkModification
    • traverseDoubleSidedEquipment

      public void traverseDoubleSidedEquipment(String voltageLevelId, Terminal terminal1, Terminal terminal2, Set<Switch> switchesToOpen, Set<Terminal> terminalsToDisconnect, Set<Terminal> traversedTerminals, String equipmentType)