The problem is that bus 6 is not connected to the rest of the system. Currently, MATPOWER does not automatically handled systems with isolated buses or islands.
-- Ray Zimmerman Senior Research Associate 211 Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On Nov 12, 2010, at 1:29 PM, Santiago Torres wrote: I forgot to say that I am using dc optimal power flow, with several transmission lines configurations, so the status of the lines changes according to the tested configuration of circuits. regards, Santiago 2010/11/12 Santiago Torres <[email protected]<mailto:[email protected]>> Dear all, I am using matpower for my research in transmission expansion planning. I have some problems with a mistake that appears very often. Do you know what is the cause for that. I copy what I receive from matpower. Please give me advice in that matter. I am attaching the test system. Regards, Santiago ??? Error using ==> opf_model.add_constraints at 102 @opf_model/add_constraints: number of columns of A does not match number of variables, A is 6 x 11, nv = 12 Error in ==> opf_setup at 222 om = add_constraints(om, 'Pmis', Amis, bmis, bmis, {'Va', 'Pg'}); %% nb Error in ==> opf at 219 om = opf_setup(mpc, mpopt); Error in ==> runopf at 96 [r, success] = opf(casedata, mpopt); Error in ==> rundcopf at 94 [varargout{1:nargout}] = runopf(casedata, mpopt, fname, solvedcase); Error in ==> psoevaluacionparticulas at 75 results=rundcopf(mpc); Error in ==> UPSO_TEP at 208 fswarm(i)=psoevaluacionparticulas(swarm(:,i));-- Dr.-Ing. Santiago Torres IEEE Senior Member Post-Doctoral Fellow School of Electrical and Computer Engineering University of Campinas, Campinas, SP, Brazil http://www.dsee.fee.unicamp.br/ Albert Einstein, 400 13083-852, Campinas, SP, Brazil -- Dr.-Ing. Santiago Torres IEEE Senior Member Post-Doctoral Fellow School of Electrical and Computer Engineering University of Campinas, Campinas, SP, Brazil http://www.dsee.fee.unicamp.br/ Albert Einstein, 400 13083-852, Campinas, SP, Brazil
