Ask Your Question
0

can not access dyr file after two loop simulation with python

asked 2024-01-04 19:31:59 -0500

Ali-E gravatar image

updated 2024-01-04 19:32:47 -0500

I've encountered an issue with the dyr file in Python. Upon using the command psspy.dyre_new([1,1,1,1],'fileName',"","","") to load the dyr file, it becomes locked after running two simulations. after I stop script and manulay continuew from where its stopped, it again run two simulation and return same error.

File in use. C:\Users---\Desktop\new-folder\WREP_plb.dyr (OpnApplFil/OPNSEA)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2024-01-08 18:37:34 -0500

Tassie Dave gravatar image

I have had this problem. Seems to be due to windows locks on the file. As a work-around I rename the dyr file before each loop, to names like this: temp1.dyr, temp2.dyr, temp3.dyr etc.

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: 2024-01-04 19:31:59 -0500

Seen: 417 times

Last updated: Jan 08