Try this …

mpc = loadcase(<your case>);
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 
<[email protected]<mailto:[email protected]>> wrote:

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


Reply via email to