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

Custom OS libraries - tips?

asked 2015-07-02 11:23:04 -0600

updated 2015-07-26 18:50:01 -0600

I am creating some custom libraries of space types, schedules, and loads that I would like to save as a resource for multiple projects. From what I understand, the best way to do this is create a new OSM model, create all my 'library' content, and save the OSM to the typical library path for easy access (OpenStudio 1.7.0\share\openstudio-1.7.0\OSApp). I can then choose 'load library' in a new model to pull that content in.

This is a little open ended, but are there any tips or tricks to creating custom libraries outside of the process described above? Would I tap into the BCL at all, or simply create OSM model libraries and save them individually on my machine (as described above)? How have other OS users leveraged custom libraries to improve their workflow?

Lastly, all new OSM models seem to be populated with a library of DOE reference / ASHRAE 189.1 schedule sets, constructions, and space types. Is there any way to remove this extraneous content from a new model?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2015-07-02 13:10:55 -0600

A couple things - you can 'load library' from any model file (at any location), which doesn't have to be a specific library OSM in the library directory. So if you want to create a master library of space types, schedules, etc that you've manually created or edited in previous models, you can easily load that model as a 'library' to copy the content into your master without having to duplicate the manual effort.

There's not currently a way to pull OSM data from the BCL Components list like there is with measures, at least not from within the application. You would likely need to download the OSMs (or IDFs, and import into an OSM), and then load them as a 'library'.

Regarding the DOE reference data, this measure will purge your model of orphaned space types and resources.

edit flag offensive delete link more


Thanks for sharing the measure to purge unused resources @Eric Ringold

Lyle K's avatar Lyle K  ( 2015-07-02 13:24:39 -0600 )edit

answered 2015-07-02 13:06:31 -0600

Git rid of all the schedules and constructions you don't need! This is a pain but if you do it once and create a template, then all of the projects want have all of that junk in them. We also added more schedules we use all of the time and made a few things that were annoying to build such as DHW loops. I think the easiest way to use them is just to open the .osm at the start of the project, save as, and then start building the model.

edit flag offensive delete link more


Thanks for the tip @TaylorRoberts. I like the idea of opening a custom 'template' when starting an OSM model in lieu of creating a new OSM and trying to load libraries and purge unwanted information.

Lyle K's avatar Lyle K  ( 2015-07-02 13:19:36 -0600 )edit

answered 2015-07-03 09:09:45 -0600

The answers above are correct, but I wanted to mention an alternative method under development. This repo contains OS measure development work to reproduce the DOE reference buildings. The workflow pulls data definitions from a spreadsheet to automate generation of the model. The approach (specifically the spreadsheet content) can be extended to create other models, e.g. baselines compliant with other standards. The resulting measure set will be formally released around September, but you can inspect the code in its current state in the repo.

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


Question Tools



Asked: 2015-07-02 11:23:04 -0600

Seen: 583 times

Last updated: Jul 03 '15