Dear Dr Zimmerman and Matpower Community,

Despite the ways to add user defined variables, cost and constraints have
been already discussed, I haven't found a solution for my case.
I'm working on multi-objective reactive optimal power flow (ROPF) and want
to expand a Matpower cost function which minimizes a cost of reactive power
generation with a standard cost function for ROPF (attached picture).
As you can see, the additional cost function depends on voltages and branch
angles.
The question is what is the best way to implement this cost function ?
I tried to use add_nln_cost but failed because i wasnt able to determine an
appropriate handle function.
I also tried this approach (
https://www.mail-archive.com/[email protected]/msg05517.html),
which describes (as i understand) a legacy cost specification for Vm.

But I want to implement multi-variable cost as I described above.

I will be very grateful for your advice and examples.

Big thanks in advance!

-- 

Veniamin S.

Reply via email to