First time here? Check our help page!
0

Unable to simulate dataset using LBNL Alpha Building Synthetic Dataset project

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: https://github.com/LBNL-ETA/AlphaBuil...

asrjy's avatar
21
asrjy
asked 2022-03-30 02:04:06 -0500, updated 2022-03-30 21:41:57 -0500
edit flag offensive 0 remove flag close merge delete

Comments

It looks to be an LBNL product, not NREL.

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

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

asrjy's avatar asrjy (2022-03-30 21:41:51 -0500) 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 -0500) 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 -0500) edit
add a comment see more comments

1 Answer

1

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.

tsbyq's avatar
11
tsbyq
answered 2022-04-13 12:37:35 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments