Hi, There you go. The results are similar as compared with ‘makePTDFac’ for my test cases (1 slack and rest all PQ buses). Thanks, Sarmad
From: bounce-121651429-74036...@list.cornell.edu [mailto:bounce-121651429-74036...@list.cornell.edu] On Behalf Of Ahmad Sadiq Abubakar Sent: Wednesday, 12 July, 2017 3:01 AM To: MATPOWER discussion forum Subject: Fwd: Re: ACPTDF Hi, Find here attached the codes for makePTDFac from Ray, Let's see yours for comparison ---------- Forwarded message ---------- From: "Ray Zimmerman" <r...@cornell.edu<mailto:r...@cornell.edu>> Date: Apr 26, 2017 5:15 PM Subject: Re: ACPTDF To: "Ahmad Sadiq Abubakar" <ahmad.abuba...@futminna.edu.ng<mailto:ahmad.abuba...@futminna.edu.ng>> Cc: Here’s what I’ve got. Keep me posted on how it works for you. Ray On Apr 26, 2017, at 11:32 AM, Ahmad Sadiq Abubakar <ahmad.abuba...@futminna.edu.ng<mailto:ahmad.abuba...@futminna.edu.ng>> wrote: Hi, Ray Z., It will be great of you to send me the codes. Kindly send to ahmad.abuba...@futminna.edu.ng<mailto:ahmad.abuba...@futminna.edu.ng> In anticipation of your reply. On Apr 26, 2017 2:22 PM, "Jovan Ilic" <jovan.i...@gmail.com<mailto:jovan.i...@gmail.com>> wrote: Ray, We are talking about calculating AC PTDF from a solved PF case, right? Thanks, Jovan On Wed, Apr 26, 2017 at 9:18 AM, Ray Zimmerman <r...@cornell.edu<mailto:r...@cornell.edu>> wrote: I started work on makePTDFac() a couple of years ago and I have something I could send you off-list if you like. I’m not sure whether it is correct, but it has some test code as well. If you have the time to check it out, confirm that it works or fix it if necessary, maybe we could include it in MATPOWER. Let me know if you want me to send it to you, Ray On Apr 25, 2017, at 8:18 PM, Sarmad Hanif <sarmad.ha...@tum-create.edu.sg<mailto:sarmad.ha...@tum-create.edu.sg>> wrote: Hi, You can calculate ACPTDF using the Jacobian matrix as shown here<http://ieeexplore.ieee.org/document/4312344/>. In MATPOWER, makeJac(‘your case file’) can be used to calculate the Jacobian. Hope this helps. Best From: bounce-121468317-74036...@list.cornell.edu<mailto:bounce-121468317-74036...@list.cornell.edu> [mailto:bounce-121468317-74036...@list.cornell.edu] On Behalf Of Ahmad Sadiq Abubakar Sent: Wednesday, 26 April, 2017 3:44 AM To: matpower-l@cornell.edu<mailto:matpower-l@cornell.edu> Subject: ACPTDF Hi, I want to implement an ACPTDF, but I realized that the makePTDF function is for DC power flow. Is there any way I can achieve the ACPTDF? Kindly assist with possible suggestions to the problem.
getLinFlows.m
Description: getLinFlows.m