Home > matpower7.0 > lib > 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-2016, Power Systems Engineering Research Center (PSERC)
0009 %   by Ray Zimmerman, PSERC Cornell
0010 %
0011 %   This file is part of MATPOWER.
0012 %   Covered by the 3-clause BSD License (see LICENSE file for details).
0013 %   See https://matpower.org for more info.
0014 
0015 [mpc, mpopt] = opf_args(varargin{:});
0016 mpopt = mpoption(mpopt, 'model', 'AC', 'opf.ac.solver', 'FMINCON');
0017 [varargout{1:nargout}] = opf(mpc, mpopt);

Generated on Mon 24-Jun-2019 15:58:45 by m2html © 2005