Hello,

as far as I know, you can define arbitrary objective function by modifying the 
following source file: opf_costfcn.m. Don’t forget that you need to provide 
gradient and Hessian w.r.t. OPF control variables as well. These derivations 
are used in optimizers to find the optimal solution.

Best regards,

==========================
Juraj Kardos
Advanced Computing Laboratory
Institute of Computational Science
Universita della Svizzera italiana
Via Giuseppe Buffi 13
Lugano 6904
Switzerland
http://www.ics.inf.usi.ch
===========================

On 12 Jul 2017, at 08:02, Akash Tyagi 
<[email protected]<mailto:[email protected]>> wrote:

Hello everyone,
I am working on congestion management and running optimal power flow.
The Objective function after running the OPF is the cost, but I want to include 
my own objective function.
Can you please let me know how to remove the existing objective function and 
include my own objective function.
Thanks in advance


Reply via email to