opf_vref_hess

opf_vref_hess(x, lam, mpc, refs, mpopt)

opf_vref_hess() - Evaluates Hessian of voltage angle reference.

D2VREF = OPF_VREF_HESS(X, LAMBDA, MPC, REFS, MPOPT)

Hessian evaluation function for voltage angle reference.

Inputs:
  X : optimization vector
  LAMBDA : column vector of Lagrange multipliers on active and reactive
           power balance constraints
  MPC : MATPOWER case struct
  REFS : reference vector
  MPOPT : MATPOWER options struct

Outputs:
  D2VREF : Hessian of voltage angle reference.

Example:
    d2Vref = opf_vref_hess(x, lambda, mpc, refs, mpopt);

See also opf_vref_fcn().