All right. First of all, that code is enhanced in the new version: 4.1. The modified code is in "se" folder. Secondly, you need to define the measurements locations and types and the measured data as input values in the new generic code. It works very well as long as your network is observable.
Regards On Wed, Jan 11, 2012 at 7:42 AM, morteza keshavarz <mortezatal...@gmail.com>wrote: > Yes I do get answer with just runing runse('case14') with plots or other > cases but ('case118') doesnt work and gives error. the matpower is 4.1. I > am new in Matpower please corect me if I am doing wrong. > > Thanks, > > On Wed, Jan 11, 2012 at 12:00 AM, Arash Alimardani < > arash.alimard...@ieee.org> wrote: > >> What do you mean other cases work? Are you using version 4.1? by "runse" >> you mean "run_se"? >> Do you get answer by runse('case14') without definging the measurement >> parameters? >> >> >> On Tue, Jan 10, 2012 at 4:00 PM, morteza keshavarz < >> mortezatal...@gmail.com> wrote: >> >>> Hello, >>> >>> I can't do state estimation for case118 system and It gives me error of: >>> >>> No remaining bad data, after discarding data 1 time(s). >>> Largest value of B = NaN >>> ??? NaN's cannot be converted to logicals. >>> Error in ==> printpf at 168 >>> nzld = find(bus(:, PD) | bus(:, QD)); >>> Error in ==> runse at 187 >>> printpf(baseMVA, bus, gen, branch, [], success, et, 1, mpopt); >>> >>> Other cases are working well after I just write : >>> runse('case300') for example. I would be appreciate if some one tell me >>> how I can fix for case118. >>> >>> Thanks, >>> >>> Morteza >>> >> >> >