First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
1

How to unload dyr file from memory in python?

asked Sep 24 '19

VISHNU gravatar image

updated Sep 24 '19

Hi All,

The dyr file once loaded using the python command is getting locked after performing two simulations. (I have used the command psspy.dyre_new([1,1,1,1],'fileName',"","","") to load the dyr file in).

Hence, I am not able to edit the dyr file without restarting the python kernal. Is there any way to unload the dyr files and clear memory using some python commands? I couldn't find anything in the API document.

Thanks in advance

Comments

I've never encountered this that I recall. How many times are you running psspy.init()? You should just need to run it once, before entering any loops.

Alex P gravatar imageAlex P (Jan 7 '4)

2 answers

Sort by » oldest newest most voted
0

answered Jan 24 '5

Hello, I have the same problem! If anyone found a solution I would be very grateful :)

link
0

answered Jan 5 '4

Ali-E gravatar image

Hi I recently faced the same issue. May I ask if you found any solution for it? Thanks

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

1 follower

Stats

Asked: Sep 24 '19

Seen: 543 times

Last updated: Jan 24