Thanks a lot Dr.Ray, Indeed, i made a printing mistake while i was writing an email, the meaning of [reluctance] is (reactance*) is referring to branch reactance.
But the one thing that i would know is , when i change the values of reactance what i will get, Do i have to implement the same code?, an example(0,0.01,0.02,0.03....1) which the changes should be incremental. Best wishes. On 28 February 2017 at 20:47, Ray Zimmerman <[email protected]> wrote: > [image: Boxbe] <https://www.boxbe.com/overview> This message is eligible > for Automatic Cleanup! ([email protected]) Add cleanup rule > <https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3DSy8C1rcnbw%252Ft1f1GMSd9Q2UQ7DPgfvMwQB4x%252BB94c7E%253D%26token%3DDlar1G6Phas%252Bn1AXRB3YxbrynIOm5%252BvF5%252FjAOuZnL%252BtFJ%252FGcNkuDe79c97wrql1McjU8eD01W3hfR9zNO0mf44ITNZxlSUmHe8buDR1J8hZk%252F1%252Bn1Vu2IldXkrqCwNFQ7fHI1zd43TA%253D&tc_serial=29102031072&tc_rand=1966739810&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001> > | More info > <http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=29102031072&tc_rand=1966739810&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001> > > I’m not sure what you mean by “reluctance voltage” and “reactance > voltage”, but if you are referring to the branch reactance, then setting it > to zero causes the Ybus matrix to become singular and the power flow fails. > See the example below. > > Ray > > > >> define_constants > >> mpc = loadcase('case14'); > >> mpopt = mpoption('out.all', 0); > >> r = runpf(mpc, mpopt); > > MATPOWER Version 6.1-dev, 21-Feb-2017 -- AC Power Flow (Newton) > > Newton's method power flow converged in 2 iterations. > >> sum(real(get_losses(r))) > > ans = > > 13.3933 > > >> mpc.branch(14, BR_X) = 1e-5; > >> r = runpf(mpc, mpopt); > > MATPOWER Version 6.1-dev, 21-Feb-2017 -- AC Power Flow (Newton) > > Newton's method power flow converged in 4 iterations. > >> sum(real(get_losses(r))) > > ans = > > 13.4047 > > >> mpc.branch(14, BR_X) = 0; > >> r = runpf(mpc, mpopt); > > MATPOWER Version 6.1-dev, 21-Feb-2017 -- AC Power Flow (Newton) > > Newton's method power flow did not converge in 10 iterations. > >> sum(real(get_losses(r))) > > ans = > > NaN > > > > On Feb 28, 2017, at 12:07 PM, Abdulgader Alsharif < > [email protected]> wrote: > > Dear all > > I am Master student and a new in MATPOWER, using Matpower to find the > losses in transmission lines (runpf) and how to change the reluctance > voltage value in case14 as an example. > > Also, to find the daily PV load profile. > > Could you please help in writing Matlab code that change the reactance > voltage values. > > I have tried with one but cannot working.. > > NOTE: > (r.branch(14,4)=0) > when (14,4) is the position of the reactance value that i want to change, > (0) is the initial changes will be incrementally. > > CODE > for reactance (i) = Branchdata > r.branch(14,4)=0 > end > > > Already appreciated ..thanks to all > > -- > ABDULGADER H. ABDULGADER ALSHARIF > MASTER STUDENT AT ISTANBUL KEMERBURGAZ UNIVERSITY > LIVE IN ISTANBUL-TURKEY > Mobile phone Viber & whatsapp no. 00905454567238 <0545%20456%2072%2038>. > Skype: [email protected] > > > > -- ABDULGADER H. ABDULGADER ALSHARIF MASTER STUDENT AT ISTANBUL KEMERBURGAZ UNIVERSITY LIVE IN ISTANBUL-TURKEY Mobile phone Viber & whatsapp no. 00905454567238. Skype: [email protected]
