guojunyao419 / OPF-ADMM

Using Alternating Direction Method of Multipliers to solve AC Optimal Power Flow Problem
66 stars 23 forks source link

Problems on little errors and compatibility #2

Open Vurgit opened 4 years ago

Vurgit commented 4 years ago

Hello there, it seems that there are some small erros and the code cannot run smoothly on Python 2.7, such as the path of flies are according to your own computer instead of relative path, and some other errors in format will cause errors in the present versions of Python and pypwer. Would you please debug it a little to wipe out the little errors? Thank you very much.

poo222211 commented 4 years ago

I used python 3.7 to run it, but the results seem to be 0, so the list out of bound. It seems to be that the runworker may not work, anybody can fix it ?

sagarchapara commented 3 years ago

I used python 3.7 to run it, but the results seem to be 0, so the list out of bound. It seems to be that the runworker may not work, anybody can fix it ?

I am also getting the same error. Did u solve this issue. If yes, Could you help me to fix it?

Bishalghimire1997 commented 2 years ago

It took me a week to make this code run without error but still at some point the OPF does not converges as the iterMaxlocal is set to 2000. it works if the iterMaxlocal variable is set to the range of 0 to 10. I am not sure if it the results that i obtained are from the codes are accurate as i had to made some changes in the program to make it work. It would be really nice if you could provide an updated version of the file if possible.

lishijie15 commented 1 year ago

It took me a week to make this code run without error but still at some point the OPF does not converges as the iterMaxlocal is set to 2000. it works if the iterMaxlocal variable is set to the range of 0 to 10. I am not sure if it the results that i obtained are from the codes are accurate as i had to made some changes in the program to make it work. It would be really nice if you could provide an updated version of the file if possible.

Hello, could you please upload your modified code?