If the cost function is non-smooth then I don't think it can be handled in MATPOWER.
Shri From: Tommy k <tommy...@gmail.com<mailto:tommy...@gmail.com>> Reply-To: MATPOWER discussion forum <matpowe...@list.cornell.edu<mailto:matpowe...@list.cornell.edu>> Date: Thu, 23 Oct 2014 20:54:26 +0100 To: <matpower-l@cornell.edu<mailto:matpower-l@cornell.edu>> Subject: Piecewise polynomial price curve Hi All, Is it possible to use a piece wise polynomial price curve in matpower as below where a,b,c,d,e & f are non negative constants? / f(g) = | a+bg+cg² if 0 ≤ g < 130, | d+eg+fg² if 130 ≤ g < 200 \ Regards Tom