ignore this question - I mistype mpc.gen - I can change the value already. Another question: if I set mpc.if.lims=[ 1 -15 25; ];
what does this do? On Sat, Jan 15, 2011 at 2:15 PM, Mooi Choo Chuah <m...@lehigh.edu> wrote: > hi, > how did I modify the Pg value of a particular entry in mpc.gen? > > e.g. if I want to modify row 3, column 2 of the mpc.gen to 0 before > rerunning rundcpf, what should I do? > > On Thu, Jan 13, 2011 at 2:52 PM, Mooi Choo Chuah <m...@lehigh.edu> wrote: > >> hi, >> I have another question: >> I set mpc=loadcase('t_auction_case') >> mpopt=mpoption('OUT_ALL',1) >> and rundcpf(mpc,mpopt); >> >> the results.success=1 but >> I got generator data >> 75.97, 60.97, 21.59, 26.91, 19.2, 37.0 (for the 6 generators) >> but when I look at the generator data for these 6 generators in >> t_auction_case - it says the Pmax is [60,60,60,60,60,60]. Seemed like >> generator 1, 2 have exceeded 60. >> >> Can someone pls explain to me why generator 1 and 2 is allowed to exceed >> 60? >> >> The generator data does have 3 entries that say -30 at bus 7,15,30 (which >> I believe it means dispatchable load) but don't quite truly understand what >> this means. Can someone pls explain? does this mean the generator is allowed >> to generate extra power? >> >> thanks >> MC >> >> On Wed, Jan 12, 2011 at 5:31 PM, Mooi Choo Chuah <m...@lehigh.edu> wrote: >> >>> Hi, >>> >>> >>> I read a 2005 paper written by Prof Sarosh Talukdar (Distributed Model >>> Predictive Control >>> for the Mitigation of Cascading Failures). His paper seemed to suggest >>> that he did his analysis using Matpower (he cited Matpower manual Version >>> 2.0". So, I suspect that may be his simulated scenarios were included in >>> Matpower version 2.0 but removed somehow from later versions of Matpower. >>> >>> Any idea who I can ask about getting the .m files for these scenarios >>> and whether it will still work with the latest Matpower version? >>> >>> MC >>> >>> On Wed, Jan 12, 2011 at 11:14 AM, Ray Zimmerman <r...@cornell.edu>wrote: >>> >>>> The mpc.if.map data is used by an example OPF extension used to impose >>>> interface flow limits. It is mentioned briefly in the last paragraph of >>>> section 6.4 of the manual. See help toggle_iflims for a description of >>>> the input data. >>>> >>>> Regarding what happens when total load exceeds total generator capacity, >>>> the OPF should never succeed in such a case. Make sure you are checking the >>>> success flag. If you have a case where you believe it is converging to an >>>> infeasible solution (total gen dispatch greater than total gen capacity), I >>>> would like to see it. That would indicate a bug. In my tests, such cases >>>> fail to converge. >>>> >>>> -- >>>> Ray Zimmerman >>>> Senior Research Associate >>>> 211 Warren Hall, Cornell University, Ithaca, NY 14853 >>>> phone: (607) 255-9645 >>>> >>>> >>>> >>>> On Jan 10, 2011, at 6:04 PM, Mooi Choo Chuah wrote: >>>> >>>> Hi, >>>> I am new to Matpower. >>>> >>>> can someone tell me what the mpc.if.map in this file do? >>>> the comments say >>>> ifnum branchidx >>>> but there are 30 branches in case30 so what do the following lines mean? >>>> 1 -12;// there is a comment line that says area 1 imports but why 4 >>>> lines that start with 1? >>>> 1 -14; >>>> 1 -15; >>>> 1 -36; >>>> 2 15; >>>> 2 25; >>>> 2 26; >>>> 2 -32; >>>> 3 12; // there is a comment line that says area 3 imports but why 6 >>>> lines that start with 3? >>>> 3 14; >>>> 3 -25; >>>> 3 -26; >>>> 3 32; >>>> 3 36; >>>> >>>> I am trying to learn what needs to be done to study what happens when >>>> the total load exceeds the total generator capacity >>>> for case 9. By just running rundcopf('case9'), it will always succeed >>>> even if I set the total load to exceed the total Pmax of all 3 generators. >>>> So, I suspect I need to use runopf_w_res before I can study the failure >>>> scenario when there is overload condition. Is this correct? >>>> >>>> MC >>>> >>>> >>>> >>> >> >