Hello Mohammed, The problem is in the *branch joining buses 16 and 17* (line 191 in the file). This branch had zero R and zero X. Just edit the value of X to something reasonable (I used 0.001), and the case solves just fine, in 4 iterations.
-- Jose L. Marin Grupo AIA 2018-03-21 3:51 GMT+01:00 Mohammed Alhajri <[email protected]>: > i got > > ++++++++++++++++++++++++++++++++ > > 19980 NaN > 19981 NaN > 19982 NaN > 19983 NaN > 19984 NaN > 19985 NaN > 19986 NaN > 19987 NaN > 19988 NaN > 19989 NaN > 19990 NaN > 19991 NaN > 19992 NaN > 19993 NaN > 19994 NaN > 19995 NaN > 19996 NaN > 19997 NaN > 19998 NaN > 19999 NaN > 20000 NaN > Gauss-Seidel power flow did not converge in 20000 iterations. > > >>>>> Did NOT converge (47.99 seconds) <<<<< > > > On 20 March 2018 at 19:44, Ray Zimmerman <[email protected]> wrote: > >> Unfortunately, I do not have time to work on this myself. I was just >> giving a suggestion for another direction to try if you want to understand >> the issue that MATPOWER is having with your case. Could you post the output >> (using verbose set to 2) of runpf() when using a MATPOIWER case file >> that corresponds to the solved case from the Hadi Sadat code? >> >> And if you have any questions about the MATPOWER case format or MATPOWER >> power flow options, feel free to ask. >> >> Ray >> >> >> >> On Mar 20, 2018, at 11:28 AM, Mohammed Alhajri <[email protected]> wrote: >> >> Ok, i have attached the case information in format of Hadi Saadat code, >> can you please try it in MATPOWER? >> >> because we have spent more than three weeks checking the format, but >> still dose not converge... >> >> Regards,,, >> >> بتاريخ ٢٠١٨/٠٣/٢٠ ٦:٢٦ م، كتب "Ray Zimmerman" <[email protected]>: >> >>> It’s possible that the modeling is not identical or that there is some >>> error in your conversion to MATPOWER format. You can check by talking the >>> solved case from your other software, converting that solved case to >>> MATPOWER and then trying the MATPOWER power flow. It should converge in a >>> single iteration. If it does not, then you know that there is either a >>> mistake somewhere or a difference in modeling. >>> >>> Ray >>> >>> >>> On Mar 16, 2018, at 12:42 PM, Mohammed Alhajri <[email protected]> >>> wrote: >>> >>> i tried that but unfortunately not work >>> >>> بتاريخ ٢٠١٨/٠٣/١٦ ٨:٣٠ م، كتب "Abhyankar, Shrirang G." <[email protected] >>> >: >>> >>>> See FAQ #5 <http://www.pserc.cornell.edu/matpower/#pfconvergence> >>>> >>>> >>>> >>>> Thanks, >>>> >>>> Shri >>>> >>>> Ph: (630) 252 0219 <(630)%20252-0219> >>>> >>>> www.mcs.anl.gov/~abhyshr >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> *From: *<[email protected]> on behalf of >>>> Mohammed Alhajri <[email protected]> >>>> *Reply-To: *MATPOWER discussion forum <[email protected]> >>>> *Date: Friday, March 16, 2018 at 11:26 AM* >>>> *To: MATPOWER discussion forum <[email protected] >>>> <[email protected]>>* >>>> *Subject: Re: Power Flow in Matpower* >>>> >>>> >>>> >>>> any answer to this question? >>>> >>>> >>>> >>>> بتاريخ ٢٠١٨/٠٢/٢٥ ٧:١٨ م، كتب "Mohammed Alhajri" <[email protected]>: >>>> >>>> Hello All, >>>> >>>> >>>> >>>> I did the power flow for a 89-bus network and it converges using Hadi >>>> Sadat code after 17080 iterations. The accuracy was 1e-8 and the method is >>>> Gauss-Seidel Method. >>>> >>>> >>>> >>>> But when I did the power flow using matpower it does not converge! I >>>> tried to increase the maximum iteration, I put it 100000, and still did not >>>> cnvarge! >>>> >>>> >>>> >>>> I have attached the data according to Hadi Sadat Code, can any one try >>>> to do the power flow using matpower? >>>> >>>> >>>> >>>> >>> >> >
