You can certainly use MATPOWER's power flow and OPF routines from within another program that modifies its inputs programmatically. I can't guess why MATPOWER is giving errors without the specific error message or any information about the inputs.
-- Ray Zimmerman Senior Research Associate 211 Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On Mar 5, 2011, at 2:31 AM, ahmad heidary wrote: > > Hi All > > > I have written a program in matlab about ED and UC , and I want to do power > > flow for it. > > I just have become familiar with MATPOWER and aware of its usefulness, but > > when i tried > > to link matpower with my program and change its arrays to non integer > > elements, it gave > > some errors; what should i do to use matpower with other programs > > parametrically? > > (I mean not to enter numbers for elements of a matrix. ) > > > with best regards, > > ahmad >
