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 % piecewisempc.gencost(1,4)=2 %2 data pointsmpc.gencost(1,5)=0 % 1st point 0,0mpc.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
