Dear all, I would like if possible some feedback on whether I'm following a correct approach towards changing the dc-opf objective function.
Well, the idea is that I want to include except of the operational costs of the DC-OPF, curtailment costs for my 3 wind units, penalty costs for infeasibility and investment costs. Of course I wanna do that gradually and not all at once. Anyway, please correct of if I'm wrong: I'm using a 41 bus system with 14 generators, three of which are wind units (# 2, 11, 12). If I had understood correctly from a previous example found here in the mailing list I have to create these extra fields in the mpc struct namely mpc.H mpc.N mpc.Cw in order to formulate eq 5.27. Correct? So If I'm using linear costs mpc.Cw needs to be 0, mpc.N has to have the Voltage part (14, 41) zero and the Power part (14,14) non zero (1) only at the elements 2,2 11,11 and 12,12 in order to refer to the power of the specific generator. Am I right? Assuming that I use a standard cost for curtailment, let's say c=0.18 ct/kwh, at which elements of the H matrix should I have this c denoted. The same as the power part of the N? and how I can denote that these cost must come from a subtract from max P of the Pg? Also, about static general penalty cost to the whole system I have to denote a cost using Cw non zero right? Thanks anyone that would invest some time on that. Best Regards, Vagelis