I believe that is the error you receive if you attempt to toggle "off" an extension that has never been toggled "on". In other words, it looks like DC lines are already off.
--Ray On Jan 30, 2012, at 4:43 PM, Zhouxing Hu <[email protected]> wrote: > Dear Dr. Zimmerman, > > I want to temporally disable dc lines in the testing case 9 by using "mpc = > toggle_dcline(mpc, 'off');" and then receive following errors: > > ??? Reference to non-existent field 'userfcn'. > > Error in ==> remove_userfcn at 42 > n = length(mpc.userfcn.(stage)); > > Error in ==> toggle_dcline at 86 > mpc = remove_userfcn(mpc, 'savecase', @userfcn_dcline_savecase); > > Error in ==> t_case9_dcline at 87 > mpc = toggle_dcline(mpc, 'off'); > > Could you please help me diagnose this? Thanks, > > > Zhouxing Hu > > Center for Energy Studies > Wichita State University >
