grid-parity-exchange / Egret

Tools for building power systems optimization problems
Other
134 stars 54 forks source link

Support for piecewise (convex) costs in ACOPF #227

Closed michaelbynum closed 3 years ago

michaelbynum commented 3 years ago

Support for piecewise (convex) costs in ACOPF

michaelbynum commented 3 years ago

@bknueven Thanks for all of the feedback. I think this is a greatly improved PR now. Let me know what you think.

bknueven commented 3 years ago

As it is, the validation code does not handle if the p_max <= the first piecewise point or the p_min >= the last piecewise point. We should either address this in this PR or open and issue.