GET_MPC Returns the MATPOWER case struct. MPC = OM.GET_MPC() See also OPT_MODEL.
0001 function mpc = get_mpc(om) 0002 %GET_MPC Returns the MATPOWER case struct. 0003 % MPC = OM.GET_MPC() 0004 % 0005 % See also OPT_MODEL. 0006 0007 % MATPOWER 0008 % Copyright (c) 2008-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 = om.mpc;