Remove Orphan Objects and Unused Resources

Measure Details

Display NameRemove Orphan Objects And Unused Resources
Language Ruby
Tags Whole Building.Space Types
DescriptionThis is the start of a measure that will have expanded functionality over time. It will have two distinct functions. One will be to remove orphan objects. This will typically include things that should never have been left alone and often are not visible in the GUI. This would include load instances without a space or space type, and surfaces without a space. A second functionality is to remove unused resources. This will include things like space types, schedules, constructions, and materials. There will be a series of checkboxes to enable/disable this purge. There won't be an option for the orphan objects. They will always be removed.
Modeler's DescriptionPurging objects like space types, schedules, and constructions requires a specific sequence to be most effective. This measure will first remove unused space types, then load defs, schedules sets, schedules, construction sets, constructions, and then materials. A space type having a construction set assign, will show that construction set as used even if no spaces are assigned to that space type. That is why order is important.
Measure TypeModelMeasure
Intended Software ToolApply Measure Now
Intended Software ToolOpenStudio Application
Intended Software ToolParametric Analysis Tool
Intended Software ToolAnalysis Spreadsheet
Intended Use CaseModel Articulation
OpenStudio Version2.0.0
Minimum Compatible OpenStudio Version2.0.0
GitHub RepoNREL/openstudio-common-measures-gem


Version ID GitHub Release Tag OpenStudio Version Min Compatible Version Max Compatible Version Download Link
cbd91dc6-4e6b-4db6-96e4-25f290510e41 v0.9.0 2.0.0 2.0.0 Download v0.9.0
cbd91dc6-4e6b-4db6-96e4-25f290510e41 v0.8.0 2.0.0 2.0.0 Download v0.8.0
7b7c4b46-ee6c-42b1-bcd6-4388e47da7e9 v0.6.1 2.0.0 2.0.0 Download v0.6.1
7b7c4b46-ee6c-42b1-bcd6-4388e47da7e9 v0.6.0 2.0.0 2.0.0 Download v0.6.0
7b7c4b46-ee6c-42b1-bcd6-4388e47da7e9 v0.5.0 2.0.0 2.0.0 Download v0.5.0
14b609bf-27ae-4946-b37f-a386a1ae5ee0 v0.1 2.0.0 2.0.0 Download v0.1