Class ConnectableConnection

All Implemented Interfaces:
NetworkModification

public class ConnectableConnection extends AbstractConnectDisconnectModification

This network modification is used to connect a network element to the closest bus or bus bar section.

It works on:

  • Connectables by connecting their terminals
  • HVDC lines by connecting the terminals of their converter stations
  • Tie lines by connecting the terminals of their underlying dangling lines

The user can specify a side of the element to connect. If no side is specified, the network modification will try to connect every side.

Author:
Nicolas Rol <nicolas.rol at rte-france.com>
  • Method Details

    • getName

      public String getName()
      Description copied from class: AbstractNetworkModification
      Returns the name of the network modification. That name corresponds to the type of network modification
      Specified by:
      getName in class AbstractNetworkModification
      Returns:
      the name of the network modification
    • 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.