1. Please see the manual and help files for the functions for documentation.
define_constants;
results = runpf('case39');
H = results.branch(:, PF);
V = results.bus(:, VM);
2. yes
--
Ray Zimmerman
Senior Research Associate
B30 Warren Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645
On Jun 21, 2013, at 4:11 AM, Mahmoud Abdallah <[email protected]>
wrote:
>
> dear sir
>
> 1- i use version 3.2 matpower if i want to use version 4.1
>
> what the equivalent for the following
>
> 1- [F_BUS, T_BUS, BR_R, BR_X, BR_B, RATE_A, RATE_B, RATE_C, ...
> TAP, SHIFT, BR_STATUS, PF, QF, PT, QT, MU_SF, MU_ST, ...
> ANGMIN, ANGMAX, MU_ANGMIN, MU_ANGMAX] = idx_brch;
> [PQ, PV, REF, NONE, BUS_I, BUS_TYPE, PD, QD, GS, BS, BUS_AREA, VM, ...
> VA, BASE_KV, ZONE, VMAX, VMIN, LAM_P, LAM_Q, MU_VMAX, MU_VMIN] = idx_bus;
> [baseMVA, bus, gen, branch] = runpf('case39.m');
> H = branch(:, PF);
> V= bus(:,VM);
> 2- also i want to ask if the attached function " get_losses"attached still
> working or not
>
> thank you in advance
> Eng. Mahmoud abdallah
> Teaching Assistant
> Ain Shams University
> Faculty of Engineering
>
>
>
>
> <get_losses.m>