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

BEopt to OpenStudio measures

asked 2017-05-05 21:07:37 -0600

mcdonaa1's avatar

updated 2017-08-05 07:41:06 -0600

Attempting to model residential buildings in OpenStudio using the BEopt measures NREL has created, but am unable to run the measures. I need help understanding how to execute them. https://github.com/NREL/OpenStudio-BEopt

The working files have been downloaded from the website above and added to the OpenStudio directory. I followed the command prompt directions for running the measures as follows:

Running the Measures ... If interested in programatically driving the simulations, you will likely find it easiest to use the Command Line Interface approach. The Command Line Interface is a self-contained executable that can run an OpenStudio Workflow file, which defines a series of OpenStudio measures to apply. An example OpenStudio Workflow (create-model-example.osw) is provided with a pre-populated selection of residential measures and arguments. It can be modified as needed and then run like so:

openstudio.exe run -w create-model-example.osw

This will apply the measures to the OpenStudio seed model specified in the .osw, run the EnergyPlus simulation, and produce output.

I am attempting to use the "Workflow: Create Model" method image description

Upon executing, I get the following errors:

1) When I put the unzipped files from github in the "\openstudio-2.1.0\OpenStudio-BEopt-master" directory image description

2) When I take the unzipped folders out of the master directory from github and place them in the "\openstudio-2.1.0\" directory, I get a request for a Warning about a weather data file image description

3) Seeing the "ResidentialLocation" measure folder being referenced above, I placed TMY3 Weather Data (.epw) and design days data and (.ddy) in the "\openstudio-2.1.0\measures\ResidentialLocation", and get the following error image description

Any ideas on how to execute the BEopt to OpenStudio measures? I am struggling to figure it out.

edit retag flag offensive close merge delete

Comments

Have you tried using them in PAT? That's probably the quickest way to generate a residential model.

ljbrackney's avatar ljbrackney  ( 2017-05-05 21:50:20 -0600 )edit

Will give PAT a go by attempting to execute the measures as listed by the JSON code in the order it calls for... (https://github.com/NREL/OpenStudio-BE...)

That being said, any ideas as to my trouble regarding the command prompt approach?

mcdonaa1's avatar mcdonaa1  ( 2017-05-05 22:12:53 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-05-07 23:04:27 -0600

mcdonaa1's avatar

updated 2017-05-07 23:05:08 -0600

I tried both Ruby and PAT methods to no avail.

I was unable to execute some files in the GitHub repo folder as per (https://github.com/NREL/OpenStudio-BE...). 64-bit Ruby was successfully installed. On the Windows setup, I was able to get through steps 1-3. On Step 4 I ran into an error. I do not know which Gemfile I should be accessing. Should I be downloading a new Gemfile from here (https://github.com/NREL/OpenStudio/wi... And replacing the existing one? Do I need download the new Gemfile and place it in the c:\RubyDevKit\ directory? How am I supposed to access the Gemfile? And then what do I no next?

image descriptionimage descriptionimage description

Being unsuccessful at that, I attempted to run it in PAT using these instructions (http://nrel.github.io/OpenStudio-user...), and no luck. See attached photos indicating the order the measures were placed, and the "completed Fail" error I ran into on the Run-tab. I am unsure why it is not running. What follows is the order I placed the PAT files in, and the associated Run-tab error.

image descriptionimage descriptionimage descriptionimage description

Suggestions?

edit flag offensive delete link more

Comments

Did you see the Edit in my answer below?

If you want to go the bundler/PAT approach, you need to run "bundler" from the OpenStudio-BEopt directory.

shorowit's avatar shorowit  ( 2017-05-08 08:32:45 -0600 )edit

Yes, I tried both methods. I could not get bundler to execute (maybe I am doing it wrong?), and PAT ran into an error. Not certain as to why.

mcdonaa1's avatar mcdonaa1  ( 2017-05-08 16:59:40 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2017-05-05 21:07:37 -0600

Seen: 1,181 times

Last updated: Aug 05 '17