pypowsybl.sensitivity.SensitivityAnalysisResult.get_reference_matrix

SensitivityAnalysisResult.get_reference_matrix(matrix_id='default', contingency_id=None, reference_column_id='reference_values')[source]

The reference values 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

  • reference_column_id (str)

Returns:

the reference values

Return type:

DataFrame | None