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

Weather file not running in BEopt

asked 2026-04-09 13:14:50 -0500

Camilla's avatar

We found some weather files predicting future weather rather than relying on past weather data. I was able to put them in the weather file for Beopt, so they show up in the menu and I can even see the data in the data viewer but when I try to use it to run a simulation it gives me this error "No such file or directory @rb_sysopen-C:/Users/pmdon/Documents/BEopt_3.0.1/TEMP1/1/run/../../USA_OR_PDX_ETONZF_Future-cache.csv"

and it cannot run the simulation.

This seems to be a temporary file that Beopt makes while running a simulation. If it is open during the simulation I see the weather file show up there.

Maybe there is something wrong with the weather file? (although I can see it in the data viewer) I got it from here https://www.energytrust.org/commercia...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2026-04-13 19:21:22 -0500

BEopt is supposed to create the weather cache file on the fly but there appear to be situations where it doesn't. If you are a reasonably savvy user, you can force BEopt to create the cache files like so:

  1. Copy the EPW files into your BEopt weather dir: C:\Users\USERNAME\Documents\BEopt_3.0.1\Weather\
  2. Open Windows Powershell
  3. Navigate to the BEopt install dir: cd 'C:\Program Files (x86)\NREL\BEopt_3.0.1\'
  4. Run this command to generate the cache files: .\Include\OpenStudio\bin\openstudio.exe .\Workflow\run_simulation.rb --cache-weather C:\Users\USERNAME\Documents\BEopt_3.0.1\Weather\

You may see some messages appear that are safe to ignore. But if it worked correctly, cache files will be generated in your weather dir for any EPW file that doesn't have a cache file already.

If that doesn't work or you can't figure it out, feel free to email me and I can send you the necessary cache files.

(FWIW we are removing the need for the cache files for the next version of BEopt, but I do not know when it will be released.)

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

Sponsor

Training Workshops

Question Tools

1 follower

Stats

Asked: 2026-04-09 13:14:50 -0500

Seen: 57 times

Last updated: Apr 13