Yes I noticed that and I executed it after fixing that. I still got those 
errors.

Waqas
________________________________
From: bounce-119535447-73713...@list.cornell.edu 
[bounce-119535447-73713...@list.cornell.edu] on behalf of Abhyankar, Shrirang 
G. [abhy...@anl.gov]
Sent: 14 August 2015 22:07
To: MATPOWER discussion forum
Subject: Re: PF Convergance

There is a typo in MATPOWER Faq # 5


mpc.bus(:, PD) = 0;
mpc.bus(:, QD) = 0;
mpc.gen(:, PG) = 0;

should be


mpcbase.bus(:, PD) = 0;
mpcbase.bus(:, QD) = 0;
mpcbase.gen(:, PG) = 0;


Shri

From: <Syed>, Waqas Ahmad Raazi 
<waqas.s...@rwth-aachen.de<mailto:waqas.s...@rwth-aachen.de>>
Reply-To: MATPOWER discussion forum 
<matpowe...@list.cornell.edu<mailto:matpowe...@list.cornell.edu>>
Date: Friday, August 14, 2015 at 6:12 AM
To: "matpowe...@list.cornell.edu<mailto:matpowe...@list.cornell.edu>" 
<matpowe...@list.cornell.edu<mailto:matpowe...@list.cornell.edu>>
Subject: PF Convergance

Hi everyone,

So, I was having trouble with PF convergance and then I looked into Faq#5 Why 
does MATPOWER power flow not 
converge?<http://www.pserc.cornell.edu//matpower/#pfconvergence>


Now in that FAQ, I am having trouble with point number 5. When I try to run the 
CPF from 0 load and generation to the target case, I get following errors and 
warnings:

step   1 : lambda =    NaN, corrector did not converge in 10 iterations
NaN's cannot be converted to logicals.

Error in printpf (line 175)
    nzld = find((bus(:, PD) | bus(:, QD)) & bus(:, BUS_TYPE) ~= NONE);

Error in runcpf (line 392)
printpf(results, 1, mpopt);

Error in Wildpoldsried_Extraction (line 236)
    results = runcpf(mpcbase, mpctarget);


Warnings:
Warning: Matrix is singular to working precision.
> In newtonpf at 89
  In runcpf at 203
  In Wildpoldsried_Extraction at 236
Warning: Matrix is singular to working precision.
> In cpf_predictor at 71
  In runcpf at 249
  In Wildpoldsried_Extraction at 236


Kindly let me know if you guys have any idea on how to address these issues.


Kind Regards,
Waqas

Reply via email to