First time here? Check our help page!
2

Modifying OpenStudio Library

I want to modify the default OS library to add more space types. I am thinking of opening the .osm library file in OpenStudio application add the space types and save it. Would that work or it would cause problems in the future?

Thank you,

image description

Saif's avatar
626
Saif
asked 2019-01-25 13:01:24 -0500
MatthewSteen's avatar
10.1k
MatthewSteen
updated 2019-01-28 21:45:32 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

You can easily add objects to the default Openstudio libraries. You can create your own space types when you open your Model in the Openstudio Graphical User Interface, and also assign them. You can find the default libraries in the Preferences Menu of Openstudio.

Once you create this space types, you can copy and paste it in one of the default .osm libraries or add your own .osm file with your space types. You can see below, I have some custom libraries (which are .osm files) with code definitions, but the space type works the same.

image description

Luis Lara's avatar
2.1k
Luis Lara
answered 2019-01-28 15:59:32 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
1

Yes, you can add your own space types, save the model, and then load in the space types later in a new model with the "Load Library" option in OpenStudio App File menu.

Many more space types can be added with the Space Type and Construction Set Wizard measure on BCL.

mdahlhausen's avatar
9.5k
mdahlhausen
answered 2019-01-25 13:14:33 -0500
edit flag offensive 0 remove flag delete link

Comments

This is a nice way to add spaces, but I want to modify the template it self like the 90.1-2010, so the additional spaces will be available when selecting the building type in the Sketchup Plugin.

Saif's avatar Saif (2019-01-25 21:13:59 -0500) edit

I find it easiest to save a template .osm file that has all the space types and construction sets loaded in it when I start a new project. I just open the template .osm file in Sketchup when I start a new project then immediately save as a new file. All the space types and construction sets are then available to use in the Sketchup plugin.

JKavanaugh's avatar JKavanaugh (2019-01-28 08:35:29 -0500) edit

@Saif can you clarify what you mean by 'spaces' - spaces and space types are different things in OpenStudio.

mdahlhausen's avatar mdahlhausen (2019-01-28 11:46:32 -0500) edit

@mdhlhausen sorry for the confusion, I meant space types I have updated the question to refer to that. For example the current 90.1-2010 Template includes 3 space types for Midrise appartment. I want to add more space types to the template it self so it would include Amenity, Lounge ..etc

Saif's avatar Saif (2019-01-28 13:14:54 -0500) edit
1

The On Demand Template Generator -> Space Type and Construction Set Wizard is essentially an OpenStudio measure that populates from openstudio-standards. If you want to make and access custom space types in the script, you'll need to edit the measure and resources file: C:\openstudio-2.7.0\SketchUpPlugin\openstudio\sketchup_plugin\user_scripts\On Demand Template Generators

That is a bit tricky, so it may be faster for you to add custom space types to a model, save it, and use it as a template library. You can open your model, load the library, drag in the space types

mdahlhausen's avatar mdahlhausen (2019-01-28 17:09:33 -0500) edit
add a comment see more comments