Package pypower :: Module opf_costfcn
[hide private]
[frames] | no frames]

Module opf_costfcn

source code

Evaluates objective function, gradient and Hessian for OPF.

Functions [hide private]
 
opf_costfcn(x, om, return_hessian=False)
Evaluates objective function, gradient and Hessian for OPF.
source code
Variables [hide private]
  __package__ = 'pypower'
Function Details [hide private]

opf_costfcn(x, om, return_hessian=False)

source code 

Evaluates objective function, gradient and Hessian for OPF.

Objective function evaluation routine for AC optimal power flow, suitable for use with pips. Computes objective function value, gradient and Hessian.

Parameters:
  • x - optimization vector
  • om - OPF model object
Returns:
F - value of objective function. df - (optional) gradient of objective function (column vector). d2f - (optional) Hessian of objective function (sparse matrix).

See Also: opf_consfcn, opf_hessfcn

Authors:
Carlos E. Murillo-Sanchez (PSERC Cornell & Universidad Autonoma de Manizales), Ray Zimmerman (PSERC Cornell), Richard Lincoln