pypowsybl.security.SecurityAnalysis.add_terminals_connection_action

SecurityAnalysis.add_terminals_connection_action(action_id, element_id, side=pypowsybl._pypowsybl.Side.NONE, opening=True)[source]

Add a terminals connection action, connecting/disconnecting one or multiple sides of a network element

Parameters:
  • action_id (str) – unique ID for the action

  • element_id (str) – network element identifier

  • side (pypowsybl._pypowsybl.Side) – The side of the element to modify (all if side=None)

  • opening (bool) – True to open the terminals, False otherwise

Return type:

None