Start with Section 6.3 and Chapter 7 in the User’s Manual 
<http://www.pserc.cornell.edu/matpower/docs/MATPOWER-manual-5.1.pdf>. The 
branch flow soft limits described in Section 7.5.4 and implemented in 
toggle_softlims() 
<http://www.pserc.cornell.edu//matpower/docs/ref/matpower5.1/toggle_softlims.html>
 may have some useful example code. The DC OPF test functions, such as 
t_opf_dc_mips() 
<http://www.pserc.cornell.edu//matpower/docs/ref/matpower5.1/t/t_opf_dc_mips.html>
 also have some very simple examples for extending the OPF formulation.

    Ray


> On Feb 19, 2016, at 8:03 AM, Ali <[email protected]> wrote:
> 
> Dear MATPOWER, 
> 
> I was wondering how can I define some specific objective function in DCOPF? 
> 
> For example how can I define the flow of a specific branch as the objective 
> function ? 
> 
> Sincerely 
> 
> Ali Salem. 

Reply via email to