I would (strongly) recommend keeping MATPOWER intact with all of its files in 
its own directory, separate from your project. Then simply add the appropriate 
MATPOWER directories to your Matlab path, as described in the installation 
instructions.

If, for some reason, you must strip MATPOWER down to only the files you are 
using, I'm afraid I can't tell you all of the dependencies off the top of my 
head. The easiest way to do it is to add files one at a time (starting with 
runopf.m), attempting to run it and then checking the error message to see 
which file it couldn't find and repeating until all errors are gone.

-- 
Ray Zimmerman
Senior Research Associate
419A Warren Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645




On Mar 22, 2013, at 5:37 AM, Khirad Dhabhar <[email protected]> wrote:

> Dear all
> 
> I have downloaded matpower from the website. I can see that a lot of test 
> case files are included like case30,case9 etc. As i will only be using the 30 
> bus test case what are the files that i need to be able to run the optimal 
> power flow for a 30 bus system. I know i can delete the other case files like 
> case9 etc but what about the other files like add_userfcn bustypes etc. I 
> need to do this because mathpower is just a part of my project i have a lot 
> of other mat flies in my project folder. Hence i want to delete any extra 
> files i dont need.  
> 
> 
> Thanks again
> 
> Khirad 
> -- 
> Friendship is like a red rose with a green stem

Reply via email to