fdpf(Ybus,
Sbus,
V0,
Bp,
Bpp,
ref,
pv,
pq,
ppopt=None)
| source code
|
Solves the power flow using a fast decoupled method.
Solves for bus voltages given the full system admittance matrix (for
all buses), the complex bus power injection vector (for all buses), the
initial vector of complex bus voltages, the FDPF matrices B prime and B
double prime, and column vectors with the lists of bus indices for the
swing bus, PV buses, and PQ buses, respectively. The bus voltage vector
contains the set point for generator (including ref bus) buses, and the
reference angle of the swing bus, as well as an initial guess for
remaining magnitudes and angles. ppopt is a PYPOWER options
vector which can be used to set the termination tolerance, maximum number
of iterations, and output options (see ppoption
for details). Uses default options if this parameter is not given.
Returns the final complex voltages, a flag which indicates whether it
converged or not, and the number of iterations performed.
See Also:
runpf
- Authors:
-
Ray Zimmerman (PSERC Cornell),
Richard Lincoln
|