Hi, The AC power flow (runpf) is converging for your system, while the AC optimal power flow (runopf) does not. The reason being the line ratings (rateA, B, C) are less than the load they are supplying to. For instance, the load on bus 2 is 2.8 MW, but there is a single line 1-2 supplying power to this load and its rating is 1.5 MW. As such, the optimal power flow, which tries to adhere to the line limits, fails to converge. I suggest setting the line limits more than the load supplied at their ‘to’ buses.
Shri From: <bounce-123103003-73493...@list.cornell.edu> on behalf of Αμαλία Μαυρογιάννη <amalia...@gmail.com> Reply-To: MATPOWER discussion forum <matpowe...@list.cornell.edu> Date: Wednesday, November 14, 2018 at 5:53 AM To: "matpowe...@list.cornell.edu" <matpowe...@list.cornell.edu> Subject: AC power flow not converge I am working on an island system. I make a case where I depict the whole system. The lines are in 15KV and there are 3 generators in 5MW each. I run an AC power flow (runopf)and the message is Did not converge in 5 iterations. I have done the : define_constants; mpcbase = loadcase('casefile'); mpcbase.bus(:, PD) = 0; mpcbase.bus(:, QD) = 0; mpcbase.gen(:, PG) = 0; mpctarget = loadcase('casefile'); results = runcpf(mpcbase, mpctarget); results.cpf.max_lam and max_lam=10.5284. The runcpf doesn't run at all. The case is down. Thanks Amalia Mavrogianni