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

Module pipsopf_solver

source code

Solves AC optimal power flow using PIPS.

Functions [hide private]
 
pipsopf_solver(om, ppopt, out_opt=None)
Solves AC optimal power flow using PIPS.
source code
Variables [hide private]
  __package__ = 'pypower'
Function Details [hide private]

pipsopf_solver(om, ppopt, out_opt=None)

source code 

Solves AC optimal power flow using PIPS.

Inputs are an OPF model object, a PYPOWER options vector and a dict containing keys (can be empty) for each of the desired optional output fields.

outputs are a results dict, success flag and raw output dict.

results is a PYPOWER case dict (ppc) with the usual baseMVA, bus branch, gen, gencost fields, along with the following additional fields:

  • order see 'help ext2int' for details of this field
  • x final value of optimization variables (internal order)
  • f final objective function value
  • mu shadow prices on ...
    • var
      • l lower bounds on variables
      • u upper bounds on variables
    • nln
      • l lower bounds on nonlinear constraints
      • u upper bounds on nonlinear constraints
    • lin
      • l lower bounds on linear constraints
      • u upper bounds on linear constraints

success is True if solver converged successfully, False otherwise

raw is a raw output dict in form returned by MINOS

  • xr final value of optimization variables
  • pimul constraint multipliers
  • info solver specific termination code
  • output solver specific output information

See Also: opf, pips

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