Ask Your Question
0

Why does ACCC restart python?

asked 2014-08-18 17:06:01 -0600

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!!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-08-20 02:57:58 -0600

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.

edit flag offensive delete link more
0

answered 2014-08-25 20:16:02 -0600

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:)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Stats

Asked: 2014-08-18 17:06:01 -0600

Seen: 445 times

Last updated: Aug 25 '14