andes.routines.cpf#

Continuation Power Flow (CPF) routine.

Traces the PV curve from a solved base case toward a target loading using a predictor-corrector method. The predictor uses a tangent vector; the corrector solves a standard power flow at fixed lambda.

Classes

ArcLengthParam()

P = ||dx||^2 + dlam^2 - step^2.

CPF([system, config])

Continuation Power Flow routine.

NaturalParam()

P = lam - lam_prev - step.

PseudoArcLengthParam()

P = z' * dx + z_lam * dlam - step.