Ask Your Question
0

How to unload dyr file from memory in python?

asked 2019-09-23 23:34:00 -0600

VISHNU gravatar image

updated 2019-09-24 17:22:06 -0600

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

edit retag flag offensive close merge delete

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 ( 2024-01-06 22:12:52 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2024-01-04 19:24:59 -0600

Ali-E gravatar image

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

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

1 follower

Stats

Asked: 2019-09-23 23:34:00 -0600

Seen: 349 times

Last updated: Jan 04