You can specify the user-defined cost directly as fields in the MATPOWER case 
struct.

-- 
Ray Zimmerman
Senior Research Associate
211 Warren Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645



On Dec 16, 2010, at 4:47 PM, Álvaro Jaramillo Duque wrote:

> Dear Professor Zimmerman 
> 
> The strategy that you suggest, is a very good idea!  I didn't imagine 
> something like this, I think it is which I am looking for, thanks.
> 
> However, I read and reread the section 5.3.1 and  I still have some doubts in 
> how to implement the "user defined cost". 
> 
> I also read the chapter 6 "Extending the OPF" and part of the code for the 
> reserve problem. 
> 
> That is not clear to me, if it is necessary to code a callback functions to 
> implement the "user defined cost" described in the section 5.3.1 and 6.1.  Or 
> if I can to define the parameters into the matpower case file
> 
> Please, could you give me some advice about this issue?
> 
> Thanks in advance,
> 
> Álvaro Jaramillo Duque 
> 



Reply via email to