6 Optimal Power Flow
Matpower includes code to solve both AC and DC versions of the optimal power flow
problem. The standard version of each takes the following form:
 | (6.1) |
subject to
In both cases, the objective function
consists of the polynomial cost of generator
injections, the equality constraints
are the power balance equations, the
inequality constraints
are the branch flow limits, and the
and
bounds include reference bus angles, voltage magnitudes (for AC) and generator
injections.