Energy Conservation Measure
Remove Orphan Objects and Unused Resources
Name
remove_orphan_objects_and_unused_resources
Display Name
Remove Orphan Objects and Unused Resources
UID
c618f299-a245-49ce-a119-82eb54007ede
Version ID
14b609bf-27ae-4946-b37f-a386a1ae5ee0
Class Name
RemoveOrphanObjectsAndUnusedResources
Version Modified
20200229T024317Z
Schema Version
3.0
Attributes
Measure Type | ModelMeasure |
Intended Software Tool | Apply Measure Now |
Intended Software Tool | OpenStudio Application |
Intended Software Tool | Parametric Analysis Tool |
Intended Software Tool | Analysis Spreadsheet |
Intended Use Case | Model Articulation |
Details
Description | This 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 Description | Purging 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. |
Files
README.md.erb |
1125_infil_test_a.osm |
README.md |
LICENSE.md |
measure.rb OpenStudio 2.0.0 Min Compatible Version: 2.0.0 |
remove_orphan_objects_and_unused_resources_test.rb |
Content visibility
Use group defaults
Measure Arguments
Name | Display Name | Short Name | Description | Units | Type | Required | Model Dependent | Default Value | Choices | Min Value | Max Value |
---|---|---|---|---|---|---|---|---|---|---|---|
remove_unused_space_types | Remove Unused Space Types | - | - | - | Boolean | true | false | false | true false | - | - |
remove_unused_load_defs | Remove Unused Load Definitions | - | - | - | Boolean | true | false | false | true false | - | - |
remove_unused_schedules | Remove Unused Schedules Sets and Schedules | - | - | - | Boolean | true | false | false | true false | - | - |
remove_unused_curves | Remove Unused Curves | - | - | - | Boolean | true | false | false | true false | - | - |
remove_unused_constructions | Remove Unused Construction Sets, Constructions, and Materials | - | - | - | Boolean | true | false | false | true false | - | - |