Re: Finding the Jacobian matrix and Ybus

2020-09-15 Thread Ray Daniel Zimmerman
Yes. See help makeJac. The value of the second argument determines whether to return the full or reduced Jacobian. So it sounds like you want to use … Jac = makeJac(mpci); Note, the second argument defaults to a false value. Ray On Sep 15, 2020, at 1:12 AM, Kaled Zareer mailto:kaled...@ya

Re: Finding the Jacobian matrix and Ybus

2020-09-14 Thread Kaled Zareer
Thank you Dr. Ray. I tried the command Jac = makeJac(mpci, 1) for the 118-bus system. I got a (236 X 236) matrix. You know that there are slack bus, PV buses, and PQ buses in the system. Thus, my assumption is to get a matrix with a smaller size. Is there any command to consider this point?  Th

Re: Finding the Jacobian matrix and Ybus

2020-09-14 Thread Ray Daniel Zimmerman
Try this … mpc = loadcase(); mpci = ext2int(mpc); % convert to internal bus numbering Ybus = makeYbus(mpci); Jac = makeJac(mpci, 1); — Ray On Sep 14, 2020, at 2:09 AM, Kaled Zareer mailto:kaled...@yahoo.com>> wrote: Hi all, I am a beginner at Matpower. I read the manual but I am confused a

Finding the Jacobian matrix and Ybus

2020-09-14 Thread Kaled Zareer
Hi all,  I am a beginner at Matpower. I read the manual but I am confused about how we can obtain the jacobian matrix and Ybus. I see that there are Power Flow Derivative Functions, but I don't know how I can use them. I appreciate if someone provides a simple example.  Thanks in advance Khaled