opf_veq_hess

opf_veq_hess(x, lambda, mpc, idx, mpopt)

opf_veq_hess() - Evaluates Hessian of voltage magnitude equality constraint.

D2VEQ = OPF_VEQ_HESS(X, LAMBDA, MPC, IDX, MPOPT)

Hessian evaluation function for voltage magnitudes.

Inputs:
  X : optimization vector
  LAMBDA : column vector of Lagrange multipliers on active and reactive
           power balance constraints
  MPC : MATPOWER case struct
  IDX : index of buses whose voltage magnitudes should be fixed
  MPOPT : MATPOWER options struct

Outputs:
  D2VEQ : Hessian of voltage magnitudes.

Example:
    d2Veq = opf_veq_hess(x, lambda, mpc, idx, mpopt);

See also opf_veq_fcn().