Ray,
thanks for your advice. I will try to change the index vector for measurements.
Best regards
Roman
----- Original Message -----
From: Ray Zimmerman
To: MATPOWER discussion forum
Sent: Thursday, March 22, 2007 2:33 PM
Subject: Re: Question about state estimator
On Mar 22, 2007, at 5:38 AM, Roman Korab wrote:
I would like to use a state estimator included in Matpower 3.0.0. In
state_est file I read: NOTE: This is specific to the 30-bus system where bus 1
is the reference bus which is connected to branches 1 and 2.Is it possible to
use Matpower's state estimator for different cases? What modifications are
necessary? I will be really appreciate yours help.
Unfortunately, I didn't write the code and am not 100% familiar with the
assumptions that were made in various parts of the code. It was included
primarily as an example of state estimation and as a starting point for anyone
wanted to use MATPOWER for state estimation. However, I'm sure that with
appropriate modifications it can be used for other systems and I'm guessing the
changes are relatively small. I could be wrong, but I *think* the only thing
that is hardcoded for the 30-bus system is the section you mention, the index
vector for the measurements to be used.
Taking the code from the state it's in now (example state estimation code)
and turning it into a tool that one can use to do state estimation on any
system would require defining an API for passing in the measurements as
parameters, as opposed to generating them internal to the state_est() function.
If anyone gets a chance to make such modifications, please consider
contributing your code. It would be nice to turn the state estimation code into
a usable tool, but I'm not likely to get the time to do it myself anytime soon.
--
Ray Zimmerman
Senior Research Associate
428-B Phillips Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645