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#

  1. ACOPF is solved with PYPOWER runopf function.

  2. 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#

Unit

Expression

\(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

pg

\(p_{g}\)

Gen active power

p.u.

StaticGen.p

aBus

\(a_{Bus}\)

bus voltage angle

rad

Bus.a

plf

\(p_{lf}\)

Line flow

p.u.

vBus

\(v_{Bus}\)

Bus voltage magnitude

p.u.

Bus.v

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