Are you setting the solution vector (x) size and the indexing information for extracting the elements from it correctly?
On Jan 8, 2015, at 4:50 AM, "Mirish Thakur" <[email protected]<mailto:[email protected]>> wrote: Dear Prof. R. Zimmerman, I'm master student working on a project dealing with power system optimization with additional variables 'tap ratio' and 'shift' on 9 bus system by mipsopf_solver. I have made necessary changes in respective function files. Also I concern with only current flow constraints in opf_hessfcn. For that I used command like >> mpopt = mpoption('OPF_FLOW_LIM', 2); and >> runopf(case9,mpopt);. But I'm getting errors - Did not converge in 17 iterations. Error using opf_args (line 315) opf_args.m: Incorrect input parameter order, number or type Error in opf (line 199) [mpc, mpopt] = opf_args(varargin{:}); Error in opf (line 262) opf(varargin) Error in runopf (line 96) [r, success] = opf(casedata, mpopt); As I'm not much faliliar with MATPOWER so I could not understand what exactly I need to rectify in opf_args.m file. I need your help .Thanks in advance. Sincerely Mirish
