opf_vlim_hess

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

opf_vlim_hess() - Evaluates Hessian of voltage magnitudes.

D2VLIMS = OPF_VLIM_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:
  D2VLIMS : Hessian of voltage magnitudes.

Example:
    d2Vlims = opf_vlim_hess(x, lambda, mpc, idx, mpopt);

See also opf_vlim_fcn().