True … I should have mentioned that, but I’d actually forgotten that we added 
that option.

   Ray

On Mar 17, 2020, at 12:51 PM, Steven G 
<steven.geng.2...@gmail.com<mailto:steven.geng.2...@gmail.com>> wrote:

Thanks for the clarification! p.s. I noticed that `mpopt = 
mpoption(mpopt,'most.uc.run',1);` will help as well.

On Mon, Mar 16, 2020 at 12:49 PM Ray Daniel Zimmerman 
<r...@cornell.edu<mailto:r...@cornell.edu>> wrote:
Yes, that is correct. In general, you leave CommitKey empty (or = 2) unless you 
want to do a UC.

   Ray


On Mar 14, 2020, at 1:15 PM, Steven G 
<steven.geng.2...@gmail.com<mailto:steven.geng.2...@gmail.com>> wrote:

Dear Matpower users,
I'm comparing two tutorial examples of MOST: `most_ex5_mpopf.m` and 
`most_ex3_dcopf_w_uc.m`. The mpoptions in both cases look almost identical, so 
how does MOST know the first one is a dispatch problem, but the second one is 
unit commitment?

It seems the main different is the mdi.UC.CommitKey: if you want a dispatch 
problem, you set  mdi.UC.CommitKey= [] or  mdi.UC.CommitKey= 2; you assign 
other values to mdi.UC.CommitKey if you want to solve UC. Is this correct?

Thanks,
Steven



Reply via email to