pypowsybl.sensitivity.SensitivityAnalysis.add_single_element_contingency#

SensitivityAnalysis.add_single_element_contingency(element_id, contingency_id=None)#

Add one N-1 contingency.

Parameters:
  • element_id (str) – The ID of the lost network element.

  • contingency_id (Optional[str]) – The ID of the contingency. If None, element_id will be used.

Return type:

None