pypowsybl.flowdecomposition.FlowDecomposition.add_multiple_elements_contingency#

FlowDecomposition.add_multiple_elements_contingency(elements_ids, contingency_id=None)[source]#

Add a contingency with multiple elements (1 N-k state).

Parameters:
  • element_ids – List of elements

  • contingency_id (Optional[str]) – Id of the contingency. By default, the concatenation of each element id is used.

  • elements_ids (List[str]) –

Return type:

FlowDecomposition