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

How to load custom OpenStudio-Standards JSONs?

asked 9 years ago

We don't use ASHRAE and what we want is our own standard in OpenStudio. Thanks to the good nature of it it's easily possible via the openstudio-standards. However I don't know where should I put the result JSON file or if there must be more steps.

Preview: (hide)

Comments

@pmkary are you trying to get your defaults to show up in the SketchUp plugin/wizard, or are you trying to automate code baseline/compliance model generation? Also, what energy code do you use?

aparker's avatar aparker  ( 9 years ago )

@aparker: IR-Code19.

Pouya Kary's avatar Pouya Kary  ( 9 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 9 years ago

You could copy the Space Type and Construction Set Wizard and replace the json in the resources folder. @macumber can better speak to use of the json file in the installed version of OpenStudio, but there is a user script in the plug-in that works just like the wizard, you can replace it with yours. The second use is to pre-populate many measure tag choice lists in the GUI with space types, construction type, climate zone etc. I don't know if there is currently a way to easily use a custom json for this. @macumber can answer that.

Preview: (hide)
link

Comments

It really depends on what you are trying to do. I think Andrew asked the right question above, once we have more clarification on what @pmkary is trying to do we can provide better input.

macumber's avatar macumber  ( 9 years ago )

@macumber, @david-goldwasser and @aparker nothing special, We just want the SketchUp pluging's inspector values (materials, constructions...) to be changed to our country-specific ones.

Pouya Kary's avatar Pouya Kary  ( 9 years ago )
1

You could make a copy of or alter this directory in the plugin.
https://github.com/NREL/OpenStudio/tree/develop/openstudiocore/ruby/openstudio/sketchup_plugin/user_scripts/On%20Demand%20Template%20Generators


This is essentially the same code that is in the BCL space type and construction set wizard, but you have access to it from the SketchUp Plugin.

David Goldwasser's avatar David Goldwasser  ( 9 years ago )

Well that was very helpful. But I think it's very good if you add the JSON path to the preferences so this entire code be not rewritten. I will play with it and ask for more if needed. Thanks a lot

Pouya Kary's avatar Pouya Kary  ( 9 years ago )

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: 9 years ago

Seen: 612 times

Last updated: Sep 08 '15