pypowsybl.security.SecurityAnalysis.add_switch_action# SecurityAnalysis.add_switch_action(action_id, switch_id, open)[source]# Add a switch action, modifying the switch open/close status Parameters: action_id (str) – unique ID for the action switch_id (str) – switch identifier open (bool) – True to open the switch, False to close Return type: None