pwrs.core.dAbr_dV#

pwrs.core.dAbr_dV.dAbr_dV(dFf_dV1, dFf_dV2, dFt_dV1, dFt_dV2, Ff, Ft)[source]#

Compute derivatives of squared flow magnitudes w.r.t. voltage.

Parameters:
  • dFf_dV1 (array_like or sparse matrix) – Flow sensitivities with respect to the two voltage-coordinate components.

  • dFf_dV2 (array_like or sparse matrix) – Flow sensitivities with respect to the two voltage-coordinate components.

  • dFt_dV1 (array_like or sparse matrix) – Flow sensitivities with respect to the two voltage-coordinate components.

  • dFt_dV2 (array_like or sparse matrix) – Flow sensitivities with respect to the two voltage-coordinate components.

  • Ff (array_like) – Complex or real flows at the from and to ends.

  • Ft (array_like) – Complex or real flows at the from and to ends.

  • nargout (int, optional) – Number of outputs to emulate from the MATLAB interface.

Returns:

(dAf_dV1, dAf_dV2, dAt_dV1, dAt_dV2).

Return type:

tuple