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 <[email protected]>
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 <[email protected]> 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