andes.routines.pflow.PFlow#

class andes.routines.pflow.PFlow(system=None, config=None)[source]#

Power flow calculation routine.

__init__(system=None, config=None)[source]#

Methods

doc([max_width, export])

Routine documentation interface.

fg_update()

Evaluate the limiters and residual equations.

init()

Initialize variables for power flow.

newton_krylov([verbose])

Full Newton-Krylov method from SciPy.

nr_solve()

Solve the power flow problem using itertive Newton's method.

nr_step()

Solve a single iteration step using the Newton-Raphson method.

report()

Write power flow report to a plain-text file.

run(**kwargs)

Solve the power flow using the selected method.

summary()

Output a summary for the PFlow routine.

Attributes

class_name