GET_MPC Returns the MATPOWER case struct. MPC = GET_MPC(OM) See also OPT_MODEL.
0001 function mpc = get_mpc(om) 0002 %GET_MPC Returns the MATPOWER case struct. 0003 % MPC = GET_MPC(OM) 0004 % 0005 % See also OPT_MODEL. 0006 0007 % MATPOWER 0008 % Copyright (c) 2008-2015 by Power System Engineering Research Center (PSERC) 0009 % by Ray Zimmerman, PSERC Cornell 0010 % 0011 % $Id: get_mpc.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 = om.mpc;