PF#

Type for power flow routines.

Common Parameters: pd

Common Vars: pg

Available routines: DCPF, PFlow, CPF

DCPF#

DC power flow, overload the solve, unpack, and run methods.

Notes#

  1. DCPF is solved with PYPOWER runpf function.

  2. DCPF formulation is not complete yet, but this does not affect the results because the data are passed to PYPOWER for solving.

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.

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

PFlow#

AC Power Flow routine.

Notes#

  1. AC pwoer flow is solved with PYPOWER runpf function.

  2. AC power flow formulation in AMS style is NOT DONE YET, but this does not affect the results because the data are passed to PYPOWER for solving.

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}\)

reactive power generation

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

qd

\(q_{d}\)

reactive power load in system base

p.u.

StaticLoad.q0

Config Fields in [PFlow]

Option

Symbol

Value

Info

Accepted values

qlim

0

Enforce generator q limits

(0, 1, 2)

CPF#

Continuous power flow.

Still under development, not ready for use.

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}\)

reactive power generation

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

qd

\(q_{d}\)

reactive power load in system base

p.u.

StaticLoad.q0

Config Fields in [CPF]

Option

Symbol

Value

Info

Accepted values

qlim

0

Enforce generator q limits

(0, 1, 2)