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

How do I fix "No such file or directory" error when looking for weather file in Create DOE Prototype Building measure used in PAT?

asked 2019-08-05 09:30:40 -0600

davidwabel gravatar image

I'm attempting to run the Create DOE Prototype Building measure in the Parametric Analysis Tool. I feed an empty seed model and specify the weather file desired (Houston in this example). However, the measure is failing based on the error posted below. I've tried feeding a seed model with the weather file already loaded and I've tried to trace the problem through the workflow without success. It seems like the weather file is identified correctly, but for some reason is not correctly extracting to the temp_data directory correctly.

Extracting weather files to C:/Users/Documents/ReferenceEnergyModels/testProto2/temp_data/analysis_ec1713cb-5006-40ab-adff-fc97882cf009/data_point_4405a42a-94c6-4476-a95b-534cc1b095f9/run/000_9a5b4d91-633d-4512-bd49-5276335aa178/extracted_files/weather [09:19:22.436968 ERROR] No such file or directory @ rb_sysopen - C:/Users/Documents/ReferenceEnergyModels/testProto2/temp_data/analysis_ec1713cb-5006-40ab-adff-fc97882cf009/data_point_4405a42a-94c6-4476-a95b-534cc1b095f9/run/000_9a5b4d91-633d-4512-bd49-5276335aa178/extracted_files/weather/USA_TX_Houston-Bush.Intercontinental.AP.722430_TMY3.epw

edit retag flag offensive close merge delete

Comments

hmmm... this could have something to do with openstudio-standards updating to ASHRAE 169-2013 for weather file definitions (2A is represented by Tampa, FL instead of Houston, TX). I can still get the ASHRAE 169-2013 definition to work with my version. Have you updated to the most recent version of the measure on BCL? And what version of PAT/OpenStudio are you using?

mdahlhausen gravatar imagemdahlhausen ( 2019-08-05 17:16:57 -0600 )edit

Thanks mdahlhausen, I have the most up-to-date version of the measure and I'm using OpenStudio 2.8.0 (in fact I re-downloaded the latest OpenStudio as a test). I just tried running while providing the Tampa, FL epw file with no luck. Do I have to build/install openstudio-standards to run the measure? I've tried to do the gem installation in a few different locations without any luck, but I don't see it in the OpenStudio/pat/openstudio-server/gems/gems/ folder. The measure does run successfully in the OpenStudio UI.

davidwabel gravatar imagedavidwabel ( 2019-08-06 09:48:49 -0600 )edit

Is the issue that it won't run in PAT?

openstudio-standards is bundled in the PAT install.

mdahlhausen gravatar imagemdahlhausen ( 2019-08-06 13:10:58 -0600 )edit

Yes, the problem is just that it won't run in PAT. I have been able to install openstudio-standards and run the workflow from the command line, but I am still getting that error in the PAT.

davidwabel gravatar imagedavidwabel ( 2019-08-06 13:14:17 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-08-23 14:50:38 -0600

davidwabel gravatar image

I've discovered the problem is that the directory created by the PAT is too many characters for a Windows machine. I believe the cutoff is 240 characters. By running in my root directory :C/ instead, it worked.

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

Stats

Asked: 2019-08-05 09:30:40 -0600

Seen: 937 times

Last updated: Aug 23