The options you are using should work when running an AC OPF. Is that what you 
are running?

Two other notes, regarding your options …
1. The ENFORCE_Q_LIMS option is only for power flow, not OPF, and that the 
VERBOSE option only affects display of solution progress, not final results.
2. You are mixing old-style option names (all caps) in your first line, with 
new-style options in the second. This still works, but the old-style options 
are deprecated. The new versions of ENFORCE_Q_LIMS and VERBOSE are 
pf.enforce_q_lims and verbose, respectively.

— Ray



> On Jan 4, 2016, at 5:09 PM, Alanazi, Falah <[email protected]> wrote:
> 
> Dear Sir,
> 
> I would like to know how I can show the voltage constraints  and  the branch 
> flow constraints when I run OPF.
> 
> When I used the matpower cases both constraints  showes up but when I used 
> the WECC data they do not show up. I tried to use 
> 
> mpopt = mpoption('ENFORCE_Q_LIMS',0,'VERBOSE',3);
> mpopt = mpoption(mpopt,'out.lim.all',2)
> 
> best regards
> 
> Falah

Reply via email to