Home > matpower5.1 > fmincopf.m

fmincopf

PURPOSE ^

FMINCOPF Solves an AC optimal power flow using FMINCON (Opt Tbx 2.x & later).

SYNOPSIS ^

function [varargout] = fmincopf(varargin)

DESCRIPTION ^

FMINCOPF  Solves an AC optimal power flow using FMINCON (Opt Tbx 2.x & later).

   Uses algorithm 520. Please see OPF for the details of input and
   output arguments.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [varargout] = fmincopf(varargin)
0002 %FMINCOPF  Solves an AC optimal power flow using FMINCON (Opt Tbx 2.x & later).
0003 %
0004 %   Uses algorithm 520. Please see OPF for the details of input and
0005 %   output arguments.
0006 
0007 %   MATPOWER
0008 %   Copyright (c) 2000-2015 by Power System Engineering Research Center (PSERC)
0009 %   by Ray Zimmerman, PSERC Cornell
0010 %
0011 %   $Id: fmincopf.m 2644 2015-03-11 19:34:22Z ray $
0012 %
0013 %   This file is part of MATPOWER.
0014 %   Covered by the 3-clause BSD License (see LICENSE file for details).
0015 %   See http://www.pserc.cornell.edu/matpower/ for more info.
0016 
0017 [mpc, mpopt] = opf_args(varargin{:});
0018 mpopt = mpoption(mpopt, 'model', 'AC', 'opf.ac.solver', 'FMINCON');
0019 [varargout{1:nargout}] = opf(mpc, mpopt);

Generated on Fri 20-Mar-2015 18:23:34 by m2html © 2005