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 2015-09-06 10:16:16 -0600

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.

edit retag flag offensive close merge delete

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  ( 2015-09-08 09:43:26 -0600 )edit

@aparker: IR-Code19.

Pouya Kary's avatar Pouya Kary  ( 2015-09-08 13:09:51 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-09-08 09:22:53 -0600

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.

edit flag offensive delete link more

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  ( 2015-09-08 09:46:06 -0600 )edit

@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  ( 2015-09-08 13:12:13 -0600 )edit
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  ( 2015-09-08 13:57:39 -0600 )edit

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  ( 2015-09-08 15:10:41 -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: 2015-09-06 10:16:16 -0600

Seen: 590 times

Last updated: Sep 08 '15