4

How to load custom OpenStudio-Standards JSONs?

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.

Pouya Kary's avatar
369
Pouya Kary
asked 2015-09-06 10:16:16 -0500
edit flag offensive 0 remove flag 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 -0500) edit

@aparker: IR-Code19.

Pouya Kary's avatar Pouya Kary (2015-09-08 13:09:51 -0500) edit
add a comment see more comments

1 Answer

1

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.

David Goldwasser's avatar
20.4k
David Goldwasser
answered 2015-09-08 09:22:53 -0500
edit flag offensive 0 remove flag delete 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 (2015-09-08 09:46:06 -0500) 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 -0500) 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 -0500) 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 -0500) edit
add a comment see more comments