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

Modifying OpenStudio Library

asked 2019-01-25 13:01:24 -0500

Saif's avatar

updated 2019-01-28 21:45:32 -0500

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

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2019-01-25 13:14:33 -0500

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.

edit flag offensive delete link more


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

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

answered 2019-01-28 15:59:32 -0500

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops


Question Tools

1 follower


Asked: 2019-01-25 13:01:24 -0500

Seen: 872 times

Last updated: Jan 28 '19