MATPOWER Copyright (c) 2015-2016, Power Systems Engineering Research Center (PSERC) by Camille Hamon This file is part of MATPOWER/mx-maxloadlim. Covered by the 3-clause BSD License (see LICENSE file for details). See https://github.com/MATPOWER/mx-maxloadlim/ for more info.
0001 function mpc = userfcn_direction_mll_ext2int(mpc, mpopt, args) 0002 0003 % MATPOWER 0004 % Copyright (c) 2015-2016, Power Systems Engineering Research Center (PSERC) 0005 % by Camille Hamon 0006 % 0007 % This file is part of MATPOWER/mx-maxloadlim. 0008 % Covered by the 3-clause BSD License (see LICENSE file for details). 0009 % See https://github.com/MATPOWER/mx-maxloadlim/ for more info. 0010 0011 mpc = e2i_field(mpc,'dir_var_gen_all','gen');