pypowsybl.sensitivity.DcSensitivityAnalysisResult.get_branch_flows_sensitivity_matrix#

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

Deprecated since version 1.1.0: Use get_sensitivity_matrix() instead.

Get the matrix of branch flows sensitivities on the base case or on post contingency state.

If contingency_id is None, returns the base case matrix.

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

  • contingency_id (Optional[str]) – ID of the contingency

Returns:

the matrix of branch flows sensitivities

Return type:

Optional[DataFrame]