pypowsybl.sensitivity.DcSensitivityAnalysisResult.get_reference_flows#

DcSensitivityAnalysisResult.get_reference_flows(matrix_id='default', contingency_id=None)[source]#

Deprecated since version 1.1.0: Use get_reference_matrix() instead.

The branches active power flows on the base case or on post contingency state.

Parameters:
  • matrix_id (str) – ID of the matrix

  • contingency_id (str | None) – ID of the contingency

Returns:

the branches active power flows

Return type:

DataFrame | None