| Home | Trees | Indices | Help |
|
|---|
|
|
Defines constants for named column indices to branch matrix.
Some examples of usage, after defining the constants using the line above, are:
branch[3, BR_STATUS] = 0 # take branch 4 out of service Ploss = branch[:, PF] + branch[:, PT] # compute real power loss vector
The index, name and meaning of each column of the branch matrix is given below:
columns 0-10 must be included in input matrix (in case file)
F_BUS from bus number
T_BUS to bus number
BR_R resistance (p.u.)
BR_X reactance (p.u.)
BR_B total line charging susceptance (p.u.)
RATE_A MVA rating A (long term rating)
RATE_B MVA rating B (short term rating)
RATE_C MVA rating C (emergency rating)
TAP transformer off nominal turns ratio
SHIFT transformer phase shift angle (degrees)
BR_STATUS initial branch status, 1 - in service, 0 -
out of service
ANGMIN minimum angle difference, angle(Vf) -
angle(Vt) (degrees)
ANGMAX maximum angle difference, angle(Vf) -
angle(Vt) (degrees)
columns 13-16 are added to matrix after power flow or OPF solution they are typically not present in the input matrix
PF real power injected at "from" bus
end (MW)
QF reactive power injected at "from"
bus end (MVAr)
PT real power injected at "to" bus
end (MW)
QT reactive power injected at "to"
bus end (MVAr)
columns 17-18 are added to matrix after OPF solution they are typically not present in the input matrix
(assume OPF objective function has units, u)
MU_SF Kuhn-Tucker multiplier on MVA limit at
"from" bus (u/MVA)
MU_ST Kuhn-Tucker multiplier on MVA limit at
"to" bus (u/MVA)
columns 19-20 are added to matrix after SCOPF solution they are typically not present in the input matrix
(assume OPF objective function has units, u)
MU_ANGMIN Kuhn-Tucker multiplier lower angle
difference limit
MU_ANGMAX Kuhn-Tucker multiplier upper angle
difference limit
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Jul 29 18:21:26 2011 | http://epydoc.sourceforge.net |