The state estimation code is contributed code (not a part of core MATPOWER), so if you don’t get help from others here, I suggest you try contacting the author directly.
Ray > On Dec 26, 2018, at 11:11 AM, Mohsen Jorjani <m.jorjan...@yahoo.com> wrote: > > Hello > I have a question regarding state estimation code in matpower. As you know, > the system measurements include line power flows, voltage magnitudes and bus > power injections. Bus in the code which is provided in matpower (in se folder > located under the extras), there is only the possibility to define generated > active and reactive power measurement at each bus instead of bus power > injection measurements. So consider we are going to define an active power > injection measurement(P_inj) of - 20 MW for a PQ bus with active power > consumption(P_L) of 18 MW. How should this measurement be define? Should I > define a generator in this bus and set the generated power(P_G) of this bus > to be -2 MW (Because P_inj= P_G-P_L)? Is that true? > My other question is about the concept of state estimation. If we have > measurements of the sysytem and then replace measurement of a part of the > system such that the new measurements in this part of the system obey KCL and > KVL, does the value of residual reduce?