This is correct.

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




On Oct 1, 2012, at 8:42 PM, Evangelos Galinas <[email protected]> wrote:

> Hallo all,
> 
> Could please someone confirm that assigning piecewise linear generating costs 
> (in my case just linear) like below is wrong?
> 
> mpc.gencost(1,1)=1    % piecewise
> mpc.gencost(1,4)=2    %2 data points
> mpc.gencost(1,5)=0    % 1st point 0,0
> mpc.gencost(1,6)=0
> mpc.gencost(1,7)=1    % 2nd point 1,15 
> mpc.gencost(1,8)=15  %for example where 15 is the $/kW  
> 
> I would be grateful
> 
> Vagelis

Reply via email to