Info

This question is closed. Reopen it to edit or answer.

Hello everyone! I have got a question using power flow and DG allocation.

1 view (last 30 days)
I have got the matrix of line data of 33 bus network.
I am going to make each array to 0 and then run the power flow.
each time the array which is 0 should return to its normal value and next array should be 0 and power flow should run again. so it should repeat for 33 times.
I wrote a "for" to do the powerflow 33 times and each time devote a 0 to each array but at the end it devoted 0 to all column . I only want to make each array 0 then run the powerflow and then return the value of that array then go to next array and again this algorithm goes on.
for t=2:33
line(t-1,5)=0;
end

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!