ACED#
Type for AC-based economic dispatch.
Common Parameters: c2, c1, c0, pmax, pmin, pd, ptdf, rate_a, qd
Common Vars: pg, aBus, vBus, qg
Common Constraints: pb, lub, llb
Available routines: ACOPF
ACOPF#
Standard AC optimal power flow.
Notes#
ACOPF is solved with PYPOWER
runopffunction.ACOPF formulation in AMS style is NOT DONE YET, but this does not affect the results because the data are passed to PYPOWER for solving.
Objective#
Name |
Description |
Unit |
Expression |
|---|---|---|---|
obj |
total cost |
\(min. \sum(c_{2} p_{g}^{2} + c_{1} p_{g} + c_{0})\) |
Constraints#
Name |
Description |
Expression |
|---|---|---|
pb |
power balance |
\(\sum(p_{d}) - \sum(p_{g}) = 0\) |
Vars#
Name |
Symbol |
Description |
Unit |
Source |
Properties |
|---|---|---|---|---|---|
aBus |
\(a_{Bus}\) |
Bus voltage angle |
rad |
Bus.a |
|
vBus |
\(v_{Bus}\) |
Bus voltage magnitude |
p.u. |
Bus.v |
|
pg |
\(p_{g}\) |
Gen active power |
p.u. |
StaticGen.p |
|
qg |
\(q_{g}\) |
Gen reactive power |
p.u. |
StaticGen.q |
Parameters#
Name |
Symbol |
Description |
Unit |
Source |
|---|---|---|---|---|
x |
\(x\) |
line reactance |
p.u. |
Line.x |
tap |
\(t_{ap}\) |
transformer branch tap ratio |
float |
Line.tap |
phi |
\(\phi\) |
transformer branch phase shift in rad |
radian |
Line.phi |
pd |
\(p_{d}\) |
active deman |
p.u. |
StaticLoad.p0 |
c2 |
\(c_{2}\) |
Gen cost coefficient 2 |
$/(p.u.^2) |
GCost.c2 |
c1 |
\(c_{1}\) |
Gen cost coefficient 1 |
$/(p.u.) |
GCost.c1 |
c0 |
\(c_{0}\) |
Gen cost coefficient 0 |
$ |
GCost.c0 |
qd |
\(q_{d}\) |
reactive demand |
p.u. |
StaticLoad.q0 |