pwrs.core.cpf_predictor#

pwrs.core.cpf_predictor.cpf_predictor(V, lam, z, step, pv, pq)[source]#

Perform the predictor step for continuation power flow.

Parameters:
  • V (array_like) – Complex bus voltage vector at the current solution.

  • lam (float) – Current continuation parameter value.

  • z (array_like) – Normalized tangent prediction vector from the previous step.

  • step (float) – Continuation step length.

  • pv (array_like) – PV and PQ bus index vectors.

  • pq (array_like) – PV and PQ bus index vectors.

Returns:

(V_hat, lam_hat) containing the predicted voltage vector and continuation parameter.

Return type:

tuple