Question: out-of-service status

2014-06-16 Thread Gamze Dogan
Hi, I have a question about the status of lines and generators. I want one of my generators to be out-of-service in all cases, but my opf sometimes puts it in service (for emergency cases I suppose). How can I make sure that the generator will not be used? (I'm changing the out-of-service

Re: Question: out-of-service status

2014-06-16 Thread huanghongcheng1989
Hi~ To set status of lines, you can set mpc.branch(SPECIFIC_LINE, BR_STATUS)=0, then the specific line would be in outage. For details, pls refer to caseformat.m. Hope to help~~ Frank Huang Best Regards! Hongcheng Huang Shanghai Jiao Tong University Electrical EngineeringAutomation of

Re: OPF with IPOPT

2014-06-16 Thread Ray Zimmerman
MATPOWER is not able to handle non-convex cost functions. -- Ray Zimmerman Senior Research Associate B30 Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On Jun 15, 2014, at 7:36 PM, Eser Patrick es...@student.ethz.ch wrote: Dear Dr. Zimmerman, Dear Matpower

Re: Question: out-of-service status

2014-06-16 Thread Ray Zimmerman
If k is the index of the generator in question … define_constants; mpc = loadcase(‘yourcasefile’); mpc.gen(k, GEN_STATUS) = 0; results = runopf(mpc); — Ray On Jun 16, 2014, at 5:12 AM, Gamze Dogan gamgam...@hotmail.com wrote: Hi, I have a question about the status of lines and generators.