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

Upload .osm to BCL for use as a library

asked 2021-06-10 16:36:17 -0500

Is there a way to upload an osm file to the BCL? I am thinking it would be useful for others to use as a library file on their projects. For example, the osm file might have all space types used for a particular code reference (baseline) building.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-06-11 15:02:59 -0500

Yes, you can upload OSM's to BCL; it is done through a component. A component has an XML file with attributes, and then optionally has one or more external files which could be OSM, IDF, EPW, etc. Components are the original use case for BCL that pre-dates measures.

Unless you are in a hurry I would suggest you wait until July when a re-factored BCL goes up. This new BCL for both measures and components will get content form public GitHub repositories.

Here is one of the measure repositories. The measures are under lib/measures

And here is an example of what a component repository would look like. Components are under lib/components.

We will work on updating scripts to make components. This can even be done through a measure. Here is API documentation for component and component data https://openstudio-sdk-documentation.... https://openstudio-sdk-documentation....

If you pick an object with children or resources like a construction, it should grab the materials into the OSM file.

One last comment on components. While you can make a component out of any OpenStudio object, or anything, specific interfaces may only expose specific types in their GUI. In the case of the OpenStudio application constructions, materials, and some HVAC objects are supported. A work around to expose any component is to access and download it via a measure. This strategy needs more work to better support re-using of downloaded components on parametric analysis so it only downloads it once for each analysis.

edit flag offensive delete link more


Thank you David. I am also trying to create a tutorial on how to create and upload components to the BCL. The information found at only discusses how to upload measures. It does not discuss how to upload components.

I have tried doing this through the BCL online, but it gives me errors.

Ski90Moo's avatar Ski90Moo  ( 2021-06-11 15:35:16 -0500 )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

Question Tools

1 follower


Asked: 2021-06-10 16:36:17 -0500

Seen: 70 times

Last updated: Jun 11 '21