pypowsybl.security.SecurityAnalysis.run_ac#

SecurityAnalysis.run_ac(network, parameters=None, provider='', reporter=None, report_node=None)[source]#

Runs an AC security analysis.

Parameters:
  • network (Network) – Network on which the security analysis will be computed

  • parameters (Parameters | Parameters | None) – Security analysis parameters

  • provider (str) – Name of the security analysis implementation provider to be used, will use default provider if empty.

  • reporter (ReportNode | None) – deprecated, use report_node instead

  • report_node (ReportNode | None) – the reporter to be used to create an execution report, default is None (no report)

Returns:

A security analysis result, containing information about violations and monitored elements

Return type:

SecurityAnalysisResult