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.
can anybody help me with the code please??
  1 Comment
Amir Hosseini
Amir Hosseini on 5 Apr 2020
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.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!