Ask Your Question
0

Why does ACCC restart python?

asked Aug 18 '14

JoshCorp gravatar image

I was writing a script to automate a group of accc runs. The code works fine (with the exception of a unicode warning) until I get to the end where the acccwithdsp_3 command is run. It seems to complete the command and outputs the line:

AC Contingency analysis results "filePath.acc" are ready for graphical display

The problem is that it then sits for a bit and restarts. The commands are in a loop so that the process is repeated multiple times but it never makes it past the first one. I also inlcuded some print commands right after just to see if it would run them and it never makes it past the accc.

Does anyone know why this happens or a solution for it? Thanks!!

2 answers

Sort by » oldest newest most voted
0

answered Aug 20 '14

rimux gravatar image

Once I also had the same problem with acccwithdsp3, I solved it by using the accc command insted - it works just fine. But you can try also acccwithdsp2 or acccwithdsp - may also work.

link
0

answered Aug 26 '14

Hitech gravatar image

I had similar problem while running dynamic studies where it was stopping the script and restarting the IDLE. I ran the same script suing Notepad++ plugin and it worked fine without any issue. I assume you are using python IDLE as well. It may be worth running your script using other editors and see if you have same issue. I recommend Notepad++ and PyNPP plugin (sourceforge.net/projects/npp-plugins/files/PyNpp/). Hope that helps.

cheers:)

link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

Stats

Asked: Aug 18 '14

Seen: 446 times

Last updated: Aug 25 '14