|
Assuming that the system data is in
structure 'mpc', and that the buses are numbered consecutively
starting from 1, this should give you the injection currents:
% 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 Ybus = makeYbus(results); % Compute vector of complex bus injection currents Ibus = Ybus * V; Carlos. Mostafa Mohammadpourfard 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
