pypowsybl.sensitivity.DcSensitivityAnalysisResult#

class DcSensitivityAnalysisResult(result_context_ptr, functions_ids, function_data_frame_index)[source]#

Represents the result of a DC sensitivity analysis.

The result contains computed values (so called “reference” values) and sensitivity values of requested factors, on the base case and on post contingency states.

Methods

__init__(result_context_ptr, functions_ids, ...)

clean_contingency_id(contingency_id)

get_branch_flows_sensitivity_matrix([...])

Deprecated since version 1.1.0.

get_reference_flows([matrix_id, contingency_id])

Deprecated since version 1.1.0.

get_reference_matrix([matrix_id, ...])

The reference values on the base case or on post contingency state.

get_sensitivity_matrix([matrix_id, ...])

Get the matrix of sensitivity values on the base case or on post contingency state.

process_ptdf(df, matrix_id)

Parameters:
  • result_context_ptr (pypowsybl._pypowsybl.JavaHandle) –

  • functions_ids (Dict[str, List[str]]) –

  • function_data_frame_index (Dict[str, List[str]]) –