Of course; sorry, the part about
"branch" current slipped to the back of my mind. The code would
be similar:
% Run power flow results = runpf(mpc); % Get column pointers define_constants; % Compute vector of complex bus voltages V = results.bus(:, VM) .* exp(sqrt(-1)*results.bus(:, VA)*pi/180); % Compute nodal admittance matrix, and line admittance matrices at both the 'from' and 'to' ends of branches [Ybus, Yf, Yt] = makeYbus(results); % Compute vector of complex bus injection currents Ibus = Ybus * V; % Compute vector of complex currents injected at 'from' end of branches If = Yf * V; % Compute vector of complex currents injected at 'to' end of branches It = Yt * V; Carlos. Arkan Arkan wrote:
|
- magnitude and the phase angle of the current in t... Arkan Arkan
- Re: magnitude and the phase angle of the cur... Ilias Sarantakos
- Re: magnitude and the phase angle of the... Arkan Arkan
- Re: magnitude and the phase angle of... Carlos E Murillo-Sanchez
- Re: magnitude and the phase angl... Mostafa Mohammadpourfard
- Re: magnitude and the phase... Carlos E Murillo-Sanchez
- Re: magnitude and the p... Winnie apiyo
- Re: magnitude and t... Ilias Sarantakos
- Re: magnitude and t... Winnie apiyo
- Re: magnitude and the p... Arkan Arkan
- Re: magnitude and t... Carlos E Murillo-Sanchez
- Re: magnitude and t... Arkan Arkan