radial_pf

radial_pf(mpc, mpopt)

radial_pf() - Solves the power flow using a backward-forward sweep method.

[mpc, success, iterations] = radial_pf(mpc,mpopt)

Inputs:
    mpc : MATPOWER case struct with internal bus numbering
    mpopt : MATPOWER options struct to override default options
        can be used to specify the solution algorithm, output options
        termination tolerances, and more.

Outputs:
    mpc : results struct with all fields from the input MATPOWER case,
          with solved voltages, active and reactive power flows
          and generator active and reactive power output.
    success : success flag, 1 = succeeded, 0 = failed
    iterations : number of iterations

See also caseformat, loadcase(), mpoption().