Ask Your Question
0

PSSPY Memory Leak

asked 2015-09-03 08:53:38 -0600

Jacde gravatar image

Hello all,

Running PSS/E v32, I've noticed that if I run psspy calls within a script too many times (in a loop for example) python starts leaking memory. If I make the loop too big, python consumes so much memory that it can't function properly anymore.

Has anyone run into this memory leakage problem before and more importantly found a way to fix it?

Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-09-24 01:48:00 -0600

MW gravatar image

Hi Jacde,

I've had the same problem, ended up just running my cases in smaller batches as a "quick fix". Otherwise, the resulting output had alot of ripples in them and unstable starting conditions (during steady state before trip). However, I'd be very interested in hearing an answer on this subject if anyone has it.

My script is a three layered loop running all the combinations of the data file types and specified contingencies (.sav, .dyr and then specified line-trips) with each file type having approximately 8 files. I also noticed that when running the same script with the same number of cases/contingencies/dynamic data files using the example file savnw I did not get the same problem, however the .sav-file I am using for my simulations are >200 times in terms of kB.

I've sent the question forward to PTI Support but they have been unable to answer. Sorry I cannot be of more help, anyone else here with an answer to this?

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: 2015-09-03 08:53:38 -0600

Seen: 784 times

Last updated: Sep 24 '15