2

OSM Diagnostic Script Doesn't Resave File

I want to run the OSM diagnostics to remove some very degenerate surfaces. I've done this before and usually the script saves a new file called "filename_diagnostics.osm" after running. The last few times I've tried it does save anything after running. Any ideas on how I can get it to resave the file again so I can use the changes it makes? Thank you!

sspielman's avatar
251
sspielman
asked 2016-11-11 11:34:31 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2016-11-11 13:13:37 -0500
edit flag offensive 0 remove flag close merge delete

Comments

It typically will only save it it found objects to change. Can you post the ruby console log from the script. There is a true/false argument when you run the script to remove objects for warnings vs. just telling you about them. Make sure that is set to true.

David Goldwasser's avatar David Goldwasser (2016-11-11 12:07:34 -0500) edit

I have the same issue. the text from the OSM report is too long so I'll have to post it here in multiple comments:

diagnostic test start

File - C:/Users/Google Drive/_Re-Measure/_Projects/2018_01/Data/Model/OSM_1/Secure1-H.osm Model has 883 objects Model has 0 thermal zones Model has 11 spaces Model has 96 base surfaces Model has 9 sub surfaces Model has 0 shading surfaces Model has 0 interior partition surfaces

Removing catchall objects (objects unknown to your version of OpenStudio) none

Removing objects that fail draft validity test none

re-measure's avatar re-measure (2018-10-11 20:01:36 -0500) edit

Surfaces with less than three vertices none

SubSurfaces with less than three vertices none

Surfaces with more than 25 vertices none

Surfaces with area less than 0.1 m^2 none

Surfaces with area less than 0.1 m^2 none

Surfaces and SubSurfaces which have similar geometry within same surface group none

Surfaces and SubSurfaces which have duplicate vertices none

Removing sizing:zone objects that are not connected to any thermal zone no orphaned sizing:zone objects were found

re-measure's avatar re-measure (2018-10-11 20:02:54 -0500) edit

Removing ZoneHVAC:EquipmentList objects that are not connected to any thermal zone no orphaned ZoneHVAC:EquipmentList objects were found

Removing PortList objects that are not connected to any equipment no orphaned PortList objects were found

Removing LifeCycleCost objects that are not connected to any model object no orphaned LifeCycleCost objects were found

diagnostic test complete Running OSM Diagnostic Script Warnings: Unable to set window-to-wall ratio of Surface 15 to 0.99. User script OSM Diagnostic Script completed with warnings

re-measure's avatar re-measure (2018-10-11 20:03:00 -0500) edit

My errors are as follows:

Error: Sub Surface 7 This sub surface is missing its base surface, it cannot be drawn.

Error: Sub Surface 5 This sub surface is missing its base surface, it cannot be drawn.

Error: Sub Surface 8 This sub surface is missing its base surface, it cannot be drawn.

Error: Sub Surface 9 This sub surface is missing its base surface, it cannot be drawn.

Error: Sub Surface 10 This sub surface is missing its base surface, it cannot be drawn.

re-measure's avatar re-measure (2018-10-11 20:03:43 -0500) edit
add a comment see more comments

1 Answer

1

@re-measure it isn't clear from the log you posted that it found any errors in the diagnostic script. The errors that come up about the orphan sub surfaces can be addressed by running the Remove Orphan and Unused Resources Measure in the OpenStudio application.

David Goldwasser's avatar
20.4k
David Goldwasser
answered 2018-10-12 00:17:43 -0500
edit flag offensive 0 remove flag delete link

Comments

Thanks David. This is exactly the answer I was looking for.

re-measure's avatar re-measure (2018-10-16 21:16:52 -0500) edit
add a comment see more comments