cpf_p_jac

cpf_p_jac(parameterization, z, V, lam, Vprv, lamprv, pv, pq)

cpf_p_jac() - Computes partial derivatives of CPF parameterization function.

[DP_DV, DP_DLAM ] = CPF_P_JAC(PARAMETERIZATION, Z, V, LAM, ...
                                                VPRV, LAMPRV, PV, PQ)

Computes the partial derivatives of the continuation power flow
parameterization function w.r.t. bus voltages and the continuation
parameter lambda.

Inputs:
    PARAMETERIZATION : Value of cpf.parameterization option.
    Z : normalized tangent prediction vector from previous step
    V : complex bus voltage vector at current solution
    LAM : scalar lambda value at current solution
    VPRV : complex bus voltage vector at previous solution
    LAMPRV : scalar lambda value at previous solution
    PV : vector of indices of PV buses
    PQ : vector of indices of PQ buses

Outputs:
    DP_DV : partial of parameterization function w.r.t. voltages
    DP_DLAM : partial of parameterization function w.r.t. lambda

See also cpf_predictor(), cpf_corrector().