Package pypower :: Module dcpf
[hide private]
[frames] | no frames]

Module dcpf

source code

Solves a DC power flow.

Functions [hide private]
 
dcpf(B, Pbus, Va0, ref, pv, pq)
Solves a DC power flow.
source code
Variables [hide private]
  __package__ = 'pypower'
Function Details [hide private]

dcpf(B, Pbus, Va0, ref, pv, pq)

source code 

Solves a DC power flow.

Solves for the bus voltage angles at all but the reference bus, given the full system B matrix and the vector of bus real power injections, the initial vector of bus voltage angles (in radians), and column vectors with the lists of bus indices for the swing bus, PV buses, and PQ buses, respectively. Returns a vector of bus voltage angles in radians.

See Also: rundcpf, runpf

Authors:
Carlos E. Murillo-Sanchez (PSERC Cornell & Universidad Autonoma de Manizales), Ray Zimmerman (PSERC Cornell), Richard Lincoln