1 - MATPOWER does not calculate and display branch currents, but it is easy for
you to calculate them yourself from solved branch power flows (PF, QF, PT, QT
columns of branch matrix) and voltages (VM and VA columns of bus matrix). If
you have a case with consecutive bus numbers from 1 to nb (internal numbering),
you can also compute the branch currents (similar to that for injection
currents posted by Carlos here
<https://www.mail-archive.com/[email protected]/msg06435.html>) as follows:
results = runpf(mpc);
define_constants;
% vector of complex bus voltages
V = results.bus(:, VM) .* exp(sqrt(-1)*results.bus(:, VA)*pi/180);
[Ybus, Yf, Yt] = makeYbus(results);
If = Yf * V; % “from" bus currents
It = Yt * V; % “to" bus currents
2 - MATPOWER does not include code for short-circuit studies or protection
relays.
Ray
> On Jan 24, 2019, at 2:12 AM, heba elbrmawy <[email protected]> wrote:
>
> HELLO,
> I am Heba, an electrical engineer
> this is the first time I use MATPOWER.
> I downloaded it, I started to deal with it, it is ok,
> i want to know:-
> 1- how can I calculate the branches current??
> 2- is there another code for short circuit study, and protection relays??
> thanks