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

Unable to simulate dataset using LBNL Alpha Building Synthetic Dataset project

asked 2022-03-30 02:04:06 -0600

asrjy's avatar

updated 2022-03-30 21:41:57 -0600

I have installed the required Ruby 2.2.4 and OpenStudio 2.9.1 but I'm unable to simulate the dataset. I get the following error for each run when I try to run the create_workflow.rb script.

[10:44:27.541894 ERROR] Found error in state 'initialization' with message "Cannot find measure Occupancy_Simulator_Office::/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:155:in `block in validate_measures':/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:141:in `each':/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:141:in `each_with_index':/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:141:in `validate_measures':/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/jobs/run_initialization.rb:122:in `perform':/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:291:in `step':/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:233:in `run':/openstudio_cli.rb:1067:in `execute':/openstudio_cli.rb:803:in `execute':/openstudio_cli.rb:1855:in `<main>'eval:186:in `eval'eval:186:in `require_embedded_absolute'eval:171:in `block in require_embedded'eval:165:in `each'eval:165:in `require_embedded'eval:124:in `require'eval:3:in `<main>'"

This is the link to the project:

edit retag flag offensive close merge delete


It looks to be an LBNL product, not NREL.

shorowit's avatar shorowit  ( 2022-03-30 18:07:38 -0600 )edit

My bad. Do you know how to fix this error?

asrjy's avatar asrjy  ( 2022-03-30 21:41:51 -0600 )edit

It looks like either a problem with your measure include path (directories listed in the OSW where OpenStudio looks for measures) or there is a problem requiring that measure. I suggest asking some of the developers or opening a new issue on the AlphaBuilding-SyntheticDataset repo.

macumber's avatar macumber  ( 2022-04-03 12:35:18 -0600 )edit

Yes. I have raised an issue on the repo and got a reply. Thank you.

asrjy's avatar asrjy  ( 2022-04-03 21:01:43 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2022-04-13 12:37:35 -0600

This was solved. For others who hit this error, please double check if you set the measures_dir correctly (here), otherwise OpenStudio won't be able find the measure when running the workflow. Absolute paths are recommended.

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

1 follower


Asked: 2022-03-30 02:04:06 -0600

Seen: 189 times

Last updated: Mar 30 '22