I’m afraid the user defined cost function is the only way I can think of at the 
moment.

   Ray


On Dec 4, 2020, at 1:27 PM, Xinbo Geng 
<[email protected]<mailto:[email protected]>> wrote:

Dear Matpower users,
Matpower can handle the case of piecewise linear cost curves of generators 
(marginal cost curve is piecewise constant). I'm wondering what is the best way 
to handle convex piecewise quadratic cost curves (marginal cost is piecewise 
linear)? (is user define cost function the only way?)

An illustration of the cost curve I'm talking about:

<image.png>
Note that the y-axis is price $/MWh.


Thanks!
Xinbo


Reply via email to