Minpower
Adam Greenhall

an open source toolkit

for power systems optimization

Minpower solves problems
Economic Dispatch Optimal Power Flow Unit Commitment
Why it's awesome
  • free & open source

  • platform & solver independent

  • easy to use

There are two ways to use it
  • students: black box script

  • developers: within code

Demonstration

Let’s walk through
an Economic Dispatch problem.

Problem: ED
\[ \operatorname{min} \sum_g C_g(P_g) \]
\[ \operatorname{s.t.} P_{\min (g)} \leq P_g \leq P_{\max (g)} \; \forall g \]
\[ \operatorname{s.t.} \sum_g P_{g}= P_{\text{load}} \]
Inputs: ED
generators loads
namePmaxcostcurveequation
cheap120200+5*P+.3P^2
expensive400300+10P+.25P^2+.005P^3
namePd
SeattleCityLight100
Solve: ED
Results: ED
nameuPIC
cheapTrue66.666667333345.0000004
expensiveTrue33.333332666743.3333323334
How Minpower Works
Python Coopr
{ GLPK }
CPLEX
Gurobi
….
Matplotlib
load data form problem solve plot
Documentation

is online at minpowertoolkit.com

Unit Commitment

Formulation includes:

  • ramp rates

  • up/down times

  • start up costs

Features:

  • rolling commitments

  • any time interval

Unit Commitment visualization
Minpower

Use it and make it better.

minpowertoolkit.com
GitHub