pypowsybl.sensitivity.SensitivityAnalysis.add_precontingency_branch_flow_factor_matrix#

SensitivityAnalysis.add_precontingency_branch_flow_factor_matrix(branches_ids, variables_ids, matrix_id='default')[source]#

Defines branch active power flow factor matrix for the base case, with a list of branches IDs and a list of variables.

A variable could be:
  • a network element ID: injections, PSTs, dangling lines and HVDC lines are supported

  • a zone ID

  • a couple of zone ID to define a transfer between 2 zones

Parameters:
  • branches_ids (List[str]) – IDs of branches for which active power flow sensitivities should be computed

  • variables_ids (List[str]) – variables which may impact branch flows,to which we should compute sensitivities

  • matrix_id (str) – The matrix unique identifier, to be used to retrieve the sensibility value

Return type:

None