Dear all,

I am wondering if it is possible to add costs to a DCOPF based on the
existing variables. Specifically, I wish to define a cost function based on
the product of the outputs of two generators on the system, so that the
resulting objective function is a minimisation of C1(P1) + C2(P2) + aP1P2,
where a is a constant.

I have looked at the add_costs function and I'm not clear on whether this
requires me to define new variables and associate the costs with these
variables, or just add costs to the existing variables. If it is possible
to use this function for my purpose, could somebody please explain how to
derive the H matrix. I understand how this would be done for conventional
cost parameters, i.e. including off diagonal elements, however I am looking
at the paper "Matpower's Extensible OPF Power Flow Architecture" (section
III - User-Defined Costs) and I am not certain on how I should define the
m, N and r^ values in this case.

Thank you for any help you can provide,

Kind Regards,

Niamh O'Connell

Reply via email to