For branch k, connecting bus f to bus t, you can calculate them directly from the bus voltages and branch powers.
Sf = results.branch(k, PF) + 1j * results.branch(k, QF); St = results.branch(k, PT) + 1j * results.branch(k, QT); Vf = results.bus(f, VM) * exp(1j * results.bus(f, VA)); Vt = results.bus(t, VM) * exp(1j * results.bus(t, VA)); If = conj( Sf / Vf ); %% complex current injected into branch k at bus f It = conj( St / Vt ); %% complex current injected into branch k at bus t -- Ray Zimmerman Senior Research Associate B30 Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On Sep 28, 2013, at 11:24 AM, Jiashen Teh <[email protected]> wrote: > Hi > > I would like to know the method to calculate correctly the branch currents > from the matpower results. > > Regards > > > Yours sincerely, > > Jiashen Teh > PhD Student > Electrical Energy & Power Systems Group, School of Electrical & Electronic > Engineering > Ferranti Building (B18), The University of Manchester, M13 9PL, United Kingdom > Tel: +44 (0) 161 306 2263; Mobile: +44 (0) 792 322 4864 > From: Muhammad Buhari > Sent: 28 September 2013 16:19 > To: Jiashen Teh > Subject: Branch Currents in matpower 4.1 > > Hi, > > Please can you help me with the method to calculate correctly the branch > currents from the matpower results. > > Regards > > Muhammad Buhari > > PhD student > > Electrical Energy and Power Systems Research group, > > University of Manchester, UK >
