You can calculate the branch currents (from and to end) using the real and reactive power flows (from the branch data) and the bus voltages (in the bus data). See the function idx_brch() and idx_bus() for the location of the flows and voltages.
Shri From: Mahmoud Abdallah <mahmoud_abdallah2...@yahoo.com<mailto:mahmoud_abdallah2...@yahoo.com>> Reply-To: MATPOWER discussion forum <matpowe...@list.cornell.edu<mailto:matpowe...@list.cornell.edu>> Date: Thursday, December 31, 2015 at 1:03 PM To: "MATPOWER-L@cornell.edu<mailto:MATPOWER-L@cornell.edu>" <MATPOWER-L@cornell.edu<mailto:MATPOWER-L@cornell.edu>> Subject: ask in matpower 3.2 Dear professor i use matpower version 3.2 i want to return only vector of current flow in each branch after Runpf calculation separably from the results of Runpf. can you please help in that thank you in advance Kind regards, Dr. Mahmoud Abdallah Attia Electrical Power & Machines Department Faculty of Engineering, Ain Shams University Reviewer in Ain Shams Engineering Journal (ASEJ) Reviewer in Electric Power Components & Systems Journal Reviewer in International Transactions on Electrical Energy Systems Member of "Continuous Improvement & Quality Assurance Unit" Abdo Basha square, Abbassia, 11517 Cairo, Egypt