Dear MATPOWER friends I am trying to adjust the standard OPF formulation of MATPOWER so that I can use it for optimal reactive power dispatch (ORPD). That is, I would like to includ reactive power generation cost and active power losses cost in the objective function.
I set cost for Pg to zero and set Pmin = Pg = Pmax for all apart the slack bus because I only want to optimize reactive power dispatch. However, how do I include the losses then? I‘ve read in the FAQs that losses are implicitely minimized by minimizing overall generation - however, could anyone give me a hint on how to minimize active power losses without optimizing Pg? I could of course just keep the limits Pmin = Pg = Pmax, but would the optimization then return correct results? Thanks in advance for your help! Stefanie
