Dear all
According to the Matpower manual (6.4.2 Dispatchable Loads)  approach
to dispatchable  loads is to model them as negative real power
injections with associated negative costs. but when I run dcopf I got
this error!!!

" MATPOWER Version 6.0b1, 01-Jun-2016 -- DC Optimal Power Flow
The interior-point-convex algorithm does not accept an initial point.
Ignoring X0."

I set negative output, ranging from 0 to -1000 like this
mpc.gen = [
.....
1       0       0       100     -100    1.05    100     1       0        -1000  
  0     0       0       0       0       0       0       0       0       0       
0;
....]
also I assume that bid function of load like this : aP+ b and benefit
function of load : 0.5aP^2+bP

mpc.gencost = [
.....
2       0       0       3       -0.5*0.015      13.0    0;
....]

Reply via email to