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

Broken reference in Space Type and Construction Set Wizard measure

asked 2021-02-09 19:15:48 -0600

jlytle's avatar

updated 2021-07-09 17:49:11 -0600

Hi guys, first time poster here. I'm running OpenStudio 2.9.1 on macOS 10.15.7 and having trouble running the Space Type and Construction Set Wizard measure (https://bcl.nrel.gov/node/82266).

When I try to run the measure, I get a broken script error indicating that the 'get_doe_building_types' method is undefined. This method clearly lives within the os_lib_model_generation.rb file, so I'm not sure why it's not being recognized by the measure. I've looked through this similar post: (https://unmethours.com/question/44432...) and confirmed that the openstudio-extension gem (version 0.1.2) is packaged in my open studio Gemfile, and exists on rubygems.org (https://rubygems.org/gems/openstudio-...)

At this point, not sure where else to look. The measure appears to have been updated more recently than my version of OS, but compatibility is noted back to OS 2.8.0, so shouldn't be an issue there.

Any insight would be greatly appreciated!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2021-02-09 22:48:52 -0600

updated 2021-02-09 22:51:12 -0600

We upgrade the min_version on a measure when we know we are using new method or otherwise know a change will break it, but we can mis some incompatibilities since we don’t test older versions of OpenStudio against newer measures. We do release a version of measure gems for each major OpenStudio release. New measure gem repositories list a septic OS and E+ version, We didn’t do this for 2.9.1 but the 0.1.0 or 0.1.1 model articulation gem should provide you the best stability for 2.9.1. Let me know if measures from one of those releases doesn’t work. You can checkout the GitHub repo or install the gem. In either case you need to up date your MyMeasures directory to where this copy of the measure is on your computer. If you have a newer version of the measure in your BCL directory you may want to delete that to avoid any confusion as to witch measure is being used.

edit flag offensive delete link more

Comments

Thanks David! The 0.1.1 gem provided perfect functionality for the measure I needed. After posting I was also able to achieve the goal by updating to OS 3.1, which may be the most logical path. The main allure to OS 2.9.1 at this stage is maintaining compatibility with Sketch-up 2017 (free version), but this probably wont be a sustainable workflow as the tools continue to evolve.

jlytle's avatar jlytle  ( 2021-02-10 10:18:15 -0600 )edit

@jlytle, glad that worked, If you move to 3.1 you can still generate geometry in SketchUp 2017 in an older version of OpenStudio and then open it with 3.1 to version translate it to the newer version. This only works so long as you do not need to go back to Sketch-up to edit anything after opening and saving in 3.1.

David Goldwasser's avatar David Goldwasser  ( 2021-02-10 12:25:23 -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: 2021-02-09 19:13:08 -0600

Seen: 134 times

Last updated: Feb 10 '21