Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Error in simulation: BEopt Unable to delete the directory ....../TEMP1 perhaps file is in use?

asked 2019-04-01 11:24:17 -0500

Daner's avatar

I have the following problem when running one simulation:

Unable to Delete the directory ....../TEMP1 perhaps file is in use?

Can someone tell me how to fix this problem please?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2019-04-01 15:54:37 -0500

updated 2019-04-01 15:54:52 -0500

Did you open one of the files from this TEMP1 directory in another application (like Excel)? If so, then BEopt cannot delete the temporary simulation directory because a file is in use.

If worst comes to worst and you can't get around this issue, try restarting your computer.

edit flag offensive delete link more


Hi Shorowit,

Thanks for the answer. However, I still have this problem, I have not been able to make the BEopt work again since April, but now I really need it.

I checked the TEMP1 file and it is always empty. Restarting the computer does not solved the problem. Is there any way I can check if there is a hidden file opening somewhere else? or is this not the problem.

Daner's avatar Daner  ( 2019-07-19 01:11:17 -0500 )edit

It's possible your anti-virus (or similar) software is causing problems. Maybe you can try disabling it?

shorowit's avatar shorowit  ( 2019-07-22 11:22:45 -0500 )edit

answered 2020-02-14 11:29:29 -0500

I'm having the same problem. I've been using BEopt since v.2.2 and have not had this happen before. I've tried restarting my computer. Also tried removing and re-installing BE2.8. I had updated to 2.6, 2.7 and 2.8 sequentially. I tried manually clearing the files in the TEMP1 folder. I had not opened any of those files. I've tried to find how to disable the firewall for BEopt but I'm not good at "under the hood" work when it comes to computers.

One clue is that just before this error started appearing, I ran a simulation with multiple cases, as I've done many times before. This time, only the first case had information in the output file--all of the other cases had run but showed nothing in the Output page.

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

Question Tools


Asked: 2019-04-01 11:24:17 -0500

Seen: 123 times

Last updated: Apr 01 '19